1 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
4 (__gettimeofday_syscall): Remove vsyscall fallback.
5 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
6 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
7 Add syscall fallback function.
8 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
9 if vDSO is not present.
10 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
12 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
14 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
15 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
17 2015-06-09 Joseph Myers <joseph@codesourcery.com>
20 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
22 (wcscmp): Define as weak alias of WCSCMP.
23 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
25 (USE_HIDDEN_DEF): Define.
26 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
27 __wcscoll. Don't use libc_hidden_weak.
28 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
30 * sysdeps/i386/i686/multiarch/wcscmp-c.c
31 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
33 (weak_alias): Undefine and redefine.
34 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
35 __wcscmp and define as weak alias of __wcscmp.
36 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
37 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
38 (__wcscoll): Likewise.
39 (wcscmp): Don't use libc_hidden_proto.
41 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
43 * posix/regexec.c (check_node_accept_bytes): Likewise.
44 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
46 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
47 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
50 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
51 __fstatvfs and define as weak alias of __fstatvfs. Use
53 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
54 and define as weak alias of __statvfs. Use libc_hidden_weak.
55 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
56 Define as alias of __fstatvfs, not fstatvfs.
57 (fstatvfs64): Likewise.
58 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
59 Define as alias of __statvfs, not statvfs.
60 (statvfs64): Likewise.
61 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
64 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
66 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
67 (HAVE_GETCPU_VSYSCALL): Define.
68 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
69 (HAVE_GETCPU_VSYSCALL): Likewise.
70 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
71 * sysdeps/unix/sysv/linux/sched_getcpu.c
72 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
73 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
74 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
76 * sysdeps/unix/sysv/linux/x86_64/init-first.c
77 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
78 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
79 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
81 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
82 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
83 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
84 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
86 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
88 * sysdeps/x86_64/fpu/Makefile: New file.
89 * sysdeps/x86_64/fpu/Versions: New file.
90 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
91 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
92 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
93 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
94 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
95 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
96 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
97 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
98 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
99 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
100 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
101 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
102 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
103 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
104 build of SSE, AVX2 and AVX512 IFUNC versions.
105 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
106 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
107 * sysdeps/x86_64/configure.ac: Options for libmvec build.
108 * sysdeps/x86_64/configure: Regenerated.
109 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
110 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
111 * manual/install.texi (Configuring and compiling): Document
113 * INSTALL: Regenerated.
114 * NEWS: Mention addition of libmvec and x86_64 vector cos.
116 * math/Makefile: Added rules for vector tests.
117 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
118 declaration under condition.
119 * math/test-double-vlen2.h: New file.
120 * math/test-double-vlen4.h: New file.
121 * math/test-double-vlen8.h: New file.
122 * math/test-vec-loop.h: Added initialization macro.
123 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
124 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
125 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
126 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
127 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
128 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
129 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
130 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
131 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
132 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
133 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
135 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
136 * sysdeps/x86_64/fpu/Versions: New versions added.
137 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
138 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
139 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
140 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
141 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
142 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
143 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
144 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
145 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
146 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
147 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
148 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
149 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
150 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
151 build of SSE, AVX2 and AVX512 IFUNC versions.
152 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
153 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
154 * NEWS: Mention addition of x86_64 vector cosf.
156 * math/Makefile: Added CFLAGS for new tests.
157 * math/test-float-vlen16.h: New file.
158 * math/test-float-vlen4.h: New file.
159 * math/test-float-vlen8.h: New file.
160 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
161 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
162 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
163 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
164 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
165 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
166 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
167 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
168 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
169 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
170 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
172 2015-06-09 Marko Myllynen <myllynen@redhat.com>
174 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
175 * locale/programs/ld-ctype.c: Likewise.
177 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
179 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
180 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
181 bit_ZMM16_31_state): New macro.
182 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
183 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
185 2015-06-08 Joseph Myers <joseph@codesourcery.com>
187 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
189 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
191 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
193 2015-06-05 Joseph Myers <joseph@codesourcery.com>
196 * libio/memstream.c (open_memstream): Rename to __open_memstream
197 and define as weak alias of __open_memstream.
198 * include/stdio.h (__open_memstream): Declare. Use
200 (open_memstream): Don't use libc_hidden_proto.
201 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
203 * posix/getopt.c (_getopt_internal_r): Likewise.
204 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
206 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
207 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
208 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
211 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
215 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
216 [__USE_XOPEN2K8]. Remove redundant #endif.
217 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
218 Remove redundant #if.
219 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
221 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
222 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
225 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
226 (__iswlower): Likewise.
227 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
228 (__iswlower): Likewise.
229 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
231 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
232 instead of iswlower. Call __towupper instead of towupper.
233 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
236 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
238 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
241 2015-06-05 Florian Weimer <fweimer@redhat.com>
245 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
246 Check for overflow properly. Check for O_APPEND. Ignore large
247 file system block sizes. Add comments about problems.
248 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
249 * manual/filesys.texi (Storage Allocation): New node.
251 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
253 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
254 cancellable syscalls.
255 (SYS_ify): Add guard to no redefine it.
256 (INLINE_SYSCALL): Likewise.
257 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
258 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
259 SYSCALL_CANCEL instead.
260 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
261 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
262 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
263 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
264 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
265 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
266 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
267 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
268 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
269 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
270 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
271 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
272 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
273 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
274 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
275 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
277 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
278 (__libc_pread64): Likewise.
279 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
280 (__libc_preadv): Likewise.
281 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
282 (__libc_readv64): Likewise.
283 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
284 (__libc_pwrite): Likewise.
285 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
286 (__libc_pwrite64): Likewise.
287 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
288 (__libc_pwritev): Likewise.
289 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
290 (__libc_pwritev64): Likewise.
291 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
292 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
293 (sync_file_range): Likewise.
294 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
296 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
298 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
299 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
300 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
301 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
302 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
303 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
304 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
305 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
309 (__libc_read64): Likewise.
310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
319 (__libc_pread64): Likewise.
320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
323 (__libc_pwrite64): Likewise.
324 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
325 (sync_file_range): Likewise.
326 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
327 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
328 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
329 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
330 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
331 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
332 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
333 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
334 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
335 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
336 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
337 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
338 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
339 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
340 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
341 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
342 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
343 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
344 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
346 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
348 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
349 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
351 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
352 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
353 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
354 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
356 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
357 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
358 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
359 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
360 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
362 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
364 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
366 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
367 Use VDSO routines for gettimeofday, clock_gettime if
369 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
370 Declare VDSO symbols.
371 * sysdeps/unix/sysv/linux/arm/sysdep.h:
372 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
373 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
374 * sysdeps/unix/sysv/linux/arm/Versions: Add
375 __vdso_clock_gettime.
377 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
379 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
380 be an inline implementation regardless of library is built within.
381 (open_not_cancel_2): Likewise.
382 (__read_nocancel): Likewise.
383 (__write_nocancel): Likewise.
384 (openat_not_cancel): Likewise.
385 (openat_not_cancel_3): Likewise.
386 (openat64_not_cancel): Likewise.
387 (openat64_not_cancel_3): Likewise.
388 (__close_nocancel): Likewise.
389 (pause_not_cancel): Likewise.
390 (nanosleep_not_cancel): Likewise.
391 (sigsuspend_not_cancel): Likewise.
393 2015-06-04 Torvald Riegel <triegel@redhat.com>
396 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
398 (__pthread_rwlock_rdlock_slow): Likewise.
399 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
401 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
403 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
404 * nptl/tst-rwlock16.c: New file.
405 * nptl/Makefile (tests): Add new test.
407 2015-06-04 Torvald Riegel <triegel@redhat.com>
410 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
411 missing wake-up of readers.
412 * nptl/tst-rwlock15.c: New file.
413 * nptl/Makefile (tests): Add new test.
415 2015-06-03 Roland McGrath <roland@hack.frob.com>
417 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
418 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
419 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
420 and __nacl_supply_interface_rtld.
421 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
422 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
423 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
424 Add __nacl_supply_interface_rtld.
425 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
427 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
429 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
431 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
432 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
434 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
436 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
437 __signbit* with standard C99 macros.
438 * math/e_exp10l.c: Likewise.
439 * math/e_exp2l.c: Likewise.
440 * math/e_scalb.c: Likewise.
441 * math/e_scalbf.c: Likewise.
442 * math/e_scalbl.c: Likewise.
443 * math/s_ldexp.c: Likewise.
444 * math/s_ldexpf.c: Likewise.
445 * math/s_ldexpl.c: Likewise.
446 * math/w_atan2.c: Likewise.
447 * math/w_atan2f.c: Likewise.
448 * math/w_atan2l.c: Likewise.
449 * math/w_cosh.c: Likewise.
450 * math/w_coshf.c: Likewise.
451 * math/w_coshl.c: Likewise.
452 * math/w_exp10.c: Likewise.
453 * math/w_exp10f.c: Likewise.
454 * math/w_exp10l.c: Likewise.
455 * math/w_exp2.c: Likewise.
456 * math/w_exp2f.c: Likewise.
457 * math/w_exp2l.c: Likewise.
458 * math/w_fmod.c: Likewise.
459 * math/w_fmodf.c: Likewise.
460 * math/w_fmodl.c: Likewise.
461 * math/w_hypot.c: Likewise.
462 * math/w_hypotf.c: Likewise.
463 * math/w_hypotl.c: Likewise.
464 * math/w_jnl.c: Likewise.
465 * math/w_lgamma.c: Likewise.
466 * math/w_lgamma_r.c: Likewise.
467 * math/w_lgammaf.c: Likewise.
468 * math/w_lgammaf_r.c: Likewise.
469 * math/w_lgammal.c: Likewise.
470 * math/w_lgammal_r.c: Likewise.
471 * math/w_pow.c: Likewise.
472 * math/w_powf.c: Likewise.
473 * math/w_powl.c: Likewise.
474 * math/w_remainder.c: Likewise.
475 * math/w_remainderf.c: Likewise.
476 * math/w_remainderl.c: Likewise.
477 * math/w_scalb.c: Likewise.
478 * math/w_scalbf.c: Likewise.
479 * math/w_scalbl.c: Likewise.
480 * math/w_scalbln.c: Likewise.
481 * math/w_scalblnf.c: Likewise.
482 * math/w_scalblnl.c: Likewise.
483 * math/w_sinh.c: Likewise.
484 * math/w_sinhf.c: Likewise.
485 * math/w_sinhl.c: Likewise.
486 * math/w_tgamma.c: Likewise.
487 * math/w_tgammaf.c: Likewise.
488 * math/w_tgammal.c: Likewise.
489 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
490 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
491 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
492 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
493 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
494 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
495 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
496 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
497 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
498 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
499 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
500 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
501 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
502 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
503 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
504 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
505 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
506 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
507 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
508 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
509 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
510 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
511 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
512 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
513 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
514 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
515 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
516 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
517 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
518 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
519 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
520 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
521 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
522 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
523 * stdio-common/printf_fp.c: Likewise.
524 * stdio-common/printf_fphex.c: Likewise.
525 * stdio-common/printf_size.c: Likewise.
527 2015-06-03 Joseph Myers <joseph@codesourcery.com>
530 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
532 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
534 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
535 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
536 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
537 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
538 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
539 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
540 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
541 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
542 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
543 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
546 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
547 weak alias of __wmemchr. Use libc_hidden_weak.
548 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
549 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
552 2015-06-02 Roland McGrath <roland@hack.frob.com>
555 * elf/tst-tlsalign-extern.c: New file.
556 * elf/tst-tlsalign-extern-static.c: New file.
557 * elf/tst-tlsalign-vars.c: New file.
558 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
559 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
560 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
561 ($(objpfx)tst-tlsalign-extern-static): Likewise.
562 (test-xfail-tst-tlsalign-extern-static): New variable.
564 2015-06-02 Joseph Myers <joseph@codesourcery.com>
566 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
567 Use variable name _sc_err instead of err.
568 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
570 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
571 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
572 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
573 (INLINE_SYSCALL): Likewise.
575 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
576 * include/string.h (__strnlen): Use libc_hidden_proto.
577 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
578 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
579 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
580 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
581 (libc_hidden_def): Undefine and redefine.
582 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
583 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
585 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
587 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
590 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
591 weak alias of __towlower. Use libc_hidden_weak.
592 (towupper): Rename to __towupper and define as weak alias of
593 __towupper. Use libc_hidden_weak.
594 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
595 (__towupper): Likewise.
596 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
597 __towlower instead of towlower.
599 2015-06-02 Roland McGrath <roland@hack.frob.com>
601 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
602 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
604 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
606 * sysdeps/aarch64/libm-test-ulps: Update.
608 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
610 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
612 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
613 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
614 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
615 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
616 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
617 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
618 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
620 2015-06-01 Martin Sebor <msebor@redhat.com>
623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
624 (__setcontext): Use extended four-operand version of mtsf whenever
626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
627 (__novec_swapcontext): Likewise.
629 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
631 * benchtests/scripts/compare_bench.py: New file.
632 * benchtests/scripts/import_bench.py (mean): New function.
633 (split_list): Likewise.
634 (do_for_all_timings): Likewise.
635 (compress_timings): Likewise.
637 * benchtests/scripts/import_bench.py: New file.
638 * benchtests/scripts/validate_benchout.py: Import import_bench
639 instead of jsonschema.
640 (validate_bench): Remove function.
641 (main): Use import_bench.
643 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
645 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
646 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
648 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
652 2015-05-28 Roland McGrath <roland@hack.frob.com>
654 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
655 set THREAD_SELF->tid to a magic value and futex-wake it.
656 Pass its address to the thread_exit system call.
657 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
659 * sysdeps/nacl/lowlevellock.h: New file.
660 * sysdeps/nacl/lll_timedwait_tid.c: New file.
662 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
663 Add TIMEOUT to current time, don't subtract it.
665 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
668 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
669 ($(objpfx)tst-audit2.out): Also depend on
670 $(objpfx)tst-auditmod9b.so.
671 * elf/tst-audit2.c: Include <dlfcn.h>.
672 (calloc_called): New.
673 (calloc): Allow to be called more than once.
674 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
676 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
678 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
679 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
681 2015-05-27 Marko Myllynen <myllynen@redhat.com>
683 * stdlib/monetary.h: Fix comment.
685 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
687 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
688 Avoid using variables in #defines that might cause shadowing.
689 (INTERNAL_VSYSCALL_CALL): Likewise.
691 2015-05-26 Roland McGrath <roland@hack.frob.com>
693 * sysdeps/nacl/lll_timedlock_wait.c: New file.
695 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
696 * nptl/lll_timedlock_wait.c: ... to this new file.
697 * nptl/Makefile (libpthread-routines): Add it.
698 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
699 * nptl/lll_timedwait_tid.c: ... to this new file.
700 * nptl/Makefile (libpthread-routines): Add it.
701 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
702 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
703 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
704 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
705 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
706 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
707 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
708 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
709 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
710 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
712 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
714 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
715 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
716 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
717 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
718 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
719 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
720 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
721 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
722 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
723 * sysdeps/unix/sysv/linux/tile/sysdep.h
724 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
725 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
726 using vDSO syscall macro.
728 2015-05-26 Andriy Rysin <arysin@gmail.com>
731 * uk_UA: Fix sorting order for Ukrainian locale
733 2015-05-26 Marko Myllynen <myllynen@redhat.com>
735 * stdlib/monetary.h: Fix comment.
737 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
740 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
741 st_mtim and st_ctim members.
742 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
743 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
744 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
745 (struct stat64): Likewise.
746 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
747 (struct stat64): Likewise.
748 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
749 (struct stat64): Likewise.
751 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
753 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
754 Define and include sysdep-vdso.h.
755 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
757 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
759 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
760 Define with VDSO_SYMBOL and use PTR_MANGLE.
761 (__vdso_clock_gettime): Likewise.
762 (__vdso_clock_getres): Likewise.
763 (_libc_vdso_platform_setup): Likewise.
764 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
766 (_libc_vdso_platform_setup): Likewise.
767 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
769 (__vdso_clock_gettime): Likewise.
770 (__vdso_clock_getres): Likewise.
771 (__vdso_get_tbfreq): Likewise.
772 (__vdso_getcpu): Likewise.
773 (__vdso_time): Likewise.
774 (__vdso_sigtramp_rt64): Likewise.
775 (__vdso_signtramp32): Likewise.
776 (__vdso_sigtramp_rt32): Likewise.
777 (_libc_vdso_platform_setup): Likewise.
778 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
780 (__vdso_clock_gettime): Likewise.
781 (__vdso_clock_getres): Likewise.
782 (_libc_vdso_platform_setup): Likewise.
783 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
785 (__vdso_clock_gettime): Likewise.
786 (_libc_vdso_platform_setup): Likewise.
787 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
789 (__vdso_getcpu): Likewise.
790 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
791 Use VDSO_SYMBOL macro to define.
792 (__vdso_clock_gettime): Likewise.
793 (__vdso_clock_getres): Likewise.
794 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
796 (__vdso_clock_gettime): Likewise.
797 (__vdso_clock_getres): Likewise.
798 (__vdso_get_tbfreq): Likewise.
799 (__vdso_getcpu): Likewise.
800 (__vdso_time): Likewise.
801 (__vdso_sigtramp_rt64): Likewise.
802 (__vdso_signtramp32): Likewise.
803 (__vdso_sigtramp_rt32): Likewise.
804 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
806 (__vdso_clock_gettime): Likewise.
807 (__vdso_clock_getres): Likewise.
808 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
810 (__vdso_clock_gettime): Likewise.
811 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
813 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
815 (INTERNAL_VSYSCALL): Likewise.
816 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
818 (INTERNAL_VSYSCALL): Likewise.
819 (INTERNAL_VSYSCALL_NCS): Likewise.
820 (INTERNAL_VSYSCALL_CALL): New macro.
821 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
822 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
824 (INTERNAL_VSYSCALL): Likewise.
825 (INTERNAL_VSYSCALL_NCS): Likewise.
826 (INTERNAL_VSYSCALL_CALL): New macro.
827 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
829 (INLINE_VSYSCALL): Remove macro.
830 (INTERNAL_VSYSCALL): Remove macro.
831 (INTERNAL_VSYSCALL_NCS): Remove macro.
832 (INTERNAL_VSYSCALL_CALL): New macro.
833 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
834 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
835 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
836 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
837 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
839 (INLINE_VSYSCALL): Remove macro.
840 (INTERNAL_VSYSCALL): Likewise.
841 (INTERNAL_VSYSCALL_NCS): Likewise.
842 (INTERNAL_VSYSCALL_CALL): New macro.
843 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
844 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
845 PTR_DEMANGLE on vDSO pointer.
846 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
847 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
849 (INTERNAL_SYSCALL): Likewise.
850 (INTERNAL_VSYSCALL_NCS): Remove macro.
851 (INTERNAL_VSYSCALL_CALL): New macro.
852 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
854 (INTERNAL_VSYSCALL): Likewise.
855 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
856 sysdep-vdso.h instead of libc-vdso.h.
857 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
859 (INLINE_VSYSCALL): Likewise.
860 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
861 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
863 (INLINE_VSYSCALL): Likewise.
864 (INTERNAL_VSYSCALL): Likewise.
865 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
866 * sysdeps/unix/sysv/linux/timespec_get.c
867 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
868 (timespec_get): Use ANSI prototype.
869 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
870 and definition for Linux.
872 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
874 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
875 * include/libc-symbols.h: libmvec_hidden_* macro series added.
877 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
880 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
881 for missing DT_PLTRELSZ.
883 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
885 Remove obsolete aliases that broke 'locale -a'
887 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
888 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
889 breaking some applications that use 'locale -a' output.
890 Change the encoding of this file from Latin-1 to ASCII to avoid
891 other potential problems with people grepping this file.
893 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
895 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
896 -fasynchronous-unwind-tables.
897 (CFLAGS-sendto.c): Likewise.
898 (CFLAGS-sendmsg.c): Likewise.
899 (CFLAGS-connect.c): Likewise.
900 (CFLAGS-recvmsg.c): Likewise.
901 (CFLAGS-recvfrom.c): Likewise.
902 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
903 (SOCKETCALL): New macro: non-cancellable socketcall.
904 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
905 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
906 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
907 * sysdeps/unix/sysv/linux/accept.c: New file.
908 * sysdeps/unix/sysv/linux/bind.c: Likewise.
909 * sysdeps/unix/sysv/linux/connect.c: Likewise.
910 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
911 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
912 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
913 * sysdeps/unix/sysv/linux/listen.c: Likewise.
914 * sysdeps/unix/sysv/linux/recv.c: Likewise.
915 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
916 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
917 * sysdeps/unix/sysv/linux/send.c: Likewise.
918 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
919 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
920 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
921 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
922 * sysdeps/unix/sysv/linux/socket.c: Likewise.
923 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
924 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
926 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
927 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
928 instead of __internal_xxx function.
929 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
931 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
932 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
933 instead of __internal_xxx function.
934 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
936 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
937 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
938 instead of __internal_xxx function.
939 * sysdeps/unix/sysv/linux/accept.S: Remove file.
940 * sysdeps/unix/sysv/linux/bind.S: Likewise.
941 * sysdeps/unix/sysv/linux/connect.S: Likewise.
942 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
943 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
944 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
945 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
946 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
947 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
948 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
949 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
950 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
951 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
952 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
953 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
954 * sysdeps/unix/sysv/linux/listen.S: Likewise.
955 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
956 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
957 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
958 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
961 * sysdeps/unix/sysv/linux/recv.S: Likewise.
962 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
963 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
964 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
965 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
966 * sysdeps/unix/sysv/linux/send.S: Likewise.
967 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
968 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
969 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
970 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
971 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
972 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
973 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
974 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
975 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
976 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
977 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
978 socketcall is implemented in GLIBC.
980 2015-05-22 Joseph Myers <joseph@codesourcery.com>
982 * soft-fp/fmadf4.c: Include <libc-internal.h>.
983 (__fma): Ignore uninitialized warnings around packing.
984 * soft-fp/fmasf4.c: Include <libc-internal.h>.
985 (__fmaf): Ignore uninitialized warnings around packing.
986 * soft-fp/fmatf4.c: Include <libc-internal.h>.
987 (__fmal): Ignore uninitialized warnings around packing.
989 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
990 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
991 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
992 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
994 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
995 switch statement into default case.
996 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
998 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
999 a conditional in forcing "inexact".
1000 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1003 2015-05-22 Roland McGrath <roland@hack.frob.com>
1005 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1006 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
1007 for each INTERNAL_SYSCALL use.
1009 2015-05-22 Joseph Myers <joseph@codesourcery.com>
1012 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
1013 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
1017 * string/basename.c (basename): Rename to __basename and define as
1018 weak alias of __basename. Use libc_hidden_weak.
1019 * include/string.h (__basename): Declare. Use libc_hidden_proto.
1020 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
1021 __basename instead of basename.
1022 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
1024 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1026 2015-05-18 Florian Weimer <fweimer@redhat.com>
1028 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
1029 (_IO_JUMPS_FILE_plus): New.
1030 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
1031 _IO_CAST_FIELD_ACCESS.
1032 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
1033 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
1034 * libio/freopen.c (freopen): Likewise.
1035 * libio/freopen64.c (freopen64): Likewise.
1036 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
1037 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
1038 * libio/iofwide.c (_IO_fwide): Likewise.
1039 * libio/memstream.c (open_memstream): Likewise.
1040 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1041 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1042 * libio/oldiopopen.c (_IO_old_popen): Likewise.
1044 2015-05-21 Joseph Myers <joseph@codesourcery.com>
1046 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
1047 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
1049 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
1050 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
1052 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
1053 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
1056 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
1059 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
1060 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
1062 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1063 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1064 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1066 2015-05-21 Florian Weimer <fweimer@redhat.com>
1068 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
1069 Adjust jump table label generation macros.
1071 2015-05-21 Florian Weimer <fweimer@redhat.com>
1073 * stdio-common/vfprintf.c (vfprintf): Move local variables
1074 args_malloced, specs, specs_malloced, and the code after
1075 do_positional to the printf_positional function.
1076 (printf_positional): New function.
1078 2015-05-21 Florian Weimer <fweimer@redhat.com>
1080 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
1082 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
1083 STEP4_TABLE, process_arg): Move macro definitions
1084 out of the vfprintf function. (Cosmetic change only.)
1086 2015-05-21 Carlos O'Donell <carlos@redhat.com>
1088 * benchtests/Makefile (stdio-common-bench): Define.
1089 (benchset): Add stdio-common-bench.
1090 * sprintf-inputs: New file.
1091 * sprintf-source.c: New file.
1093 2015-05-21 Andreas Schwab <schwab@suse.de>
1097 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
1098 of struct __res_state.
1099 * resolv/res_send.c (__libc_res_nsend): Likewise.
1100 (get_nsaddr): New function.
1101 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
1104 2015-05-20 Joseph Myers <joseph@codesourcery.com>
1106 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
1107 -D_POSIX_C_SOURCE=199506L.
1109 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
1111 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
1112 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
1113 Do not mention otherwise.
1114 [POSIX] (_XOPEN_VERSION): Do not expect.
1115 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
1116 [POSIX] (_POSIX2_C_BIND): Likewise.
1117 [POSIX] (_POSIX2_VERSION): Likewise.
1118 [POSIX] (_XOPEN_XPG2): Likewise.
1119 [POSIX] (_XOPEN_XPG3): Likewise.
1120 [POSIX] (_XOPEN_XPG4): Likewise.
1121 [POSIX] (_XOPEN_UNIX): Likewise.
1122 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
1123 [POSIX] (_POSIX_BARRIERS): Likewise.
1124 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
1125 [POSIX] (_POSIX_CPUTIME): Likewise.
1126 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
1127 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
1128 [POSIX] (_POSIX_SHELL): Likewise.
1129 [POSIX] (_POSIX_SPAWN): Likewise.
1130 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
1131 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
1132 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
1133 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
1134 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
1135 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
1136 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
1137 [POSIX] (_XBS5_LP64_OFF64): Likewise.
1138 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
1139 [POSIX] (_POSIX_TIMEOUTS): Likewise.
1140 [POSIX] (_POSIX2_PBS): Likewise.
1141 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
1142 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
1143 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
1144 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
1145 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
1146 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
1147 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
1148 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
1149 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
1150 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
1151 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
1152 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
1153 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
1154 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
1155 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
1156 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
1157 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
1158 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
1159 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
1160 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
1161 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
1162 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
1163 [POSIX] (_SC_2_C_BIND): Likewise.
1164 [POSIX] (_SC_2_C_VERSION): Likewise.
1165 [POSIX] (_SC_2_PBS): Likewise.
1166 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
1167 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
1168 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
1169 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
1170 [POSIX] (_SC_2_PBS_TRACK): Likewise.
1171 [POSIX] (_SC_ATEXIT_MAX): Likewise.
1172 [POSIX] (_SC_BARRIERS): Likewise.
1173 [POSIX] (_SC_BASE): Likewise.
1174 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
1175 [POSIX] (_SC_DEVICE_IO): Likewise.
1176 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
1177 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
1178 [POSIX] (_SC_FD_MGMT): Likewise.
1179 [POSIX] (_SC_FIFO): Likewise.
1180 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
1181 [POSIX] (_SC_FILE_LOCKING): Likewise.
1182 [POSIX] (_SC_FILE_SYSTEM): Likewise.
1183 [POSIX] (_SC_IOV_MAX): Likewise.
1184 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
1185 [POSIX] (_SC_NETWORKING): Likewise.
1186 [POSIX] (_SC_PAGE_SIZE): Likewise.
1187 [POSIX] (_SC_PASS_MAX): Likewise.
1188 [POSIX] (_SC_PIPE): Likewise.
1189 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
1190 [POSIX] (_SC_REGEXP): Likewise.
1191 [POSIX] (_SC_SHELL): Likewise.
1192 [POSIX] (_SC_SIGNALS): Likewise.
1193 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
1194 [POSIX] (_SC_SPIN_LOCKS): Likewise.
1195 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
1196 [POSIX] (_SC_USER_GROUPS): Likewise.
1197 [POSIX] (_SC_USER_GROUPS_R): Likewise.
1198 [POSIX] (_SC_STREAMS): Likewise.
1199 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
1200 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
1201 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
1202 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
1203 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
1204 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
1205 [POSIX] (_PC_FILESIZEBITS): Likewise.
1206 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
1207 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
1208 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
1209 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
1210 [POSIX] (uid_t): Likewise.
1211 [POSIX] (gid_t): Likewise.
1212 [POSIX] (off_t): Likewise.
1213 [POSIX] (pid_t): Likewise.
1214 [POSIX] (cuserid): Allow.
1215 (_SC_2_CHAR_TERM): Require constant.
1216 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
1217 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
1220 2015-05-20 Roland McGrath <roland@hack.frob.com>
1222 * sysdeps/nacl/pthread-pids.h: New file.
1223 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
1224 (create_thread): Use __nacl_get_tid to initialize PD->tid.
1226 * nptl/pthread-pids.h: New file.
1227 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
1228 * nptl/nptl-init.c: Include <pthread-pids.h>.
1229 (__pthread_initialize_minimal_internal):
1230 Call __pthread_initialize_pids instead of set_tid_address syscall.
1232 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
1233 * sysdeps/posix/usleep.c: ... here.
1235 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1237 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
1238 call_pselect6 object.
1239 [$(subdir) = io]: Remove call_sync_file_range object.
1240 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
1241 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
1242 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
1243 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
1245 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
1247 * math/s_cproj.c: Add include "math_private.h".
1248 * math/s_cprojf.c: Likewise.
1249 * math/s_cprojl.c: Likewise.
1251 2015-05-19 Joseph Myers <joseph@codesourcery.com>
1254 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
1255 high mantissa bit when testing whether P is a NaN.
1256 * math/libm-test.inc (remainder_test_data): Add more tests.
1257 (remquo_test_data): Likewise.
1260 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
1261 below -32, return the argument, with underflow if subnormal.
1262 * math/auto-libm-test-in: Add more tests of atanh.
1263 * math/auto-libm-test-out: Regenerated.
1265 2015-05-19 Roland McGrath <roland@hack.frob.com>
1268 * nptl/tst-sem15.c: New file.
1269 * nptl/Makefile (tests): Add it.
1270 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
1271 s/<</>>/ to fix typo in EOVERFLOW check.
1272 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
1274 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1276 * manual/strings.texi (envz_remove): Fix typo in safety
1279 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
1280 Steve Ellcey <sellcey@imgtec.com>
1282 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
1283 in order to avoid strict alias warnings.
1284 (iruserok_af): Ditto for ra.
1286 2015-05-19 James Lemke <jwlemke@codesourcery.com>
1290 (magicbyte): Convert to a function and avoid returning 0x01.
1291 (mem2mem_check): Avoid using a length byte equal to the magic byte.
1292 (mem2chunk_check): Fix unsigned comparisons to zero.
1293 Hoist defs of sz and magic.
1295 2015-05-19 Richard Henderson <rth@redhat.com>
1297 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
1299 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1301 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1304 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
1305 * malloc/arena.c (arena_lock): Check if arena is corrupt.
1306 (reused_arena): Find a non-corrupt arena.
1307 (heap_trim): Pass arena to unlink.
1308 * malloc/hooks.c (malloc_check_get_size): Pass arena to
1310 (top_check): Likewise.
1311 (free_check): Likewise.
1312 (realloc_check): Likewise.
1313 * malloc/malloc.c (malloc_printerr): Add arena argument.
1315 (munmap_chunk): Adjust.
1316 (ARENA_CORRUPTION_BIT): New macro.
1317 (arena_is_corrupt): Likewise.
1318 (set_arena_corrupt): Likewise.
1319 (sysmalloc): Use mmap if there are no usable arenas.
1320 (_int_malloc): Likewise.
1321 (__libc_malloc): Don't fail if arena_get returns NULL.
1322 (_mid_memalign): Likewise.
1323 (__libc_calloc): Likewise.
1324 (__libc_realloc): Adjust for additional argument to
1326 (_int_free): Likewise.
1327 (malloc_consolidate): Likewise.
1328 (_int_realloc): Likewise.
1329 (_int_memalign): Don't touch corrupt arenas.
1330 * malloc/tst-malloc-backtrace.c: New test case.
1332 * Makefile (summarize-tests): Fix return value on success.
1334 * manual/string.texi (Envz Functions): Add envz_remove.
1336 2015-05-18 Roland McGrath <roland@hack.frob.com>
1338 * sysdeps/posix/opendir.c: Include <stdbool.h>.
1339 (invalid_name): New function, broken out of ...
1340 (__opendirat): ... here. Call it.
1341 (need_isdir_precheck): New function, broken out of ...
1342 (__opendirat): ... here. Call it.
1343 Use __fxstatat64, not __xstatat64.
1344 (opendir_oflags): New function, broken out of ...
1345 (__opendirat): ... here. Call it.
1346 (opendir_tail): New function, broken out of ...
1347 (__opendirat): ... here. Call it.
1348 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
1349 opendir_tail, rather than punting to __opendirat.
1350 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
1352 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1354 * .gitignore: Ignore generated *.pyc.
1356 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
1358 * include/stdio.h: Define __need_wint_t.
1359 * test-skeleton.c: Avoid `for' loop initial declaration.
1360 * nptl/tst-initializers1.c: Use test-skeleton.c.
1362 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1365 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
1367 2015-05-15 Joseph Myers <joseph@codesourcery.com>
1370 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
1371 (__ieee754_atanh): Force underflow exception for results with
1372 small absolute value.
1373 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
1374 (__ieee754_atanhf): Force underflow exception for results with
1375 small absolute value.
1376 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
1377 (__ieee754_atanh): Force underflow exception for results with
1378 small absolute value.
1379 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
1380 (__ieee754_atanhf): Force underflow exception for results with
1381 small absolute value.
1382 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
1383 (__ieee754_atanhl): Force underflow exception for results with
1384 small absolute value.
1385 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
1386 (__ieee754_atanhl): Force underflow exception for results with
1387 small absolute value.
1388 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
1389 (__ieee754_atanhl): Force underflow exception for results with
1390 small absolute value.
1391 * math/auto-libm-test-in: Do not allow missing underflow
1392 exceptions from atanh.
1393 * math/auto-libm-test-out: Regenerated.
1396 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
1397 2**-28 as threshold for returning x or +/- 1/x.
1398 * math/auto-libm-test-in: Add more tests of tan.
1399 * math/auto-libm-test-out: Regenerated.
1402 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1403 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
1404 * math/auto-libm-test-in: Add another test of lgamma.
1405 * math/auto-libm-test-out: Regenerated.
1407 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
1409 * stdio-common/printf_fp.c (___printf_fp): Use abs.
1410 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
1411 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
1412 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
1413 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
1414 (ADD2A): Use fabs. (SUB2A): Use fabs.
1415 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
1416 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
1417 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
1418 (log1): Use fabs. (my_log2): Use fabs.
1419 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
1420 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
1421 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
1422 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
1423 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
1424 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
1425 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
1426 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
1427 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
1428 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
1429 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
1431 2015-05-15 Joseph Myers <joseph@codesourcery.com>
1434 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
1435 as threshold for returning 1 - x.
1436 * math/auto-libm-test-in: Add more tests of erfc.
1437 * math/auto-libm-test-out: Regenerated.
1439 2015-05-14 Joseph Myers <joseph@codesourcery.com>
1442 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
1443 threshold for large arguments.
1444 * math/auto-libm-test-in: Add another test of atan.
1445 * math/auto-libm-test-out: Regenerated.
1448 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
1449 (__log1p): Force underflow exception for results with small
1451 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
1452 (__log1pf): Force underflow exception for results with small
1454 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
1455 (__log1p): Force underflow exception for results with small
1457 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
1458 (__log1pf): Force underflow exception for results with small
1460 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
1461 (__log1pl): Force underflow exception for results with small
1463 * math/auto-libm-test-in: Do not allow missing underflow
1464 exceptions from log1p.
1465 * math/auto-libm-test-out: Regenerated.
1467 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
1468 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1471 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
1473 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
1475 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
1476 (libmvec): New variable.
1477 * configure.ac: Added option for mathvec build.
1478 * configure: Regenerated.
1479 * mathvec/Depend: New file.
1480 * mathvec/Makefile: New file.
1481 * shlib-versions: Added libmvec.
1482 * math/Makefile: Added rule for libm.so installation.
1484 * bits/math-vector.h: New file.
1485 * bits/libm-simd-decl-stubs.h: New header.
1486 * math/Makefile (headers): Added new header
1487 libm-simd-decl-stubs.h.
1488 * math/math.h (__MATHCALL_VEC): New macro.
1490 * math/gen-libm-have-vector-test.sh: Script generates series of macros
1491 for conditions in testing functions.
1492 * math/Makefile: Added call of libm-have-vector-test.sh.
1493 * math/libm-test.inc (HAVE_VECTOR): New macros.
1495 * math/libm-test.inc: START refactored.
1496 * math/test-double.c (TEST_MATHVEC): Add define.
1497 * math/test-float.c: Likewise.
1498 * math/test-idouble.c: Likewise.
1499 * math/test-ifloat.c: Likewise.
1500 * math/test-ildoubl.c: Likewise.
1501 * math/test-ldouble.c: Likewise.
1502 * sysdeps/generic/math-tests-arch.h
1503 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
1506 * math/test-double.c (FUNC_TEST): New macro.
1507 * math/test-float.c: Likewise.
1508 * math/test-idouble.c: Likewise.
1509 * math/test-ifloat.c: Likewise.
1510 * math/test-ildoubl.c: Likewise.
1511 * math/test-ldouble.c: Likewise.
1512 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
1514 2015-05-13 Roland McGrath <roland@hack.frob.com>
1516 * sysdeps/nacl/fdopendir.c: New file.
1518 * dirent/scandir-tail.c: New file.
1519 * dirent/scandir64-tail.c: New file.
1520 * dirent/Makefile (routines): Add them.
1521 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
1522 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
1523 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
1524 [!SCANDIR] (SCANDIR_TAIL): New macro.
1525 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
1526 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
1527 (SCANDIRAT): Macro removed.
1528 (SCANDIR_TAIL): New macro.
1529 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
1530 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
1531 (SCANDIRAT): Just call __opendirat and __scandir_tail.
1532 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
1533 (READDIR): Macro removed.
1534 (SCANDIR_TAIL): New macro.
1535 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
1536 (SCANDIR_TAIL): New macro.
1538 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
1539 * dirent/scandir-cancel.c: ... to this new file.
1540 * dirent/Makefile (routines): Add it.
1541 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
1542 * sysdeps/unix/sysv/linux/i386/scandir64.c
1543 (SKIP_SCANDIR_CANCEL): Macro removed.
1544 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
1546 * dirent/tst-scandir.c: New file.
1547 * dirent/tst-scandir64.c: New file.
1548 * dirent/Makefile (tests): Add them.
1550 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
1553 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
1555 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1557 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
1560 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
1562 * benchtests/bench-strcoll.c: New benchmark.
1563 * benchtests/Makefile: Generate locales and run benchmark.
1564 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
1565 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
1566 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
1567 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
1568 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
1569 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
1570 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
1571 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
1572 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
1573 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
1574 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
1575 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
1576 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
1577 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
1578 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
1579 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
1580 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
1581 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
1582 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
1583 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
1584 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
1585 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
1586 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
1587 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
1589 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
1591 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
1592 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1594 2015-05-12 Roland McGrath <roland@hack.frob.com>
1596 * posix/uname-values.h: New file.
1597 * posix/uname.c: Include that instead of <config-name.h>.
1598 * sysdeps/nacl/uname-values.h: New file.
1599 * sysdeps/arm/nacl/uname-values.h: New file.
1601 2015-05-12 Joseph Myers <joseph@codesourcery.com>
1603 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
1604 splitting into fields.
1606 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
1608 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
1609 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
1610 * locale/localeinfo.h: Add enum collation_encoding_type.
1611 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
1612 * programs/ld-collate.c (collate_output): Add encoding type info.
1613 * string/strcoll_l.c (STRDIFF): New function.
1614 * (STRCOLL): Use STRDIFF to skip over equal prefix.
1615 * wcsmbs/wcscoll_l.c: Define STRDIFF.
1617 2015-05-11 Joseph Myers <joseph@codesourcery.com>
1620 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
1621 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
1622 <fpu_control.h> instead of <math/fpu_control.c>.
1623 * sysdeps/mips/mips32/fpu/Makefile: New file.
1625 2015-05-11 Andreas Schwab <schwab@suse.de>
1628 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
1630 (_nss_compat_endgrent): Call nss_endgrent.
1631 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
1633 (_nss_compat_endpwent): Call nss_endpwent.
1634 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
1635 needent, call nss_setspent only if non-zero.
1636 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
1637 (internal_endspent): Don't call nss_endspent.
1638 (_nss_compat_endspent): Call nss_endspent.
1639 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
1640 Remove. All uses removed.
1641 (internal_setent): Remove parameter stayopen, add parameter
1642 stream. Use it instead of global variable.
1643 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
1644 (internal_endent, internal_getent): Add parameter stream. Use it
1645 instead of global variable.
1646 (CONCAT(_nss_files_end,ENTNAME))
1647 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
1648 (_nss_files_get##name##_r): Pass local stream. Remove locking.
1649 * nss/nss_files/files-alias.c (position, last_use): Remove. All
1651 (internal_setent, internal_endent): Add parameter stream. Use it
1652 instead of global variable.
1653 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
1655 (get_next_alias): Add parameter stream.
1656 (_nss_files_getaliasent_r): Pass global stream.
1657 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
1658 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
1659 (_nss_files_gethostbyname4_r): Pass local stream to
1660 internal_setent, internal_getent and internal_endent. Remove
1663 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1665 * tst-strfmon1.c (tests): Update expected currency symbol.
1667 2015-05-08 Roland McGrath <roland@hack.frob.com>
1669 * sysdeps/nacl/gethostname.c: New file.
1671 2015-05-08 Joseph Myers <joseph@codesourcery.com>
1673 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
1675 * math/auto-libm-test-out: Regenerated.
1676 * sysdeps/i386/fpu/libm-test-ulps: Update.
1677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1679 2015-05-08 Carlos O'Donell <carlos@redhat.com>
1682 * stdlib/tst-setcontext3.c: New file.
1683 * stdlib/tst-setcontext3.sh: New file.
1684 * stdlib/Makefile (tests): Add tst-setcontext3.
1685 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
1686 to verify test program created output file.
1687 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
1688 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
1689 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
1690 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
1692 2015-05-06 Roland McGrath <roland@hack.frob.com>
1695 * elf/tst-tlsalign.c: New file.
1696 * elf/tst-tlsalign-static.c: New file.
1697 * elf/tst-tlsalign-lib.c: New file.
1698 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
1699 (tests-static): Add tst-tlsalign-static.
1700 (modules-names): Add tst-tlsalign-lib.
1701 (test-xfail-tst-tlsalign): New variable.
1702 (test-xfail-tst-tlsalign-static): New variable.
1704 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
1705 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
1707 2015-05-06 Joseph Myers <joseph@codesourcery.com>
1709 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
1710 csqrt, erfc, sin and sincos.
1711 * math/auto-libm-test-out: Regenerated.
1712 * sysdeps/i386/fpu/libm-test-ulps: Update.
1713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1715 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
1717 * sysdeps/aarch64/libm-test-ulps: Update.
1719 2015-05-05 Joseph Myers <joseph@codesourcery.com>
1721 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
1722 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
1723 * math/auto-libm-test-out: Regenerated.
1724 * sysdeps/i386/fpu/libm-test-ulps: Update.
1725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1727 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
1730 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
1731 (wcsncpy): Likewise.
1733 2015-05-05 Florian Weimer <fweimer@redhat.com>
1735 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1736 Assume __ASSUME_FALLOCATE is always true.
1737 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1738 (__posix_fallocate64_l64): Likweise.
1739 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
1740 (posix_fallocate): Likewise.
1741 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
1742 (__posix_fallocate64_l64): Likewise.
1743 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1744 [!__ASSUME_FALLOCATE]: Add comment.
1746 2015-05-05 Florian Weimer <fweimer@redhat.com>
1748 * sysdeps/unix/sysv/linux/i386/Makefile
1749 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
1750 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
1751 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
1752 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
1753 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
1754 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
1755 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
1757 2015-05-02 Joseph Myers <joseph@codesourcery.com>
1759 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
1760 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
1762 * math/auto-libm-test-out: Regenerated.
1763 * sysdeps/i386/fpu/libm-test-ulps: Update.
1764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1766 2015-05-01 Joseph Myers <joseph@codesourcery.com>
1768 * math/auto-libm-test-in: Add more tests of tgamma.
1769 * math/auto-libm-test-out: Regenerated.
1770 * sysdeps/i386/fpu/libm-test-ulps: Update.
1771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1773 * math/auto-libm-test-in: Add more tests of tanh.
1774 * math/auto-libm-test-out: Regenerated.
1775 * sysdeps/i386/fpu/libm-test-ulps: Update.
1776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1778 * math/auto-libm-test-in: Add more tests of tan.
1779 * math/auto-libm-test-out: Regenerated.
1780 * sysdeps/i386/fpu/libm-test-ulps: Update.
1781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1783 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
1784 * math/auto-libm-test-out: Regenerated.
1785 * sysdeps/i386/fpu/libm-test-ulps: Update.
1786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1788 * math/auto-libm-test-in: Add another test of pow.
1789 * math/auto-libm-test-out: Regenerated.
1790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1792 * math/auto-libm-test-in: Add more tests of lgamma.
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 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
1799 * math/auto-libm-test-out: Regenerated.
1800 * sysdeps/i386/fpu/libm-test-ulps: Update.
1801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1803 2015-05-01 Mark Wielaard <mjw@redhat.com>
1805 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
1806 Elf64_Chdr structs and ELFCOMPRESS constants.
1808 2015-05-01 Joseph Myers <joseph@codesourcery.com>
1810 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
1812 * math/auto-libm-test-out: Regenerated.
1813 * sysdeps/i386/fpu/libm-test-ulps: Update.
1814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1816 * math/auto-libm-test-in: Add more tests of erf and erfc.
1817 * math/auto-libm-test-out: Regenerated.
1818 * sysdeps/i386/fpu/libm-test-ulps: Update.
1819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1821 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1823 * config.h.in (HAVE_AARCH64_BE): Add.
1825 2015-04-30 Joseph Myers <joseph@codesourcery.com>
1827 * math/auto-libm-test-in: Add more tests of csqrt.
1828 * math/auto-libm-test-out: Regenerated.
1829 * sysdeps/i386/fpu/libm-test-ulps: Update.
1830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1832 * math/auto-libm-test-in: Add more tests of cosh and sinh.
1833 * math/auto-libm-test-out: Regenerated.
1834 * sysdeps/i386/fpu/libm-test-ulps: Update.
1835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1837 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
1839 2015-04-29 Roland McGrath <roland@hack.frob.com>
1841 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
1842 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
1844 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
1845 (euidaccess, eaccess): Define as weak aliases.
1847 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
1848 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
1849 but __suseconds_t is often 'long int' so some sources assume that
1850 type is being used (e.g. they use %ld to print tv_usec).
1852 2015-04-29 Florian Weimer <fweimer@redhat.com>
1855 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
1857 * nss/tst-nss-getpwent.c: New file.
1858 * nss/Makefile (tests): Add new test.
1860 2015-04-28 Joseph Myers <joseph@codesourcery.com>
1863 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
1864 exponents less than 48 as cases where high part of mantissa needs
1865 examining to determine whether argument is integral.
1866 * math/libm-test.inc (round_test_data): Add more tests.
1868 2015-04-28 Mark Wielaard <mjw@redhat.com>
1870 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
1872 2015-04-27 David S. Miller <davem@davemloft.net>
1874 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
1876 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1878 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
1881 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
1883 2015-04-27 Florian Weimer <fweimer@redhat.com>
1886 * time/tzset.c (parse_tzname): Return error on memory allocation
1888 * test-skeleton.c (struct temp_name_list): Change type of name
1889 member to non-const.
1890 (add_temp_file): Create a copy of the file name.
1891 (delete_temp_files): Deallocate memory.
1892 (create_temp_file): Add comment.
1894 2015-04-24 Florian Weimer <fweimer@redhat.com>
1896 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
1897 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
1899 2015-04-24 Roland McGrath <roland@hack.frob.com>
1901 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
1902 * sysdeps/arm/configure: Regenerated.
1904 2015-04-24 Florian Weimer <fweimer@redhat.com>
1907 * time/tzfile.c (__tzfile_read): Check for large values of
1908 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
1909 * time/tzset.c (__tzstring_len): New function, based on the old
1910 __tzstring function.
1911 (__tzstring): Call __tzstring_len.
1912 (parse_tzname): New helper function extracted from
1913 __tzset_parse_tz. Call __tzstring_len, without making a copy of
1915 (parse_offset): New helper function extracted from
1916 __tzset_parse_tz. Replace switch with fallthrough with
1917 initialization before sscanf.
1918 (parse_rule): Likewise.
1919 (__tzset_parse_tz): Rewrite using the new helper functions. Use
1920 new-style function definition.
1921 * timezone/Makefile (tests): Add tst-tzset.
1922 (tst-tzset.out): Dependencies on time zone files.
1923 (tst-tzset-ENV): Set TZDIR.
1924 (testdata/XT%): Copy crafted time zone files.
1925 * timezone/README: Mention crafted time zone files.
1926 * timezone/testdata/XT1, timezone/testdata/XT2,
1927 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
1929 * timezone/tst-tzset.c: New test.
1931 2015-04-24 Florian Weimer <fweimer@redhat.com>
1933 * Makeconfig (+gccwarn): Remove -Winline.
1935 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1937 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
1939 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1941 * NEWS: Mention sysconf() cache information support for s390.
1942 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
1944 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
1946 * math/k_casinh.c (__kernel_casinh): Use __copysign.
1947 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
1948 (__nearbyint): Likewise.
1949 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
1950 (copysignl): Likewise.
1952 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
1955 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
1956 based on padding. (CVE-2015-1781)
1958 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1960 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
1962 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
1963 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
1964 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
1965 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1966 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1967 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
1968 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
1969 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1970 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1971 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
1972 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1973 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1974 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
1975 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
1976 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1977 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
1978 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
1979 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
1980 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
1981 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
1982 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
1983 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
1984 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
1986 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
1988 * stdlib/setenv.c (__add_to_environ):
1989 Dump core quickly if setenv (..., NULL, ...) is called.
1990 This time, do it the right way, and pacify GCC with a pragma.
1992 2015-04-17 Roland McGrath <roland@hack.frob.com>
1994 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
1995 IMAP->l_prev cannot be null, and #if out the code for the contrary
1996 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
1997 believe that NS (&_dl_ns[NSID]) could point outside the array.
1999 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
2000 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
2001 before using NSID as an index.
2003 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
2006 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
2007 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
2008 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2010 2015-04-17 Roland McGrath <roland@hack.frob.com>
2012 Add preliminary port to Google Native Client on ARM.
2013 * abi-tags (.*-.*-nacl.*): New entry.
2014 * sysdeps/arm/nacl: New directory.
2015 * sysdeps/nacl: New directory.
2017 2015-04-16 David S. Miller <davem@davemloft.net>
2019 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
2020 lowlevellock-futex.h
2022 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
2024 * sysdeps/tile/configure.ac: New file.
2025 * sysdeps/tile/configure: Regenerated.
2027 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2029 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
2030 conditionals for weak_alias and libc_hidden_weak.
2031 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
2032 libc_hidden_weak and weak_alias.
2033 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
2034 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
2035 and weak_alias for static one.
2037 2015-04-15 David S. Miller <davem@davemloft.net>
2039 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2041 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2044 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
2045 Use signed comparision instead of substraction to avoid
2047 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
2048 Take the sign of ret.
2049 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
2050 Do not expect precise return values. Only the sign matters.
2051 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
2052 * wcsmbs/test-wcsncmp.c: New File.
2053 * string/test-strncmp.c: Add wcsncmp support.
2055 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2058 * math/w_log1p.c: New file.
2059 * math/w_log1pf.c: Likewise.
2060 * math/w_log1pl.c: Likewise.
2061 * math/Makefile (libm-calls): Add w_log1p.
2062 * math/s_log1pl.c (log1pl): Remove weak_alias.
2063 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
2064 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
2065 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
2066 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
2067 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
2068 [NO_LONG_DOUBLE] (log1pl): Likewise.
2069 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
2070 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
2071 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
2072 (log1p): Remove long_double_symbol.
2073 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
2074 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
2075 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
2076 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
2077 remove weak_alias for corresponding log1p function.
2078 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
2079 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
2080 * sysdeps/ia64/fpu/w_log1p.c: New file.
2081 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
2082 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
2083 * math/libm-test.inc (log1p_test_data): Add errno expectations.
2085 2015-04-10 Joseph Myers <joseph@codesourcery.com>
2088 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
2089 decimal exponent by 1.
2090 * stdlib/tst-strtod-round-data: Add more tests.
2091 * stdlib/tst-strtod-round.c (tests): Regenerated.
2093 2015-04-09 Joseph Myers <joseph@codesourcery.com>
2095 * math/auto-libm-test-in: Add more tests of clog and clog10.
2096 * math/auto-libm-test-out: Regenerated.
2097 * sysdeps/i386/fpu/libm-test-ulps: Update.
2098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2100 2015-04-09 Roland McGrath <roland@hack.frob.com>
2102 * Makeconfig (module-cppflags): Exclude all .v.i files.
2103 (skip-module-cppflags): Variable removed.
2105 * configure.ac (libc_config_ok): Initialize before reading
2106 preconfigure scripts, not after.
2107 * configure: Regenerated.
2109 * test-skeleton.c (TIMEOUT): Move #define to top level.
2110 (main): Grok environment variable TEST_DIRECT. If set, print
2111 test expectation details into that file and then behave as if
2114 2015-04-09 Florian Weimer <fweimer@redhat.com>
2116 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
2119 2015-04-08 David S. Miller <davem@davemloft.net>
2121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2123 2015-04-08 Joseph Myers <joseph@codesourcery.com>
2125 * math/auto-libm-test-in: Add more tests of atanh.
2126 * math/auto-libm-test-out: Regenerated.
2127 * sysdeps/i386/fpu/libm-test-ulps: Update.
2128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2130 * math/auto-libm-test-in: Add more tests of atan.
2131 * math/auto-libm-test-out: Regenerated.
2132 * sysdeps/i386/fpu/libm-test-ulps: Update.
2133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2135 2015-04-08 Florian Weimer <fweimer@redhat.com>
2137 * elf/pldd.c (main): Rewrite to use struct
2138 scratch_buffer instead of extend_alloca.
2139 * elf/pldd-xx.c (find_maps): Likewise.
2140 * grp/initgroups.c: Include <scratch_buffer.h> instead of
2142 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
2143 scratch_buffer instead of extend_alloca.
2144 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
2145 grp/compat-initgroups.c.
2146 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
2147 Rewrite to use struct scratch_buffer instead of extend_alloca.
2148 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
2149 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2151 2015-04-08 Joseph Myers <joseph@codesourcery.com>
2153 * math/auto-libm-test-in: Add more tests of cbrt.
2154 * math/auto-libm-test-out: Regenerated.
2155 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2157 * math/auto-libm-test-in: Add more tests of cabs.
2158 * math/auto-libm-test-out: Regenerated.
2159 * sysdeps/i386/fpu/libm-test-ulps: Update.
2160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2164 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
2165 (__ieee754_atan2): Set FE_TONEAREST mode for internal
2167 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
2169 * math/auto-libm-test-out: Regenerated.
2170 * sysdeps/i386/fpu/libm-test-ulps: Update.
2171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2174 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
2175 (atan): Set FE_TONEAREST mode for internal computations.
2176 * math/auto-libm-test-in: Add more tests of atan.
2177 * math/auto-libm-test-out: Regenerated.
2179 2015-04-07 James Cowgill <james410@cowgill.org.uk>
2182 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
2184 2015-04-07 Florian Weimer <fweimer@redhat.com>
2186 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
2188 2015-04-07 Florian Weimer <fweimer@redhat.com>
2190 * include/scratch_buffer.h: New file.
2191 * malloc/scratch_buffer_grow.c: Likewise.
2192 * malloc/scratch_buffer_grow_preserve.c: Likewise.
2193 * malloc/scratch_buffer_set_array_size.c: Likewise.
2194 * malloc/tst-scratch_buffer.c: Likewise.
2195 * malloc/Makefile (routines): Add scratch_buffer_grow.
2196 (tests): Add test case.
2197 * malloc/Versions (GLIBC_PRIVATE): Export
2198 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
2199 __libc_scratch_buffer_set_array_size.
2201 2015-04-06 Richard Henderson <rth@redhat.com>
2203 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
2204 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2206 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
2207 unsigned int before printing.
2209 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2212 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
2213 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2215 2015-04-02 Florian Weimer <fweimer@redhat.com>
2217 * include/libc-internal.h (libc_max_align_t): Define.
2219 2015-04-02 Andreas Schwab <schwab@suse.de>
2222 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
2224 2015-04-02 Mel Gorman <mgorman@suse.de>
2227 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
2228 as well as the main arena.
2230 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2233 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
2234 sharing L2 cache to 2 for Silvermont/Knights Landing.
2236 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2239 * config.make.in (have-protected-data): New.
2240 * configure.ac: Check linker support for protected data symbol.
2241 * configure: Regenerated.
2242 * elf/Makefile (modules-names): Add tst-protected1moda and
2243 tst-protected1modb if $(have-protected-data) is yes.
2244 (tests): Add tst-protected1a and tst-protected1b if
2245 $(have-protected-data) is yes.
2246 ($(objpfx)tst-protected1a): New.
2247 ($(objpfx)tst-protected1b): Likewise.
2248 (tst-protected1modb.so-no-z-defs): Likewise.
2249 * elf/tst-protected1a.c: New file.
2250 * elf/tst-protected1b.c: Likewise.
2251 * elf/tst-protected1mod.h: Likewise.
2252 * elf/tst-protected1moda.c: Likewise.
2253 * elf/tst-protected1modb.c: Likewise.
2255 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2258 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
2259 indicates it is called from do_lookup_x on relocation against
2260 protected data, skip the data definion in the executable from
2262 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
2263 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
2264 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
2265 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
2266 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
2268 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2269 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
2270 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
2271 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2272 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
2273 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
2275 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
2277 * sysdeps/nptl/pthread.h: Remove duplicate definition of
2278 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
2280 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
2282 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
2284 * sysdeps/x86_64/nptl/tls.h: Ditto.
2286 2015-03-27 Roland McGrath <roland@hack.frob.com>
2288 * dlfcn/tststatic.c (main): Converted to ...
2289 (do_test): ... this.
2290 (TEST_FUNCTION): New macro.
2291 Include test-skeleton.c.
2293 2015-03-26 Alan Modra <amodra@gmail.com>
2295 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
2296 Don't segfault if ifunc resolver returns a NULL. Do set plt to
2297 zero for undefined weak.
2298 (elf_machine_plt_conflict): Similarly.
2300 2015-03-25 Joseph Myers <joseph@codesourcery.com>
2302 * math/auto-libm-test-in: Add more tests of acosh, asinh and
2304 * math/auto-libm-test-out: Regenerated.
2305 * sysdeps/i386/fpu/libm-test-ulps: Update.
2306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2308 * math/auto-libm-test-in: Add another test of asin.
2309 * math/auto-libm-test-out: Regenerated.
2310 * sysdeps/i386/fpu/libm-test-ulps: Update.
2311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2313 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
2315 (LLL_EBX_REG): Likewise.
2316 (LLL_ENTER_KERNEL): Likewise.
2318 * math/auto-libm-test-in: Add more tests of asin.
2319 * math/auto-libm-test-out: Regenerated.
2320 * sysdeps/i386/fpu/libm-test-ulps: Update.
2321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2324 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
2325 libc_do_syscall_args): New structure.
2326 (INTERNAL_SYSCALL_MAIN_0): New macro.
2327 (INTERNAL_SYSCALL_MAIN_1): Likewise.
2328 (INTERNAL_SYSCALL_MAIN_2): Likewise.
2329 (INTERNAL_SYSCALL_MAIN_3): Likewise.
2330 (INTERNAL_SYSCALL_MAIN_4): Likewise.
2331 (INTERNAL_SYSCALL_MAIN_5): Likewise.
2332 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
2333 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
2334 Replace conditional definitions by conditional definitions of ....
2335 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
2336 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
2337 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
2338 (libpthread-sysdep_routines): Add libc-do-syscall.
2339 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
2340 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
2341 to __NR_futex not 240.
2343 2015-03-25 Alan Modra <amodra@gmail.com>
2345 * NEWS: Advertise TLS optimization.
2346 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
2347 (DT_PPC_NUM): Increment.
2348 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
2349 (CHECK_STATIC_TLS): Use here.
2350 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
2352 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2353 * sysdeps/powerpc/dl-tls.c: New file.
2354 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
2355 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
2356 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
2357 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
2358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
2359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2362 2015-03-25 Alan Modra <amodra@gmail.com>
2364 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
2365 for overlapping .opd entries" to "support...".
2366 * sysdeps/powerpc/powerpc64/configure: Regenerate
2368 2015-03-25 Joseph Myers <joseph@codesourcery.com>
2370 * math/auto-libm-test-in: Add more tests of acos.
2371 * math/auto-libm-test-out: Regenerated.
2372 * sysdeps/i386/fpu/libm-test-ulps: Update.
2373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2375 * math/auto-libm-test-in: Add more tests of expm1.
2376 * math/auto-libm-test-out: Regenerated.
2377 * sysdeps/i386/fpu/libm-test-ulps: Update.
2378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2380 2015-03-24 Joseph Myers <joseph@codesourcery.com>
2382 * math/auto-libm-test-in: Add more tests of cosh and sinh.
2383 * math/auto-libm-test-out: Regenerated.
2384 * sysdeps/i386/fpu/libm-test-ulps: Update.
2385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2387 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2390 * math/auto-libm-test-in: Add more tests of log2.
2391 * math/auto-libm-test-out: Regenerated.
2392 * sysdeps/i386/fpu/libm-test-ulps: Update.
2393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2395 2015-03-23 Roland McGrath <roland@hack.frob.com>
2397 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
2398 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
2399 _IO_IS_APPENDING bit in READ_WRITE instead.
2401 2015-03-23 Florian Weimer <fweimer@redhat.com>
2403 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
2404 (__determine_cpumask_size): Replace extend_alloca with a
2405 variable-length array. Do not treat res == 0 as an error.
2407 2015-03-23 Florian Weimer <fweimer@redhat.com>
2410 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
2411 and integer overflow.
2412 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
2413 (main): Add integer overflow tests.
2414 * manual/pattern.texi (Calling Wordexp): Document additional use
2417 2015-03-23 Alan Modra <amodra@gmail.com>
2419 * config.h.in: Remove HAVE_ASM_PPC_REL16.
2420 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
2421 and false branch of conditional.
2422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2425 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
2427 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
2429 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
2430 unused declaration of _hurd_intr_rpc_msg_in_trap.
2431 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
2432 defined instead of whether it is non-zero.
2433 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
2434 input constraint instead of both input and output constraint. Use ecx
2435 clobber instead of %ecx.
2436 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
2437 mutex_unlock): Use a statement expression instead of an expression list.
2438 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
2439 type to vm_size_t instead of vm_address_t.
2440 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
2441 defined instead of whether it is non-zero.
2442 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
2443 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
2444 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
2445 comparisons with mapaddr.
2446 * nscd/nscd-client.h: Include <time.h>.
2447 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
2448 9th parameter to __vm_region instead of int.
2449 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
2450 * scripts/check-local-headers.sh (exclude): Add device/,
2451 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
2454 2015-03-19 Roland McGrath <roland@hack.frob.com>
2456 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
2457 to account for alignment padding.
2458 * sysdeps/arm/memmove.S: Likewise.
2460 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
2462 * sysdeps/unix/sysv/linux/generic/README: New file.
2464 2015-03-18 Joseph Myers <joseph@codesourcery.com>
2467 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
2468 (futex_abstimed_wait)
2469 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
2470 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
2471 of lll_futex_timed_wait.
2473 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
2476 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
2478 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
2485 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
2486 entries with Static TLS too. Skip entries past the end of the
2487 allocated DTV, from Alan Modra.
2488 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
2489 Static TLS DTV entry set up from...
2490 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
2491 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
2492 * nptl/allocatestack.c (init_one_static_tls): ... and here...
2493 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
2495 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
2496 that the slot we find is associated with the given map before
2497 using its generation count.
2498 * nptl_db/db_info.c: Include ldsodefs.h.
2499 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
2500 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
2501 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
2502 (link_map::l_tls_offset): New struct field.
2503 (dtv_t::counter): Likewise.
2504 (rtld_global): New struct.
2505 (_rtld_global): New rtld variable.
2506 (dl_tls_dtv_slotinfo_list): New rtld global field.
2507 (dtv_slotinfo_list): New struct.
2508 (dtv_slotinfo): Likewise.
2509 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
2510 (td_lookup): Rename to...
2511 (td_mod_lookup): ... this. Use new mod parameter instead of
2513 * nptl_db/td_thr_tlsbase.c: Include link.h.
2514 (dtv_slotinfo_list, dtv_slotinfo): New functions.
2515 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
2516 addresses even if the DTV is out of date or missing them.
2517 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
2518 index zero-length arrays.
2519 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
2520 (td_lookup): Make it a macro implemented in terms of...
2521 (td_mod_lookup): ... this declaration.
2522 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
2523 (DB_MAIN_VARIABLE): Likewise.
2525 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
2528 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2530 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
2532 * stdlib/setenv.c (__add_to_environ): Revert previous change.
2534 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
2537 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
2538 (atomic_add, atomic_increment_and_test)
2539 (atomic_decrement_and_test): Fix 64-bit arithmetic.
2541 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
2543 * stdlib/setenv.c (__add_to_environ):
2544 Dump core quickly if setenv (..., NULL, ...) is called.
2546 2015-03-13 Roland McGrath <roland@hack.frob.com>
2548 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
2549 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
2550 all the necessary asm magic in one place.
2551 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
2554 2015-03-13 Carlos O'Donell <carlos@redhat.com>
2557 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
2558 traced file mtime. Use consistent log message.
2559 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
2560 (register_traced_file): Call install_watches. Always set mtime.
2561 (invalidate_cache): Iterate over all trace files. Call install_watches.
2562 (inotify_check_files): Don't inline. Handle watching parent
2563 directories and configuration file movement in and out.
2564 (handle_inotify_events): New function.
2565 (main_loop_poll): Call handle_inotify_events.
2566 (main_loop_epoll): Likewise.
2567 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
2568 (struct traced_file): Use array of inotify fds. Add parent directory,
2570 (struct database_dyn): Remove unused file_mtime.
2571 (init_traced_file): New inline function.
2572 (define_traced_file): New macro.
2573 * nss/nss_db/db-init.c: Use define_traced_file.
2574 (_nss_db_init): Use init_traced_file.
2575 * nss/nss_files/files-init.c: Use define_traced_file.
2576 (_nss_files_init): Use init_traced_file.
2578 2015-03-12 Joseph Myers <joseph@codesourcery.com>
2580 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
2581 [_LIBC]: Do not include <stdlib.h>.
2582 [!_LIBC] (abort): Remove declaration.
2583 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
2584 _FP_STATIC_ASSERT instead of conditionally calling abort.
2585 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
2586 (_FP_EXTEND_CNAN): Likewise.
2587 (FP_TRUNC): Likewise.
2588 (__FP_CLZ): Likewise.
2589 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
2591 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
2593 * manual/string.texi (XPG basename): Fix prototype.
2595 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2598 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
2599 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2600 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
2601 (__setcontext): Likewise.
2602 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
2603 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2604 Call rt_sigprocmask syscall one time to set new signal mask
2605 and retrieve the current signal mask instead of two calls.
2606 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
2607 (__swapcontext): Likewise.
2608 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
2609 * stdlib/tst-setcontext2.c: New file.
2611 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2613 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2615 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
2618 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
2621 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2624 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
2626 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2628 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
2629 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
2631 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
2632 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
2633 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
2634 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
2635 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
2636 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
2638 * nptl_db/td_symbol_list.c (td_lookup): Remove
2639 HAVE_ASM_GLOBAL_DOT_NAME code.
2640 * sysdeps/powerpc/powerpc64/configure.ac: Remove
2641 HAVE_ASM_GLOBAL_DOT_NAME check.
2642 * sysdeps/powerpc/powerpc64/configure: Regenerate.
2643 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
2644 (DOT_LABEL): Remove define.
2645 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
2646 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
2647 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
2648 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
2649 (__TLS_GET_ADDR): Likewise.
2650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
2651 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
2653 2015-03-11 Carlos O'Donell <carlos@redhat.com>
2656 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
2657 (_FPU_SETCW): Initialize cw from fpsr before storing.
2658 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
2659 (fesetexceptflag): Rewrite using fpu_control.h.
2660 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
2662 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
2665 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
2667 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2669 2015-03-11 Joseph Myers <joseph@codesourcery.com>
2671 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
2672 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
2674 (_FP_FMA): Likewise.
2675 (_FP_DIV): Likewise.
2677 2015-03-10 Roland McGrath <roland@hack.frob.com>
2679 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
2680 with 0 in that case.
2681 * Makefile (summarize-tests): New canned sequence, factored out of
2682 commands for targets tests and xtests. Display summary lines that
2683 don't start with PASS: or XFAIL: rather than ones that do start with
2684 ERROR: or FAIL:. Make the commands fail if any summary lines fail
2685 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
2686 do start with ERROR: or FAIL:.
2687 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
2688 (except for [$(build-shared) = yes]).
2689 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
2690 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
2691 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
2692 * nptl/Makefile: Revert 2015-03-04 changes.
2693 [$(CXX) empty] (tests-unsupported): New variable.
2694 * debug/Makefile: Likewise.
2696 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
2697 gnulib file. Replace __attribute with __attribute__ throughout.
2699 2015-03-10 Carlos O'Donell <carlos@redhat.com>
2701 * sysdeps/hppa/fpu/libm-test-ulps: Update.
2703 2015-03-10 Joseph Myers <joseph@codesourcery.com>
2706 * math/auto-libm-test-in: Add another test of pow.
2707 * math/auto-libm-test-out: Regenerated.
2709 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2711 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
2712 $(config-cflags-nofma).
2714 2015-03-10 Joseph Myers <joseph@codesourcery.com>
2716 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
2717 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
2718 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
2719 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
2720 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
2721 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
2722 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
2723 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
2724 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
2725 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
2726 Add comment on closing #endif.
2728 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2730 * posix/wordexp.c (CHAR_IN_SET): New macro.
2731 (parse_param): Use it.
2733 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2735 * sysdeps/powerpc/fpu/libm-test-ulps: update.
2737 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2740 * posix/wordexp.c (parse_param): Fix buffer overflow.
2741 * posix/wordexp-test.c (test_case): Add test case.
2743 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2746 * posix/wordexp.c (parse_backtick): Fix off-by-one.
2747 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
2749 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2752 * posix/wordexp-test.c (test_case): Add test for BZ #18043
2753 (do_bz18043): Delete.
2755 (testit): Refactor to have words at the edge of unreadable page.
2757 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2760 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
2761 Cleanup read-only streams as well.
2762 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
2764 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
2766 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
2769 2015-03-07 Joseph Myers <joseph@codesourcery.com>
2771 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
2773 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
2774 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
2775 * soft-fp/op-common.h (_FP_DECL): Likewise.
2777 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
2779 * elf/ifuncdep2.c (global): Replace
2780 __attribute__((visibility("protected"))) with
2781 asm (".protected global").
2782 * elf/ifuncmod1.c (global): Likewise.
2783 * elf/ifuncmod5.c (global): Likewise.
2785 2015-03-06 Joseph Myers <joseph@codesourcery.com>
2787 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
2788 <asm/sfp-machine.h> instead of <sfp-machine.h>.
2790 2015-03-06 Roland McGrath <roland@hack.frob.com>
2792 * manual/install.texi (Configuring and compiling):
2793 Document test-wrapper-env-only.
2794 * INSTALL: Regenerated.
2796 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2799 * posix/wordexp.c (parse_param): Fix buffer overflow.
2800 * posix/wordexp-test.c (do_bz18043): Add test case.
2802 2015-03-06 Vincent Bernat <vincent@bernat.im>
2804 * time/tst-strptime2.c (do_test): Ensure failing tests are
2806 * time/tst-strptime3.c (do_test): Likewise.
2808 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
2810 Fix aio_error thread-safety.
2811 * sysdeps/pthread/aio_error.c: New file
2812 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
2815 2015-03-06 Florian Weimer <fweimer@redhat.com>
2817 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
2818 (group_number, vfprintf): Use it.
2819 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
2820 (JUMP, REF): Use it.
2821 (WORK_BUFFER_SIZE): New enum constant.
2822 (process_arg, vfprintf): Use it.
2824 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
2826 * manual/errno.texi (Error Messages): Complete example function
2827 by adding missing #define.
2828 (program_invocation_name): Add statement indicating GNU
2829 extension and reference which header file declares the variable.
2830 (program_invocation_short_name): Likewise.
2832 2015-03-06 Mike Frysinger <vapier@gentoo.org>
2834 * manual/errno.texi (Error Messages): Delete strerror ISO C89
2837 2015-03-05 Roland McGrath <roland@hack.frob.com>
2839 * Makeconfig (test-wrapper-env-only): New variable.
2840 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
2841 then use that with $(test-wrapper-env-only) rather than using
2842 $(test-wrapper-env) $(run-program-env) $($*-ENV).
2844 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
2847 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
2848 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
2849 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
2850 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
2851 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
2852 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
2853 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
2854 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2856 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
2857 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
2859 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
2861 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
2863 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
2865 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
2866 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
2868 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
2870 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
2871 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
2873 2015-03-04 Roland McGrath <roland@hack.frob.com>
2875 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
2876 (ETH_ALEN): New macro.
2877 (struct ether_addr): Use it for length of ether_addr_octet.
2879 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
2880 (setdb): Don't call __nss_configure_lookup for "rpc".
2881 (do_test): Don't call test_rpc.
2882 (output_rpcent, test_rpc): Functions moved ...
2883 * sunrpc/test-rpcent.c: ... to this new file.
2884 * sunrpc/Makefile (tests): Add it.
2886 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
2888 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
2889 * nptl/tst-signal6.c: Likewise.
2890 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
2891 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
2893 * configure.ac (libc_cv_cxx_link_ok): New check.
2894 Reset CXX to empty if it fails to link.
2895 * configure: Regenerated.
2896 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
2897 bug-atexit3-lib only if $(CXX) is nonempty.
2898 * nptl/Makefile (tests): Likewise for tst-cancel24.
2899 (tests, tests-static): Likewise for tst-cancel24-static.
2900 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
2901 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
2902 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
2903 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
2905 2015-03-04 Andreas Schwab <schwab@suse.de>
2908 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
2909 for non-GCC compilers.
2910 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2913 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2916 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
2917 integer before bitwise and assembly operations.
2918 (feclearexcept): Likewise.
2919 * math/test-fenvinline.c: New file.
2920 * math/Makefile: Add test-fenvinline test.
2922 2015-03-03 Alan Modra <amodra@gmail.com>
2925 * scripts/localplt.awk: Strip off symbol version.
2926 * NEWS: Mention bug fix.
2928 2015-03-02 Roland McGrath <roland@hack.frob.com>
2930 * sysdeps/pthread/timer_routines.c
2931 (timer_free_list, thread_free_list, thread_active_list): Make static.
2933 2015-03-02 Joseph Myers <joseph@codesourcery.com>
2936 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2937 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2939 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2940 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2942 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2943 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2946 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2949 * posix/fnmatch_loop.c (END): Detect invalid pattern.
2950 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
2952 2015-03-02 Andreas Schwab <schwab@suse.de>
2954 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
2957 2015-03-02 Florian Weimer <fweimer@redhat.com>
2959 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
2960 Return error status.
2962 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
2965 * locale/findlocale.c (_nl_find_locale): Introduce const
2966 version of loc_name and drop unsafe type casts.
2968 2015-02-27 Roland McGrath <roland@hack.frob.com>
2970 * dlfcn/tststatic2.c (main): Converted to ...
2971 (do_test): ... this.
2972 (TEST_FUNCTION): New macro.
2973 Include test-skeleton.c.
2975 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
2978 * elf/Makefile (tests): Add vismain only if PIE is enabled.
2979 (tests-pie): Add vismain.
2980 (CFLAGS-vismain.c): New.
2981 * elf/vismain.c: Add comments for PIE requirement.
2983 2015-02-27 Joseph Myers <joseph@codesourcery.com>
2987 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
2988 0x1p-56L as threshold for just returning the argument.
2989 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
2990 0x1p-32L as threshold for just returning the argument.
2991 * math/auto-libm-test-in: Add more tests of atanh.
2992 * math/auto-libm-test-out: Regenerated.
2993 * sysdeps/i386/fpu/libm-test-ulps: Update.
2994 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
2996 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
2998 * string/bcopy.c (bcopy): Call memmove for performance.
3000 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
3002 * string/bzero.c (__bzero): Call memset for performance.
3004 2015-02-27 John David Anglin <dave.anglin@bell.net>
3007 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
3010 2015-02-27 Joseph Myers <joseph@codesourcery.com>
3012 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
3014 2015-02-26 Joseph Myers <joseph@codesourcery.com>
3016 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
3017 (__kernel_standard): Use CSTR macro when setting exc.name.
3018 * sysdeps/ieee754/Makefile [$(subdir) = math]
3019 (CFLAGS-k_standard.c): Remove variable.
3021 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
3022 setting p and q from "else if" to "else".
3024 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
3026 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
3028 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
3030 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
3032 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
3037 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
3038 return pi/2 for arguments below 0x1p-113L.
3039 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
3040 return pi/2 for arguments below 0x1p-106L.
3041 * math/auto-libm-test-in: Add more tests of acos.
3042 * math/auto-libm-test-out: Regenerated.
3045 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
3047 (__ieee754_asin): Force underflow exception for results with small
3049 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
3051 (__ieee754_asinf): Force underflow exception for results with
3052 small absolute value.
3053 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
3054 (__ieee754_asin): Force underflow exception for results with small
3056 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
3057 (__ieee754_asinf): Force underflow exception for results with
3058 small absolute value.
3059 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
3060 (__ieee754_asinl): Force underflow exception for results with
3061 small absolute value.
3062 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
3063 (__ieee754_asinl): Force underflow exception for results with
3064 small absolute value.
3065 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
3066 (__ieee754_asinl): Force underflow exception for results with
3067 small absolute value.
3068 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3070 * math/auto-libm-test-in: Do not mark underflow exceptions as
3071 possibly missing for bug 16351.
3072 * math/auto-libm-test-out: Regenerated.
3075 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
3076 of power of 2 down when low part has opposite sign.
3077 * math/libm-test.inc (logb_test_data): Add more tests.
3079 2015-02-26 Andreas Schwab <schwab@suse.de>
3082 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
3083 over collating symbol inside a bracket expression. Minor cleanup.
3084 * posix/tst-fnmatch3.c (do_test): Add test case.
3086 2015-02-26 Joseph Myers <joseph@codesourcery.com>
3089 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
3090 Adjust exponent of power of 2 down when low part has opposite
3092 * math/libm-test.inc (ilogb_test_data): Add more tests.
3094 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
3097 * locale/findlocale.c (_nl_find_locale): Fix constness error in
3098 the previous change.
3101 * locale/findlocale.c (_nl_find_locale): Retry archive search
3102 after alias expansion.
3104 2015-02-25 Roland McGrath <roland@hack.frob.com>
3106 * iconv/tst-iconv3.c (main): Converted to ...
3107 (do_test): ... this.
3108 (TEST_FUNCTION): New macro.
3109 Include test-skeleton.c.
3111 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
3112 (convert): Make function static.
3113 (test_unalign): Likewise. Add const to argument pointee types.
3114 (main): Replace with static function do_test.
3115 Print "Succeeded." only if RET is zero.
3116 (TEST_FUNCTION): New macro.
3117 Include test-skeleton.c.
3119 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
3120 returns a null pointer.
3122 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3124 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
3125 to __memcpy_ppc only for static builds.
3127 2015-02-25 Joseph Myers <joseph@codesourcery.com>
3130 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
3131 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
3132 * math/auto-libm-test-in: Add more tests of asinh.
3133 * math/auto-libm-test-out: Regenerated.
3134 * sysdeps/i386/fpu/libm-test-ulps: Update.
3135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3137 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
3140 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
3141 and ip6_mtuinfo definitions here.
3142 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
3143 in this define too. Update comment.
3145 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
3147 * elf/sprof.c (load_shobj): Tweak error message to match others.
3149 2015-02-24 Kevin Easton <kevin@guarana.org>
3151 [BZ #16145] (partial fix)
3152 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
3153 to reduce lock contention.
3155 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
3157 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
3158 (struct timex): Update time comment.
3159 (ADJ_SETOFFSET): Define.
3161 2015-02-24 Joseph Myers <joseph@codesourcery.com>
3164 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3165 2**56 not 2**28 as threshold for log (2x) formula.
3166 * math/auto-libm-test-in: Add more tests of acosh.
3167 * math/auto-libm-test-out: Regenerated.
3168 * sysdeps/i386/fpu/libm-test-ulps: Update.
3169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3171 2015-02-24 Mike Frysinger <vapier@gentoo.org>
3173 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
3174 parenthesis around the buf assignment.
3175 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
3177 2015-02-24 Joseph Myers <joseph@codesourcery.com>
3180 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
3181 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
3182 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
3183 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3184 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3185 * math/libm-test.inc (scalb_test_data): Add more tests.
3187 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3190 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
3191 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
3193 2015-02-24 Eric Rannaud <e@nanocritical.com>
3196 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
3197 * io/bits/fcntl2.h (open): Use it.
3199 * io/open.c (__libc_open): Likewise.
3200 * io/open64.c (__libc_open64): Likewise.
3201 * io/open64_2.c (__open64_2): Likewise.
3202 * io/open_2.c (__open_2): Likewise.
3203 * io/openat.c (__openat): Likewise.
3204 * io/openat64.c (__openat64): Likewise.
3205 * io/openat64_2.c (__openat64_2): Likewise.
3206 * io/openat_2.c (__openat_2): Likewise.
3207 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
3208 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3209 * sysdeps/posix/open64.c (__libc_open64): Likewise.
3210 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3211 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3212 (__open_nocancel): Likewise.
3213 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3214 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3215 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
3217 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3220 * resolv/gethnamaddr.c (getanswer): Skip logging if
3221 RES_USE_DNSSEC is set.
3222 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3224 2015-02-24 Mike Frysinger <vapier@gentoo.org>
3226 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
3228 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
3230 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3231 201304L, for Unicode 7.
3233 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
3236 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
3237 shared library. Add gmon-start.os otherwise.
3238 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
3239 $(objpfx)gmon-start.os if builing shared library.
3240 ($(objpfx)g$(static-start-installed-name)): Likewise.
3242 2015-02-23 Andreas Schwab <schwab@suse.de>
3244 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
3246 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3249 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
3250 (enlarge_userbuf): Likewise.
3252 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
3254 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
3255 * math/atest-exp.c (TIMEOUT): Adjust to 200.
3256 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
3257 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
3259 2015-02-20 Joseph Myers <joseph@codesourcery.com>
3261 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
3262 expression inside statement expression.
3264 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3266 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
3267 <sysdeps/nptl/lowlevellock.h> and remove macros and
3268 functions that are now defined there.
3269 (SYS_futex): Remove.
3270 (lll_compare_and_swap): Remove.
3271 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
3273 2015-02-19 Joseph Myers <joseph@codesourcery.com>
3276 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
3277 instead of scandirat.
3278 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
3279 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
3280 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
3282 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
3283 (__scandirat): Declare. Use libc_hidden_proto.
3284 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
3286 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3288 2015-02-18 Joseph Myers <joseph@codesourcery.com>
3291 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
3293 (__ieee754_atan2): For results with small absolute value, force
3294 underflow exception and remove excess range and precision from
3296 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
3298 (__ieee754_atan2f): For results with small absolute value, force
3299 underflow exception and remove excess range and precision from
3301 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
3303 (__atan): For results with small absolute value, force underflow
3304 exception and remove excess range and precision from return value.
3305 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
3307 (__atanf): For results with small absolute value, force underflow
3308 exception and remove excess range and precision from return value.
3309 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
3311 (__ieee754_atan2): Force underflow exception for results with
3312 small absolute value.
3313 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
3315 (atan): Force underflow exception for results with small absolute
3317 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
3318 (__atanf): Force underflow exception for results with small
3320 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
3322 (__atanl): Force underflow exception for results with small
3324 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
3325 (__atanl): Force underflow exception for results with small
3327 * sysdeps/x86/fpu/bits/mathinline.h
3328 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
3329 (__ieee754_atan2): Only define inline for long double.
3330 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
3331 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
3332 * math/auto-libm-test-in: Do not mark underflow exceptions as
3333 possibly missing for bug 15319. Add more tests of atan2.
3334 * math/auto-libm-test-out: Regenerated.
3335 * math/libm-test.inc (casin_test_data): Do not mark underflow
3336 exceptions as possibly missing for bug 15319.
3337 (casinh_test_data): Likewise.
3338 * sysdeps/i386/fpu/libm-test-ulps: Update.
3340 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
3342 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
3343 * sysdeps/mips/bits/endian.h: Fix comments.
3345 2015-02-18 Joseph Myers <joseph@codesourcery.com>
3348 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
3349 (hdestroy_r): Likewise.
3350 (hsearch_r): Likewise.
3351 (__hcreate_r): Declare and use libc_hidden_proto.
3352 (__hdestroy_r): Likewise.
3353 (__hsearch_r): Likewise.
3354 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
3355 (hcreate): Call __hcreate_r instead of hcreate_r.
3356 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
3357 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
3358 as weak alias of __hcreate_r.
3359 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
3361 (hsearch_r): Rename to __hsearch_r and define as weak alias of
3363 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
3365 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3366 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3367 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3368 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3370 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3372 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
3373 arena_lock into a single arena_get.
3375 2015-02-17 Carlos O'Donell <carlos@redhat.com>
3377 * dl-reloc.c: Inlucde libc-internal.h.
3378 (_dl_try_allocate_static_tls): Call ALIGN_UP.
3379 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
3380 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
3381 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
3382 (grow_heap): Likewise.
3383 * malloc/malloc.c: Include libc-internal.h.
3384 (do_check_malloc): Call powerof2.
3385 (sysmalloc): Use pagesize. Call ALIGN_UP.
3386 (systrim): Use pagesize.
3387 (mremap_chunk): Use pagesize. Call ALIGN_UP.
3388 (__libc_valloc): Use pagesize.
3389 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
3391 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3394 * include/sys/resource.h (__getrlimit64): Declare. Use
3396 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
3397 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
3398 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
3400 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
3402 [!getrlimit64] (getrlimit64): Define as weak alias of
3403 __getrlimit64. Use libc_hidden_weak.
3404 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
3405 using __getrlimit64 not __new_getrlimit64.
3406 (__GI_getrlimit64): Likewise.
3407 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
3409 (__GI_getrlimit64): Likewise.
3410 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
3411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
3412 (getrlimit): Add __getrlimit64 alias.
3413 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
3415 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
3417 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3418 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3420 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
3422 * libio/fileops.c: Add missing sys/mman.h
3423 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
3425 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3427 * manual/math.texi (Errors in Math Functions): Clarify goals
3428 regarding inexact and underflow exceptions.
3430 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
3432 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
3433 * sysdeps/mips/memset.S: Ditto.
3435 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
3437 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
3439 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3441 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
3442 (__v1longjmp): Remove versioned symbol.
3443 (__v1siglongjmp): Remove alias and versioned symbol.
3444 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
3445 (__v2siglongjmp): Likewise.
3447 2015-02-16 Torvald Riegel <triegel@redhat.com>
3449 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
3451 2015-02-16 Mike Frysinger <vapier@gentoo.org>
3453 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
3455 2015-02-16 Joseph Myers <joseph@codesourcery.com>
3458 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
3459 zero result does not depend on the sign resulting from
3461 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3463 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3464 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3465 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3466 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3467 * math/libm-test.inc (remquo_test_data): Add more tests.
3469 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
3471 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
3472 Problem reported by J William Piggott.
3474 2015-02-16 Joseph Myers <joseph@codesourcery.com>
3477 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
3478 products 4 * y and 2 * y where those would overflow.
3479 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3481 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3482 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3483 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3484 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3485 * math/libm-test.inc (remquo_test_data): Add more tests.
3487 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
3489 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
3490 [defined _COMPILING_NEWLIB].
3491 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
3492 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
3494 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
3495 [!defined __mips_isa_rev || __mips_isa_rev < 6].
3497 2015-02-16 Torvald Riegel <triegel@redhat.com>
3499 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
3502 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
3505 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
3506 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
3507 HOST_STACK_END_ADDR): Likewise.
3509 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
3511 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
3512 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
3513 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
3515 2015-02-13 Roland McGrath <roland@hack.frob.com>
3517 * sysdeps/generic/c++-types.data: New file.
3518 * sysdeps/generic/ld.abilist: New file.
3519 * sysdeps/generic/libBrokenLocale.abilist: New file.
3520 * sysdeps/generic/libanl.abilist: New file.
3521 * sysdeps/generic/libc.abilist: New file.
3522 * sysdeps/generic/libcrypt.abilist: New file.
3523 * sysdeps/generic/libdl.abilist: New file.
3524 * sysdeps/generic/libm.abilist: New file.
3525 * sysdeps/generic/libpthread.abilist: New file.
3526 * sysdeps/generic/libresolv.abilist: New file.
3527 * sysdeps/generic/librt.abilist: New file.
3529 2015-02-13 Joseph Myers <joseph@codesourcery.com>
3532 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3533 Compute absolute value of x as modified by fmod, not original
3535 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
3536 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
3537 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
3538 RUN_TEST_ffI_f1_mod8.
3539 (remquo_test_data): Add more tests.
3541 2015-02-13 Roland McGrath <roland@hack.frob.com>
3543 * sysdeps/init_array/pt-crti.S: New file.
3545 2015-02-13 Joseph Myers <joseph@codesourcery.com>
3548 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
3549 __builtin_fmaf instead of relying on contraction of a * b + c.
3551 2015-02-12 J William Piggott <elseifthen@gmx.com>
3554 * manual/time.texi: correct the zoneinfo path in the TZ Variable
3557 2015-02-12 Joseph Myers <joseph@codesourcery.com>
3560 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
3561 __builtin_fma instead of relying on contraction of a * b + c.
3563 2015-02-12 Roland McGrath <roland@hack.frob.com>
3565 * Makeconfig (ASFLAGS): Add -Werror=undef.
3566 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
3567 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
3568 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
3570 * Makeconfig (after-link): New variable.
3571 (+link-pie, +link-pie-tests): Use it.
3572 (+link-static, +link-static-tests): Likewise.
3573 (+link, +link-tests): Likewise.
3574 * Makerules (build-module, build-module-asneeded): Likewise.
3575 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
3577 * elf/Makefile ($(objpfx)ld.so): Likewise.
3579 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
3582 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
3583 both struct timeval and struct timespec.
3585 2015-02-12 Joseph Myers <joseph@codesourcery.com>
3588 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3590 (__ieee754_exp2l): Do not multiply small fractional parts by
3592 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
3594 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3595 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3596 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
3597 * math/auto-libm-test-in: Add more tests of exp2.
3598 * math/auto-libm-test-out: Regenerated.
3600 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3602 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
3605 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3607 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
3610 2015-02-12 Andreas Schwab <schwab@suse.de>
3613 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
3614 Filter out elision flags from value returned in kind.
3615 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
3616 * nptl/tst-pthread-mutexattr.c: New file.
3618 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
3620 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
3621 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
3622 into gnu-gnu, and update comment to refer to abi-tags.
3624 2015-02-11 Joseph Myers <joseph@codesourcery.com>
3627 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
3628 (__sincos): Set errno to EDOM for infinite argument.
3629 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
3630 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
3631 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
3632 (__sincosl): Set errno to EDOM for infinite argument.
3633 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
3634 (__sincosl): Set errno to EDOM for infinite argument.
3635 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
3636 (__sincosl): Set errno to EDOM for infinite argument.
3637 * math/libm-test.inc (sincos_test_data): Test errno setting.
3639 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
3641 * string/strxfrm_l.c: Remove #define STRCMP.
3642 * string/strcoll_l.c: Remove #define STRLEN.
3643 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
3644 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
3646 2015-02-10 Joseph Myers <joseph@codesourcery.com>
3648 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
3649 * sysdeps/mips/mips32/sfp-machine.h: ... here.
3650 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
3651 * sysdeps/mips/mips64/Makefile: ... here.
3652 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
3653 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
3654 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
3655 * sysdeps/mips/mips64/sfp-machine.h: ... here.
3656 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
3657 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
3658 * sysdeps/mips/mips64/n64/Implies: Likewise.
3660 2015-02-10 Roland McGrath <roland@hack.frob.com>
3662 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
3663 <sys/time.h>, <string.h>, and <errno.h>.
3664 (dest_offset, dest_address, value, zero): Remove unused variables.
3665 (ldouble): Remove typedef.
3666 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
3667 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
3669 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
3670 (check): Function removed.
3672 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
3673 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
3674 Don't call set_sigaction_FP and remove_sigaction_FP here.
3675 (ldouble_test): Just use 'long double' as macro argument, no need for
3676 the 'ldouble' typedef.
3677 (do_test): Set up SIGFPE handler at start, using plain signal rather
3678 than sigaction. Fix code style.
3680 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
3683 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
3686 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3688 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
3689 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3691 * sysdeps/powerpc/configure.ac: Remove file.
3692 * sysdeps/powerpc/configure: Likewise.
3694 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3695 [sysdep_routines]: Remove wordcopy-power6 object.
3696 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3697 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
3698 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
3699 (__memmove_ppc32): Likewise.
3700 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
3702 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
3703 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
3704 Remove preprocessor.
3706 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3707 [sysdep_routines]: Remove wide chars objects.
3708 [wcsmbs]: New rule for wide char objects.
3710 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3711 Remove wordcopy-power6 obejct.
3712 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
3713 Use local call for wordcopy and memcpy symbols.
3714 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
3715 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
3716 implementation for loader.
3717 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
3719 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3720 Remove wordcopy-power7 object.
3721 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
3722 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
3723 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
3724 (_wordcopy_fwd_dest_aligned): Likewise.
3725 (_wordcopy_bwd_aligned): Likewise.
3726 (_wordcopy_bwd_dest_aligned): Likewise.
3728 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
3729 Rewrite to call __memmove_ppc instead of include default
3732 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3733 Remove wide chars objects.
3734 [wcsmbs]: New rule for wide char objects.
3736 2015-02-09 Andreas Schwab <schwab@suse.de>
3739 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3740 in terms of __O_DIRECTORY.
3742 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
3744 * time/getdate.c: Include <stdbool.h>.
3745 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
3747 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
3750 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
3752 Add ersatz _Static_assert on older C hosts
3753 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
3754 pre-C11 C platform that is not known to support _Static_assert.
3756 2015-02-07 Richard Braun <rbraun@sceen.net>
3758 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
3760 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
3762 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3764 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
3765 priority against unexistent AIO_PRIO_DELTA_MAX.
3766 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
3768 * misc/fchflags.c (fchflags): Likewise.
3769 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3770 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3771 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
3772 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
3773 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
3775 [__USE_MISC] (chflags, fchflags): Declare functions.
3776 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
3777 EINVAL when nfds is greater than FD_SETSIZE.
3778 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
3779 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
3781 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
3782 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
3783 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
3785 * hurd/hurd/signal.h (_hurd_self_sigstate,
3786 _hurd_critical_section_lock, _hurd_critical_section_unlock):
3787 Explicit casts from void *.
3788 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
3789 * abi-tags: Rename gnu-gnu os into gnu.
3792 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
3793 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
3794 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
3795 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
3796 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
3797 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
3800 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
3801 duplicates ADDR->sun_path with sockaddr LEN limitation.
3802 * sysdeps/mach/hurd/connect.c: Include <string.h>
3803 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
3804 * sysdeps/mach/hurd/sendmsg.c: Likewise.
3805 * sysdeps/mach/hurd/sendto.c: Likewise.
3806 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
3807 implementing it by hand.
3809 2015-02-06 Roland McGrath <roland@hack.frob.com>
3811 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
3812 Use sfi_breg on ldr.
3813 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
3816 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
3818 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
3819 Test SIGSETXID only if it's defined.
3821 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
3823 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
3824 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
3826 * nptl/tst-align2.c: Moved ...
3827 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
3828 * nptl/Makefile (tests): Remove tst-align2.
3829 * sysdeps/unix/sysv/linux/Makefile
3830 [$(subdir) = nptl] (tests): Add tst-align-clone.
3831 * nptl/tst-getpid1.c: Moved ...
3832 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
3833 * nptl/tst-getpid2.c: Moved ...
3834 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
3835 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
3836 * sysdeps/unix/sysv/linux/Makefile
3837 [$(subdir) = nptl] (tests): ... here.
3838 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
3839 * sysdeps/unix/sysv/linux/Makefile
3840 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
3842 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
3843 Drop trailing \n from perror argument. Use return rather than exit.
3845 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
3847 * nptl/tst-cancel21.c (do_test): Likewise.
3848 * debug/tst-backtrace6.c: Include <signal.h> first thing.
3849 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
3850 [!SA_SIGINFO]: Make it a stub test.
3852 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
3853 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
3855 * posix/tst-getlogin.c: Move to ...
3856 * login/tst-getlogin.c: ... here.
3857 * posix/Makefile (tests): Move tst-getlogin to ...
3858 * login/Makefile (tests): ... here.
3860 * libio/tst-atime.c (do_test): Move local variables SV and E
3861 inside [ST_NOATIME] conditional.
3863 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
3865 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
3867 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
3868 (wait_code): New function replaces macro.
3869 Call nanosleep rather than syscall.
3871 * nptl/pt-system.c: Rewritten. Put everything under
3872 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3873 Use IFUNC to redirect when possible.
3875 * nptl/pt-longjmp.c: Rewritten. Put everything under
3876 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3877 Use IFUNC to redirect when possible.
3879 * nptl/pt-fork.c: Rewritten. Put everything under
3880 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3881 Use IFUNC to redirect when possible.
3882 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
3884 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
3885 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
3886 unconditionally nowadays. This included the only reference to
3887 __vdso_clock_gettime that appears outside libc proper.
3888 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
3889 Remove version set (containing only __vdso_clock_gettime).
3890 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3891 Add attribute_hidden.
3892 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3893 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
3894 libc_hidden_data_def.
3895 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3896 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3898 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
3899 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
3900 setrpcent, and getrpcport to ...
3901 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
3902 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
3903 getrpcbynumber_r, and getrpcent_r to ...
3904 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
3905 * inet/getrpcbyname.c: Moved ...
3906 * sunrpc/getrpcbyname.c: ... here.
3907 * inet/getrpcbyname_r.c: Moved ...
3908 * sunrpc/getrpcbyname_r.c: ... here.
3909 * inet/getrpcbynumber.c: Moved ...
3910 * sunrpc/getrpcbynumber.c: ... here.
3911 * inet/getrpcbynumber_r.c: Moved ...
3912 * sunrpc/getrpcbynumber_r.c: ... here.
3913 * inet/getrpcent.c: Moved ...
3914 * sunrpc/getrpcent.c: ... here.
3915 * inet/getrpcent_r.c: Moved ...
3916 * sunrpc/getrpcent_r.c: ... here.
3917 * inet/Makefile (routines): Move those to ...
3918 * sunrpc/Makefile (routines): ... here.
3919 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
3920 the $(subdirs) list.
3921 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
3922 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
3923 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
3924 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
3926 * elf/Makefile (routines): Include $(all-dl-routines), not just
3928 (rtld-routines): Likewise. Use = rather than :=.
3929 * sysdeps/aarch64/Makefile [$(subdir) = elf]
3930 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
3931 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
3932 * sysdeps/arm/Makefile: Likewise.
3933 * sysdeps/i386/Makefile: Likewise.
3934 * sysdeps/x86_64/Makefile: Likewise.
3935 * sysdeps/hppa/Makefile [$(subdir) = elf]
3936 (sysdep_routines, sysdep-rtld-routines): Don't add
3937 $(sysdep-dl-routines) to these.
3938 * sysdeps/ia64/Makefile: Likewise.
3939 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
3940 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
3941 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
3942 Don't add dl-static to these; sysdep-dl-routines alone is enough.
3943 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
3944 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
3945 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
3946 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
3947 * sysdeps/powerpc/Makefile [$(subdir) = elf]
3948 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
3949 these; sysdep-dl-routines alone is enough.
3951 2015-02-06 Joseph Myers <joseph@codesourcery.com>
3954 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
3955 where multiplication results in zero and third argument is finite
3957 * math/auto-libm-test-in: Add more tests of fma.
3958 * math/auto-libm-test-out: Regenerated.
3960 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
3961 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
3962 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
3963 (_FP_CMP_EQ): Likewise.
3964 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
3966 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
3967 extra argument CHECK_NAN. Redefine as wrapper around
3970 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
3972 * version.h (RELEASE): Set to "stable".
3973 (VERSION): Set to "2.21"
3974 * include/features.h (__GLIBC_MINOR__): Set to 21.
3976 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
3978 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3979 Paul Eggert <eggert@cs.ucla.edu>
3982 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
3983 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
3984 size in bytes. Store needed elements in wpmax. Use needed size
3985 in bytes for extend_alloca.
3987 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
3989 * manual/install.texi: Latest tested versions are GCC 4.9.2,
3990 binutls 2.25, and texinfo 5.2.
3991 * INSTALL: Regenerate.
3992 * sysdeps/nios2/configure: Regenerate.
3993 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
3994 * manual/contrib.texi: Update.
4018 * po/pt_BR.po: Update.
4027 * po/zh_CN.po: Update.
4028 * po/zh_TW.po: Update.
4030 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
4031 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
4032 * sysdeps/hppa/dl-irel.h: Remove #warning.
4033 * sysdeps/hppa/entry.h: Provide prototype for
4034 __canonicalize_funcptr_for_compare and cast argument.
4035 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
4036 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
4037 * sysdeps/hppa/sotruss-lib.c: New file.
4038 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
4039 (atomic_compare_and_exchange_val_acq): Use __typeof__.
4040 (atomic_compare_and_exchange_bool_acq): Likewise.
4041 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
4042 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
4044 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
4045 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
4046 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
4048 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
4050 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
4051 called function in non-PIC case.
4053 2015-01-31 David S. Miller <davem@davemloft.net>
4055 * sysdeps/sparc/sparc32/bits/atomic.h
4056 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
4057 unlock not after it.
4058 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
4059 volatile register usage warnings from the compiler.
4061 * sysdeps/sparc/nptl/sem_init.c: Delete.
4062 * sysdeps/sparc/nptl/sem_post.c: Delete.
4063 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
4064 * sysdeps/sparc/nptl/sem_wait.c: Delete.
4065 * sysdeps/sparc/sparc32/sem_init.c: New file.
4066 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
4067 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
4068 padding explicitly initialized.
4069 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
4070 padding for in-semaphore spinlock.
4071 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
4072 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
4073 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
4074 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
4075 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
4076 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
4077 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
4078 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
4080 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
4081 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
4083 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
4086 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4087 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
4088 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
4090 (index_AVX_Fast_Unaligned_Load): Likewise.
4091 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
4092 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
4093 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
4094 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
4095 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4096 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
4097 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
4098 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
4099 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
4101 2015-01-29 Andreas Schwab <schwab@suse.de>
4103 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
4105 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4108 * nscd/nscd_stat.c (send_stats): Initialize DATA.
4110 2015-01-28 Martin Sebor <msebor@redhat.com>
4112 * math/README.libm-test: Clarify. Add "How to read the test output."
4114 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
4116 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
4119 2015-01-28 Joseph Myers <joseph@codesourcery.com>
4121 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
4122 (__HAVE_64B_ATOMICS): Define to 0.
4124 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4127 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
4128 value to set as new flag.
4131 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
4132 and use _ARCH_PPCSQ instead.
4133 (__ieee754_sqrt): Likewise.
4134 (__ieee754_sqrtf): Likewise.
4135 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
4136 _ARCH_PPCSQ is defined.
4137 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
4139 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
4140 _ARCH_PPCSQ is defined.
4141 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
4143 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
4145 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4147 * iconv/loop.c: Suppress array out of bound warning caused by GCC
4148 bug (GCC BZ #64739).
4150 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
4152 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
4153 Mark _retval as used.
4154 (lll_futex_wake_unlock): Likewise.
4155 (lll_futex_timed_wait_requeue_pi): Likewise.
4157 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4158 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
4161 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
4164 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
4165 (__bswap_64): Mark as __always_inline.
4167 2015-01-25 Bram <bug_rh@spam.wizbit.be>
4170 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
4171 when none of the search directories exist.
4173 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4176 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
4177 power8 in .machine directive.
4180 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
4181 set dependency from opd value.
4183 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
4185 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4186 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
4189 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
4192 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
4194 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
4196 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
4197 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
4198 Replace 1UL with (uint64_t) 1.
4199 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
4202 2015-01-23 Roland McGrath <roland@hack.frob.com>
4204 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
4205 (if_freenameindex): Likewise.
4207 * resource/getrlimit64.c: Add missing libc_hidden_def.
4209 2015-01-22 Joseph Myers <joseph@codesourcery.com>
4211 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
4213 (_FP_FMA): Likewise.
4214 (_FP_TO_INT_ROUND): Likewise.
4215 (_FP_FROM_INT): Likewise.
4217 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4220 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4221 Make code racy and cancel safe.
4223 2015-01-21 Carlos O'Donell <carlos@redhat.com>
4225 * sysdeps/arm/unwind-resume.h: Fix copyright year.
4226 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
4229 * pwd/tst-getpw.c: Rewrite.
4232 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
4233 (modules-names): Add moddummy1 and moddummy2.
4234 ($(objpfx)tst-rec-dlopen): Define.
4235 * dlfcn/moddummy1.c: New file.
4236 * dlfcn/moddummy2.c: New file.
4237 * dlfcn/tst-rec-dlopen.c: New file.
4238 * elf/dl-cache.c (_dl_load_cache_lookup):
4239 Return char*. Copy result with alloca/strcpy/strdup.
4240 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
4241 returns char*. Free cached. If not saving realname
4243 * elf/dl-open.c (dl_open_worker): Do not assert that
4244 _r_debug->r_state is RT_CONSISTENT.
4245 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
4248 2015-01-21 Torvald Riegel <triegel@redhat.com>
4249 Carlos O'Donell <carlos@redhat.com>
4252 * nptl/sem_waitcommon.c: New file.
4253 * nptl/sem_wait.c: Include sem_waitcommon.c.
4254 (__sem_wait_cleanup, do_futex_wait): Remove.
4255 (__new_sem_wait): Adapt.
4256 (__new_sem_trywait): New function.
4257 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
4258 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
4259 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
4260 (sem_timedwait): Adapt.
4261 * nptl/sem_post.c (__new_sem_post): Adapt.
4262 (futex_wake): New function.
4263 (__old_sem_post): Add release MO fence.
4264 * nptl/sem_open.c (sem_open): Adapt.
4265 * nptl/sem_init.c (__new_sem_init): Adapt.
4266 (futex_private_if_supported): New function.
4267 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
4268 (__old_sem_getvalue): Add using previous code.
4269 * sysdeps/nptl/internaltypes.h: Adapt.
4270 * nptl/tst-sem13.c (do_test): Adapt.
4271 * nptl/tst-sem11.c (main): Adapt.
4272 * nptl/sem_trywait.c: Remove.
4273 * nptl/DESIGN-sem.txt: Remove.
4274 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
4275 (gen-as-const-headers): Remove structsem.sym.
4276 * nptl/structsem.sym: Remove.
4277 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
4278 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
4279 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
4280 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
4281 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
4282 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
4283 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
4284 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
4285 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
4286 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
4287 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
4288 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
4289 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
4290 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
4291 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
4292 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
4293 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
4294 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
4295 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
4296 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
4297 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
4298 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
4300 2015-01-20 Carlos O'Donell <carlos@redhat.com>
4302 * INSTALL: Regenerated.
4304 * po/libc.pot: Regenerated.
4306 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
4307 Sandra Loosemore <sandra@codesourcery.com>
4308 Andrew Jenner <andrew@codesourcery.com>
4309 Joseph Myers <joseph@codesourcery.com>
4310 Nathan Sidwell <nathan@codesourcery.com>
4312 * NEWS: Mention new Nios II port.
4313 * sysdeps/nios2/Implies: New file.
4314 * sysdeps/nios2/Makefile: New file.
4315 * sysdeps/nios2/Subdirs: New file.
4316 * sysdeps/nios2/Versions: New file.
4317 * sysdeps/nios2/__longjmp.S: New file.
4318 * sysdeps/nios2/abort-instr.h: New file.
4319 * sysdeps/nios2/backtrace.c: New file.
4320 * sysdeps/nios2/bits/endian.h: New file.
4321 * sysdeps/nios2/bits/fenv.h: New file.
4322 * sysdeps/nios2/bits/link.h: New file.
4323 * sysdeps/nios2/bits/setjmp.h: New file.
4324 * sysdeps/nios2/bsd-_setjmp.S: New file.
4325 * sysdeps/nios2/bsd-setjmp.S: New file.
4326 * sysdeps/nios2/configure: New generated file.
4327 * sysdeps/nios2/configure.ac: New file.
4328 * sysdeps/nios2/crti.S: New file.
4329 * sysdeps/nios2/crtn.S: New file.
4330 * sysdeps/nios2/dl-init.c: New file.
4331 * sysdeps/nios2/dl-machine.h: New file.
4332 * sysdeps/nios2/dl-sysdep.h: New file.
4333 * sysdeps/nios2/dl-tls.h: New file.
4334 * sysdeps/nios2/dl-trampoline.S: New file.
4335 * sysdeps/nios2/gccframe.h: New file.
4336 * sysdeps/nios2/gmp-mparam.h: New file.
4337 * sysdeps/nios2/jmpbuf-offsets.h: New file.
4338 * sysdeps/nios2/jmpbuf-unwind.h: New file.
4339 * sysdeps/nios2/ldsodefs.h: New file.
4340 * sysdeps/nios2/libc-tls.c: New file.
4341 * sysdeps/nios2/libm-test-ulps: New file.
4342 * sysdeps/nios2/machine-gmon.h: New file.
4343 * sysdeps/nios2/math-tests.h: New file.
4344 * sysdeps/nios2/math_private.h: New file.
4345 * sysdeps/nios2/memusage.h: New file.
4346 * sysdeps/nios2/nptl/Makefile: New file.
4347 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
4348 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
4349 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
4350 * sysdeps/nios2/nptl/pthreaddef.h: New file.
4351 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
4352 * sysdeps/nios2/nptl/tls.h: New file.
4353 * sysdeps/nios2/preconfigure: New file.
4354 * sysdeps/nios2/s_fma.c: New file.
4355 * sysdeps/nios2/s_fmaf.c: New file.
4356 * sysdeps/nios2/setjmp.S: New file.
4357 * sysdeps/nios2/sfp-machine.h: New file.
4358 * sysdeps/nios2/sotruss-lib.c: New file.
4359 * sysdeps/nios2/stackguard-macros.h: New file.
4360 * sysdeps/nios2/stackinfo.h: New file.
4361 * sysdeps/nios2/start.S: New file.
4362 * sysdeps/nios2/sysdep.h: New file.
4363 * sysdeps/nios2/tls-macros.h: New file.
4364 * sysdeps/nios2/tst-audit.h: New file.
4365 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
4366 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
4367 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
4368 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
4369 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
4370 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
4371 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
4372 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
4373 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
4374 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
4375 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
4376 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
4377 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
4378 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
4379 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
4380 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
4381 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
4382 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
4383 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
4384 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
4385 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
4386 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
4387 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
4388 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
4389 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
4390 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
4391 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
4392 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
4393 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
4394 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
4395 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
4396 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
4397 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
4398 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
4399 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
4400 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
4401 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
4402 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
4403 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
4404 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
4405 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
4406 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
4407 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
4408 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
4410 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4413 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
4414 (getutent): Use weak_alias in non SHARED case
4415 and default_symbol_version in SHARED case.
4416 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
4417 (getutent_r, pututline): Likewise.
4418 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
4419 (getutid): Likewise.
4420 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
4421 (getutid_r): Likewise.
4422 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
4423 (getutline): Likewise.
4424 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
4425 (getutline_r): Likewise.
4426 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
4427 (updwtmp): Likewise.
4429 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4432 * sysdeps/s390/s390-32/memcmp.S
4433 (memcmp_g5): Rename to __memcmp_g5.
4434 * sysdeps/s390/s390-32/memcpy.S
4435 (memcpy_g5): Rename to __memcpy_g5.
4436 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4437 (memcpy_mvcle) Rename to __memcpy_mvcle.
4438 * sysdeps/s390/s390-32/memset.S
4439 (memset_g5): Rename to __memset_g5.
4440 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4441 (IFUNC_RESOLVE): Prefix ifunc-resolve function
4442 and use prefixed functions.
4443 * sysdeps/s390/s390-32/multiarch/memcmp.S
4444 (memcmp_z196): Rename to __memcmp_z196.
4445 (memcmp_z10): Rename to __memcmp_z10.
4446 (memcmp): Set alias to __memcmp_g5.
4447 (bcmp): Set alias to __memcmp_g5.
4448 * sysdeps/s390/s390-32/multiarch/memcpy.S
4449 (memcpy_z196): Rename to __memcpy_z196.
4450 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4451 (memcpy_z10): Rename to __memcpy_z10.
4452 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4453 (memcpy): Set alias to __memcpy_g5.
4454 * sysdeps/s390/s390-32/multiarch/memset.S
4455 (memset_z196): Rename to __memset_z196.
4456 Jump to __memset_mvcle instead of memset_mvcle.
4457 (memset_z10): Rename to __memset_z10.
4458 Jump to __memset_mvcle instead of memset_mvcle.
4459 (memset_mvcle) Rename to __memset_mvcle.
4460 (memset): Set alias to __memset_g5.
4461 * sysdeps/s390/s390-64/memcmp.S
4462 (memcmp_z900): Rename to __memcmp_z900.
4463 * sysdeps/s390/s390-64/memcpy.S
4464 (memcpy_z900): Rename to __memcpy_z900.
4465 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4466 (memcpy_mvcle) Rename to __memcpy_mvcle.
4467 * sysdeps/s390/s390-64/memset.S
4468 (memset_z900): Rename to __memset_z900.
4469 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
4470 (IFUNC_RESOLVE): Prefix ifunc-resolve function
4471 and use prefixed functions.
4472 * sysdeps/s390/s390-64/multiarch/memcmp.S
4473 (memcmp_z196): Rename to __memcmp_z196.
4474 (memcmp_z10): Rename to __memcmp_z10.
4475 (memcmp): Set alias to __memcmp_z900.
4476 (bcmp): Set alias to __memcmp_z900.
4477 * sysdeps/s390/s390-64/multiarch/memcpy.S
4478 (memcpy_z196): Rename to __memcpy_z196.
4479 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4480 (memcpy_z10): Rename to __memcpy_z10.
4481 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4482 (memcpy): Set alias to __memcpy_z900.
4483 * sysdeps/s390/s390-64/multiarch/memset.S
4484 (memset_z196): Rename to __memset_z196.
4485 Jump to __memset_mvcle instead of memset_mvcle.
4486 (memset_z10): Rename to __memset_z10.
4487 Jump to __memset_mvcle instead of memset_mvcle.
4488 (memset_mvcle) Rename to __memset_mvcle.
4489 (memset): Set alias to __memset_z900.
4491 2015-01-14 Joseph Myers <joseph@codesourcery.com>
4494 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
4495 __fesetenv instead of fesetenv.
4497 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4499 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
4502 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4504 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
4507 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
4508 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
4509 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4510 strncmp-power8 object.
4511 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4512 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
4513 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
4516 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4517 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4519 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
4520 trailing byte check.
4522 2015-01-13 David S. Miller <davem@davemloft.net>
4524 * include/signal.h (__sigreturn): Guard with __USE_MISC.
4526 2015-01-13 Roland McGrath <roland@hack.frob.com>
4528 * login/logout.c (logout): Use memset rather than bzero.
4529 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
4530 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
4531 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
4532 (_gethtbyaddr): Likewise.
4533 * locale/programs/simple-hash.c (bcopy): Macro removed.
4535 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4537 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4538 Add strcmp-power8 object.
4539 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4540 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
4541 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
4542 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
4543 __strcmp_power8 implementation.
4544 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
4547 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4548 Add strncpy-power8 and stpncpy-power8 objects.
4549 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4550 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
4552 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
4553 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
4554 __stpncpy_power8 implementation.
4555 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
4556 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
4557 __strncpy_power8 implementation.
4558 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
4559 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
4562 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
4563 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
4564 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
4566 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4567 strncat-power8 object.
4568 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
4569 __strcat_power8 implementation.
4570 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4571 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
4572 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
4573 optimized strcat for power8.
4575 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4576 strcpy-power8 and stpcpy-power8 objects.
4577 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4578 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
4580 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
4581 multiarch stpcpy implementation for POWER8.
4582 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
4583 multiarch strcpy implementation for POWER8.
4584 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
4585 __strcpy_power8 function.
4586 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
4588 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
4592 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
4595 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
4596 weights and rules. Use do_xfrm_cached if data fits in cache,
4597 do_xfrm otherwise. Moved former main loop to...
4598 * (do_xfrm_cached): New function.
4599 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
4600 find_idx, find_position and stack_push.
4601 * (find_idx): New function.
4602 * (find_position): Likewise.
4603 * localedata/sort-test.sh: Added test run for do_xfrm.
4604 * localedata/xfrm-test.c (main): Added command line option
4605 -nocache to run the test with strings that are too large for
4608 2015-01-13 Torvald Riegel <triegel@redhat.com>
4610 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
4611 variable to lll_futex_wake call, not the value itself.
4613 2015-01-12 Joseph Myers <joseph@codesourcery.com>
4616 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
4617 twom64. Adjust value to 0x1p-64L.
4618 (__scalblnl): Only return standard underflowing result for K <=
4619 -64 not K <= -63; adjust exponent for underflowing result by 64
4621 * math/libm-test.inc (scalbn_test_data): Add more tests.
4622 (scalbln_test_data): Likewise.
4625 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
4627 (__scalblnl): Get new exponent of adjusted subnormal value from ES
4629 * math/libm-test.inc (scalbn_test_data): Add more tests.
4630 (scalbln_test_data): Likewise.
4632 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4633 Stefani Seibold <stefani@seibold.net>
4635 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
4636 (sysdep_routines): Add dl-vdso here, ...
4637 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
4638 (sysdep_routines): ... not here.
4639 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
4640 fallback when vDSO is not presented.
4641 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4642 Define with libc_hidden_proto/libc_hidden_data_def definitions.
4643 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
4644 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
4645 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
4646 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
4647 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
4648 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
4649 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
4650 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
4651 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
4652 fallback configurable symbol when vDSO is not available.
4653 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
4654 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
4655 be able to redefine fallback symbol when vDSO is not available.
4656 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
4657 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
4659 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4661 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
4662 (TLS_INIT_TP): Add tm_capable initialization.
4663 (TLS_DEFINE_INIT_TP): Likewise.
4664 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
4666 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
4667 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
4669 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
4670 transactoion is lock elision is built and TCB tm_capable is set.
4671 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
4672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4673 (INTERNAL_SYSCALL_NCS): Likewise.
4674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4675 (INTERNAL_SYSCALL_NCS): Likewise.
4676 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
4678 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
4680 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4681 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
4682 and remove it for 32 bits case.
4683 [pthread_rwlock_t] (__rwelision): New field for lock elision.
4684 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
4686 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
4687 Disable lock elision with rdlocks if elision is not available.
4689 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
4690 (sysdep_routines): Add lock elision objects.
4691 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4692 [pthread_mutex_t] (__spins): Rework to add lock elision field.
4693 [pthread_mutex_t] (__elision): Add field.
4694 [__PTHREAD_SPINS]: Adjust to init lock elision field.
4695 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
4696 elision definitions for powerpc.
4697 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
4698 implementation of lock elision for powerpc.
4699 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
4700 implementation of timed lock elision for powerpc.
4701 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
4702 implementation of trylock with lock elision for powerpc.
4703 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
4704 implementaion of unlock for lock elision for powerpc.
4705 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
4706 automatic enable lock elision for mutexes.
4707 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
4708 transaction execution definitions for powerpc.
4709 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
4711 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
4712 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
4713 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
4714 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
4717 2015-01-09 Roland McGrath <roland@hack.frob.com>
4719 * sysdeps/posix/shm-directory.c: Use <> rather than ""
4720 for #include of <shm-directory.h>.
4722 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
4724 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
4725 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
4727 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
4730 * NEWS: Mention bug fix.
4731 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
4732 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
4733 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
4735 2015-01-09 Torvald Riegel <triegel@redhat.com>
4737 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
4739 2015-01-09 Torvald Riegel <triegel@redhat.com>
4741 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
4743 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4745 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
4746 pointer and cast to uintptr_t.
4748 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4750 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
4752 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
4754 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4756 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
4759 2015-01-08 Roland McGrath <roland@hack.frob.com>
4761 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
4762 <nptl/pthreadP.h> instead.
4763 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
4765 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
4767 [__SIGRTMIN] (init): Function removed.
4768 [__SIGRTMIN] (initialized): Variable removed.
4769 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
4770 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
4771 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
4772 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
4773 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
4774 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
4775 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
4776 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
4777 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
4778 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
4779 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
4780 * sysdeps/nptl/allocrtsig.c: New file.
4781 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
4782 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
4783 * sysdeps/generic/testrtsig.h: File removed.
4785 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
4786 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
4788 * nptl/nptl-init.c (pthread_functions): Conditionalize
4789 .ptr__nptl_setxid initialization on [SIGSETXID].
4791 * sysdeps/nptl/sys/procfs.h: New file.
4792 * nptl_db/Makefile (headers): Add it.
4793 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
4795 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
4796 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
4797 * nptl/pthread_attr_setaffinity.c: Include it.
4798 * nptl/pthread_setattr_default_np.c: Likewise.
4799 * nptl/check-cpuset.h: New file.
4801 2015-01-08 Richard Henderson <rth@redhat.com>
4803 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
4804 (CFLAGS-tst-execstack-prog.c): Likewise.
4805 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
4807 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
4808 Sandra Loosemore <sandra@codesourcery.com>
4809 Andrew Jenner <andrew@codesourcery.com>
4810 Joseph Myers <joseph@codesourcery.com>
4811 Nathan Sidwell <nathan@codesourcery.com>
4813 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
4814 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
4815 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
4816 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
4817 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
4818 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
4819 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
4820 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
4821 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
4822 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
4823 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
4824 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
4825 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
4826 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
4827 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
4828 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
4829 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
4831 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4833 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
4834 timespec struct member in syscall macro.
4835 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
4836 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
4837 first timeval struct member in syscall macro.
4838 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
4840 2015-01-07 Joseph Myers <joseph@codesourcery.com>
4843 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
4844 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
4845 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
4846 __feupdateenv and define as weak alias of __feupdateenv. Use
4848 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
4850 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
4851 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
4852 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4853 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
4855 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
4856 __feupdateenv and define as weak alias of __feupdateenv. Use
4858 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
4860 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
4861 __feupdateenv and define as weak alias of __feupdateenv. Use
4863 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
4865 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4866 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
4867 (__feupdateenv): Likewise.
4868 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
4869 __feupdateenv and define as weak alias of __feupdateenv. Use
4871 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4872 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
4874 * sysdeps/tile/math_private.h (__feupdateenv): New inline
4876 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
4878 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
4879 __feupdateenv instead of feupdateenv.
4880 (default_libc_feupdateenv_test): Likewise.
4881 (libc_feresetround_ctx): Likewise.
4883 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4885 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
4888 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
4890 * posix/regcomp.c (parse_bracket_exp): Initialize type to
4891 COLL_SYM in a couple of places to avoid uninitialized variable
4892 wanings on tilegx gcc 4.8.2.
4894 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
4896 * sysdeps/aarch64/strcpy.S: New file.
4897 * sysdeps/aarch64/stpcpy.S: New file.
4900 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
4902 * sysdeps/aarch64/strrchr.S: New file.
4905 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
4908 * stdlib/setenv.c: Fix memory leak when setting large,
4911 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
4914 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
4915 and tabs from buffer before parsing fstab entry.
4916 * misc/tst-mntent.c (main): Add test for mount entry with
4917 trailing spaces and tabs.
4919 2015-01-06 Joseph Myers <joseph@codesourcery.com>
4922 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
4923 * math/fesetround.c (fesetround): Rename to __fesetround and
4924 define as weak alias of __fesetround. Use libm_hidden_weak.
4925 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
4926 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
4927 * sysdeps/arm/fesetround.c (fesetround): Likewise.
4928 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
4929 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
4930 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
4931 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
4932 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
4933 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
4934 __fesetround_inline.
4935 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
4936 __fesetround_inline instead of __fesetround.
4937 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
4938 __fesetround and define as weak alias of __fesetround. Use
4939 libm_hidden_weak. Call __fesetround_inline instead of
4941 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
4942 __fesetround and define as weak alias of __fesetround. Use
4944 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
4946 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
4947 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4948 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
4949 * sysdeps/tile/math_private.h (__fesetround): New inline function.
4950 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
4951 __fesetround and define as weak alias of __fesetround. Use
4953 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
4954 __fesetround instead of fesetround.
4955 (default_libc_feholdexcept_setround): Likewise.
4956 (libc_feholdsetround_ctx): Likewise.
4957 (libc_feholdsetround_noex_ctx): Likewise.
4960 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
4961 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
4962 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
4963 and define as weak alias of __fesetenv. Use libm_hidden_weak.
4964 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4965 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
4966 define as weak alias of __fesetenv. Use libm_hidden_weak.
4967 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4968 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4969 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4970 define as weak alias of __fesetenv. Use libm_hidden_weak.
4971 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4972 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4973 define as weak alias of __fesetenv. Use libm_hidden_weak.
4974 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
4976 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
4977 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
4979 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4980 define as weak alias of __fesetenv. Use libm_hidden_weak.
4981 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4982 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4983 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
4984 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
4985 and define as weak alias of __fesetenv. Use libm_hidden_weak.
4986 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
4987 __fesetenv instead of fesetenv.
4988 (libc_feresetround_noex_ctx): Likewise.
4989 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
4990 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4991 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
4992 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
4993 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
4994 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
4995 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4996 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
4997 (__feupdateenv): Likewise.
4998 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4999 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5000 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5001 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
5003 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
5006 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
5007 addresses have been freed.
5009 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
5011 * resolv/res_init.c (__res_vinit): Improve comments about nserv
5014 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
5016 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
5017 Clean up check_pf allocation pattern. addresses
5019 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5021 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
5022 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
5023 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5024 * nptl/pthread_exit.c (__pthread_exit): Likewise.
5025 * nptl/pthread_join.c (pthread_join): Likewise.
5026 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
5027 * sysdeps/posix/waitid.c (__waitid): Likewise.
5028 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5029 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5030 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5031 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5032 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5034 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5035 (__libc_pread64): Likewise.
5036 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5037 (__libc_pwrite): Likewise.
5038 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5039 (__libc_pwrite64): Likewsie.
5040 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5041 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5042 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5043 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5044 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5045 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5046 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5050 (__libc_pread64): Likewise.
5051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
5053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5054 (__libc_pwrite64): Likewise.
5055 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5056 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5057 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
5058 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
5059 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5060 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5061 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
5062 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5063 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5064 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5065 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
5066 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5067 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5068 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
5069 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5070 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5073 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5075 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
5076 (CFLAGS-test-double.c): Likewise.
5077 (CFLAGS-test-ldouble.c): Likewise.
5078 (CPPFLAGS-test-ifloat.c): Likewise.
5079 (CPPFLAGS-test-idouble.c): Likewise.
5080 (CPPFLAGS-test-ildoubl.c): Likewise.
5081 (CFLAGS-test-test-fenv.c): Remove variable.
5082 (CFLAGS-test-misc.c): Likewise.
5084 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
5087 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
5088 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
5089 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
5090 CLOCKS_PER_SEC == 1000000.
5091 * time/clocktest.c (main): Replace %ld with %jd and cast to
5094 2015-01-05 Roland McGrath <roland@hack.frob.com>
5096 * sysdeps/generic/unwind-resume.h: New file.
5097 * sysdeps/gnu/unwind-resume.c: Include it.
5098 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
5099 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
5101 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
5102 global rather than static.
5103 (_Unwind_Resume): Update user.
5104 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
5105 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
5106 rather than static. Add __attribute__ ((cold)).
5107 (_Unwind_Resume, __gcc_personality_v0): Update callers.
5108 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
5109 * sysdeps/arm/arm-unwind-resume.S: New file.
5110 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
5111 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
5112 * sysdeps/arm/Makefile [$(subdir) = csu]
5113 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
5114 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5115 Add rt-arm-unwind-resume.
5117 (libpthread-sysdep_routines, libpthread-shared-only-routines):
5118 Add pt-arm-unwind-resume.
5119 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
5120 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
5122 2015-01-05 Joseph Myers <joseph@codesourcery.com>
5125 * include/fenv.h (__feholdexcept): Declare. Use
5127 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
5128 define as weak alias of __feholdexcept. Use libm_hidden_weak.
5129 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5130 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
5131 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
5132 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
5133 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
5134 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5135 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
5136 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
5137 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5138 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
5139 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
5140 (feholdexcept): Likewise.
5141 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5142 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5143 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5144 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5145 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
5146 __feholdexcept instead of feholdexcept.
5147 (default_libc_feholdexcept_setround): Likewise.
5149 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
5151 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
5152 to avoid using stl/str to align destination.
5154 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
5156 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
5158 2015-01-05 Joseph Myers <joseph@codesourcery.com>
5161 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
5162 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
5163 Define as weak alias not strong alias.
5165 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
5167 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
5168 bltzal with addiupc.
5169 (RTLD_START): Ditto.
5171 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
5173 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
5174 for __vdso_* functions in declarations.
5175 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
5177 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
5178 INTERNAL_VSYSCALL): Use struct return types to check for error.
5180 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
5181 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
5182 function with cast from llround().
5183 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
5184 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5187 2015-01-05 Joseph Myers <joseph@codesourcery.com>
5190 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
5191 Define as weak alias not strong alias.
5194 * ctype/ctype-c99.c: New file. isblank implementation moved from
5196 * ctype/ctype-extn.c: ... here.
5197 (__isblank_l): Move to ...
5198 * ctype/ctype-c99_l.c: ... here. New file.
5199 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
5200 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
5202 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5203 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5204 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5205 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5206 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5209 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
5210 (posix_fadvise64): Define as weak alias not strong alias.
5211 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5212 (posix_fallocate64): Likewise.
5213 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
5215 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5216 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5217 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5218 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5219 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5221 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
5224 * NEWS: Mention bug fix.
5225 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
5226 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
5227 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
5228 (HOST_STACK_END_ADDR): Likewise.
5230 2015-01-02 Joseph Myers <joseph@codesourcery.com>
5233 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
5234 * math/fegetround.c (fegetround): Rename to __fegetround and
5235 define as weak alias of __fegetround. Use libm_hidden_weak.
5236 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
5237 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
5238 * sysdeps/arm/fegetround.c (fegetround): Likewise.
5239 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
5240 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
5241 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
5242 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
5243 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
5244 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
5245 Undefine after rather than before function definition; use
5246 parentheses around function name in definition.
5247 (__fegetround): Also undefine macro after function definition.
5248 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
5249 __fegetround and define as weak alias of __fegetround. Use
5250 libm_hidden_weak. Do not undefine as macro.
5251 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
5253 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
5254 __fegetround and define as weak alias of __fegetround. Use
5256 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5257 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
5258 * sysdeps/tile/math_private.h (__fegetround): New inline function.
5259 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
5260 __fegetround and define as weak alias of __fegetround. Use
5262 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
5263 __fegetround instead of fegetround.
5266 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
5267 Condition macro definition on [__USE_MISC].
5270 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
5271 (struct sigaction): Change type of sa_flags field to int.
5274 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
5275 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
5278 * nptl/version.c (banner): Use single year in copyright notice.
5280 * NEWS: Update copyright dates.
5281 * catgets/gencat.c (print_version): Likewise.
5282 * csu/version.c (banner): Likewise.
5283 * debug/catchsegv.sh: Likewise.
5284 * debug/pcprofiledump.c (print_version): Likewise.
5285 * debug/xtrace.sh (do_version): Likewise.
5286 * elf/ldconfig.c (print_version): Likewise.
5287 * elf/ldd.bash.in: Likewise.
5288 * elf/pldd.c (print_version): Likewise.
5289 * elf/sotruss.sh: Likewise.
5290 * elf/sprof.c (print_version): Likewise.
5291 * iconv/iconv_prog.c (print_version): Likewise.
5292 * iconv/iconvconfig.c (print_version): Likewise.
5293 * locale/programs/locale.c (print_version): Likewise.
5294 * locale/programs/localedef.c (print_version): Likewise.
5295 * login/programs/pt_chown.c (print_version): Likewise.
5296 * malloc/memusage.sh (do_version): Likewise.
5297 * malloc/memusagestat.c (print_version): Likewise.
5298 * malloc/mtrace.pl: Likewise.
5299 * manual/libc.texinfo: Likewise.
5300 * nptl/version.c (banner): Likewise.
5301 * nscd/nscd.c (print_version): Likewise.
5302 * nss/getent.c (print_version): Likewise.
5303 * nss/makedb.c (print_version): Likewise.
5304 * posix/getconf.c (main): Likewise.
5305 * scripts/test-installation.pl: Likewise.
5306 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5308 2015-01-02 Will Newton <will.newton@linaro.org>
5310 * sysdeps/arm/armv7/configure: Removed.
5311 * sysdeps/arm/armv7/configure.ac: Likewise.
5313 2015-01-02 Joseph Myers <joseph@codesourcery.com>
5315 * All files with FSF copyright notices: Update copyright dates
5316 using scripts/update-copyrights.
5317 * intl/plural.c: Regenerated.
5318 * locale/programs/charmap-kw.h: Likewise.
5319 * locale/programs/locfile-kw.h: Likewise.
5321 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5323 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
5325 2014-12-31 Joseph Myers <joseph@codesourcery.com>
5328 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
5329 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
5330 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5331 and define as weak alias of __fegetenv. Use libm_hidden_weak.
5332 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5333 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
5334 define as weak alias of __fegetenv. Use libm_hidden_weak.
5335 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
5336 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5337 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5338 define as weak alias of __fegetenv. Use libm_hidden_weak.
5339 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5340 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5341 define as weak alias of __fegetenv. Use libm_hidden_weak.
5342 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
5344 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
5345 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
5347 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5348 define as weak alias of __fegetenv. Use libm_hidden_weak.
5349 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5350 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5351 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
5352 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5353 and define as weak alias of __fegetenv. Use libm_hidden_weak.
5354 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
5355 __fegetenv instead of fegetenv.
5356 (libc_feholdsetround_noex_ctx): Likewise.
5358 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
5360 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
5361 (Elf_MIPS_ABIFlags_v0): New structure.
5362 (EF_MIPS_FP64): Define.
5363 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
5364 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
5365 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
5366 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
5367 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
5368 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
5369 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
5370 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
5371 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
5372 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
5373 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
5374 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
5375 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
5376 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
5377 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
5378 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
5379 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
5380 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
5381 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
5382 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
5383 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
5384 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
5386 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
5388 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
5389 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
5390 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
5391 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
5392 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
5393 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
5394 * sysdeps/mips/tst-abi-interlink.c: Likewise.
5395 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
5396 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
5397 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
5398 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
5399 record the current FP ABI extension.
5400 (mips-mode-switch): Define to show if kernel headers support mode
5402 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5403 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
5404 supported SYSV ABI version to 3.
5405 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
5408 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5409 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5411 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
5413 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
5415 2014-12-31 Joseph Myers <joseph@codesourcery.com>
5417 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
5418 __fegetround and redefine to call __fegetround. Remove condition
5419 on [!__NO_MATH_INLINES].
5420 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
5422 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
5423 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5425 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
5426 instead of <fenv_libc.h>.
5427 (__llrintl): Call fegetround instead of __fegetround.
5428 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
5429 instead of <fenv_libc.h>.
5430 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5431 (__lrintl): Call fegetround instead of __fegetround.
5432 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
5433 instead of <fenv_libc.h>.
5434 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5435 (__rintl): Call fegetround instead of __fegetround.
5437 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5439 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
5442 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
5445 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
5446 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
5447 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
5449 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
5451 * sysdeps/i386/tls-macros.h: Include <features.h>.
5452 (TLS_LE): Use non-PIC version for GCC >= 5.0.
5456 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
5457 define for GCC >= 5.0.
5459 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
5461 * math/test-fenv.c (test_single_exception, set_single_exc,
5462 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
5463 feexcp_mask_test, feenable_test, fe_single_test): Add
5464 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
5465 case where they are not used.
5466 * math/libm-test.inc: Likewise.
5467 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
5468 unused in the absence of FP rounding/exception support.
5469 * stdio-common/tst-printf-round.c: Likewise.
5470 * stdlib/tst-strtod-round.c: Likewise.
5471 * stdlib/tst-strtod-underflow.c: Likewise.
5473 2014-12-30 Joseph Myers <joseph@codesourcery.com>
5476 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
5477 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
5478 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5479 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5481 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
5482 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5483 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
5485 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5486 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5488 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
5490 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
5491 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5492 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5494 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5496 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5497 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
5498 (__feraiseexcept): Likewise.
5499 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5500 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5502 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5503 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5505 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
5506 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
5507 Use libm_hidden_def.
5508 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
5510 (feraiseexcept): Define as weak not strong alias. Use
5512 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
5513 New inline function. Factored out of ...
5514 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
5515 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
5516 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
5518 * math/w_acos.c (__acos): Likewise.
5519 * math/w_asin.c (__asin): Likewise.
5520 * math/w_ilogb.c (__ilogb): Likewise.
5521 * math/w_j0.c (y0): Likewise.
5522 * math/w_j1.c (y1): Likewise.
5523 * math/w_jn.c (yn): Likewise.
5524 * math/w_log.c (__log): Likewise.
5525 * math/w_log10.c (__log10): Likewise.
5526 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
5527 * sysdeps/aarch64/fpu/math_private.h
5528 (libc_feupdateenv_test_aarch64): Likewise.
5529 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5530 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
5531 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
5532 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5533 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5534 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5535 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
5536 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5537 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5538 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5540 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
5543 * io/test-utime.c (main): Replace %ld with %jd and cast to
5545 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
5546 * nptl/tst-mutex5.c: Include <stdint.h>.
5547 (do_test): Replace %ld with %jd and cast to intmax_t.
5548 * posix/tst-regex.c (run_test): Likewise.
5549 (run_test_backwards): Likewise.
5550 * rt/tst-clock.c: Include <stdint.h>.
5551 (clock_test): Replace %ld with %jd and cast to intmax_t.
5552 * rt/tst-cpuclock1.c: Include <stdint.h>.
5553 (do_test): Replace %lu with %ju and cast to uintmax_t.
5554 * rt/tst-cpuclock2.c: Include <stdint.h>.
5555 (do_test): Replace %lu with %ju and cast to uintmax_t.
5556 * rt/tst-mqueue1.c: Include <stdint.h>.
5557 (check_attrs): Replace %ld with %jd and cast to intmax_t.
5558 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
5560 * rt/tst-mqueue4.c (do_test): Likewise.
5561 * rt/tst-timer4.c: Include <stdint.h>.
5562 (check_ts): Replace %ld with %jd and cast to intmax_t.
5563 (do_test): Likewise.
5564 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
5565 and cast to intmax_t.
5566 * sysdeps/pthread/tst-timer.c (main): Likewise.
5567 * time/clocktest.c (main): Likewise.
5568 * time/tst-posixtz.c (do_test): Likewise.
5569 * timezone/tst-timezone.c (main): Likewise.
5571 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
5572 H.J. Lu <hongjiu.lu@intel.com>
5574 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
5575 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
5576 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
5577 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
5578 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
5579 version if bit_Fast_Unaligned_Load is set.
5580 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5581 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5582 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5583 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5584 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5585 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5586 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5587 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
5588 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
5589 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
5591 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
5592 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
5593 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
5594 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
5596 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
5598 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
5599 instead of #if to avoid a Wundef warning.
5600 * stdlib/tst-limits.c (do_test): Likewise.
5602 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
5603 parallel other exception macros.
5604 (fegetenv): Convert from macro to extern inline so that it applies
5605 retroactively to inline functions already seen by the compiler.
5606 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
5608 * posix/Makefile (before-compile): Use $(objpfx) for
5609 posix-conf-vars-def.h.
5611 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5613 * posix/getconf.c (main): Use size_t for type of I.
5614 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
5617 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
5618 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
5619 * posix/posix-envs.def: Likewise.
5620 * sysdeps/posix/sysconf.c: Likewise.
5621 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
5622 (specs): Remove array.
5623 * scripts/gen-posix-conf-vars.awk: Support generation of specs
5626 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
5627 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
5628 (__sysconf): Use CONF_IS_* macros.
5630 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
5631 ($(objpfx)posix-conf-vars-def.h): New target.
5632 * posix/posix-conf-vars.list: New file.
5633 * posix/posix-conf-vars.h: New file.
5634 * posix/confstr.c: Include posix-conf-vars.h.
5635 (confstr): Use CONF_IS_* macros.
5636 * posix/posix-envs.def: Include posix-conf-vars.h. Use
5638 * scripts/gen-posix-conf-vars.awk: New file.
5640 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
5642 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
5643 fegetround): Add no-op macros to avoid linknamespace issues.
5645 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
5646 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
5648 * sysdeps/unix/sysv/linux/tile/sysdep.h
5649 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
5650 assembly-specific section to avoid a redefinition warning.
5652 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
5653 long before casting to pointer to avoid a cast warning.
5655 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
5657 * sysdeps/tile/tilegx/Implies: New file.
5659 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
5661 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
5663 2014-12-23 Florian Weimer <fweimer@redhat.com>
5665 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
5667 2014-12-22 Joseph Myers <joseph@codesourcery.com>
5669 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
5671 * sysdeps/unix/sysv/linux/utimes.c: Do not include
5672 <kernel-features.h>.
5673 (__utimes) [__NR_utimes]: Make code unconditional.
5674 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
5675 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5676 (__ASSUME_UTIMES): Do not undefine.
5677 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5678 (__ASSUME_UTIMES): Likewise.
5679 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5680 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
5681 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
5682 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
5684 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
5686 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
5688 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
5691 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
5692 alias to weak alias for j0l, y0l.
5693 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
5694 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
5697 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
5700 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
5702 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
5703 to zero if not already defined.
5705 2014-12-22 Joseph Myers <joseph@codesourcery.com>
5708 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
5709 (__kernel_standard_f): Remove. Moved to k_standardf.c.
5710 (__kernel_standard_l): Remove. Moved to k_standardl.c with
5711 (char *) casts added.
5712 * sysdeps/ieee754/k_standardf.c: New file.
5713 * sysdeps/ieee754/k_standardl.c: Likewise.
5714 * math/Makefile (libm-support): Remove k_standard.
5715 (libm-calls): Add k_standard.
5717 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5719 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5720 Optimize to avoid an unnecessary FPCR read.
5722 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5724 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
5725 Optimize to reduce FPCR/FPSR accesses.
5727 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5729 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
5730 Call libc_fetestexcept_aarch64.
5732 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5734 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
5735 Call libc_fesetround_aarch64.
5737 2014-12-22 Joseph Myers <joseph@codesourcery.com>
5740 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
5741 (__bind): Do not define as weak alias.
5742 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
5744 (__getsockname): Do not define as weak alias.
5746 2014-12-22 Will Newton <will.newton@linaro.org>
5748 * manual/install.texi: Document that we require bison 2.7
5750 * INSTALL: Regenerate.
5751 * configure.ac: Use AC_CHECK_PROG_VER instead of
5752 AC_PATH_PROG when checking for bison and check for
5753 version 2.7 or above.
5754 * configure: Regenerate.
5756 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
5759 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
5760 * sysdeps/tile/ffsll.c (ffsll): To here.
5762 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
5764 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
5766 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
5768 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
5770 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5771 hidden ___tls_get_addr.
5772 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5773 hidden __tls_get_addr.
5774 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
5775 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
5778 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
5780 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
5783 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
5785 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
5786 from "call _dl_init@PLT".
5787 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
5789 2014-12-21 Anders Kaseorg <andersk@mit.edu>
5791 * manual/search.texi: (Array Sort Function): Clarify stable sorting
5794 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
5796 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
5798 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
5801 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
5804 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
5806 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
5808 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
5809 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
5810 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
5811 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
5812 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
5814 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
5816 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
5817 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
5818 (PTR_SUBU): Use subu for mips32r6/mips64r6.
5819 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
5820 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
5822 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
5824 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
5826 * string/strncat.c (STRNCAT): Simplify implementation.
5828 2014-12-19 David S. Miller <davem@davemloft.net>
5830 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
5831 access the quad as both a long double and as a series of 4 words.
5833 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
5834 link_map->l_info array access.
5836 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
5838 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
5840 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
5841 * math/atest-exp2.c (TIMEOUT): Likewise.
5842 * math/atest-sincos.c (TIMEOUT): Likewise.
5844 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5846 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
5847 -Wno-error with -fno-builtin-lround.
5849 2014-12-19 Torvald Riegel <triegel@redhat.com>
5851 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
5852 Contains futex constants and functions moved over from ...
5853 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
5854 <lowlevellock-futex.h>.
5855 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5856 (lll_timedwait_tid): Add comments and parentheses around macro
5859 2014-12-19 Torvald Riegel <triegel@redhat.com>
5861 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
5862 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
5863 (__lll_private_flag): Remove.
5864 (lll_futex_wait): Likewise.
5865 (lll_futex_timed_wait): Likewise.
5866 (lll_futex_wake): Likewise.
5867 (lll_futex_requeue): Likewise.
5868 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5869 (__lll_timedwait_tid): Spell out argument names.
5870 (lll_timedwait_tid): Add comments and parentheses around macro
5872 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
5873 LLL_SHARED and LLL_PRIVATE usable from assembly code.
5875 2014-12-19 Torvald Riegel <triegel@redhat.com>
5877 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
5878 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5879 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5880 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
5881 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
5882 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
5883 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
5884 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
5885 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
5886 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
5887 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
5888 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
5889 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
5890 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
5891 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
5892 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
5893 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
5894 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
5895 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
5897 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5899 * sysdeps/x86_64/x32/Makefile: New file.
5901 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5903 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
5904 1L with (mp_limb_t) 1.
5906 2014-12-17 Roland McGrath <roland@hack.frob.com>
5908 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
5909 * nptl/libc_pthread_init.c: ... here.
5910 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
5911 * nptl/register-atfork.c: ... here.
5913 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
5914 Use pthread_sigmask rather than INTERNAL_SYSCALL.
5915 Use assert_perror to check its return value.
5916 (__gai_create_helper_thread): Likewise.
5918 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
5920 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
5922 2014-12-17 Joseph Myers <joseph@codesourcery.com>
5925 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
5927 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
5929 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
5931 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
5933 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
5934 (profil_counter): Likewise.
5935 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
5936 (profil_counter): Likewise.
5937 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
5939 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
5941 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
5942 (profil_counter): Likewise.
5943 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
5945 [!__profil_counter] (profil_counter): Define as weak alias of
5947 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
5948 (profil_counter): Rename to __profil_counter.
5949 [!__profil_counter] (profil_counter): Define as weak alias of
5951 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
5952 (profil_counter): Rename to __profil_counter.
5953 [!__profil_counter] (profil_counter): Define as weak alias of
5955 * sysdeps/posix/profil.c: Update comment referring to
5957 (__profil): Use __profil_counter instead of profil_counter.
5958 * sysdeps/posix/sprofil.c (profil_counter): Rename to
5959 __profil_counter. Use __profil_counter_ushort and
5960 __profil_counter_uint in definitions.
5961 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
5962 instead of profil_counter_uint and profil_counter_ushort.
5965 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
5966 define as weak alias of __inet_makeaddr.
5967 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
5968 as weak alias of __inet_addr.
5969 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
5970 as weak alias of __inet_pton. Use libc_hidden_weak.
5971 * include/arpa/inet.h (__inet_pton): Declare. Use
5973 (inet_makeaddr): Don't use libc_hidden_proto.
5974 (__inet_makeaddr): Declare. Use libc_hidden_proto.
5975 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
5976 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
5977 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
5979 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5980 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5982 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
5984 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
5986 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5988 * stdio-common/bug-vfprintf-nargs.c (do_test):
5989 Cast value to intptr_t to avoid format warning
5990 for usage with PRIdPTR printing macro.
5992 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5994 * libio/tst-widetext.c (do_test):
5995 Use format type %td instead of %Zd for ptrdiff_t
5996 in order to avoid format warning.
5998 2014-12-17 Andreas Schwab <schwab@suse.de>
6000 * nscd/mem.c (gc): Add size_t cast to match printf format.
6002 2014-12-16 Roland McGrath <roland@hack.frob.com>
6004 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
6005 (init): Apply PTR_MANGLE to pointers before storing them.
6006 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
6009 2014-12-16 Joseph Myers <joseph@codesourcery.com>
6012 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
6013 define as weak alias of __memrchr.
6014 (__memrchr): Do not define as strong alias of memrchr.
6015 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
6017 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6018 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6019 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6022 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
6023 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
6024 (if_indextoname): Rename to __if_indextoname and define as weak
6025 alias of __if_indextoname. Use libc_hidden_weak.
6026 (if_freenameindex): Rename to __if_freenameindex and define as
6027 weak alias of __if_freenameindex.
6028 (if_nameindex): Rename to __if_nameindex and define as weak alias
6030 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
6031 __if_nametoindex and define as weak alias of __if_nametoindex.
6032 Use libc_hidden_weak.
6033 (if_freenameindex): Rename to __if_freenameindex and define as
6034 weak alias of __if_freenameindex.
6035 (if_nameindex): Rename to __if_nameindex and define as weak alias
6037 (if_indextoname): Rename to __if_indextoname and define as weak
6038 alias of __if_indextoname. Use libc_hidden_weak.
6039 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
6040 __if_nametoindex and define as weak alias of __if_nametoindex.
6041 Use libc_hidden_weak.
6042 (if_freenameindex): Rename to __if_freenameindex and define as
6043 weak alias of __if_freenameindex. Use libc_hidden_weak.
6044 (if_nameindex_netlink): Use __if_freenameindex instead of
6046 (if_nameindex): Rename to __if_nameindex and define as weak alias
6047 of __if_nameindex. Use libc_hidden_weak.
6048 (if_indextoname): Rename to __if_indextoname and define as weak
6049 alias of __if_indextoname. Use libc_hidden_weak.
6050 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
6052 [!_ISOMAC] (__if_freenameindex): Likewise.
6053 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
6055 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
6057 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6058 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6059 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6060 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6061 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6062 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6063 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6065 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
6067 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6068 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6070 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6072 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
6073 subscript above bounds'
6075 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
6078 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
6080 * libio/tst-fopenloc.c: Use test-skeleton.c.
6082 * stdlib/tst-bsearch.c: Use test-skeleton.c.
6083 (entry): Rename to ITEM.
6084 (do_test, comp): Adjust.
6086 * stdio-common/tst-fseek.c: Use test-skeleton.c.
6088 2014-12-16 Torvald Riegel <triegel@redhat.com>
6090 * string/tester.c: Include <libc-internal.h>.
6091 (test_memset): Ignore -Wmemset-transposed-args.
6093 2014-12-16 Torvald Riegel <triegel@redhat.com>
6095 * misc/tst-mntent2.c (do_test): Fix warning.
6097 2014-12-16 Torvald Riegel <triegel@redhat.com>
6099 * elf/tst-unique4lib.cc(a): Mark as used.
6101 2014-12-16 Florian Weimer <fweimer@redhat.com>
6104 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
6107 2014-12-16 Allan McRae <allan@archlinux.org>
6109 * stdio-common/Makefile (tests): Re-add bug26.
6111 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
6114 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
6117 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
6119 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
6120 (__lll_lock_wait): Likewise.
6121 (__lll_timedlock_wait): Likewise.
6122 (__lll_timedwait_tid): Likewise.
6123 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
6124 (__lll_robust_timedlock_wait): Likewise.
6125 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
6126 (lll_cond_trylock): Likewise.
6127 (__lll_lock): Likewise.
6128 (__lll_robust_lock): Likewise.
6129 (__lll_cond_lock): Likewise.
6130 (lll_robust_cond_lock): Likewise.
6131 (__lll_timedlock): Likewise.
6132 (__lll_robust_timedlock): Likewise.
6133 (__lll_unlock): Likewise.
6134 (__lll_robust_unlock): Likewise.
6135 (lll_wait_tid): Likewise.
6136 (lll_timedwait_tid): Likewise.
6138 2014-12-15 Torvald Riegel <triegel@redhat.com>
6140 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
6142 2014-12-15 Torvald Riegel <triegel@redhat.com>
6144 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
6146 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
6148 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
6149 * stdio-common/tst-sprintf.c: Likewise.
6151 2014-12-15 Torvald Riegel <triegel@redhat.com>
6153 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
6155 2014-12-15 Jeff Law <law@redhat.com>
6158 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
6159 on the heap. (CVE-2012-3406)
6160 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
6161 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
6162 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
6164 2014-12-15 Will Newton <will.newton@linaro.org>
6166 * manual/install.texi: Bump required version of texinfo
6168 * INSTALL: Regenerated.
6169 * configure.ac: Check for makeinfo version 4.7 and above.
6170 * configure: Regenerated.
6172 2014-12-12 Roland McGrath <roland@hack.frob.com>
6174 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
6175 PREFIX, string constant to insert between directory and name.
6176 * sysdeps/posix/shm_open.c: Update caller.
6177 * sysdeps/posix/shm_unlink.c: Likewise.
6178 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
6179 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
6180 (SEM_SHM_PREFIX): New macro.
6181 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
6182 [$(have-thread-library) = no].
6183 * nptl/Makefile (libpthread-routines): Add shm-directory.
6184 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
6185 * sysdeps/nptl/shm-directory.h: New file.
6186 * sysdeps/posix/shm-directory.c
6187 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
6188 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
6189 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
6191 (__where_is_shmfs): Function removed.
6192 (mountpoint, defaultmount, defaultdir, __namedsem_once):
6194 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
6196 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
6198 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
6199 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
6200 unconditional for use inside libpthread.
6201 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
6203 2014-12-12 Roland McGrath <roland@hack.frob.com>
6205 * nptl/pthread_getaffinity.c: New file.
6206 * nptl/pthread_setaffinity.c: New file.
6207 * nptl/pthread_getname.c: New file.
6208 * nptl/pthread_setname.c: New file.
6210 * nptl/pthread_create.c (START_THREAD_DEFN)
6211 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
6213 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6214 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6216 * resolv/res_send.c (send_vc): Disable warning resplen may
6217 be used uninitialized.
6219 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6222 (ATTR_NULL): New define checks ATTR against NULL.
6223 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
6224 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
6226 2014-12-11 James Lemke <jwlemke@codesourcery.com>
6230 (mem2mem_check): Revert my previous change.
6231 (malloc_check_get_size): Revert my previous change.
6232 (mem2chunk_check): Revert my previous change.
6234 2014-12-11 Roland McGrath <roland@hack.frob.com>
6236 * sysdeps/posix/shm-directory.c: New file.
6237 * sysdeps/posix/shm-directory.h: New file.
6238 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
6239 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
6240 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
6241 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
6242 Transmute EPERM to EACCES.
6243 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
6245 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
6246 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
6248 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6250 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
6251 pointer and cast to uintptr_t.
6252 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
6253 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
6254 Add cast to avoid warning.
6255 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
6257 2014-12-11 Joseph Myers <joseph@codesourcery.com>
6259 * nptl/semaphore.h: Move to ...
6260 * sysdeps/pthread/semaphore.h: ... here.
6261 * Makefile (installed-headers): Change nptl/semaphore.h to
6262 sysdeps/pthread/semaphore.h.
6264 2014-12-11 Roland McGrath <roland@hack.frob.com>
6266 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
6267 generated error format strings.
6269 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
6270 -Wformat-extra-args warnings for scanf formats.
6271 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
6272 test of zero-length format (duh).
6273 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
6274 corner-case scanf format test.
6275 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
6276 generated fprintf format string.
6277 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
6278 corner-case sprintf format tests.
6279 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
6280 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
6281 -Wformat-extra-args warnings throughout.
6282 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
6283 (CFLAGS-scanf4.c): Likewise.
6284 (CFLAGS-scanf7.c): Likewise.
6285 (CFLAGS-tst-sprintf.c): Likewise.
6286 (CFLAGS-tst-printf.c): Likewise.
6287 (CFLAGS-tst-printfsz.c): Likewise.
6289 2014-12-11 Joseph Myers <joseph@codesourcery.com>
6291 * include/cpio.h: New file.
6292 * include/fmtmsg.h: Likewise.
6294 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
6295 corresponding format argument to size_t.
6296 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
6298 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
6299 corresponding format argument to size_t.
6300 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
6302 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
6303 corresponding format argument to size_t.
6304 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
6305 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
6306 (CFLAGS-tst-mbswcs2.c): Likewise.
6307 (CFLAGS-tst-mbswcs3.c): Likewise.
6308 (CFLAGS-tst-mbswcs4.c): Likewise.
6309 (CFLAGS-tst-mbswcs5.c): Likewise.
6310 (CFLAGS-tst-trans.c): Likewise
6312 2014-12-11 Roland McGrath <roland@hack.frob.com>
6314 * posix/regexbug1.c (main): Use "%s" format with regerror results,
6315 rather than assuming they won't contain any '%'s.
6317 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
6319 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
6320 inhibit_loop_to_libcall to avoid recursive calls.
6321 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
6322 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
6324 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
6326 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
6329 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
6331 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
6332 integer value instead of boolean.
6334 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
6336 * malloc/malloc.c: Fix powerof2 check.
6338 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6340 * locale/programs/locfile.h (maybe_swap_uint32):
6341 Remove inline and add unused attribute.
6343 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6345 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6346 Truncating assembler expression to a .long expression.
6348 2014-12-11 Andreas Schwab <schwab@suse.de>
6350 * elf/rtld.c (struct map_args): Constify str member.
6351 (do_preload): Constify fname argument.
6353 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6355 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
6356 constants definition.
6358 2014-12-11 Andreas Schwab <schwab@suse.de>
6361 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
6362 FORCE_ELISION instead of DO_ELISION.
6363 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
6365 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
6368 * iconvdata/gconv-modules: Remove duplicate entry.
6370 2014-12-11 Will Newton <will.newton@linaro.org>
6372 Merge gettext 0.19.3 into intl/.
6374 This involves a number of cosmetic changes to comments
6375 and ANSI function definitions and prototypes throughout
6376 all the files. The gettext copyright header is used but
6377 with the date ranges taken from the glibc copy.
6379 * NEWS: Add gettext merge to 2.21.
6380 * intl/bindtextdom.c: Switch to gettext copyright.
6381 Use ANSI definitions and prototypes.
6382 Use gl_* locking primitives rather than __libc_* ones.
6383 Use __builtin_expect rather than __glibc_likely/unlikely.
6384 * intl/dcgettext.c: Switch to gettext copyright.
6385 Use ANSI definitions and prototypes.
6386 * intl/dcigettext.c: Switch to gettext copyright.
6387 Use ANSI definitions and prototypes.
6388 (INTDIV0_RAISES_SIGFPE): New define.
6389 Use gl_* locking primitives rather than __libc_* ones.
6390 Include eval-plural.h instead of plural-eval.c.
6391 Use __builtin_expect rather than __glibc_likely/unlikely.
6392 * intl/dcngettext.c: Switch to gettext copyright.
6393 Use ANSI definitions and prototypes.
6394 * intl/dgettext.c: Likewise.
6395 * intl/dngettext.c: Likewise.
6396 * intl/plural-eval.c: Renamed to...
6397 * intl/eval-plural.h: ...this.
6398 * intl/explodename.c: Switch to gettext copyright.
6399 Use ANSI definitions and prototypes.
6400 (_nl_explode_name): Use strchr instead of __rawmemchr.
6401 * intl/finddomain.c: Switch to gettext copyright.
6402 Use ANSI definitions and prototypes.
6403 Use gl_* locking primitives rather than __libc_* ones.
6404 (_nl_find_domain): Use malloc rather than alloca for
6405 allocation of temporary locale name.
6406 * intl/gettext.c: Switch to gettext copyright.
6407 Use ANSI definitions and prototypes.
6408 * intl/gettextP.h: Switch to gettext copyright.
6409 Use ANSI definitions and prototypes.
6410 Use gl_* locking primitives rather than __libc_* ones.
6411 * intl/gmo.h: Switch to gettext copyright.
6412 (struct sysdep_string): Move struct segment_pair outside of
6414 * intl/hash-string.c: Use ANSI definitions and prototypes.
6415 * intl/hash-string.h: Switch to gettext copyright.
6416 Use ANSI definitions and prototypes.
6417 * intl/l10nflist.c: Switch to gettext copyright.
6418 Use ANSI definitions and prototypes.
6419 (_nl_normalize_codeset): Avoid integer overflow.
6420 * intl/loadinfo.h: Switch to gettext copyright.
6421 Use ANSI definitions and prototypes.
6422 (LIBINTL_DLL_EXPORTED): New define.
6423 (PATH_SEPARATOR): New define.
6424 * intl/loadmsgcat.c: Switch to gettext copyright.
6425 * intl/localealias.c: Switch to gettext copyright.
6426 Use ANSI definitions and prototypes.
6427 (_nl_expand_alias): Use PATH_SEPARATOR.
6428 * intl/ngettext.c: Switch to gettext copyright.
6429 Use ANSI definitions and prototypes.
6430 * intl/plural-exp.c: Likewise.
6431 * intl/plural-exp.h: Switch to gettext copyright.
6432 Use ANSI definitions and prototypes.
6433 (struct expression): Move definition of enum operator outside
6434 of struct definition.
6435 * intl/plural.c: Regenerate.
6436 * intl/plural.y: Switch to gettext copyright.
6437 Use ANSI definitions and prototypes.
6439 * intl/textdomain.c: Switch to gettext copyright.
6440 Use ANSI definitions and prototypes.
6441 Use gl_* locking primitives rather than __libc_* ones.
6443 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
6445 * debug/warning-nop.c: Add used atrribute.
6447 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6449 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
6451 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
6452 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
6453 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
6455 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6456 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6459 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
6460 Undefine after defining function. Define as weak alias of
6461 __wcschr. Use libc_hidden_weak.
6462 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
6463 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
6464 (libc_hidden_def): Also define __GI___wcschr alias.
6465 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
6466 __wcschr and define as weak alias of __wcschr.
6467 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
6469 [!WCSCHR] (DEFAULT_WCSCHR): Define.
6470 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
6471 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
6472 libc_hidden_weak. Do not use libc_hidden_def.
6473 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
6474 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
6475 __GI___wcschr alias.
6476 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
6477 [IS_IN (libc)] (wcschr): Define as macro expanding to
6479 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
6480 [IS_IN (libc)] (__wcschr_power6): Likewise.
6481 [IS_IN (libc)] (__wcschr_power7): Likewise.
6482 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
6484 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
6486 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
6487 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
6488 __wcschr and define as weak alias of __wcschr. Use
6489 libc_hidden_builtin_def.
6490 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
6491 as weak alias of __wcschr. Use libc_hidden_weak.
6492 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
6494 * time/era.c (_nl_init_era_entries): Likewise.
6495 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
6497 (test-xfail-XPG3/time.h/linknamespace): Likewise.
6498 (test-xfail-XPG4/time.h/linknamespace): Likewise.
6500 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6502 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
6503 format for long int variable.
6505 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
6508 * manual/search.texi: (Array Sort Function): Remove claim how to make
6511 2014-12-10 Andreas Schwab <schwab@suse.de>
6514 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
6515 user-controlled locks.
6517 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
6519 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
6522 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6524 * configure.ac (--disable-werror): New configure option.
6525 (enable_werror): New AC_SUBST.
6526 * configure: Regenerated.
6527 * config.make.in (enable-werror): New variable.
6528 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
6530 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
6531 * manual/install.texi (Configuring and compiling): Document
6533 * INSTALL: Regenerated.
6534 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
6535 (CFLAGS-tst-chk2.c): Likewise.
6536 (CFLAGS-tst-chk3.c): Likewise.
6537 (CFLAGS-tst-chk4.cc): Likewise.
6538 (CFLAGS-tst-chk5.cc): Likewise.
6539 (CFLAGS-tst-chk6.cc): Likewise.
6540 (CFLAGS-tst-lfschk1.c): Likewise.
6541 (CFLAGS-tst-lfschk2.c): Likewise.
6542 (CFLAGS-tst-lfschk3.c): Likewise.
6543 (CFLAGS-tst-lfschk4.cc): Likewise.
6544 (CFLAGS-tst-lfschk5.cc): Likewise.
6545 (CFLAGS-tst-lfschk6.cc): Likewise.
6547 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
6548 (main): Disable -Wdeprecated-declarations around calls to
6549 register_printf_function.
6551 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
6552 (do_test): Disable -Wdiv-by-zero around some calls to
6553 fwrite_unlocked and fread_unlocked.
6555 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
6556 (DIAG_POP_NEEDS_COMMENT): Likewise.
6557 (_DIAG_STR1): Likewise.
6558 (_DIAG_STR): Likewise.
6559 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
6560 * stdio-common/bug21.c: Include <libc-internal.h>.
6561 (do_test): Disable -Wformat around call to sscanf.
6562 * stdio-common/scanf14.c: Include <libc-internal.h>.
6563 (main): Disable -Wformat around some calls to scanf functions.
6565 2014-12-09 Torvald Riegel <triegel@redhat.com>
6567 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
6569 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6571 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
6572 stack variable alignment.
6574 2014-12-06 Joseph Myers <joseph@codesourcery.com>
6577 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
6578 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
6579 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
6580 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
6581 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
6582 __getrlimit instead of getrlimit.
6583 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
6584 __gettimeofday instead of gettimeofday.
6585 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6587 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
6589 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6590 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
6592 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6593 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6595 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6597 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
6598 for wide-character tests.
6600 2014-12-04 Roland McGrath <roland@hack.frob.com>
6602 * io/openat64.c: #include <libc-internal.h>
6603 (__openat64): Prototypify. Use ignore_value on MODE.
6604 * io/openat.c: Likewise.
6605 * misc/reboot.c: #include <libc-internal.h>
6606 (reboot): Prototypify. Use ignore_value on HOWTO.
6607 * misc/ptrace.c: #include <libc-internal.h>
6608 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
6610 2014-12-04 Joseph Myers <joseph@codesourcery.com>
6612 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
6613 XPG4, UNIX98 and XOPEN2K.
6614 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
6616 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6618 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6620 * libio/fileops.c: Use ISO C style for function definitions.
6621 * libio/iofopen.c: Likewise.
6622 * libio/wfileops.c: Likewise.
6625 * libio/fileops.c (_IO_new_file_underflow): Unset cached
6627 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
6628 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
6629 (fgets_func): Function pointer to fgets and fgetws.
6630 (do_ftell_test): Add test to verify ftell value after read
6632 (do_test): Set fgets_func.
6634 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
6635 O_TRUNC flag for w and w+ modes.
6636 (do_rewind_test): Likewise.
6637 (do_ftell_test): Likewise.
6638 (do_write_test): Likewise.
6641 * libio/fileops.c (do_ftell): Seek only when there are
6643 * libio/wfileops.c (do_ftell_wide): Likewise.
6644 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
6646 (do_one_test): Call it.
6648 2014-12-03 Joseph Myers <joseph@codesourcery.com>
6650 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
6651 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
6652 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
6654 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6655 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6656 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6658 2014-12-02 Joseph Myers <joseph@codesourcery.com>
6660 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
6662 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6665 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
6666 as weak alias of __getifaddrs. Use libc_hidden_weak.
6667 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6668 __freeifaddrs. Use libc_hidden_weak.
6669 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
6670 define as weak alias of __getifaddrs. Use libc_hidden_weak.
6671 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6672 __freeifaddrs. Use libc_hidden_weak.
6673 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
6674 __getifaddrs and define as weak alias of __getifaddrs. Use
6676 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6677 __freeifaddrs. Use libc_hidden_weak.
6678 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
6680 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6681 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6683 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
6686 * sysdeps/mips/start.S (__start): Use indirect jump to call
6689 2014-12-02 Joseph Myers <joseph@codesourcery.com>
6691 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
6693 * nptl/tst-mutex1.c: Include <stdbool.h>.
6694 [!ATTR] (ATTR_NULL): New macro.
6695 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
6696 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
6697 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
6699 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
6703 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
6704 Change conditional to [__USE_MISC].
6707 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
6709 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
6711 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
6713 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
6715 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6716 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6717 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6718 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6719 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6720 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6721 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6722 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6723 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6725 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
6727 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6729 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6730 Remove strpbrk objects.
6731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6732 (__libc_ifunc_impl_list): Remove strpbrk implementation.
6733 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
6734 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
6735 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
6736 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
6738 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6739 Remove strcspn objects.
6740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6741 (__libc_ifunc_impl_list): Remove strcspn implementation.
6742 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
6743 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
6744 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
6745 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
6747 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6748 Remove strspn objetcs.
6749 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6750 (__libc_ifunc_impl_list): Remove strspn implementation.
6751 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
6752 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6753 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
6754 * sysdeps/powerpc/powerpc64/strspn.S: New file.
6756 2014-12-01 James Lemke <jwlemke@codesourcery.com>
6760 (mem2mem_check): Add a terminator to the chain of checking blocks.
6761 (malloc_check_get_size): Use it here.
6762 (mem2chunk_check): Ditto.
6764 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6766 * sysdeps/powerpc/powerpc64/strtok.S: New file.
6767 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
6769 2014-11-29 Carlos O'Donell <carlos@redhat.com>
6771 * bits/ioctl-types.h: Indent preprocessor directives correctly.
6773 * nptl/nptl-init.c: Include libc-internal.h.
6774 (__pthread_initialize_minimal_internal): Use ROUND_UP.
6776 * elf/ldconfig.c (search_dir): Expand comment.
6778 2014-11-29 Joseph Myers <joseph@codesourcery.com>
6780 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
6782 (linknamespace-symlist-stdlibs-tests): Likewise.
6783 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
6784 instead of $(objpfx)symlist-stdlibs.
6785 (linknamespace-libs-isoc): New variable.
6786 (linknamespace-libs): Use $(linknamespace-libs-isoc).
6787 (linknamespace-libs-ISO): New variable.
6788 (linknamespace-libs-ISO99): Likewise.
6789 (linknamespace-libs-ISO11): Likewise.
6790 (linknamespace-libs-XPG3): Likewise.
6791 (linknamespace-libs-XPG4): Likewise.
6792 (linknamespace-libs-POSIX): Likewise.
6793 (linknamespace-libs-UNIX98): Likewise.
6794 (linknamespace-libs-XOPEN2K): Likewise.
6795 (linknamespace-libs-POSIX2008): Likewise.
6796 (linknamespace-libs-XOPEN2K8): Likewise.
6797 ($(objpfx)symlist-stdlibs): Replace by
6798 $(linknamespace-symlist-stdlibs-tests). Use
6799 $(linknamespace-libs-$*) as set of libraries.
6800 ($(linknamespace-header-tests)): Update dependencies. Use
6801 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
6802 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
6803 * conform/linknamespace.pl: Remove comment about considering
6804 definitions of symbols from irrelevant libraries.
6806 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
6809 * elf/dl-tls.c: Include <atomic.h>.
6810 (oom): Remove #ifdef SHARED/#endif.
6811 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
6812 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
6813 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
6815 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
6816 * nptl/Makefile (tests): Add tst-stack4.
6817 (modules-names): Add tst-stack4mod.
6818 ($(objpfx)tst-stack4): New.
6819 (tst-stack4mod.sos): Likewise.
6820 ($(objpfx)tst-stack4.out): Likewise.
6821 ($(tst-stack4mod.sos)): Likewise.
6823 * nptl/tst-stack4.c: New file.
6824 * nptl/tst-stack4mod.c: Likewise.
6826 2014-11-27 J. Brown <jb999@gmx.de>
6828 * sysdeps/x86/bits/string.h: Add recent CPUs.
6830 2014-11-27 Joseph Myers <joseph@codesourcery.com>
6832 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
6835 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
6838 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
6841 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
6843 * nscd/connections.c: Include libc-internal.h because of macro
6846 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6848 * string/bits/string3.h (__warn_memset_zero_len): Don't
6849 declare for gcc newer than 5.0.
6850 (memset): Don't test for zero-length __LEN for gcc newer than
6853 2014-11-27 Joseph Myers <joseph@codesourcery.com>
6855 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
6856 size_t for %zu format.
6858 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
6859 difference, not %ju.
6861 2014-11-26 Joseph Myers <joseph@codesourcery.com>
6863 * include/libc-internal.h (ignore_value): New macro.
6864 * nscd/connections.c (restart): Wrap calls to setuid and setgid
6867 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
6870 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
6871 pthread_cleanup_push to void *.
6873 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
6878 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
6879 instead of 1L << 52.
6881 * libio/bug-rewind.c (do_test): Check fwscanf return values.
6882 * libio/bug-rewind2.c (do_test): Likewise.
6884 * debug/test-stpcpy_chk-ifunc.c: Remove file.
6885 * debug/test-strcpy_chk-ifunc.c: Likewise.
6886 * wcsmbs/test-wcschr-ifunc.c: Likewise.
6887 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6888 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6889 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6890 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6891 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6892 * Rules [$(multi-arch) = no] (tests): Do not filter out
6894 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
6895 * debug/Makefile (tests-ifunc): Remove variable.
6896 (tests): Do not add $(tests-ifunc).
6897 * wcsmbs/Makefile (tests-ifunc): Remove variable.
6898 (tests): Do not add $(tests-ifunc).
6899 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
6900 [TEST_IFUNC]: Remove conditionals.
6901 * string/test-string.h (TEST_IFUNC): Remove macro.
6902 [TEST_IFUNC]: Remove conditionals.
6904 * string/test-strchr.c [!WIDE] (L): New macro.
6905 [WIDE] (L): Likewise.
6906 (check1): Use CHAR instead of char. Use L on string and character
6909 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
6911 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
6913 * sysdeps/powerpc/bits/atomic.h
6914 (__arch_atomic_exchange_and_add_32_acq): Add definition.
6915 (__arch_atomic_exchange_and_add_32_rel): Likewise.
6916 (atomic_exchange_and_add_acq): Likewise.
6917 (atomic_exchange_and_add_rel): Likewise.
6918 * sysdeps/powerpc/powerpc32/bits/atomic.h
6919 (__arch_atomic_exchange_and_add_64_acq): Add definition.
6920 (__arch_atomic_exchange_and_add_64_rel): Likewise.
6921 * sysdeps/powerpc/powerpc64/bits/atomic.h
6922 (__arch_atomic_exchange_and_add_64_acq): Add definition.
6923 (__arch_atomic_exchange_and_add_64_rel): Likewise.
6925 2014-11-26 Torvald Riegel <triegel@redhat.com>
6927 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
6928 Change synchronization of __sched_fifo_min_prio and
6929 __sched_fifo_max_prio.
6930 * nptl/pthread_mutexattr_getprioceiling.c
6931 (pthread_mutexattr_getprioceiling): Likewise.
6932 * nptl/pthread_mutexattr_setprioceiling.c
6933 (pthread_mutexattr_setprioceiling): Likewise.
6934 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
6935 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6938 2014-11-26 Joseph Myers <joseph@codesourcery.com>
6940 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
6943 2014-11-25 Joseph Myers <joseph@codesourcery.com>
6945 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
6946 third argument const.
6948 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
6950 fnmatch: work around GCC compiler warning bug with uninit var
6951 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
6952 This works around a bug with x86-64 GCC 4.9.2 and earlier
6953 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
6954 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
6955 used uninitialized in this function [-Wmaybe-uninitialized]".
6957 2014-11-25 Joseph Myers <joseph@codesourcery.com>
6959 * posix/bug-regex31.c (main): Return RES not 0.
6961 2014-11-25 Anton Blanchard <anton@samba.org>
6963 * sysdeps/powerpc/bits/atomic.h
6964 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
6966 2014-11-24 Sterling Augustine <saugustine@google.com>
6968 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
6970 2014-11-24 Ryan Cumming <etaoins@gmail.com>
6973 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
6975 2014-11-24 Joseph Myers <joseph@codesourcery.com>
6978 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
6979 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
6981 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6982 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6984 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
6986 * string/strncpy.c (strncpy): Improve performance by using memset.
6988 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
6990 * string/strcpy.c (strcpy):
6991 Improve performance by using strlen and memcpy.
6993 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
6995 * string/strcoll_l.c (get_next_seq): __always_inline.
6996 * string/strcoll_l.c (do_compare): __always_inline.
6998 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7000 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
7002 * include/mqueue.h: Likewise.
7003 * include/stdlib.h: Likewise.
7005 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
7006 (get_null_defines): Adjust.
7007 * sunrpc/Makefile: Adjust comment.
7008 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
7009 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
7010 (CFLAGS-interp.c): Likewise.
7011 (CFLAGS-ldconfig.c): Likewise.
7012 (CPPFLAGS-.os): Likewise.
7013 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7014 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7015 * extra-modules.mk (extra-modules.mk): Likewise.
7016 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
7017 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
7018 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
7019 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
7020 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
7021 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
7022 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
7023 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
7024 * iconvdata/Makefile (CPPFLAGS): Likewise.
7025 (cpp-srcs-left): Add libof for all iconvdata routines.
7026 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
7027 * include/assert.h: Likewise.
7028 * include/ctype.h: Likewise.
7029 * include/errno.h: Likewise.
7030 * include/libc-symbols.h: Likewise.
7031 * include/math.h: Likewise.
7032 * include/netdb.h: Likewise.
7033 * include/resolv.h: Likewise.
7034 * include/stdio.h: Likewise.
7035 * include/stdlib.h: Likewise.
7036 * include/string.h: Likewise.
7037 * include/sys/stat.h: Likewise.
7038 * include/wctype.h: Likewise.
7039 * intl/l10nflist.c: Likewise.
7040 * libidn/idn-stub.c: Likewise.
7041 * libio/libioP.h: Likewise.
7042 * nptl/libc_multiple_threads.c: Likewise.
7043 * nptl/pthreadP.h: Likewise.
7044 * posix/regex_internal.h: Likewise.
7045 * resolv/res_hconf.c: Likewise.
7046 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
7047 * sysdeps/arm/memmove.S: Likewise.
7048 * sysdeps/arm/sysdep.h: Likewise.
7049 * sysdeps/generic/_itoa.h: Likewise.
7050 * sysdeps/generic/symbol-hacks.h: Likewise.
7051 * sysdeps/gnu/errlist.awk: Likewise.
7052 * sysdeps/gnu/errlist.c: Likewise.
7053 * sysdeps/i386/i586/memcpy.S: Likewise.
7054 * sysdeps/i386/i586/memset.S: Likewise.
7055 * sysdeps/i386/i686/memcpy.S: Likewise.
7056 * sysdeps/i386/i686/memmove.S: Likewise.
7057 * sysdeps/i386/i686/mempcpy.S: Likewise.
7058 * sysdeps/i386/i686/memset.S: Likewise.
7059 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7060 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7061 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
7062 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
7063 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7064 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7065 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
7066 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7067 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7068 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7069 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7070 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7071 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7072 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7073 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7074 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7075 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
7076 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
7077 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
7078 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7079 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7080 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7081 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7082 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7083 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7084 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7085 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
7086 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7087 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
7088 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7089 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7090 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7091 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7092 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7093 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7094 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7095 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7096 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7097 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7098 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7099 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7100 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7101 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7102 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7103 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7104 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7105 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
7106 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
7107 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7108 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7109 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7110 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
7111 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
7112 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7113 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7114 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
7115 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7116 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
7117 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
7118 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7119 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7120 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7121 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
7122 * sysdeps/nptl/bits/libc-lock.h: Likewise.
7123 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7124 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
7125 * sysdeps/posix/closedir.c: Likewise.
7126 * sysdeps/posix/opendir.c: Likewise.
7127 * sysdeps/posix/readdir.c: Likewise.
7128 * sysdeps/posix/rewinddir.c: Likewise.
7129 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
7130 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
7131 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
7132 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7133 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7134 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
7135 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
7136 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
7137 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
7138 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
7139 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
7140 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
7141 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
7142 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
7143 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
7144 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
7145 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
7146 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
7147 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
7148 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
7149 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
7150 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
7151 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
7152 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
7153 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
7154 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
7155 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
7156 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
7157 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
7158 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
7159 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
7160 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
7161 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
7162 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
7163 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
7164 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
7165 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7166 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7167 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
7168 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
7169 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
7170 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
7171 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
7172 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
7173 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
7174 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
7175 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
7176 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
7177 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
7178 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
7179 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
7180 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
7181 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
7182 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
7183 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
7184 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
7185 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
7186 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
7187 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
7188 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
7189 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
7190 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
7191 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
7192 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
7193 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
7194 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
7195 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
7196 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
7197 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
7198 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
7199 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
7200 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
7201 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
7202 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
7203 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
7204 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
7205 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
7206 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
7207 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7208 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
7209 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
7210 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7211 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
7212 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
7213 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
7214 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
7215 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
7216 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7217 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7218 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7219 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
7220 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
7221 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
7222 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7223 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7224 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
7225 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7226 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7227 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
7228 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
7229 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7230 * sysdeps/unix/alpha/sysdep.S: Likewise.
7231 * sysdeps/unix/alpha/sysdep.h: Likewise.
7232 * sysdeps/unix/make-syscalls.sh: Likewise.
7233 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7234 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7235 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7236 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
7237 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7238 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
7239 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
7240 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7241 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7242 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
7243 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7244 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7245 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7246 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7247 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7248 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7249 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7250 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7251 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7252 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7253 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
7254 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7255 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7256 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7257 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7258 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7259 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7262 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
7263 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7264 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7265 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7266 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7267 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7268 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7269 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7270 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7271 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7272 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7273 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7274 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7275 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7276 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7277 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7278 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7279 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7280 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7281 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7282 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7283 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7284 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7285 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7286 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7287 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
7288 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7289 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7290 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7291 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
7292 * sysdeps/x86_64/memcpy.S: Likewise.
7293 * sysdeps/x86_64/memmove.c: Likewise.
7294 * sysdeps/x86_64/memset.S: Likewise.
7295 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
7296 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7297 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7298 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
7299 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7300 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7301 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7302 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7303 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7304 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7305 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7306 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7307 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
7308 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7309 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7310 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
7311 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7312 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7313 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7314 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7315 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
7316 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7317 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7318 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7319 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7320 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7321 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7322 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
7323 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7324 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7325 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
7326 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7327 * sysdeps/x86_64/strcmp.S: Likewise.
7329 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
7331 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
7332 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
7333 * elf/rtld-Rules: Likewise.
7334 * elf/setup-vdso.h: Likewise.
7335 * include/assert.h: Likewise.
7336 * include/bits/stdlib-float.h: Likewise.
7337 * include/errno.h: Likewise.
7338 * include/sys/stat.h: Likewise.
7339 * include/unistd.h: Likewise.
7340 * sysdeps/aarch64/setjmp.S: Likewise.
7341 * sysdeps/alpha/setjmp.S: Likewise.
7342 * sysdeps/arm/__longjmp.S: Likewise.
7343 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
7344 * sysdeps/arm/setjmp.S: Likewise.
7345 * sysdeps/arm/sysdep.h: Likewise.
7346 * sysdeps/generic/_itoa.h: Likewise.
7347 * sysdeps/generic/dl-sysdep.h: Likewise.
7348 * sysdeps/generic/ldsodefs.h: Likewise.
7349 * sysdeps/i386/dl-tls.h: Likewise.
7350 * sysdeps/i386/setjmp.S: Likewise.
7351 * sysdeps/m68k/setjmp.c: Likewise.
7352 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
7353 * sysdeps/mach/hurd/opendir.c: Likewise.
7354 * sysdeps/posix/getcwd.c: Likewise.
7355 * sysdeps/posix/opendir.c: Likewise.
7356 * sysdeps/posix/profil.c: Likewise.
7357 * sysdeps/powerpc/dl-procinfo.h: Likewise.
7358 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7359 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7360 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7361 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7362 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
7363 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7364 * sysdeps/s390/dl-tls.h: Likewise.
7365 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7366 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7367 * sysdeps/sh/sh3/setjmp.S: Likewise.
7368 * sysdeps/sh/sh4/setjmp.S: Likewise.
7369 * sysdeps/unix/alpha/sysdep.h: Likewise.
7370 * sysdeps/unix/arm/sysdep.S: Likewise.
7371 * sysdeps/unix/i386/sysdep.S: Likewise.
7372 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7373 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7374 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7375 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7376 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7377 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7378 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7379 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7380 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7381 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7382 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
7383 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7384 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7387 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7388 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7389 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7390 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7391 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7392 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7393 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7394 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7395 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7396 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7397 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7398 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7399 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7400 * sysdeps/x86_64/setjmp.S: Likewise.
7402 * include/math.h: Use IS_IN instead of IS_IN_libm.
7403 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
7404 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7405 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7406 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7407 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7408 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7409 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7410 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7411 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7412 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7413 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
7414 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7415 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
7416 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7417 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7418 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
7419 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
7420 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7421 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
7422 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
7423 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
7424 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
7425 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
7426 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
7427 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
7428 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
7429 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
7430 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
7431 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
7432 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7433 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
7434 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
7435 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
7440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
7442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
7444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
7446 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
7447 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
7448 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
7449 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7450 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7451 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
7454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
7455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
7456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
7457 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
7458 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
7459 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7460 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7461 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7462 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7463 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7464 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7465 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
7466 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
7467 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
7468 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
7469 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
7470 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
7471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7472 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
7474 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
7475 * nptl/pthreadP.h: Likewise.
7476 * nptl_db/structs.def: Likewise.
7477 * sysdeps/arm/sysdep.h: Likewise.
7478 * sysdeps/nptl/bits/libc-lock.h: Likewise.
7479 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7480 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
7481 * sysdeps/unix/alpha/sysdep.h: Likewise.
7482 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7483 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7484 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7485 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7486 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7487 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7488 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7489 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7490 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7491 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7492 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7493 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7494 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7495 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7498 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7499 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7500 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7501 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7502 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7503 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7504 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7505 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7506 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
7507 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7509 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
7510 * nptl/pthreadP.h: Likewise.
7511 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7512 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7513 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7514 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7515 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7516 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7517 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7518 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7519 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7520 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7521 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7522 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7527 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7528 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7529 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7530 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7531 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7532 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7533 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7534 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7536 * dlfcn/dladdr.c: Use IS_IN.
7537 * dlfcn/dladdr1.c: Likewise.
7538 * dlfcn/dlclose.c: Likewise.
7539 * dlfcn/dlerror.c: Likewise.
7540 * dlfcn/dlinfo.c: Likewise.
7541 * dlfcn/dlmopen.c: Likewise.
7542 * dlfcn/dlopen.c: Likewise.
7543 * dlfcn/dlsym.c: Likewise.
7544 * dlfcn/dlvsym.c: Likewise.
7546 * include/ifaddrs.h: Use IS_IN.
7547 * inet/check_pf.c: Likewise.
7548 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7549 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
7551 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
7553 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
7554 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
7556 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
7557 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
7560 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
7562 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
7563 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7564 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7565 * include/libc-symbols.h (IS_IN_LIB): New macro.
7566 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
7567 * include/netdb.h: Likewise.
7568 * include/stap-probe.h: Remove all uses of IN_LIB.
7570 * Makeconfig (module-cppflags-real): Define MODULE_NAME
7571 instead of IN_MODULE.
7572 * include/libc-symbols.h (IN_MODULE): Define using
7574 (PASTE_NAME, PASTE_NAME1): New macros.
7575 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
7577 (STAP_PROBE_ASM): Likewise.
7579 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
7581 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
7582 __mach_init in dlopened libc.
7584 2014-11-22 Mike Frysinger <vapier@gentoo.org>
7586 * sysdeps/arm/preconfigure.ac: Delete EABI check.
7587 * sysdeps/arm/preconfigure: Regenerate.
7589 2014-11-21 Roland McGrath <roland@hack.frob.com>
7591 * nptl/pthread_create.c (__pthread_create_2_1): Set
7592 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
7593 when copying values from IATTR into PD.
7595 2014-11-21 Will Newton <will.newton@linaro.org>
7596 Andrew Pinski <andrew.pinski@caviumnetworks.com>
7598 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
7599 Refactor inline-asm. Also add comment.
7601 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
7602 ElfW macro instead of hardcoded Elf64 types.
7603 (la_aarch64_gnu_pltenter): Likewise.
7604 * sysdeps/aarch64/dl-machine.h
7605 (elf_machine_runtime_setup): Use ElfW(Addr).
7607 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
7608 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
7609 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
7610 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
7611 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
7612 (R_AARCH64_TLS_DTPMOD64): Rename to ..
7613 (R_AARCH64_TLS_DTPMOD): This.
7614 (R_AARCH64_TLS_DTPREL64): Rename to ...
7615 (R_AARCH64_TLS_DTPREL): This.
7616 (R_AARCH64_TLS_TPREL64): Rename to ...
7617 (R_AARCH64_TLS_TPREL): This.
7618 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
7619 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
7620 R_AARCH64_TLS_TPREL64.
7621 (elf_machine_rela): Likewise.
7623 2014-11-21 Torvald Riegel <triegel@redhat.com>
7625 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
7626 by setting it to 0. 64b atomics are not supported currently.
7628 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7631 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
7632 search domain names.
7634 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7638 * resolv/res_query.c (__libc_res_nquerydomain): Retain
7640 * posix/tst-getaddrinfo5.c: New.
7641 * posix/Makefile (tests): Add it.
7643 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7647 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
7648 after parsing line but before break_if_match.
7649 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
7650 if there is a protocol mismatch.
7652 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
7654 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
7655 because the potential race is on the user-supplied stream.
7657 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7659 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
7660 string literal if not passed a buffer.
7661 * manual/job.texi (ctermid): Update reasoning, note deviation
7662 from posix, suggest mtasurace when not passed a buffer, for
7663 future non-preliminary safety notes.
7665 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7667 * manual/users.texi (cuserid): Fix MT-Safety note for the case
7668 of not passing it a buffer.
7669 Reported by Peng Haitao.
7671 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7673 * manual/Makefile ($(objpfx)stamp-summary): Require
7674 check-safety.sh to pass.
7675 * manual/check-safety.sh: Wish for verification that every
7676 @deftypefn and @deftypefun is followed by a @safety remark.
7678 2014-11-20 Roland McGrath <roland@hack.frob.com>
7680 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
7682 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
7683 PTHREAD_CANCEL_ASYNCHRONOUS.
7684 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
7687 * nptl/default-sched.h: New file.
7688 * sysdeps/unix/sysv/linux/default-sched.h: New file.
7689 * nptl/pthread_create.c: Include it.
7690 (__pthread_create_2_1): Use collect_default_sched instead of making
7691 Linux syscalls here directly.
7693 2014-11-20 Torvald Riegel <triegel@redhat.com>
7695 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
7696 __pthread_once): Use C11 atomics.
7698 2014-11-20 Torvald Riegel <triegel@redhat.com>
7700 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
7702 2014-11-20 Torvald Riegel <triegel@redhat.com>
7704 * include/atomic.h (__atomic_link_error, __atomic_check_size,
7705 atomic_thread_fence_acquire, atomic_thread_fence_release,
7706 atomic_thread_fence_seq_cst, atomic_load_relaxed,
7707 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
7708 atomic_compare_exchange_weak_relaxed,
7709 atomic_compare_exchange_weak_acquire,
7710 atomic_compare_exchange_weak_release,
7711 atomic_exchange_acquire, atomic_exchange_release,
7712 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
7713 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
7714 atomic_fetch_and_acquire,
7715 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
7717 2014-11-20 Torvald Riegel <triegel@redhat.com>
7719 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
7720 USE_ATOMIC_COMPILER_BUILTINS): Define.
7721 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
7722 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7723 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
7724 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7725 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
7726 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7727 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
7728 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7729 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
7730 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7731 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
7732 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7733 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
7734 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7735 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
7736 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7737 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7738 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7739 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7740 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7741 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
7742 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7743 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7744 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7745 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
7746 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7747 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7748 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7749 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
7750 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7751 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
7752 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7753 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
7754 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7755 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7756 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7757 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
7758 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7759 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
7760 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7762 2014-11-19 Roland McGrath <roland@hack.frob.com>
7764 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
7765 the sched_priority value here. It was already checked when the user
7766 called pthread_attr_setschedparam.
7768 * nptl/tst-bad-schedattr.c: New file.
7769 * nptl/Makefile (tests): Add it.
7771 2014-11-19 Carlos O'Donell <carlos@redhat.com>
7772 Florian Weimer <fweimer@redhat.com>
7773 Joseph Myers <joseph@codesourcery.com>
7774 Adam Conrad <adconrad@0c3.net>
7775 Andreas Schwab <schwab@suse.de>
7776 Brooks <bmoses@google.com>
7779 * wordexp-test.c (__dso_handle): Add prototype.
7780 (__register_atfork): Likewise.
7781 (__app_register_atfork): New function.
7782 (registered_forks): New global.
7783 (register_fork): New function.
7784 (test_case): Add 3 new tests for WRDE_CMDSUB.
7785 (main): Call __app_register_atfork.
7786 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
7787 fork count is non-zero fail the test.
7788 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
7790 (parse_dollars): Remove check for WRDE_NOCMD.
7791 (parse_dquote): Likewise.
7793 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7795 * Makeconfig (built-modules): List non-library modules to be
7797 (module-cppflags): Include libc-modules.h for
7798 everything except shlib-versions.v.i.
7800 (before-compile): Add libc-modules.h.
7801 ($(common-objpfx)libc-modules.h,
7802 $(common-objpfx)libc-modules.stmp): New targets.
7803 (common-generated): Add libc-modules.h and libc-modules.stmp.
7804 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
7805 * include/libc-symbols.h: Don't include libc-modules.h.
7806 * include/libc-modules.h: Remove file.
7807 * scripts/gen-libc-modules.awk: New script to generate
7809 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
7810 Depend on libc-modules.stmp.
7812 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
7814 * Makeconfig (in-module): Get value of libof set for the
7816 (CPPFLAGS): Use $(in-module).
7817 * Makerules: Don't suffix routine names for nonlib.
7818 * include/libc-modules.h: New file.
7819 * include/libc-symbols.h: Include libc-modules.h
7820 (IS_IN): New macro to replace IS_IN_* macros.
7821 * elf/Makefile: Set libof-* for each routine.
7822 * elf/rtld-Rules: Likewise.
7823 * extra-modules.mk: Likewise.
7824 * iconv/Makefile: Likewise.
7825 * iconvdata/Makefile: Likewise.
7826 * locale/Makefile: Likewise.
7827 * malloc/Makefile: Likewise.
7828 * nss/Makefile: Likewise.
7829 * sysdeps/gnu/Makefile: Likewise.
7830 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
7831 * sysdeps/unix/sysv/linux/Makefile: Likewise.
7832 * sysdeps/s390/s390-64/Makefile: Likewise.
7833 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
7834 CPPFLAGS for nscd instead of nonlib.
7836 2014-11-18 Roland McGrath <roland@hack.frob.com>
7838 * nptl/createthread.c: New file.
7840 * nptl/createthread.c: Moved ...
7841 * sysdeps/unix/sysv/linux/createthread.c: ... here.
7843 * nptl/createthread.c: Add proper top-line comment.
7844 (do_clone): Folded into ...
7845 (create_thread): ... here. Take new arguments STOPPED_START and
7846 THREAD_RAN. Always set PD->stopped_start to something here. Don't
7847 increment __nptl_threads, do event-reporting logic, do
7848 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
7849 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
7850 resource cleanup if sched_setaffinity or sched_setscheduler fails,
7851 just send SIGCANCEL.
7852 * nptl/pthread_create.c: Forward-declare create_thread before
7853 including createthread.c.
7854 (start_thread): Use new macro START_THREAD_DEFN to replace defining
7855 declaration, and new macro START_THREAD_SELF to replace argument.
7856 Remove return statement.
7857 (report_thread_creation): New function.
7858 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
7859 synchronization logic, and __nptl_nthreads increment here, around
7860 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
7861 PD->parent_cancelhandling here, before create_thread. When
7862 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
7863 __deallocate_stack, and ENOMEM translation here.
7865 2014-11-18 Joseph Myers <joseph@codesourcery.com>
7868 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
7869 (mptwo): Rename to __mptwo.
7870 (__inv): Use __mptwo instead of mptwo.
7871 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
7872 (mptwo): Rename to __mptwo.
7873 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
7874 of mpone and __mptwo instead of mptwo.
7875 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
7877 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7878 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
7879 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
7880 of mpone and __mptwo instead of mptwo.
7881 (__mpranred): Use __mpone instead of mpone.
7882 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
7884 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
7885 (test-xfail-ISO99/math.h/linknamespace): Likewise.
7886 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
7887 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
7888 (test-xfail-ISO11/math.h/linknamespace): Likewise.
7889 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
7890 (test-xfail-XPG3/math.h/linknamespace): Likewise.
7891 (test-xfail-XPG4/math.h/linknamespace): Likewise.
7892 (test-xfail-POSIX/math.h/linknamespace): Likewise.
7893 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
7894 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
7895 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
7896 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
7897 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
7898 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
7899 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
7900 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
7901 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
7902 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
7904 2014-11-18 Tom de Vries <tom@codesoucery.com>
7906 * manual/signal.texi (Primitives Interrupted by Signals): In section,
7907 replace BSD Handler xref with BSD Signal Handling.
7909 2014-11-17 Richard Henderson <rth@redhat.com>
7911 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
7912 (_FP_PACK_RAW_2): Remove.
7913 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
7914 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
7915 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
7916 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
7917 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
7918 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
7919 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
7920 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
7921 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
7922 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
7923 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
7924 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
7925 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
7926 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
7927 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
7928 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
7930 2014-11-14 Roland McGrath <roland@hack.frob.com>
7932 * signal/signal.h [__USE_MISC]
7933 (struct sigvec): Remove type.
7934 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
7935 (sigvec): Remove declaration.
7936 * sysdeps/posix/sigvec.c: Moved ...
7937 * signal/sigvec.c: ... here, replacing old file.
7938 (struct sigvec): New type, copied from old signal.h definition.
7939 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
7940 (__sigvec): Convert definition to prototype.
7941 (sigvec): Replace weak_alias with compat_symbol.
7942 * signal/Versions (libc: GLIBC_2.21): New version set.
7943 * include/signal.h: Remove __sigvec declaration.
7944 * sysdeps/unix/bsd/sigvec.c: Remove file.
7945 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
7946 * manual/signal.texi (BSD Handler): Remove subsection.
7947 Move siginterrupt up to ...
7948 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
7949 (Blocking in BSD): Fold subsection into its parent.
7950 * NEWS: Mention sigvec removal.
7952 2014-11-14 Joseph Myers <joseph@codesourcery.com>
7954 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
7955 (DLA_FMS): Make definition conditional only on [__FMA4__].
7956 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
7959 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
7960 Make definition conditional only on [PROF].
7961 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
7963 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
7964 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
7966 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
7968 * include/signal.h (__sigpause): Move declaration above call to
7970 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
7972 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
7973 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
7975 2014-11-14 David S. Miller <davem@davemloft.net>
7977 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
7978 Define before including <string/memcpy.c> and <string/mempcpy.c>.
7980 2014-11-14 Joseph Myers <joseph@codesourcery.com>
7982 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
7983 * configure: Regenerated.
7984 * manual/install.texi (Tools for Compilation): Document a
7985 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
7986 compiler verified to work.
7987 * INSTALL: Regenerated.
7989 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
7990 redeclare with asm name.
7991 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
7992 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
7993 including <string.h>.
7994 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7995 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
7996 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7997 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
7998 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7999 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8000 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8002 2014-11-13 Joseph Myers <joseph@codesourcery.com>
8004 * stdlib/strtol.c (__strtol): Use prototype definition.
8007 * stdlib/strtol.c (SYM__): New macro.
8009 (__strtol): Likewise.
8010 (strtol): Rename to __strtol and define as weak alias of
8011 __strtol. Use libc_hidden_weak.
8013 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8015 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
8016 Use numbered labels in inline assembly.
8018 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8020 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
8021 Add setjmp LIBC_PROBE.
8022 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
8024 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
8025 Add longjmp, longjmp_target LIBC_PROBE.
8026 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
8029 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8031 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8032 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
8033 to get rid of unused variable warning.
8035 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8037 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
8038 Check for unwind_backtrace == NULL only in SHARED case.
8039 (__backchain_backtrace): Compile only in SHARED case.
8040 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
8042 (__backchain_backtrace): Declare as static.
8044 2014-11-12 Roland McGrath <roland@hack.frob.com>
8046 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
8047 (__libc_multiple_threads_ptr): Variable moved ...
8048 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
8050 2014-11-12 Joseph Myers <joseph@codesourcery.com>
8052 * conform/GlibcConform.pm: New file.
8053 * conform/conformtest.pl: Use GlibcConform module.
8054 * conform/linknamespace.pl: New file.
8055 * conform/list-header-symbols.pl: Likewise.
8056 * conform/Makefile (linknamespace-symlists-base): New variable.
8057 (linknamespace-symlists-tests): Likewise.
8058 (linknamespace-header-base): Likewise.
8059 (linknamespace-header-tests): Likewise.
8060 (tests-special): Add new tests.
8061 ($(linknamespace-symlists-tests)): New rule.
8062 (linknamespace-libs): New variable.
8063 ($(objpfx)symlist-stdlibs): New rule.
8064 ($(linknamespace-header-tests)): Likewise.
8065 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
8066 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
8067 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
8068 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
8069 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
8070 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
8071 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
8072 (test-xfail-ISO/math.h/linknamespace): Likewise.
8073 (test-xfail-ISO/signal.h/linknamespace): Likewise.
8074 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
8075 (test-xfail-ISO/time.h/linknamespace): Likewise.
8076 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8077 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
8078 (test-xfail-ISO99/math.h/linknamespace): Likewise.
8079 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8080 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8081 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8082 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8083 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8084 (test-xfail-ISO11/math.h/linknamespace): Likewise.
8085 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8086 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8087 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8088 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8089 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
8090 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
8091 (test-xfail-XPG3/math.h/linknamespace): Likewise.
8092 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
8093 (test-xfail-XPG3/search.h/linknamespace): Likewise.
8094 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
8095 (test-xfail-XPG3/time.h/linknamespace): Likewise.
8096 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
8097 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
8098 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8099 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
8100 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
8101 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
8102 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
8103 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
8104 (test-xfail-XPG4/math.h/linknamespace): Likewise.
8105 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
8106 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8107 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
8108 (test-xfail-XPG4/search.h/linknamespace): Likewise.
8109 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
8110 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
8111 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
8112 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
8113 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
8114 (test-xfail-XPG4/time.h/linknamespace): Likewise.
8115 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
8116 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
8117 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
8118 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
8119 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
8120 (test-xfail-POSIX/math.h/linknamespace): Likewise.
8121 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
8122 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
8123 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
8124 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8125 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
8126 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8127 (test-xfail-POSIX/time.h/linknamespace): Likewise.
8128 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
8129 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
8130 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8131 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8132 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
8133 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
8134 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
8135 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8136 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8137 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8138 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
8139 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
8140 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8141 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8142 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
8143 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8144 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8145 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
8146 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
8147 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
8148 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8149 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8150 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
8151 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8152 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
8153 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
8154 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
8155 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
8156 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8157 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
8158 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
8159 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
8160 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
8161 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
8162 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8163 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8164 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8165 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
8166 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
8167 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
8168 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8169 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
8170 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8171 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8172 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
8173 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
8174 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
8175 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8176 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8177 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
8178 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
8179 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8180 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8181 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
8182 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
8183 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
8184 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
8185 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8186 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8187 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
8188 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8189 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
8190 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8191 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8192 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8193 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
8194 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8195 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
8196 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
8197 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8198 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8199 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8200 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8201 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8202 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
8203 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8204 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8205 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8206 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8207 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
8208 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
8209 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8210 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8211 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8212 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8213 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
8214 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8215 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
8216 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
8217 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8218 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8219 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8220 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8221 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8222 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
8223 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8224 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8225 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
8228 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
8232 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
8233 (memmem): Rename to __memmem and define as weak alias of
8234 __memmem. Use libc_hidden_weak.
8235 (__memmem): Use libc_hidden_def.
8236 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
8237 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
8241 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
8242 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
8243 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
8244 and define as weak alias of __fgets_unlocked. Use
8246 (__fgets_unlocked): Use libc_hidden_def.
8247 * include/stdio.h (__fgets_unlocked): Declare. Use
8249 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
8250 __fgets_unlocked instead of fgets_unlocked.
8251 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
8252 (GET_NPROCS_CONF_PARSER): Likewise.
8253 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
8254 (GET_NPROCS_CONF_PARSER): Likewise.
8257 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
8258 weak alias of __wmemset. Use libc_hidden_weak.
8259 (__wmemset): Use libc_hidden_def.
8260 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
8261 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
8265 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
8266 with asm name __mempcpy.
8267 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
8270 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
8271 and define as weak alias of __rawmemchr.
8272 (__rawmemchr): Do not define as strong alias of rawmemchr.
8275 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
8277 (qsort): Call __qsort_r instead of qsort_r.
8278 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
8279 (__qsort_r): Declare. Call libc_hidden_proto.
8280 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
8282 * nscd/gai.c (__qsort_r): Define to qsort_r.
8283 * posix/tst-rfc3484.c (__qsort_r): Likewise.
8284 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
8285 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
8288 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
8289 define as weak alias of __malloc_info.
8292 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
8293 as weak alias of __rewinddir. Don't use libc_hidden_def.
8294 (__rewinddir): Use libc_hidden_def.
8295 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
8296 as weak alias of __rewinddir. Don't use libc_hidden_def.
8297 (__rewinddir): Use libc_hidden_def.
8298 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
8299 weak alias of __rewinddir. Don't use libc_hidden_def.
8300 (__rewinddir): Use libc_hidden_def.
8301 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
8302 (__rewinddir): Use libc_hidden_proto.
8303 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
8305 (__getcwd): Use __rewinddir instead of rewinddir.
8308 * libio/fileno.c (fileno): Rename to __fileno and define as weak
8309 alias of __fileno. Use libc_hidden_weak.
8310 (__fileno): Use libc_hidden_def.
8311 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
8312 * libio/ftello.c (ftello): Rename to __ftello and define as weak
8314 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
8316 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
8317 (__fread_unlocked): Define as strong alias of _IO_fread. Use
8319 (fread_unlocked): Don't use libc_hidden_ver.
8320 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
8321 and define as weak alias of __fread_unlocked. Don't use
8323 (__fread_unlocked): Use libc_hidden_def.
8324 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
8325 (ftello): Don't use libc_hidden_proto.
8326 (__ftello): Declare. Use libc_hidden_proto.
8327 (fread_unlocked): Don't use libc_hidden_proto.
8328 (__fread_unlocked): Declare. Use libc_hidden_proto.
8329 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
8330 and __ftello instead of fileno, fread_unlocked and ftello.
8332 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8334 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
8336 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8338 (_dl_start_user): Likewise.
8339 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
8341 2014-11-12 Carlos O'Donell <carlos@redhat.com>
8342 Siddhesh Poyarekar <siddhesh@redhat.com>
8344 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
8345 Move argv and envp down instead of moving argc up.
8346 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
8348 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
8351 * test-skeleton.c (main): Return successful if one of
8352 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
8353 * string/tst-strcoll-overflow.c: Define expected status.
8355 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
8358 * locale/iso-639.def: Define Bhili and Tulu language codes.
8360 2014-11-11 Alan Hayward <alan.hayward@arm.com>
8362 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
8364 2014-11-10 Renlin Li <Renlin.Li@arm.com>
8367 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
8369 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
8371 * configure.ac: Updated check of minimal required version to
8373 * manual/install.texi (Tools for Compilation): Updated version
8375 * configure: Regenerated.
8376 * INSTALL: Likewise.
8378 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
8380 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
8383 2014-11-07 Joseph Myers <joseph@codesourcery.com>
8385 * include/sys/wait.h (__libc_waitpid): Remove declaration.
8386 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
8387 (__waitpid): Don't define as alias. Use libc_hidden_def not
8389 (waitpid): Define as alias of __waitpid.
8390 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
8392 (__waitpid): Don't define as alias. Use libc_hidden_def not
8394 (waitpid): Define as alias of __waitpid.
8395 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
8396 __libc_waitpid alias.
8397 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
8398 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
8400 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
8401 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
8402 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
8404 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
8406 (__waitpid): Don't define as alias. Use libc_hidden_def not
8408 (waitpid): Define as alias of __waitpid.
8410 2014-11-06 Carlos O'Donell <carlos@redhat.com>
8412 * manual/llio.texi: Add comment that write safety has been
8415 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
8416 (localplt-build-dso): Add elf/ld.so.
8417 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
8418 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
8420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
8421 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
8422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
8424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8426 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
8427 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
8428 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
8429 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
8430 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
8431 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
8432 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
8433 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
8434 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8435 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
8436 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
8438 2014-11-05 Joseph Myers <joseph@codesourcery.com>
8441 * include/libc-symbols.h (INTUSE): Remove macro.
8443 (INTVARDEF): Likewise.
8444 (_INTVARDEF): Likewise.
8445 (INTDEF2): Likewise.
8446 (INTVARDEF2): Likewise.
8447 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
8448 rtld_hidden_def instead of INTVARDEF.
8449 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
8450 (_dl_starting_up_internal): Remove declaration.
8451 (_dl_starting_up): Use rtld_hidden_proto.
8452 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
8454 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
8455 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
8457 * elf/dl-writev.h (_dl_writev): Likewise.
8458 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
8459 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
8460 _dl_starting_up_internal.
8462 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8464 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
8467 2014-11-05 Will Newton <will.newton@linaro.org>
8469 * benchtests/Makefile: (bench-malloc): Add malloc thread
8470 scalability benchmark.
8471 * benchtests/bench-malloc-threads.c: New file.
8473 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
8475 * sysdeps/aarch64/strchrnul.S: New file.
8477 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8479 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
8481 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8483 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8485 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8487 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8489 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8492 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
8494 * catgets/test-gencat.c: Use test-skeleton.c.
8495 * catgets/tst-catgets.c: Likewise.
8496 * csu/tst-empty.c: Likewise.
8497 * elf/tst-audit2.c: Likewise.
8498 * elf/tst-global1.c: Likewise.
8499 * elf/tst-pathopt.c: Likewise.
8500 * elf/tst-piemod1.c: Likewise.
8501 * elf/tst-tls10.c: Likewise.
8502 * elf/tst-tls11.c: Likewise.
8503 * elf/tst-tls12.c: Likewise.
8504 * gnulib/tst-gcc.c: Likewise.
8505 * iconvdata/tst-e2big.c: Likewise.
8506 * iconvdata/tst-loading.c: Likewise.
8507 * iconv/tst-iconv1.c: Likewise.
8508 * iconv/tst-iconv2.c: Likewise.
8509 * inet/test-inet6_opt.c: Likewise.
8510 * inet/tst-gethnm.c: Likewise.
8511 * inet/tst-network.c: Likewise.
8512 * inet/tst-ntoa.c: Likewise.
8513 * intl/tst-codeset.c: Likewise.
8514 * intl/tst-gettext2.c: Likewise.
8515 * intl/tst-gettext3.c: Likewise.
8516 * intl/tst-ngettext.c: Likewise.
8517 * intl/tst-translit.c: Likewise.
8518 * io/test-stat.c: Likewise.
8519 * libio/test-fmemopen.c: Likewise.
8520 * libio/tst-freopen.c: Likewise.
8521 * libio/tst-sscanf.c: Likewise.
8522 * libio/tst-ungetwc1.c: Likewise.
8523 * libio/tst-ungetwc2.c: Likewise.
8524 * libio/tst-widetext.c: Likewise.
8525 * localedata/tst-ctype.c: Likewise.
8526 * localedata/tst-digits.c: Likewise.
8527 * localedata/tst-leaks.c: Likewise.
8528 * localedata/tst-mbswcs1.c: Likewise.
8529 * localedata/tst-mbswcs2.c: Likewise.
8530 * localedata/tst-mbswcs3.c: Likewise.
8531 * localedata/tst-mbswcs4.c: Likewise.
8532 * localedata/tst-mbswcs5.c: Likewise.
8533 * localedata/tst-setlocale.c: Likewise.
8534 * localedata/tst-trans.c: Likewise.
8535 * localedata/tst-wctype.c: Likewise.
8536 * localedata/tst-xlocale1.c: Likewise.
8537 * login/tst-grantpt.c: Likewise.
8538 * malloc/tst-calloc.c: Likewise.
8539 * malloc/tst-malloc.c: Likewise.
8540 * malloc/tst-mallocstate.c: Likewise.
8541 * malloc/tst-mcheck.c: Likewise.
8542 * malloc/tst-mtrace.c: Likewise.
8543 * malloc/tst-obstack.c: Likewise.
8544 * math/atest-exp2.c: Likewise.
8545 * math/atest-exp.c: Likewise.
8546 * math/atest-sincos.c: Likewise.
8547 * math/test-matherr.c: Likewise.
8548 * math/test-misc.c: Likewise.
8549 * math/test-powl.c: Likewise.
8550 * math/tst-definitions.c: Likewise.
8551 * misc/tst-dirname.c: Likewise.
8552 * misc/tst-efgcvt.c: Likewise.
8553 * misc/tst-fdset.c: Likewise.
8554 * misc/tst-hsearch.c: Likewise.
8555 * misc/tst-mntent2.c: Likewise.
8556 * nptl/tst-sem7.c: Likewise.
8557 * nptl/tst-sem8.c: Likewise.
8558 * nptl/tst-sem9.c: Likewise.
8559 * nss/test-netdb.c: Likewise.
8560 * posix/tst-fnmatch.c: Likewise.
8561 * posix/tst-getlogin.c: Likewise.
8562 * posix/tst-gnuglob.c: Likewise.
8563 * posix/tst-mmap.c: Likewise.
8564 * pwd/tst-getpw.c: Likewise.
8565 * resolv/tst-inet_ntop.c: Likewise.
8566 * rt/tst-timer.c: Likewise.
8567 * stdio-common/test-fseek.c: Likewise.
8568 * stdio-common/test-popen.c: Likewise.
8569 * stdio-common/test-vfprintf.c: Likewise.
8570 * stdio-common/tst-cookie.c: Likewise.
8571 * stdio-common/tst-fileno.c: Likewise.
8572 * stdio-common/tst-gets.c: Likewise.
8573 * stdio-common/tst-obprintf.c: Likewise.
8574 * stdio-common/tst-perror.c: Likewise.
8575 * stdio-common/tst-sprintf2.c: Likewise.
8576 * stdio-common/tst-sprintf3.c: Likewise.
8577 * stdio-common/tst-sprintf.c: Likewise.
8578 * stdio-common/tst-swprintf.c: Likewise.
8579 * stdio-common/tst-tmpnam.c: Likewise.
8580 * stdio-common/tst-unbputc.c: Likewise.
8581 * stdio-common/tst-wc-printf.c: Likewise.
8582 * stdlib/tst-environ.c: Likewise.
8583 * stdlib/tst-fmtmsg.c: Likewise.
8584 * stdlib/tst-limits.c: Likewise.
8585 * stdlib/tst-rand48-2.c: Likewise.
8586 * stdlib/tst-rand48.c: Likewise.
8587 * stdlib/tst-random2.c: Likewise.
8588 * stdlib/tst-random.c: Likewise.
8589 * stdlib/tst-strtol.c: Likewise.
8590 * stdlib/tst-strtoll.c: Likewise.
8591 * stdlib/tst-tls-atexit.c: Likewise.
8592 * stdlib/tst-xpg-basename.c: Likewise.
8593 * string/test-ffs.c: Likewise.
8594 * string/tst-bswap.c: Likewise.
8595 * string/tst-inlcall.c: Likewise.
8596 * string/tst-strtok.c: Likewise.
8597 * string/tst-strxfrm.c: Likewise.
8598 * sysdeps/x86_64/tst-audit10.c: Likewise.
8599 * sysdeps/x86_64/tst-audit3.c: Likewise.
8600 * sysdeps/x86_64/tst-audit4.c: Likewise.
8601 * sysdeps/x86_64/tst-audit5.c: Likewise.
8602 * time/tst-ftime_l.c: Likewise.
8603 * time/tst-getdate.c: Likewise.
8604 * time/tst-mktime3.c: Likewise.
8605 * time/tst-mktime.c: Likewise.
8606 * time/tst-posixtz.c: Likewise.
8607 * time/tst-strptime2.c: Likewise.
8608 * time/tst-strptime3.c: Likewise.
8609 * wcsmbs/tst-btowc.c: Likewise.
8610 * wcsmbs/tst-mbrtowc.c: Likewise.
8611 * wcsmbs/tst-mbsrtowcs.c: Likewise.
8612 * wcsmbs/tst-wchar-h.c: Likewise.
8613 * wcsmbs/tst-wcpncpy.c: Likewise.
8614 * wcsmbs/tst-wcrtomb.c: Likewise.
8615 * wcsmbs/tst-wcsnlen.c: Likewise.
8616 * wcsmbs/tst-wcstof.c: Likewise.
8618 2014-11-04 Joseph Myers <joseph@codesourcery.com>
8621 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
8623 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
8625 (_dl_mcount): Use rtld_hidden_proto.
8626 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
8628 * elf/rtld.c (_rtld_global_ro): Likewise.
8631 * elf/dl-init.c (_dl_init): Don't use INTDEF.
8632 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
8633 of _dl_init_internal.
8634 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
8635 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
8636 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
8637 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
8638 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
8639 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
8640 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
8641 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
8642 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
8643 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
8644 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
8645 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
8646 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8647 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8648 * sysdeps/tile/dl-start.S (_start): Likewise.
8649 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
8650 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
8653 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
8654 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
8655 (rtld_progname): Make macro definition unconditional.
8656 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
8658 (dlmopen_doit): Do not use INTUSE with _dl_argv.
8659 (dl_main): Likewise.
8660 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8661 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
8662 instead of _dl_argv_internal.
8663 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8664 __GI__dl_argv instead of INTUSE(_dl_argv).
8665 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
8666 __GI__dl_argv instead of _dl_argv_internal.
8668 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
8669 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
8671 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
8672 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
8674 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
8675 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
8677 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
8678 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
8680 2014-11-04 Andreas Schwab <schwab@suse.de>
8682 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
8684 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8686 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
8687 mtvsrd instruction in binary form.
8689 2014-11-03 Andreas Schwab <schwab@suse.de>
8692 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
8693 for less than MB_LEN_MAX use a local buffer of that size.
8694 * libio/tst-fputws.c: New file.
8695 * libio/Makefile (tests): Add tst-fputws.
8697 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
8699 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
8700 the size of the fpu_fr.fpu_dregs[] array.
8702 2014-11-01 Joseph Myers <joseph@codesourcery.com>
8704 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
8705 (__nanosleep): Do not define as alias.
8706 (nanosleep): Define as alias of __nanosleep.
8707 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
8708 __libc_nanosleep name.
8710 2014-10-31 Joseph Myers <joseph@codesourcery.com>
8712 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
8713 install.texi in comment.
8715 2014-10-31 Torvald Riegel <triegel@redhat.com>
8717 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
8718 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
8719 ... add here and use lwsync or sync ...
8720 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
8721 ... and add here using lwsync.
8723 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
8725 * elf/dl-machine-reject-phdr.h: New file.
8726 * elf/dl-load.c: #include that.
8727 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
8728 if that returned true.
8730 2014-10-31 Roland McGrath <roland@hack.frob.com>
8733 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
8734 gen-as-const-headers chunk. Add a big scare comment after the last
8735 safe place to touch before-compile.
8737 2014-10-31 Joseph Myers <joseph@codesourcery.com>
8739 * manual/install.texi (Tools for Compilation): Update autoconf
8740 version requirements.
8741 * INSTALL: Regenerated.
8743 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
8744 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
8745 (__libc_pselect): Likewise.
8748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
8749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8753 2014-10-31 Torvald Riegel <triegel@redhat.com>
8755 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
8756 correct barrier instruction.
8757 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
8759 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
8762 2014-10-30 Roland McGrath <roland@hack.frob.com>
8764 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
8765 after defining inlines. Instead, just use parens to defeat macro
8766 expansion of __isctype in its declaration.
8768 2014-10-30 Joseph Myers <joseph@codesourcery.com>
8770 * include/sys/uio.h (__libc_readv): Remove declaration.
8771 (__libc_writev): Likewise.
8772 * misc/readv.c (__libc_readv): Rename to __readv.
8773 (__readv): Do not define as alias.
8774 (readv): Define as alias of __readv.
8775 * misc/writev.c (__libc_writev): Rename to __writev.
8776 (__writev): Do not define as alias.
8777 (writev): Define as alias of __writev.
8778 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
8779 (__readv): Do not define as alias.
8780 (readv): Define unconditionally as alias of __readv.
8781 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
8782 (__writev): Do not define as alias.
8783 (writev): Define unconditionally as alias of __writev.
8784 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
8786 (writev): Do not define __libc_writev name.
8788 2014-10-30 Roland McGrath <roland@hack.frob.com>
8790 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
8791 (convert_charseq): New function, broken out of ...
8792 (use_from_charmap): ... here. Call it.
8793 (use_to_charmap): Use convert_charseq and free instead of duplicating
8794 its code with a variable-length stack struct.
8796 2014-10-30 Joseph Myers <joseph@codesourcery.com>
8798 * include/fcntl.h (__libc_creat): Remove declaration.
8799 * io/creat.c (__libc_creat): Rename to creat.
8800 (creat): Do not define as alias.
8801 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
8802 of creat instead of __libc_creat.
8803 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
8805 (creat): Do not define as alias.
8806 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
8808 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
8810 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
8813 2014-10-29 Carlos O'Donell <carlos@redhat.com>
8815 * manual/llio.texi: Add comments discussing why write() may be
8816 considered MT-unsafe on Linux.
8818 2014-10-28 Carlos O'Donell <carlos@redhat.com>
8820 * dl-load.c (local_strdup): Remove.
8821 (expand_dynamic_string_token): Use __strdup.
8822 (decompose_rpath): Likewise.
8823 (_dl_map_object): Likewise.
8825 2014-10-28 Joseph Myers <joseph@codesourcery.com>
8828 * sysdeps/generic/unwind-dw2-fde.c
8829 (__register_frame_info_bases_internal): Do not declare.
8830 (__register_frame_info_table_bases_internal): Likewise.
8831 (__deregister_frame_info_bases_internal): Likewise.
8832 (__register_frame_info_bases): Declare and use hidden_proto before
8833 definition. Use hidden_def instead of INTDEF.
8834 (__register_frame_info_table_bases): Likewise.
8835 (__deregister_frame_info_bases): Likewise.
8836 (__register_frame_info): Do not use INTUSE.
8837 (__register_frame): Likewise.
8838 (__register_frame_info_table): Likewise.
8839 (__register_frame_table): Likewise.
8840 (__deregister_frame_info): Likewise.
8841 (__deregister_frame): Likewise.
8843 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
8845 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8846 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
8848 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
8850 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
8853 2014-10-27 Joseph Myers <joseph@codesourcery.com>
8856 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
8857 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
8858 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
8859 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
8860 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
8861 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
8862 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
8863 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
8864 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
8865 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
8866 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
8867 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
8868 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
8870 (setfsuid): Likewise.
8871 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
8872 (setfsuid): Likewise.
8873 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
8874 (setfsuid): Likewise.
8875 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
8877 (setfsuid): Likewise.
8878 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
8879 (setfsuid): Likewise.
8880 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
8882 (setfsuid): Likewise.
8884 2014-10-27 Andreas Schwab <schwab@suse.de>
8887 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
8888 check for Slow_SSE4_2 feature bit.
8889 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
8890 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8891 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
8892 Likewise. Fix check for Fast_Unaligned_Load feature bit.
8894 2014-10-24 Roland McGrath <roland@hack.frob.com>
8896 * configure.ac: Validate compiler version with a empirical test of
8897 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
8899 * configure: Regenerated.
8901 * inet/htons.c (htons): Prototypify.
8902 * inet/htonl.c (htonl): Likewise.
8904 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8906 * string/strncat.c (strncat): Improve performance by using strlen.
8908 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8910 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
8912 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8914 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
8915 Call libc_fetestexcept_aarch64.
8917 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8919 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
8920 Call libc_feholdexcept_aarch64.
8922 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8924 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
8925 Call get_rounding_mode.
8927 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8929 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8932 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8934 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
8937 2014-10-24 Joseph Myers <joseph@codesourcery.com>
8940 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
8941 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
8942 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
8943 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
8944 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
8945 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
8946 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
8947 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
8948 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
8949 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
8950 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8951 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
8952 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
8953 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
8954 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
8955 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
8956 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
8957 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
8958 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
8959 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
8960 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
8961 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
8962 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
8963 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
8964 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
8965 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
8966 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
8967 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
8968 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
8969 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
8970 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
8971 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
8972 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
8973 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
8974 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
8975 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
8976 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
8977 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
8978 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
8979 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
8980 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
8982 (geteuid): Likewise.
8985 (getresgid): Likewise.
8986 (getresuid): Likewise.
8987 (getgroups): Likewise.
8988 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
8989 (geteuid): Likewise.
8992 (getresgid): Likewise.
8993 (getresuid): Likewise.
8994 (getgroups): Likewise.
8995 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
8996 (geteuid): Likewise.
8999 (getresgid): Likewise.
9000 (getresuid): Likewise.
9001 (getgroups): Likewise.
9002 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
9004 (geteuid): Likewise.
9007 (getresgid): Likewise.
9008 (getresuid): Likewise.
9009 (getgroups): Likewise.
9010 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
9011 (geteuid): Likewise.
9014 (getresgid): Likewise.
9015 (getresuid): Likewise.
9016 (getgroups): Likewise.
9017 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
9019 (geteuid): Likewise.
9022 (getgroups): Likewise.
9025 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
9026 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
9027 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
9028 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9029 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
9030 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
9031 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
9032 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
9033 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
9034 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
9035 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
9036 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
9037 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
9039 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
9042 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
9046 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
9049 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
9054 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9056 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
9059 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9061 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9064 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9066 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9067 Remove unused include.
9069 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9071 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
9072 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
9073 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
9074 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
9076 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
9077 Helge Deller <deller@gmx.de>
9080 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
9081 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
9082 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
9084 2014-10-23 Joseph Myers <joseph@codesourcery.com>
9087 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
9088 Remove macro definition.
9089 (__ashrdi3_v_glibc20): Likewise.
9090 (__lshrdi3_v_glibc20): Likewise.
9091 (__cmpdi2_v_glibc20): Likewise.
9092 (__ucmpdi2_v_glibc20): Likewise.
9093 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
9094 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9095 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9096 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9097 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9098 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
9100 2014-10-22 Roland McGrath <roland@hack.frob.com>
9102 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
9103 old GNU extension [0] syntax.
9104 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
9105 alloca rather than an array member with variable length.
9106 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
9107 * nscd/nscd.c (invalidate_db): New function, broken out of ...
9108 (parse_opt): ... here. Likewise use alloca there.
9109 Validate the -i argument before checking for rootness.
9110 (send_shutdown): New function, broken out of ...
9111 (parse_opt): ... here.
9113 2014-10-22 Roland McGrath <roland@hack.frob.com>
9115 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
9116 macro to get at the _rt_local_ro field.
9117 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
9118 ([PIC] case) or _dl_hwcap ([!PIC] case).
9119 * sysdeps/arm/setjmp.S: Likewise.
9121 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
9122 * sysdeps/arm/configure.ac: New check to define it.
9123 * sysdeps/arm/configure: Regenerated.
9124 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
9125 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
9126 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
9127 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
9128 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
9129 Use move/movt pair instead of a load.
9130 (LDST_GLOBAL): Macro removed.
9131 (LDR_GLOBAL): New macro replaces it.
9132 (LDR_HIDDEN): New macro.
9133 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
9134 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
9136 * setjmp/tst-setjmp-static.c: New file.
9137 * setjmp/Makefile (tests): Add it.
9138 (tests-static): New variable.
9140 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
9143 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
9145 2014-10-21 Joseph Myers <joseph@codesourcery.com>
9148 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
9150 2014-10-21 Roland McGrath <roland@hack.frob.com>
9152 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
9154 2014-10-20 Roland McGrath <roland@hack.frob.com>
9156 * io/fts.c (dirent_not_directory): New function.
9157 (fts_build): Call it.
9159 2014-10-20 Roland McGrath <roland@hack.frob.com>
9161 * nptl/version.c (__nptl_main): Use normal __write rather than
9163 (banner): Update copyright years.
9165 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
9167 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9168 * nptl/pthread_cond_timedwait.c: Likewise.
9169 * nptl/pthread_mutex_timedlock.c: Likewise.
9170 * nptl/sem_timedwait.c: Likewise.
9172 * sysdeps/nptl/bits/libc-lock.h
9173 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9174 (__libc_lock_init_recursive): Return void, not 0.
9175 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
9176 (__libc_rwlock_init): Likewise.
9177 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
9179 2014-10-20 Torvald Riegel <triegel@redhat.com>
9182 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
9183 (__pthread_once_slow): ... here.
9184 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
9185 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
9187 2014-10-20 Torvald Riegel <triegel@redhat.com>
9190 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
9191 __PTHREAD_ONCE_FORK_GEN_INCR): New.
9192 * sysdeps/nptl/fork.c (__libc_fork): Use them.
9193 * nptl/pthread_once.c (__pthread_once): Likewise.
9196 2014-10-20 Joseph Myers <joseph@codesourcery.com>
9199 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
9201 (writev): Use __libc_writev as strong name.
9202 * sysdeps/unix/sysv/linux/readv.c: Remove file.
9203 * sysdeps/unix/sysv/linux/writev.c: Likewise.
9205 2014-10-17 Roland McGrath <roland@hack.frob.com>
9207 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
9209 * sysdeps/i386/nptl/tls.h
9210 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
9211 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
9213 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
9214 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
9215 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
9216 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
9217 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
9218 Call CHECK_THREAD_SYSINFO instead of doing an assert.
9220 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9221 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
9223 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
9225 (__pthread_mutex_init): ... here. Call it.
9226 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
9227 Conditionalize PI cases on [__NR_futex].
9228 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9229 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9230 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9232 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
9233 conditional on [SIGSETXID].
9234 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
9235 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
9236 is defined. Likewise for SIGSETXID.
9237 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
9238 Conditionalize definitions on [SIGSETXID].
9239 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
9240 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
9241 unblocking on [SIGCANCEL].
9243 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
9244 [__NR_set_robust_list].
9246 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9248 * string/strcoll_l.c (get_next_seq): Fix up formatting.
9249 (do_compare): Likewise.
9251 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
9254 * string/strcoll_l.c: Don't include stdio.h.
9255 (coll_seq): Remove members idxarr and rulearr.
9256 (get_next_seq_cached): Remove function.
9257 (get_next_seq): Likewise.
9258 (get_next_seq_nocache): Rename to get_next_seq.
9259 (do_compare): Remove function.
9260 (do_compare_nocache): Rename to do_compare.
9261 (STRCOLL): Remove weight and rules cache.
9263 2014-10-16 Roland McGrath <roland@hack.frob.com>
9265 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
9266 * sysdeps/arm/sfp-machine.h: ... to here.
9267 * sysdeps/arm/Implies: Remove arm/soft-fp.
9269 2014-10-14 Joseph Myers <joseph@codesourcery.com>
9271 * conform/data/sys/utsname.h-data (*_t): Allow.
9272 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
9273 [POSIX] (WEXITED): Do not expect constant.
9274 [POSIX] (WSTOPPED): Likewise.
9275 [POSIX] (WNOHANG): Likewise.
9276 [POSIX] (WNOWAIT): Likewise.
9277 [POSIX] (siginfo_t): Do not expect type or elements.
9278 [POSIX] (pid_t): Do not expect type.
9279 [POSIX] (signal.h): Do not allow header.
9280 [POSIX] (sys/resource.h): Likewise.
9281 [POSIX] (si_*): Do not allow pattern.
9282 [POSIX] (W*): Likewise.
9283 [POSIX] (P_*): Likewise.
9284 [POSIX] (BUS_*): Likewise.
9285 [POSIX] (CLD_*): Likewise.
9286 [POSIX] (FPE_*): Likewise.
9287 [POSIX] (ILL_*): Likewise.
9288 [POSIX] (POLL_*): Likewise.
9289 [POSIX] (SEGV_*): Likewise.
9290 [POSIX] (SI_*): Likewise.
9291 [POSIX] (TRAP_*): Likewise.
9292 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
9295 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
9298 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
9299 infinite loop when __recvmsg returns 0.
9301 2014-10-10 Joseph Myers <joseph@codesourcery.com>
9303 * CANCEL-FCT-WAIVE: Remove file.
9304 * CANCEL-FILE-WAIVE: Likewise.
9307 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
9308 instead of INTVARDEF.
9309 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9310 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
9311 rtld_hidden_data_def instead of INTVARDEF.
9312 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9313 * elf/dl-deps.c (expand_dst): Likewise.
9314 * elf/dl-load.c (_dl_dst_count): Likewise.
9315 (_dl_dst_substitute): Likewise.
9316 (decompose_rpath): Likewise.
9317 (_dl_init_paths): Likewise.
9318 (open_path): Likewise.
9319 (_dl_map_object): Likewise.
9320 * elf/rtld.c (dl_main): Likewise.
9321 (process_dl_audit): Likewise.
9322 (process_envvars): Likewise.
9323 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
9325 (__libc_enable_secure): Use rtld_hidden_proto.
9327 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9330 (add_path): New function broken out of _dl_rtld_di_serinfo.
9331 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
9333 2014-10-09 Joseph Myers <joseph@codesourcery.com>
9335 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
9336 parentheses around macro arguments.
9337 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
9338 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
9339 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
9340 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
9341 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
9342 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9343 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9344 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
9345 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
9346 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
9347 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
9348 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
9349 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
9350 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
9351 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
9352 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
9353 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
9354 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
9355 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
9356 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
9357 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
9358 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
9359 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
9360 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9361 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9362 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
9363 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
9364 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
9365 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
9366 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
9367 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
9368 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
9369 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
9370 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
9371 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
9372 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
9374 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
9375 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9376 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9377 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
9378 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
9379 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
9380 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
9381 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
9382 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
9383 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
9384 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
9385 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
9386 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
9387 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
9388 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
9389 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9390 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9391 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
9392 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
9393 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
9394 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
9395 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
9396 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
9397 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
9398 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
9399 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
9400 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
9401 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
9402 (_FP_FRAC_SRS_1): Likewise.
9403 (_FP_FRAC_CLZ_1): Likewise.
9404 (_FP_MUL_MEAT_1_imm): Likewise.
9405 (_FP_MUL_MEAT_1_wide): Likewise.
9406 (_FP_MUL_MEAT_1_hard): Likewise.
9407 (_FP_SQRT_MEAT_1): Likewise.
9408 (_FP_FRAC_ASSEMBLE_1): Likewise.
9409 (_FP_FRAC_DISASSEMBLE_1): Likewise.
9410 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
9411 (__FP_CLZ_2): Likewise.
9412 (_FP_MUL_MEAT_2_wide): Likewise.
9413 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9414 (_FP_MUL_MEAT_2_gmp): Likewise.
9415 (_FP_MUL_MEAT_2_120_240_double): Likewise.
9416 (_FP_SQRT_MEAT_2): Likewise.
9417 (_FP_FRAC_ASSEMBLE_2): Likewise.
9418 (_FP_FRAC_DISASSEMBLE_2): Likewise.
9419 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
9420 (_FP_FRAC_CLZ_4): Likewise.
9421 (_FP_MUL_MEAT_4_wide): Likewise.
9422 (_FP_MUL_MEAT_4_gmp): Likewise.
9423 (_FP_SQRT_MEAT_4): Likewise.
9424 (_FP_FRAC_ASSEMBLE_4): Likewise.
9425 (_FP_FRAC_DISASSEMBLE_4): Likewise.
9426 * soft-fp/op-common.h (_FP_CMP): Likewise.
9427 (_FP_CMP_EQ): Likewise.
9428 (_FP_CMP_UNORD): Likewise.
9429 (_FP_TO_INT): Likewise.
9430 (_FP_FROM_INT): Likewise.
9431 [!__FP_CLZ] (__FP_CLZ): Likewise.
9432 (_FP_DIV_HELP_imm): Likewise.
9433 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
9435 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
9436 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
9437 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
9438 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
9439 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
9440 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9441 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9442 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
9443 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
9444 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
9445 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
9446 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
9447 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
9448 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
9449 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
9450 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
9451 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
9452 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
9453 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
9454 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
9455 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
9456 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
9457 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
9458 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9459 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9460 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
9461 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
9462 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
9463 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
9464 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
9465 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
9466 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
9467 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
9468 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
9469 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
9470 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
9471 (FP_UNPACK_RAW_SP): Likewise.
9472 (FP_PACK_RAW_S): Likewise.
9473 (FP_PACK_RAW_SP): Likewise.
9474 (FP_UNPACK_S): Likewise.
9475 (FP_UNPACK_SP): Likewise.
9476 (FP_UNPACK_SEMIRAW_S): Likewise.
9477 (FP_UNPACK_SEMIRAW_SP): Likewise.
9478 (FP_PACK_S): Likewise.
9479 (FP_PACK_SP): Likewise.
9480 (FP_PACK_SEMIRAW_S): Likewise.
9481 (FP_PACK_SEMIRAW_SP): Likewise.
9482 (_FP_SQRT_MEAT_S): Likewise.
9483 (FP_CMP_S): Likewise.
9484 (FP_CMP_EQ_S): Likewise.
9485 (FP_CMP_UNORD_S): Likewise.
9486 (FP_TO_INT_S): Likewise.
9487 (FP_FROM_INT_S): Likewise.
9489 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
9491 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
9492 (FP_EX_INVALID_IMZ): Likewise.
9493 (FP_EX_INVALID_IMZ_FMA): Likewise.
9494 (FP_EX_INVALID_ISI): Likewise.
9495 (FP_EX_INVALID_ZDZ): Likewise.
9496 (FP_EX_INVALID_IDI): Likewise.
9497 (FP_EX_INVALID_SQRT): Likewise.
9498 (FP_EX_INVALID_CVI): Likewise.
9499 (FP_EX_INVALID_VC): Likewise.
9500 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
9501 "invalid" exceptions.
9502 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
9503 (_FP_ADD_INTERNAL): Likewise.
9504 (_FP_MUL): Likewise.
9505 (_FP_FMA): Likewise.
9506 (_FP_DIV): Likewise.
9507 (_FP_CMP_CHECK_NAN): Likewise.
9508 (_FP_SQRT): Likewise.
9509 (_FP_TO_INT): Likewise.
9510 (FP_EXTEND): Likewise.
9512 2014-10-09 Allan McRae <allan@archlinux.org>
9514 * po/fr.po: Update French translation from translation project.
9516 2014-10-09 Joseph Myers <joseph@codesourcery.com>
9519 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
9521 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
9522 (__cxa_atexit): Use libc_hidden_proto.
9523 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
9526 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
9528 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
9529 [!_ISOMAC] (__iswspace_l_internal): Likewise.
9530 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
9531 [!_ISOMAC] (__iswctype_internal): Likewise.
9532 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
9533 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
9535 (fcntl): Remove __fcntl_internal alias.
9536 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
9537 __connect_internal alias.
9538 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
9541 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
9542 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
9544 (_FP_CHECK_FLUSH_ZERO): New macro.
9545 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
9546 (_FP_CMP): Likewise.
9547 (_FP_CMP_EQ): Likewise.
9548 (_FP_TO_INT): Do not set inexact for subnormal arguments if
9550 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
9551 (FP_TRUNC): Likewise.
9553 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
9554 treated as invalid conversion, not as normal exponent.
9556 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
9557 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
9558 (_FP_CMP_EQ): Likewise.
9559 (_FP_CMP_UNORD): Likewise.
9560 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
9561 (FP_CMP_EQ_D): Likewise.
9562 (FP_CMP_UNORD_D): Likewise.
9563 * soft-fp/extended.h (FP_CMP_E): Likewise.
9564 (FP_CMP_EQ_E): Likewise.
9565 (FP_CMP_UNORD_E): Likewise.
9566 * soft-fp/quad.h (FP_CMP_Q): Likewise.
9567 (FP_CMP_EQ_Q): Likewise.
9568 (FP_CMP_UNORD_Q): Likewise.
9569 * soft-fp/single.h (FP_CMP_S): Likewise.
9570 (FP_CMP_EQ_S): Likewise.
9571 (FP_CMP_UNORD_S): Likewise.
9572 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
9573 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
9574 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
9575 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
9576 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
9577 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
9578 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
9579 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
9580 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
9581 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
9582 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
9583 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
9584 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
9586 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
9588 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
9589 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
9591 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
9593 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
9594 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
9595 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
9596 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
9598 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
9600 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
9601 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
9603 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
9605 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
9606 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
9607 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
9608 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
9611 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
9612 a subnormal result, set the underflow exception if trapping on
9613 underflow is enabled.
9614 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
9615 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
9616 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
9618 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
9619 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9620 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9621 * soft-fp/extendxftf2.c (__extendxftf2): Use
9622 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
9624 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
9625 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
9626 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9627 FP_HANDLE_EXCEPTIONS.
9628 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
9629 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9630 FP_HANDLE_EXCEPTIONS.
9631 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
9632 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9633 FP_HANDLE_EXCEPTIONS.
9634 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
9635 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9636 FP_HANDLE_EXCEPTIONS.
9638 2014-10-08 Joseph Myers <joseph@codesourcery.com>
9641 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
9642 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
9644 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
9645 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
9647 (__adjtimex): Define using libc_hidden_ver.
9648 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
9650 (ntp_gettime): Call __adjtimex directly.
9651 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
9653 (ntp_gettimex): Call __adjtimex directly.
9654 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
9655 __adjtimex_internal alias.
9657 2014-10-08 Roland McGrath <roland@hack.frob.com>
9660 * nscd/nscd.c (more_help): Rewrite list of tables collection
9661 using xstrdup and asprintf.
9663 * nscd/nscd_conf.c: Remove local xstrdup declaration.
9665 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9666 Roland McGrath <roland@hack.frob.com>
9668 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
9669 (do_lookup_unique): ... local function 'enter' here; update callers.
9671 2014-10-06 Joseph Myers <joseph@codesourcery.com>
9673 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
9674 compat_symbol calls on [SHARED].
9675 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
9676 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
9678 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9679 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
9680 (oldsetrlimit): Remove.
9681 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9683 (lchown): New syscall entry.
9684 (oldsetrlimit): Remove.
9685 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9686 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
9687 (oldsetrlimit): Remove.
9688 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9691 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
9692 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
9693 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
9694 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
9695 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9696 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
9698 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
9700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
9703 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9705 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
9706 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
9707 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
9708 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
9709 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
9711 (__old_sem_post): Likewise.
9713 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
9715 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
9716 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
9717 HAVE_CLOCK_GETTIME_VSYSCALL macros.
9718 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
9719 Use INLINE_VSYSCALL macro.
9720 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
9721 __vdso_clock_gettime.
9722 * sysdeps/unix/sysv/linux/tile/init-first.c
9723 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
9724 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
9725 __vdso_clock_gettime.
9727 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
9728 to set up frame more cleanly.
9730 * sysdeps/tile/memcmp.c: New file.
9732 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
9734 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
9735 * sysdeps/tile/tilegx/strcasestr.c: New file.
9736 * sysdeps/tile/tilegx/strnlen.c: New file.
9737 * sysdeps/tile/tilegx/strstr.c: New file.
9739 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
9741 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
9743 * nptl/tst-setuid3.c: Write errors to stdout.
9745 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9748 (preload): New functions broken out of _dl_map_object_deps.
9749 (_dl_map_object_deps): Remove a nested function. Update call sites.
9751 2014-10-01 Joseph Myers <joseph@codesourcery.com>
9754 * sysdeps/unix/sysv/linux/execve.c: Remove file.
9755 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
9757 2014-10-01 Steve Ellcey <sellcey@mips.com>
9759 * sysdeps/mips/strcmp.S: New.
9761 2014-09-30 Joseph Myers <joseph@codesourcery.com>
9764 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
9766 (mkdirat): Likewise.
9767 (readlinkat): Likewise.
9768 (renameat): Likewise.
9769 (symlinkat): Likewise.
9770 (unlinkat): Likewise.
9771 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
9772 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
9773 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
9774 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
9775 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9776 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
9777 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
9779 2014-09-30 Will Newton <will.newton@linaro.org>
9781 * math/math.h: Define long double math functions if
9782 _LIBC_TEST is defined.
9783 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
9785 * localedata/Makefile: Move assignment to tests-special
9786 into an ifdef testing run-built-tests.
9787 * timezone/Makefile: Likewise.
9789 2014-09-29 Joseph Myers <joseph@codesourcery.com>
9791 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
9792 with $(BASH) not $(SHELL).
9794 2014-09-29 Carlos O'Donell <carlos@redhat.com>
9795 Matthew LeGendre <legendre1@llnl.gov>
9798 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
9801 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9803 * stdio-common/printf_fp.c
9804 (hack_digit): New function, broken out of ...
9805 (__printf_fp): ... local function here. Update call sites.
9806 hack_digit now takes an additional parameter that is a pointer
9807 to a struct of the referenced locals. Those locals moved inside
9808 the struct and references updated.
9810 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
9812 * aclocal.m4: Require autoconf 2.69.
9813 * configure: Regenerated.
9814 * sysdeps/aarch64/configure: Likewise.
9815 * sysdeps/alpha/configure: Likewise.
9816 * sysdeps/arm/armv7/configure: Likewise.
9817 * sysdeps/arm/configure: Likewise.
9818 * sysdeps/ia64/configure: Likewise.
9819 * sysdeps/mach/configure: Likewise.
9820 * sysdeps/mips/configure: Likewise.
9821 * sysdeps/s390/configure: Likewise.
9822 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
9823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
9825 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
9827 * sysdeps/ia64/configure.ac: Likewise.
9829 2014-09-26 Joseph Myers <joseph@codesourcery.com>
9831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
9832 specify symbol version for ld.so. Do not include entry for
9834 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9835 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
9836 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9839 * Makeconfig [$(build-shared) = yes]
9840 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
9842 [$(build-shared) = yes && $(soversions.mk-done) = t]
9843 ($(common-objpfx)gnu/lib-names.h): Remove rule.
9844 [$(build-shared) = yes && $(soversions.mk-done) = t]
9845 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
9847 [$(build-shared) = yes && $(soversions.mk-done) = t]
9848 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
9850 [$(build-shared) = yes && $(soversions.mk-done) = t]
9851 (common-generated): Don't append gnu/lib-names.h and
9852 gnu/lib-names.stmp here.
9853 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
9854 (lib-names-h-abi): New variable.
9855 [$(build-shared) = yes && $(soversions.mk-done) = t]
9856 (lib-names-stmp-abi): Likewise.
9857 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9858 abi-variants] (before-compile): Append
9859 $(common-objpfx)$(lib-names-h-abi).
9860 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9861 abi-variants] (common-generated): Append gnu/lib-names.h.
9862 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9863 abi-variants] (install-others-nosubdir): Depend on
9864 $(inst_includedir)/$(lib-names-h-abi).
9865 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9866 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
9867 [$(build-shared) = yes && $(soversions.mk-done) = t]
9868 ($(common-objpfx)$(lib-names-h-abi)): New rule.
9869 [$(build-shared) = yes && $(soversions.mk-done) = t]
9870 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
9871 [$(build-shared) = yes && $(soversions.mk-done) = t]
9872 (common-generated): Append $(lib-names-h-abi) and
9873 $(lib-names-stmp-abi).
9874 * scripts/lib-names.awk: Do not handle multi being set.
9875 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
9877 (abi-lp64_be-ld-soname): Likewise.
9878 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
9880 (abi-hard-ld-soname): Likewise.
9881 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
9882 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
9884 (abi-o32_hard-ld-soname): Likewise.
9885 (abi-o32_soft_2008-ld-soname): Likewise.
9886 (abi-o32_hard_2008-ld-soname): Likewise.
9887 (abi-n32_soft-ld-soname): Likewise.
9888 (abi-n32_hard-ld-soname): Likewise.
9889 (abi-n32_soft_2008-ld-soname): Likewise.
9890 (abi-n32_hard_2008-ld-soname): Likewise.
9891 (abi-n64_soft-ld-soname): Likewise.
9892 (abi-n64_hard-ld-soname): Likewise.
9893 (abi-n64_soft_2008-ld-soname): Likewise.
9894 (abi-n64_hard_2008-ld-soname): Likewise.
9895 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
9897 (abi-64-v2-ld-soname): Likewise.
9898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
9900 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
9902 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
9904 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
9906 (abi-64-ld-soname): Likewise.
9907 (abi-x32-ld-soname): Likewise.
9908 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
9910 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9912 2014-09-23 Joseph Myers <joseph@codesourcery.com>
9915 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
9916 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
9917 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
9918 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
9919 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
9920 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
9921 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
9922 syscall entry for GLIBC_2.2 symbol version.
9923 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
9925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9926 (setrlimit): Likewise.
9927 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
9930 2014-09-23 Will Newton <will.newton@linaro.org>
9932 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
9933 _LINUX_ARM_SYSDEP_H include guard too.
9934 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
9937 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
9939 * sysdeps/unix/sysv/linux/eventfd.c:
9940 Make first argument unsigned.
9941 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
9942 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
9944 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
9946 * socket/recvmmsg.c (recvmmsg): Drop const argument.
9947 * socket/sys/socket.h: Likewise
9948 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
9950 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9952 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
9954 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
9956 * time/tst-ftime.c: New test.
9957 * time/Makefile (tests): Add tst-ftime.
9959 2014-09-17 Joseph Myers <joseph@codesourcery.com>
9961 * soft-fp/extended.h: Fix comment formatting.
9962 * soft-fp/op-1.h: Likewise.
9963 * soft-fp/op-2.h: Likewise.
9964 * soft-fp/op-4.h: Likewise.
9965 * soft-fp/op-8.h: Likewise.
9966 * soft-fp/op-common.h: Likewise.
9967 * soft-fp/soft-fp.h: Likewise.
9969 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
9971 2014-09-16 Joseph Myers <joseph@codesourcery.com>
9974 * Makeconfig (soversions-default-setname): Remove variable.
9975 ($(common-objpfx)soversions.i): Don't pass default_setname to
9977 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
9978 oldest_abi to abi-versions.awk.
9979 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
9980 * config.make.in (oldest-abi): Remove variable.
9981 * configure.ac (--enable-oldest-abi): Remove configure option.
9982 * configure: Regenerated.
9983 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
9985 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
9986 * scripts/soversions.awk: Do not handle default_setname variable.
9987 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
9989 * sysdeps/mach/hurd/configure: Regenerated.
9990 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
9992 * sysdeps/unix/sysv/linux/configure: Regenerated.
9994 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9996 * elf/Makefile (CFLAGS-interp.c): Remove.
9997 ($(elf-objpfx)runtime-linker.h): Generate header with linker
9999 * elf/interp.c: Include generated runtime-linker.h
10001 * Makerules (lib%.so): Don't include $(+interp) in
10003 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
10004 * dlfcn/eval.c: Remove file.
10006 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
10010 * misc/sys/cdefs.h: Define __extern_always_inline for clang
10014 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
10016 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10017 Jakub Jelinek <jakub@redhat.com>
10020 * libio/stdio.h: Check definition of __fortify_function
10021 instead of __extern_always_inline to include bits/stdio2.h.
10022 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
10023 check if __extern_always_inline is defined.
10024 [__USE_MISC || __USE_XOPEN]: Likewise.
10025 [__USE_ISOC99] Likewise.
10026 * misc/sys/cdefs.h (__fortify_function): Define only if
10027 __extern_always_inline is defined.
10028 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
10029 __extern_always_inline and __extern_inline only for g++-4.3
10030 and newer or a compatible gcc.
10032 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
10035 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10036 last change to handle zero prefix length.
10038 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10040 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
10043 * posix/getconf.c (vars): Add _POSIX_IPV6 and
10044 _POSIX_RAW_SOCKETS.
10046 2014-09-13 Allan McRae <allan@archlinux.org>
10048 * po/ru.po: Update Russian translation from translation project.
10050 2014-09-12 Roland McGrath <roland@hack.frob.com>
10052 * locale/programs/locale.c (show_locale_vars): Inline local function
10053 into its sole call site. Clean up some style nits.
10054 (print_item): New function, broken out of ...
10055 (show_info): ... local function here. Clean up style nits.
10057 * locale/programs/ld-ctype.c (set_one_default): New function, broken
10059 (set_class_defaults): ... local function set_default here.
10060 Define set_default as a macro locally to pass constant parameters.
10061 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
10062 rather than a shared local.
10064 * stdlib/rpmatch.c (try): New function, broken out of ...
10065 (rpmatch): ... local function here. Also, prototypify definition.
10067 2014-09-12 Joseph Myers <joseph@codesourcery.com>
10069 * scripts/soversions.awk: Do not handle configuration names.
10070 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
10071 vendor and os variables to soversions.awk.
10072 * configure.ac: Do not modify gnu-* host_os.
10073 * configure: Regenerated
10074 * shlib-versions: Remove first column with configuration names.
10075 * nptl/shlib-versions: Likewise.
10076 * nptl_db/shlib-versions: Likewise.
10077 * sysdeps/hppa/shlib-versions: Likewise.
10078 * sysdeps/m68k/shlib-versions: Likewise.
10079 * sysdeps/mach/hurd/shlib-versions: Likewise.
10080 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
10081 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
10082 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
10083 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
10084 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
10085 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
10086 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
10087 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
10088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10090 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10091 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10092 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10093 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10094 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10095 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
10096 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10097 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10100 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
10101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10103 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
10104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10105 Condition symbol version definitions on [HAVE_ELFV2_ABI].
10107 * shlib-versions: Remove OS-specific entries. Moved to files in
10109 * sysdeps/mach/hurd/shlib-versions: New file.
10110 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10112 * nptl/shlib-versions: Remove architecture-specific entries.
10113 Moved to files in sysdeps.
10114 * shlib-versions: Likewise.
10115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
10117 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10118 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10119 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10120 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10122 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
10123 (UDP_NO_CHECK6_RX): Likewise.
10125 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10127 * sysdeps/posix/sysconf.c (__sysconf): Spell
10128 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
10130 2014-08-12 Florian Weimer <fweimer@redhat.com>
10132 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
10134 * iconv/Versions (__gconv_transliterate): Export for use from
10136 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
10137 (struct __gconv_trans_data, __gconv_trans_fct,
10138 __gconv_trans_context_fct, __gconv_trans_query_fct,
10139 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
10141 (struct __gconv_step_data): Remove __trans member.
10142 (__gconv_transliterate): Declaration moved from gconv_int.h. No
10143 longer hidden. Remove unused trans_data argument.
10144 * iconv/gconv_int.h (struct trans_struct): Remove definition.
10145 (__gconv_translit_find): Remove declaration.
10146 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
10148 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
10149 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
10150 trans_data argument. Add hidden definition.
10151 (__gconv_translit_find): Remove.
10152 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
10153 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
10154 * iconv/skeleton.c: Remove transliteration initialization.
10155 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
10156 __gconv_step_data initialization.
10157 * libio/iofwide.c (__libio_translit_): Remove.
10158 (_IO_fwide): Adjust struct __gconv_step_data initialization.
10159 * wcsmbs/btowc.c (__btowc): Likewise.
10160 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10161 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10162 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10163 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10164 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
10165 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10166 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10167 * wcsmbs/wctob.c (wctob): Likewise.
10169 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10172 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
10173 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
10175 * sysdeps/x86/Makefile: Adjust.
10177 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10178 Roland McGrath <roland@hack.frob.com>
10180 * locale/weight.h: Add include guard.
10181 (findidx): Make static rather than auto; take new parameters
10182 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
10183 * locale/weightwc.h: Likewise.
10184 * posix/fnmatch_loop.c
10185 (FCT): Change type of EXTRA from int32_t to wint_t.
10186 Don't include either header inside the function.
10187 Call FINDIDX rather than findidx, and pass new arguments.
10188 #undef FINDIDX at the end of the file.
10189 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
10190 FINDIDX before including fnmatch_loop.c for the non-wide version.
10191 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
10192 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
10193 for the wide version.
10194 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
10195 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
10196 Pass new arguments to findidx.
10197 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
10198 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
10199 Don't #include it inside the function. Pass new arguments to findidx.
10200 * posix/regex_internal.h
10201 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
10202 (re_string_elem_size_at): Don't #include it inside the function.
10203 Pass new arguments to findidx.
10204 * string/strcoll_l.c: #include WEIGHT_H at top level.
10205 (get_next_seq): Don't #include it inside the function.
10206 Pass new arguments to findidx.
10207 (get_next_seq_nocache): Likewise.
10208 * string/strxfrm_l.c: #include WEIGHT_H at top level.
10209 (STRXFRM): Don't #include it inside the function.
10210 Pass new arguments to findidx.
10212 2014-09-11 Florian Weimer <fweimer@redhat.com>
10215 * malloc/malloc.c (unlink): Turn asserts into a call to
10218 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
10221 * libio/wfileops (do_ftell_wide): Free OUT.
10223 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
10225 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
10227 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10230 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
10231 group if the current group is empty.
10233 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10235 * benchtests/bench-memset.c (test_main): Add more test from size
10236 from 32 to 512 bytes.
10237 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10238 Add POWER8 memset object.
10239 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10240 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
10241 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
10243 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
10245 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
10246 multiarch POWER8 memset optimization.
10247 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
10248 POWER8 memset optimization.
10250 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10251 Remove bzero multiarch objects.
10252 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
10253 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
10254 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
10255 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
10257 [__bzero]: Redefine to specific name.
10258 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
10259 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
10260 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
10262 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10263 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10265 2014-09-10 Florian Weimer <fweimer@redhat.com>
10267 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
10268 warnings into errors.
10270 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
10271 __cxa_thread_atexit_impl prototype.
10273 2014-09-09 Steve Ellcey <sellcey@mips.com>
10275 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
10276 Fix capitalization of error message.
10278 2014-09-09 Steve Ellcey <sellcey@mips.com>
10280 * sysdeps/mips/preconfigure: Modify ABI tests.
10282 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
10284 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
10286 2014-09-07 Roland McGrath <roland@hack.frob.com>
10287 Carlos O'Donell <carlos@systemhalted.org>
10289 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
10290 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
10291 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
10292 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
10293 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
10294 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
10295 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
10296 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
10297 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
10298 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
10299 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
10300 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
10301 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
10302 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
10303 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
10304 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
10305 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
10306 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
10307 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
10308 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
10309 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
10310 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
10311 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
10312 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
10313 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
10314 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
10315 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
10316 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
10317 Deconditionalize the code that was previously under [RESET_PID].
10318 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
10319 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
10320 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
10321 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
10324 2014-09-08 Allan McRae <allan@archlinux.org>
10326 * version.h (RELEASE): Set to "development".
10327 (VERSION): Set to "2.20.90"
10329 2014-09-07 Allan McRae <allan@archlinux.org
10331 * version.h (RELEASE): Set to "stable".
10332 (VERSION): Set to "2.20"
10333 * include/features.h (__GLIBC_MINOR__): Set to 20.
10335 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
10338 * po/ko.po: Update Korean translation from translation project.
10340 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
10343 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
10344 macro for handling signed relocations.
10346 2014-09-03 Florian Weimer <fweimer@redhat.com>
10349 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
10350 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
10352 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
10353 * iconvdata/ibm935.c (BODY): Likewise.
10354 * iconvdata/ibm937.c (BODY): Likewise.
10355 * iconvdata/ibm939.c (BODY): Likewise.
10356 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
10358 * iconvdata/Makefile (iconv-test.out): Pass module list to test
10360 * iconvdata/run-iconv-test.sh: New test loop for checking for
10363 2014-09-02 Khem Raj <raj.khem@gmail.com>
10365 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
10368 2014-09-01 Allan McRae <allan@archlinux.org>
10370 * po/eo.po: Update Esperanto translation from translation project.
10372 * po/ca.po: Update Catalan translation from translation project.
10374 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10376 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
10377 __proc_dostop call.
10379 2014-08-27 Mark Wielaard <mjw@redhat.com>
10382 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
10383 to call set_thread_area instead of hand written asm.
10384 (__NR_set_thread_area): Removed define.
10385 (TLS_FLAG_WRITABLE): Likewise.
10386 (__ASSUME_SET_THREAD_AREA): Remove check.
10387 (TLS_EBX_ARG): Remove define.
10388 (TLS_LOAD_EBX): Likewise.
10390 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10392 Simplify atomicity of socket creation in bind.
10394 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
10395 looking up the name after linking the file.
10397 2014-08-27 Allan McRae <allan@archlinux.org>
10399 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10401 2014-08-26 Florian Weimer <fweimer@redhat.com>
10404 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
10405 trans_compare, open_translit, __gconv_translit_find):
10406 Remove module loading code.
10408 2014-08-26 Allan McRae <allan@archlinux.org>
10410 * po/vi.po: Update Vietnamese translation from translation project.
10412 * po/uk.po: Update Ukrainian translation from translation project.
10414 * po/fr.po: Update French translation from translation project.
10416 * po/ru.po: Update Russian translation from translation project.
10418 * po/pl.po: Update Polish translation from translation project.
10420 * po/cs.po: Update Czech translation from translation project.
10422 * po/de.po: Update German translation from translation project.
10424 * po/bg.po: Update Bulgarian translation from translation project.
10426 * po/sv.po: Update Sweedish translation from translation project.
10428 * po/nl.po: Update Dutch translation from translation project.
10430 * po/es.po: Update Spanish translation from translation project.
10432 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10434 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
10436 * catgets/Makefile (CPPFLAGS-gencat): Remove.
10437 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
10438 (CPPFLAGS-iconvconfig): Likewise.
10439 * timezone/Makefile (CPPFLAGS-zic): Likewise.
10441 * include/libc-symbols.h: Remove unnecessary check for
10443 * nptl/pthreadP.h: Likewise.
10444 * sysdeps/aarch64/setjmp.S: Likewise.
10445 * sysdeps/alpha/setjmp.S: Likewise.
10446 * sysdeps/arm/sysdep.h: Likewise.
10447 * sysdeps/i386/setjmp.S: Likewise.
10448 * sysdeps/m68k/setjmp.c: Likewise.
10449 * sysdeps/posix/getcwd.c: Likewise.
10450 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10451 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10452 * sysdeps/s390/s390-32/setjmp.S: Likewise.
10453 * sysdeps/s390/s390-64/setjmp.S: Likewise.
10454 * sysdeps/sh/sh3/setjmp.S: Likewise.
10455 * sysdeps/sh/sh4/setjmp.S: Likewise.
10456 * sysdeps/unix/alpha/sysdep.h: Likewise.
10457 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10458 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10459 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10460 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10463 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10464 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10465 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10466 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10467 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10468 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10469 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10470 * sysdeps/x86_64/setjmp.S: Likewise.
10472 2014-08-13 Joseph Myers <joseph@codesourcery.com>
10475 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
10477 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
10478 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
10480 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10482 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
10485 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
10486 and __x86_64__ when disabling x87 inline functions.
10488 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
10491 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
10492 asm statement with __cpuid_count.
10494 2014-08-12 Mike Frysinger <vapier@gentoo.org>
10496 * configure.ac: Change __ehdr_start code to dereference the struct.
10497 Run readelf on the output to look for relocations.
10498 * configure: Regenerated.
10500 2014-08-12 Joseph Myers <joseph@codesourcery.com>
10503 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
10505 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
10507 2014-08-12 Roland McGrath <roland@hack.frob.com>
10509 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
10511 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
10514 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
10515 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
10517 2014-08-12 Sean Anderson <seanga2@gmail.com>
10519 * malloc/malloc.c: Fix typo in comment.
10521 2014-08-09 Allan McRae <allan@archlinux.org>
10523 * Regenerate libc.po.
10525 2014-08-08 Mike Frysinger <vapier@gentoo.org>
10527 * intl/tst-gettext2.sh: Check every lang file for creation.
10529 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
10531 * sysdeps/aarch64/fpu/math_private.h
10532 (libc_feholdsetround_noex_aarch64_ctx): New function.
10534 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
10536 * sysdeps/arm/armv6/strcpy.S (strcpy):
10537 Fix performance issue in misaligned cases.
10539 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10541 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
10542 Move definition from termios.h.
10543 (struct termio): Likewise.
10544 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10545 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10546 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10547 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10549 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
10550 Move definition to ioctl-types.h
10551 (struct termio): Likewise.
10552 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10553 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10554 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10555 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10558 2014-08-05 Richard Henderson <rth@redhat.com>
10560 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
10562 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
10564 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
10565 Use __feraiseexcept.
10566 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
10567 Protect libm symbols with IS_IN_libm.
10569 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
10571 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
10573 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
10575 2014-08-04 Will Newton <will.newton@linaro.org>
10577 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
10580 2014-08-04 Mike Frysinger <vapier@gentoo.org>
10582 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
10583 variants for each function.
10585 2014-08-04 Roland McGrath <roland@hack.frob.com>
10587 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
10589 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
10590 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
10592 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
10593 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
10594 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
10595 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
10596 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
10597 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
10598 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
10599 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
10600 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
10601 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
10602 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
10603 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
10604 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
10605 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
10606 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
10607 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
10608 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
10609 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
10610 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
10611 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
10612 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
10613 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
10614 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
10615 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
10616 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
10617 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
10618 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
10619 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
10620 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
10621 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
10622 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
10623 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
10624 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
10625 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
10626 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
10627 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
10628 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
10629 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
10630 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
10631 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
10632 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
10633 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
10634 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
10635 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
10636 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
10637 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
10638 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
10639 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
10640 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
10641 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
10642 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
10643 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
10644 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
10646 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
10647 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
10649 2014-08-04 Roland McGrath <roland@hack.frob.com>
10651 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
10652 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
10653 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
10654 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
10655 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
10656 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
10658 2014-08-04 Roland McGrath <roland@hack.frob.com>
10660 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
10661 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
10662 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10663 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
10665 2014-08-04 Roland McGrath <roland@hack.frob.com>
10667 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
10668 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
10669 (__libc_vfork): Define function under this name.
10670 (__vfork): Define as an alias.
10671 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
10672 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
10674 2014-08-04 Roland McGrath <roland@hack.frob.com>
10676 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
10677 that was previously under [RESET_PID].
10678 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
10680 2014-08-04 Andreas Schwab <schwab@suse.de>
10682 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
10684 2014-08-03 Mike Frysinger <vapier@gentoo.org>
10686 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
10689 2014-08-01 Roland McGrath <roland@hack.frob.com>
10691 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
10693 2014-08-01 Richard Henderon <rth@redhat.com>
10695 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
10696 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
10697 typo in exact zero test.
10698 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10699 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10700 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10702 2014-08-01 Roland McGrath <roland@hack.frob.com>
10704 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
10705 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
10706 * sysdeps/arm/sysdep.h: ... here.
10707 [!__ASSEMBLER__]: Include <stdint.h>.
10709 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10711 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
10712 (HAVE_WCTYPE_H): Likewise.
10713 (HAVE_ISWCTYPE): Likewise.
10714 (ENABLE_NLS): Likewise.
10715 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
10716 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
10718 * posix/regex_internal.c: Check if DEBUG is defined and is
10721 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
10722 (HAVE_MBSRTOWCS): Likewise.
10723 * posix/fnmatch.c: Include string.h unconditionally.
10725 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
10727 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
10730 2014-07-31 Roland McGrath <roland@hack.frob.com>
10732 * sysdeps/generic/safe-fatal.h: New file.
10733 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
10734 * nptl/forward.c: Include it.
10735 (__pthread_unwind): Use __safe_fatal as default action, rather
10736 than a bogus use of INTERNAL_SYSCALL that could never work.
10738 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
10739 * configure.ac (libc_cv_builtin_trap): New test.
10740 * configure: Regenerated.
10741 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
10742 (ABORT_INSTRUCTION): Define using __builtin_trap.
10744 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
10745 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
10746 * sysdeps/nptl/nptl-signals.h: New file.
10747 * nptl/pthreadP.h: Include <nptl-signals.h>.
10749 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
10751 * sysdeps/s390/s390-64/utf16-utf32-z9.c
10752 (ONE_DIRECTION): Define.
10753 * sysdeps/s390/s390-64/utf8-utf16-z9.c
10754 (ONE_DIRECTION): Define.
10755 * sysdeps/s390/s390-64/utf8-utf32-z9.c
10756 (ONE_DIRECTION): Define.
10758 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
10760 * sysdeps/s390/Makefile: Delete file.
10761 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
10762 * sysdeps/s390/__longjmp.c: Delete file.
10763 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
10764 Remove fields __flags and __reserved.
10765 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
10766 and add versioning.
10767 * sysdeps/s390/rtld-__longjmp.c: Delete file.
10768 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
10769 * sysdeps/s390/rtld-setjmp.S: Likewise.
10770 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
10771 * sysdeps/s390/s390-32/__longjmp.c: ... here.
10772 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
10773 * sysdeps/s390/s390-32/setjmp.S: ... here.
10775 (__sigsetjmp): Remove setting __flags field.
10776 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
10777 * sysdeps/s390/s390-64/__longjmp.c: ... here.
10778 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
10779 * sysdeps/s390/s390-64/setjmp.S: ... here.
10781 (__sigsetjmp): Remove setting __flags field.
10782 * sysdeps/s390/setjmp.S: Delete file.
10783 * sysdeps/s390/sigjmp.c: Likewise.
10784 * sysdeps/s390/v1-longjmp.c: Likewise.
10785 * sysdeps/s390/v1-setjmp.h: Likewise.
10786 * sysdeps/s390/v1-sigjmp.c: Likewise.
10787 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
10788 Remove v1-longjmp_chk.
10789 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
10790 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
10791 Include debug/longjmp_chk.c and add versioning.
10792 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
10793 Include nptl/pt-longjmp.c and add versioning.
10794 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
10795 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
10796 Include __longjmp.c.
10797 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10799 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
10800 (__getcontext): Remove setting __flags field.
10802 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10803 Don't restore upper high grps.
10804 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
10806 (__swapcontext): Remove setting uc_flags field.
10807 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
10809 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10810 Include __longjmp.c.
10811 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10813 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
10814 (__getcontext): Remove setting __flags field.
10816 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
10817 (__swapcontext): Remove setting uc_flags field.
10818 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
10819 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
10820 Remove fields uc_high_gprs and __reserved.
10821 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
10822 New file with reverted content.
10823 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
10824 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
10826 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
10829 2014-07-31 Andreas Schwab <schwab@suse.de>
10831 * config.h.in (HAVE_IFUNC): Define to 0.
10832 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
10835 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
10837 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10838 memmove-avx-unaligned, memcpy-avx-unaligned and
10839 mempcpy-avx-unaligned.
10840 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10841 Add tests for AVX memcpy functions.
10842 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
10843 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
10845 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
10846 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
10848 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
10849 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
10851 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
10852 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
10853 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
10855 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10858 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
10861 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
10864 * manual/llio.texi: Add section about open file description locks.
10865 * manual/examples/ofdlocks.c: Example of open file description
10867 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
10868 F_OFD_SETLK, and F_OFD_SETLKW.
10870 2014-07-23 Allan McRae <allan@archlinux.org>
10872 * po/es.po: Update Spanish translation from translation project.
10874 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
10876 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
10878 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
10881 * sysdeps/arm/dl-machine.h (elf_machine_rela)
10882 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
10883 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
10885 2014-07-17 Joseph Myers <joseph@codesourcery.com>
10888 * math/fesetenv.c (__fesetenv)
10889 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
10890 * math/feupdateenv.c (__feupdateenv)
10891 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
10893 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
10894 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10895 (__ASSUME_SOCKETCALL): Do not define.
10897 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
10898 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
10899 (__ASSUME_SOCKETCALL): Do not define.
10900 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
10901 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10902 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10903 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10904 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10905 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
10906 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10907 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10909 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
10910 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
10911 (__ASSUME_SOCKETCALL): Do not define.
10912 (__ASSUME_IPC64): Define unconditionally.
10913 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
10914 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10915 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
10916 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10917 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
10918 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10919 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
10922 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
10923 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
10924 (__ASSUME_SOCKETCALL): Do not define.
10925 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
10926 (__ASSUME_FUTEX_LOCK_PI): Likewise.
10927 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10928 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10929 (__ASSUME_REQUEUE_PI): Define unconditionally.
10930 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
10931 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10932 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10933 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
10934 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10935 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10937 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
10938 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
10939 (__ASSUME_SOCKETCALL): Do not define.
10940 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
10941 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10942 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10943 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
10944 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10945 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10947 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
10948 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
10949 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10950 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
10951 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10952 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
10953 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10954 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
10955 (__ASSUME_GETCPU_SYSCALL): Likewise.
10957 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
10958 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
10959 cases for individual architectures.
10960 * sysdeps/gnu/configure: Regenerated.
10961 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
10962 LIBC_SLIBDIR_RTLDDIR.
10963 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
10964 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
10965 LIBC_SLIBDIR_RTLDDIR.
10966 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
10967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
10968 LIBC_SLIBDIR_RTLDDIR.
10969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10971 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
10972 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
10974 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
10975 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
10977 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
10978 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
10979 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
10980 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
10982 * sysdeps/aarch64/shlib-versions: Move to ...
10983 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
10984 * sysdeps/alpha/shlib-versions: Move to ...
10985 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
10986 * sysdeps/arm/shlib-versions: Move to ...
10987 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
10988 * sysdeps/hppa/shlib-versions: Move all contents except for
10989 libgcc_s entry to ...
10990 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
10992 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
10993 * sysdeps/ia64/shlib-versions: Move to ...
10994 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
10996 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
10997 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
10998 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
10999 * sysdeps/microblaze/shlib-versions: Move to ...
11000 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
11001 * sysdeps/mips/shlib-versions: Move to ...
11002 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
11004 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
11005 * sysdeps/tile/shlib-versions: Move to ...
11006 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
11007 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
11009 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
11010 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
11012 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
11014 2014-07-17 Will Newton <will.newton@linaro.org>
11016 * sysdeps/arm/bits/atomic.h
11017 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
11018 (__arch_compare_and_exchange_bool_16_int): Likewise.
11019 (__arch_compare_and_exchange_bool_64_int): Likewise.
11021 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
11022 into an #else block.
11024 2014-07-16 Roland McGrath <roland@hack.frob.com>
11026 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
11027 just Linux configurations. Test empirically that the compiler sets
11028 __ARM_EABI__, rather than using the tuple to decide.
11029 * sysdeps/arm/preconfigure: Regenerated.
11030 * sysdeps/unix/sysv/linux/arm/configure: File removed.
11031 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
11032 contents appended ...
11033 * sysdeps/arm/configure.ac: ... here.
11034 * sysdeps/arm/configure: Regenerated.
11036 2014-07-15 Roland McGrath <roland@hack.frob.com>
11038 * nptl/pthread_kill.c: New file.
11039 * nptl/pthread_sigmask.c: New file.
11040 * nptl/pthread_sigqueue.c: New file.
11042 * sysdeps/nptl/lowlevellock.h: New file.
11043 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
11044 * sysdeps/nptl/lowlevellock-futex.h: New file.
11046 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
11047 Remove dead declarations.
11049 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
11051 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
11052 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
11053 config-cflags-avx2.
11054 * sysdeps/x86_64/configure.ac: Likewise.
11055 * sysdeps/i386/configure: Regenerated.
11056 * sysdeps/x86_64/configure: Likewise.
11057 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11058 memset-avx2 only if config-cflags-avx2 is yes.
11059 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11060 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
11062 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
11063 only if HAVE_AVX2_SUPPORT is defined.
11064 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11066 2014-07-14 Alan Modra <amodra@gmail.com>
11069 * elf/elf.h (DT_PPC64_NUM): Correct value.
11070 * NEWS: Add to fixed bug list.
11072 2014-07-13 Jim Meyering <meyering@fb.com>
11075 regex: don't deref NULL upon heap allocation failure
11076 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
11077 failure in one more place.
11078 To trigger the segfault, configure grep -with-included-regex,
11079 build it, and run these commands:
11080 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
11082 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
11084 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11086 2014-07-11 Richard Henderson <rth@redhat.com>
11088 * sysdeps/aarch64/libm-test-ulps: Update.
11090 2014-07-10 Florian Weimer <fweimer@redhat.com>
11093 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
11094 * nptl/allocatestack.c (__nptl_setxid_error): New function.
11095 (__nptl_setxid): Initialize error member. Call
11096 __nptl_setxid_error.
11097 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
11098 * nptl/descr.h (struct xid_command): Add error member.
11099 * nptl/tst-setuid3.c: New file.
11100 * nptl/Makefile (tests): Add it.
11102 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11104 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
11106 (__lll_trylock): Use __lll_base_trylock.
11107 (__lll_cond_trylock): Likewise.
11109 2014-07-10 Roland McGrath <roland@hack.frob.com>
11111 * nptl/pthread_create.c (start_thread): Use atomic_or and
11112 lll_futex_wake directly rather than lll_robust_dead.
11113 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11114 (lll_robust_dead): Macro removed.
11115 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
11116 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11117 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11118 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11119 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11120 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11121 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11122 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11123 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11124 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11125 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11126 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11127 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11128 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11129 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11131 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11132 Use atomic_compare_and_exchange_val_acq directly rather than
11133 lll_robust_trylock.
11134 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11135 (__lll_robust_trylock, lll_robust_trylock): Removed.
11136 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11137 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11138 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11139 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11140 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11141 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11142 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11143 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11144 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11145 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11146 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11147 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11148 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11149 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11151 2014-07-02 Florian Weimer <fweimer@redhat.com>
11153 * manual/locale.texi (Locale Names): New section documenting
11154 locale name syntax. Adjust menu and node chaining accordingly.
11155 (Choosing Locale): Reference Locale Names, Locale Categories.
11156 Mention setting LC_ALL=C. Reflect that name syntax is now
11158 (Locale Categories): New section title. Reference Locale Names.
11159 LC_ALL is an environment variable, but not a category.
11160 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
11161 description, now in Locale Name. Reference that section. Locale
11162 name syntax is now documented.
11164 2014-07-02 Florian Weimer <fweimer@redhat.com>
11167 * locale/findlocale.c (name_present, valid_locale_name): New
11169 (_nl_find_locale): Use the loc_name variable to store name
11170 candidates. Call name_present and valid_locale_name to check and
11171 validate locale names. Return an error if the locale is invalid.
11173 2014-07-02 Florian Weimer <fweimer@redhat.com>
11175 * locale/setlocale.c (setlocale): Use strdup for allocating
11176 composite name copy.
11178 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11180 Sync up with gnulib.
11181 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
11182 [!_LIBC && ENABLE_NLS]: Include gettext.h.
11183 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
11184 and _GL_ARG_NONNULL.
11185 [USE_UNLOCKED_IO]: Include unlocked-io.h.
11186 [!_LIBC]: Include code for Windows and Cygwin.
11187 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
11188 Include prototype for int strerror_r.
11189 [!_LIBC] (is_open): New function.
11190 (flush_stdout): New function.
11191 (print_errno_message): Use it.
11193 (error_at_line): Likewise.
11194 (error_tail) Add function attribute macros. Use
11197 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
11199 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
11201 * io/ftw.c: Include sys/param.h unconditionally.
11203 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
11206 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
11208 (freecache): New function to free CACHE on exit.
11210 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
11213 2014-07-09 David S. Miller <davem@davemloft.net>
11215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11217 * sysdeps/sparc/nptl/internaltypes.h: Delete.
11218 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
11219 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
11220 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
11221 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
11222 * sysdeps/sparc/nptl/sem_init.c: Likewise.
11223 * sysdeps/sparc/nptl/sem_post.c: Likewise.
11224 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
11225 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
11226 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
11227 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
11228 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
11229 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
11231 2014-07-09 Andreas Schwab <schwab@suse.de>
11233 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
11235 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
11236 (do_test): Likewise.
11238 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11240 2014-07-09 Will Newton <will.newton@linaro.org>
11242 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
11243 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
11244 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
11245 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
11246 * sysdeps/hppa/start.S (_start): Likewise.
11248 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11250 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
11252 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
11255 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11257 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
11258 after checking that it is non-NULL.
11260 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
11262 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11264 * sysdeps/powerpc/memmove.c: Remove file.
11265 * sysdeps/powerpc/powerpc32/power4/memcopy.h
11266 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
11267 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
11268 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
11269 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
11270 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
11271 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
11272 string memmove instead of removed powerpc one.
11274 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11275 [weak_alias]: Fix compiler warning due trailing data.
11276 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
11277 [weak_alias]: Likewise.
11278 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
11279 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
11281 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11282 (__libc_ifunc_impl_list): Add memmove functions.
11284 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11286 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
11288 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
11290 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
11292 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
11294 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
11296 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
11298 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
11300 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
11302 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
11304 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
11306 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
11308 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
11310 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
11312 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
11314 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
11316 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
11318 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
11321 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11323 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
11324 to avoid alignment traps in non-cacheable memory.
11325 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11327 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
11329 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
11330 file: multiarch power7 memmove.
11331 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
11332 multiarch default memmove.
11333 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
11334 multiarch memove for powerpc32/power4.
11336 * string/bcopy.c: Use full path to include memmove.c.
11337 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
11339 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
11340 bcopy for powerpc64.
11341 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
11342 bcopy for powerpc64.
11343 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
11344 and memmove implementations.
11345 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
11346 optimized multiarch memmove for POWER7/powerpc64.
11347 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
11348 default multiarch memmove for powerpc64.
11349 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
11350 multiarch for powerpc64.
11351 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
11352 for POWER7/powerpc64.
11353 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
11354 memmove for POWER7/powerpc64.
11356 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
11359 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
11360 __ELF_NATIVE_CLASS equal to 64.
11362 2014-07-07 Roland McGrath <roland@hack.frob.com>
11364 * sysdeps/nptl/lowlevellock.h: File removed.
11366 * NEWS: NPTL is no longer an add-on!
11367 * nptl/internaltypes.h: Moved ...
11368 * sysdeps/nptl/internaltypes.h: ... here.
11369 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
11370 * sysdeps/nptl/fork.c: Likewise.
11371 * sysdeps/nptl/gai_misc.h: Likewise.
11372 * sysdeps/nptl/librt-cancellation.c: Likewise.
11373 * sysdeps/nptl/jmp-unwind.c: Likewise.
11374 * sysdeps/nptl/setxid.h: Likewise.
11375 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
11376 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
11377 * sysdeps/unix/sysv/linux/arm/Implies: New file.
11378 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
11379 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
11380 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
11381 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
11382 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
11383 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
11384 * sysdeps/unix/sysv/linux/mips/Implies: New file.
11385 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
11386 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
11387 * sysdeps/unix/sysv/linux/sh/Implies: New file.
11388 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
11389 * sysdeps/unix/sysv/linux/tile/Implies: New file.
11390 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
11391 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
11392 * nptl/Makeconfig: Moved ...
11393 * sysdeps/nptl/Makeconfig: ... here.
11394 * nptl/configure: File removed.
11395 * nptl/ANNOUNCE: File removed.
11396 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
11397 * sysdeps/unix/sysv/linux/configure: Regenerated.
11399 * nptl/Makefile (routines): Add libc_pthread_init,
11400 libc_multiple_threads, register-atfork and unregister-atfork.
11401 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
11402 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
11403 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
11404 pthread-pi-defines.sym, structsem.sym.
11405 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
11406 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
11407 [$(subdir) = nptl] (tests): Add tst-setgetname.
11408 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
11409 * sysdeps/unix/sysv/linux/sigaction.c: Just include
11410 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
11411 [!LIBC_SIGACTION]: Remove aliases.
11412 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11413 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11414 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11415 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
11416 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11417 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
11418 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11419 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11420 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11421 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
11422 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
11423 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
11424 __libc_allocate_rtsig_private.
11425 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
11426 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
11427 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
11428 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
11429 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
11430 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
11431 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
11432 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
11433 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
11434 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
11435 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
11436 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
11437 * nptl/internaltypes.h: ... here.
11438 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
11439 * sysdeps/nptl/jmp-unwind.c: ... here.
11440 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
11441 * nptl/libc-lowlevellock.c: ... here.
11442 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
11443 * nptl/libc_multiple_threads.c: ... here.
11444 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
11445 * nptl/libc_pthread_init.c: ... here.
11446 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
11447 * nptl/lowlevelbarrier.sym: ... here.
11448 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
11449 * nptl/lowlevelcond.sym: ... here.
11450 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
11451 * nptl/lowlevellock.c: ... here.
11452 * nptl/lowlevellock.h: Moved ...
11453 * sysdeps/nptl/lowlevellock.h: ... here.
11454 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
11455 * nptl/lowlevelrobustlock.c: ... here.
11456 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
11457 * nptl/lowlevelrobustlock.sym: ... here.
11458 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
11459 * nptl/lowlevelrwlock.sym: ... here.
11460 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
11461 * nptl/pt-fork.c: ... here.
11462 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
11463 * nptl/pthread-pi-defines.sym: ... here.
11464 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
11465 * nptl/pthread_attr_getaffinity.c: ... here.
11466 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
11467 * nptl/pthread_attr_setaffinity.c: ... here.
11468 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
11469 * nptl/pthread_mutex_cond_lock.c: ... here.
11470 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11472 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
11473 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
11474 * nptl/pthread_once.c: ... here, replacing old file.
11475 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
11476 * nptl/pthread_yield.c: ... here.
11477 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
11478 * nptl/register-atfork.c: ... here.
11479 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
11480 * nptl/sem_post.c: ... here.
11481 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
11482 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
11483 * nptl/sem_timedwait.c: ... here.
11484 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
11485 * nptl/sem_trywait.c: ... here.
11486 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
11487 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
11488 * nptl/sem_wait.c: ... here.
11489 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
11490 * nptl/structsem.sym: ... here.
11491 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
11492 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
11493 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
11494 * nptl/unregister-atfork.c: ... here.
11495 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
11496 * nptl/unwindbuf.sym: ... here.
11497 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
11498 * sysdeps/nptl/fork.c: ... here.
11499 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
11500 * sysdeps/nptl/fork.h: ... here.
11501 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
11502 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
11503 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
11504 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
11505 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
11506 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
11507 * sysdeps/unix/sysv/linux/getpid.c: ... here.
11508 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
11509 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
11510 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
11511 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
11512 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
11513 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
11514 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
11515 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
11516 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
11517 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
11518 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
11519 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
11520 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
11521 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
11522 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
11523 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
11524 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
11525 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
11526 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
11527 * sysdeps/unix/sysv/linux/raise.c: ... here.
11528 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
11529 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
11530 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
11531 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
11532 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
11533 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
11534 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
11535 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
11536 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
11537 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
11538 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
11539 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
11540 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
11541 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
11542 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
11544 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11546 * sysdeps/generic/memcopy.h: Add comment for
11547 MEMCPY_OK_FOR_FWD_MEMMOVE.
11549 2014-07-04 Will Newton <will.newton@linaro.org>
11551 * string/memchr.c: Merge from gnulib.
11552 [_LIBC]: Remove conditionals.
11553 (__ptr_t): Remove define.
11554 (LONG_MAX_32_BITS): Likewise.
11555 (LONG_MAX): Likewise.
11556 (MEMCHR): Use ANSI prototype and optimize algorithm.
11558 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
11560 2014-07-03 Roland McGrath <roland@hack.frob.com>
11562 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
11563 (lll_futex_timed_wait_bitset): Fix syscall argument count.
11565 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
11566 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
11567 in a bare environment with no <stdlib.h> installed.
11568 * sysdeps/nptl/configure: Regenerated.
11570 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
11572 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
11573 AC_EGREP_CPP for kernel header checks, so they only succeed if
11574 including <linux/version.h> actually works right.
11575 * sysdeps/unix/sysv/linux/configure: Regenerated.
11577 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
11578 value so it's not diagnosed as unused.
11580 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
11581 thing) with "ifeq ($(subdir),rt)".
11583 2014-07-03 Richard Henderson <rth@redhat.com>
11585 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
11586 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
11587 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
11589 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
11590 (math_force_eval): New.
11592 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
11593 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
11595 * sysdeps/alpha/fpu/s_round.c: Remove file.
11596 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
11598 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
11599 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
11600 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
11601 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
11602 (_dl_start, print_statistics): Likewise.
11603 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
11604 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
11606 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11607 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11608 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11609 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11610 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11611 (HP_SMALL_TIMING_AVAIL): Define.
11612 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11613 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11614 (HP_SMALL_TIMING_AVAIL): Define.
11615 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11616 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11618 * sysdeps/aarch64/hp-timing.h: New file.
11620 * sysdeps/generic/hp-timing.h: Remove dead comment.
11621 * sysdeps/generic/hp-timing-common.h: New file.
11622 * sysdeps/alpha/hp-timing.h: Include it.
11623 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
11624 * sysdeps/i386/i686/hp-timing.h: Likewise.
11625 * sysdeps/ia64/hp-timing.h: Likewise.
11626 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11627 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11628 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11629 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11630 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
11631 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
11632 (hp_timing_t): New.
11634 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
11635 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
11636 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
11637 * elf/rtld.c (_dl_start_final): Likewise.
11638 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
11639 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11640 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11641 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11642 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11643 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11644 (HP_TIMING_DIFF_INIT): Remove.
11645 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11646 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11647 (HP_TIMING_DIFF_INIT): Remove.
11648 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11649 * sysdeps/i386/i686/hp-timing.c: Remove file.
11650 * sysdeps/x86_64/hp-timing.c: Remove file.
11651 * sysdeps/ia64/hp-timing.c: Remove file.
11652 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
11653 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
11654 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
11655 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
11657 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
11658 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
11659 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
11660 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11661 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11662 (HP_TIMING_ACCUM): Remove.
11663 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11664 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
11665 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11667 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
11668 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
11669 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
11670 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
11671 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
11672 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11673 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
11674 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11676 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
11678 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
11680 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
11682 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11684 Sync up with gettext.
11685 * intl/loadmsgcat.c: Define O_BINARY if not defined.
11686 [_MSC_VER]: Include malloc.h
11687 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
11688 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
11689 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
11690 TEMP_FAILURE_RETRY. Cast return of alloca.
11691 [!_LIBC] Call gl_rwlock_init.
11692 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
11694 2014-07-02 Roland McGrath <roland@hack.frob.com>
11696 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
11697 before checking its value.
11699 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11701 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
11703 * debug/memcpy_chk.c: Don't include pagecopy.h.
11704 * debug/mempcpy_chk.c: Likewise.
11705 * string/memcpy.c: Likewise.
11706 * string/memmove.c: Likewise.
11707 * sysdeps/powerpc/memmove.c: Likewise.
11708 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
11709 definition of PAGE_COPY_FWD_MAYBE here...
11710 * sysdeps/generic/pagecopy.h: ... from here.
11711 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
11713 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11714 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11716 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
11717 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
11719 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11720 (__libc_ifunc_impl_list): Likewise.
11721 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
11722 multiarch strcat for PPC64.
11723 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
11724 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
11726 2014-07-02 Roland McGrath <roland@hack.frob.com>
11728 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
11730 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11732 * intl/loadmsgcat.c: Remove declaration of
11733 get_sysdep_segment_value.
11734 (get_sysdep_segment_value): Use ISO C style.
11735 (_nl_load_domain): Use ISO C style. Get rid of redundant
11736 semicolon. Fix typo and formatting in comment.
11737 (_nl_unload_domain): Use ISO C style.
11739 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
11741 2014-07-02 Will Newton <will.newton@linaro.org>
11743 * malloc/obstack.c: Merge from gnulib master.
11744 [HAVE_CONFIG_H]: Remove conditional code.
11745 [!_LIBC]: Include config.h.
11746 [!ELIDE_CODE]: Don't include inttypes.h, include
11747 stdint.h unconditionally.
11748 (print_and_abort): Mark as _Noreturn.
11749 (_obstack_allocated_p): Mark as __attribute_pure__.
11750 (obstack_free): Rename to __obstack_free.
11751 [!__attribute__]: Remove conditional code.
11752 * malloc/obstack.h: Merge from gnulib master.
11753 [__cplusplus]: Move conditional down.
11754 [!__attribute_pure__]: Define __attribute_pure__ here
11755 if it is not already defined.
11756 (_obstack_memory_used): Mark as __attribute_pure__.
11757 [!__obstack_free]: Define as obstack_free.
11758 [__GNUC__]: Remove check for ancient NeXT gcc.
11760 2014-07-02 Will Newton <will.newton@linaro.org>
11761 Paul Eggert <eggert@cs.ucla.edu>
11763 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
11765 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11767 * resolv/gethnamaddr.c: Add comment warning that the file is
11770 2014-07-01 Carlos O'Donell <carlos@redhat.com>
11772 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
11775 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
11776 entry for aio_cancel and aio_cancel64.
11777 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
11778 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
11779 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
11780 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
11781 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
11782 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
11783 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
11784 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
11785 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
11786 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
11787 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
11788 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
11789 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
11791 2014-07-01 Roland McGrath <roland@hack.frob.com>
11793 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
11794 * nptl/pthread_mutex_lock.c: Likewise.
11795 * nptl/pthread_mutex_timedlock.c: Likewise.
11796 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
11798 2014-07-01 Richard henderson <rth@redhat.com>
11800 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
11801 (__isnan, __isnanl): Remove.
11802 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
11804 * sysdeps/alpha/fpu/libm-test-ulps: Update.
11806 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
11808 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11810 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11812 * resolv/nss_dns/dns-host.c (getanswer_r)
11813 [MULTI_PTRS_ARE_ALIASES]: Remove code.
11815 2014-07-01 Joseph Myers <joseph@codesourcery.com>
11817 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11818 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
11820 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
11821 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
11823 2014-07-01 Roland McGrath <roland@hack.frob.com>
11825 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
11826 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
11828 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
11829 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
11831 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
11832 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
11834 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
11835 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
11837 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
11838 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
11839 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
11840 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
11842 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
11843 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
11844 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
11845 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
11846 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
11848 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
11850 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
11851 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
11852 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
11853 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
11854 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
11855 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
11856 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
11857 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
11858 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
11859 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
11860 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
11861 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
11862 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
11863 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
11864 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
11865 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
11866 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
11867 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
11868 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
11869 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
11871 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
11872 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
11873 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
11874 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
11875 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
11876 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
11877 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
11878 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
11880 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
11882 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
11883 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
11884 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
11887 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11891 2014-06-30 Joseph Myers <joseph@codesourcery.com>
11893 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11894 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11896 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11898 * sysdeps/arm/libm-test-ulps: Regenerated.
11900 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
11901 Roland McGrath <roland@hack.frob.com>
11903 * test-skeleton.c (signal_handler): Kill the whole process group
11904 before killing the child individually.
11905 (main): Report any failure on `setpgid'.
11907 2014-06-30 Roland McGrath <roland@hack.frob.com>
11909 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
11910 from _TLS_H to _ARM_NPTL_TLS_H.
11911 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
11912 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
11914 2014-06-30 Joseph Myers <joseph@codesourcery.com>
11917 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
11918 (__expm1l): Return argument unchanged when small but not
11921 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
11922 include macro name.
11923 (_FP_UNPACK_RAW_1_P): Likewise.
11924 (_FP_PACK_RAW_1): Likewise.
11925 (_FP_PACK_RAW_1_P): Likewise.
11926 (_FP_MUL_MEAT_1_wide): Likewise.
11927 (_FP_MUL_MEAT_DW_1_hard): Likewise.
11928 (_FP_MUL_MEAT_1_hard): Likewise.
11929 (_FP_DIV_MEAT_1_imm): Likewise.
11930 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
11931 (_FP_DIV_MEAT_1_udiv): Likewise.
11932 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
11933 (_FP_UNPACK_RAW_2): Likewise.
11934 (_FP_UNPACK_RAW_2_P): Likewise.
11935 (_FP_PACK_RAW_2): Likewise.
11936 (_FP_PACK_RAW_2_P): Likewise.
11937 (_FP_MUL_MEAT_DW_2_wide): Likewise.
11938 (_FP_MUL_MEAT_2_wide): Likewise.
11939 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
11940 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11941 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
11942 (_FP_MUL_MEAT_2_gmp): Likewise.
11943 (_FP_DIV_MEAT_2_udiv): Likewise.
11944 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
11945 (_FP_FRAC_SRL_4): Likewise.
11946 (_FP_FRAC_SRST_4): Likewise.
11947 (_FP_FRAC_SRS_4): Likewise.
11948 (_FP_UNPACK_RAW_4): Likewise.
11949 (_FP_UNPACK_RAW_4_P): Likewise.
11950 (_FP_PACK_RAW_4): Likewise.
11951 (_FP_PACK_RAW_4_P): Likewise.
11952 (_FP_MUL_MEAT_DW_4_wide): Likewise.
11953 (_FP_MUL_MEAT_4_wide): Likewise.
11954 (_FP_MUL_MEAT_4_gmp): Likewise.
11955 (umul_ppppmnnn): Likewise.
11956 (_FP_DIV_MEAT_4_udiv): Likewise.
11957 (__FP_FRAC_ADD_4): Likewise.
11958 (__FP_FRAC_SUB_3): Likewise.
11959 (__FP_FRAC_SUB_4): Likewise.
11960 (__FP_FRAC_DEC_3): Likewise.
11961 (__FP_FRAC_DEC_4): Likewise.
11962 (__FP_FRAC_ADDI_4): Likewise.
11963 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
11964 (_FP_FRAC_SRL_8): Likewise.
11965 (_FP_FRAC_SRS_8): Likewise.
11967 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
11968 include macro name.
11969 (FP_UNPACK_RAW_EP): Likewise.
11970 (FP_PACK_RAW_E): Likewise.
11971 (FP_PACK_RAW_EP): Likewise.
11972 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
11973 (_FP_ISSIGNAN): Likewise.
11974 (_FP_ADD_INTERNAL): Likewise.
11975 (_FP_FMA): Likewise.
11976 (_FP_CMP): Likewise.
11977 (_FP_SQRT): Likewise.
11978 (_FP_TO_INT): Likewise.
11979 (_FP_FROM_INT): Likewise.
11980 (FP_EXTEND): Likewise.
11981 (_FP_DIV_MEAT_N_loop): Likewise.
11983 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
11985 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
11988 2014-06-29 Joseph Myers <joseph@codesourcery.com>
11991 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
11992 result with correct sign in case of exponents that produce
11993 overflow except for X very close to 1.
11995 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
11997 mktime: merge #if/#ifdef usage from glibc
11998 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
11999 as that works with both Glibc's and Gnulib's style.
12000 See thread starting at Siddhesh Poyarekar's bug report at:
12001 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
12003 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12005 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
12006 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
12007 * sysdeps/tile/tilegx/memmove.c: Remove file.
12009 2014-06-27 Joseph Myers <joseph@codesourcery.com>
12011 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
12012 abi-name definition.
12013 * scripts/soversions.awk: Do not handle or generate ABI lines.
12014 * shlib-versions: Remove ABI entries.
12015 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
12016 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
12018 2014-06-27 Roland McGrath <roland@hack.frob.com>
12020 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
12021 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
12022 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
12023 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
12024 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
12025 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
12026 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
12028 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12030 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
12031 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
12032 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
12033 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
12034 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
12035 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
12036 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
12037 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
12038 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
12039 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
12040 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
12041 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
12042 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
12044 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
12045 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
12046 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
12047 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
12048 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
12049 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
12051 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
12052 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
12054 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
12055 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
12056 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
12057 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
12059 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
12060 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
12061 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
12062 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
12063 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
12064 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
12065 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
12066 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
12068 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
12069 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
12070 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
12071 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
12073 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
12074 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
12076 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
12077 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
12078 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
12079 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
12081 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12083 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
12084 Identical file removed.
12085 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
12087 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
12088 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
12089 Identical file removed.
12090 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
12091 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
12092 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
12094 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
12095 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
12096 Identical file removed.
12097 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
12098 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
12099 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
12100 Identical file removed.
12101 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
12102 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
12103 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
12104 Identical file removed.
12105 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
12106 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
12107 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
12108 Identical file removed.
12109 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
12111 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
12112 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
12113 Identical file removed.
12114 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
12116 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
12117 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
12118 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
12119 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
12120 Identical file removed.
12121 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
12123 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
12125 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
12126 Identical file removed.
12127 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
12129 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
12130 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
12131 Identical file removed.
12132 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
12134 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
12135 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
12136 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
12137 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
12138 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
12139 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
12141 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
12142 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
12143 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
12145 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
12146 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
12147 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
12148 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
12149 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
12151 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
12154 * nscd/nscd.c (monitor_child): Return exit status of child
12155 instead of return value from wait syscall.
12157 2014-06-27 Joseph Myers <joseph@codesourcery.com>
12159 * configure.ac (libc_commonpagesize): Remove variable.
12160 (libc_relro_required): Likewise.
12161 (libc_cv_z_relro): Remove configure test.
12162 * configure: Regenerated.
12163 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
12165 (libc_relro_required): Likewise.
12166 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
12167 (libc_relro_required): Likewise.
12168 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
12169 (libc_relro_required): Likewise.
12170 * sysdeps/arm/preconfigure: Regenerated.
12171 * sysdeps/ia64/preconfigure: Remove file.
12172 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
12174 (libc_relro_required): Likewise.
12178 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
12179 (__ieee754_yn): Set FE_TONEAREST mode internally and then
12180 recompute overflowing results in original rounding mode.
12181 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
12182 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
12183 recompute overflowing results in original rounding mode.
12184 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
12185 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12186 recompute overflowing results in original rounding mode.
12187 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
12188 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12189 recompute overflowing results in original rounding mode.
12190 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
12191 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12192 recompute overflowing results in original rounding mode.
12193 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
12194 (libc_feholdsetround_ctx): New macro.
12195 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
12196 * sysdeps/i386/fpu/libm-test-ulps: Update.
12197 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
12199 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12201 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
12202 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
12203 corresponding .cpsetup call.
12205 2014-06-26 Roland McGrath <roland@hack.frob.com>
12207 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
12208 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
12209 * sysdeps/arm/Makefile [$(subdir) = csu]
12210 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
12211 (static-only-routines): Add aeabi_read_tp here.
12212 (shared-only-routines): Add libc-aeabi_read_tp here.
12213 (CFLAGS-libc-start.c): Add -fexceptions here.
12214 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
12215 (sysdep_routines, static-only-routines, shared-only-routines):
12216 Don't add to these here.
12217 (CFLAGS-libc-start.c): Likewise.
12219 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
12220 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12221 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
12222 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12223 * sysdeps/arm/Makefile [$(subdir) = rt]
12224 (librt-sysdep_routines, librt-shared-only-routines):
12225 Append rt-aeabi_unwind_cpp_pr1 here.
12226 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
12227 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
12228 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
12229 (libpthread-sysdep_routines, libpthread-shared-only-routines):
12230 Append nptl-aeabi_unwind_cpp_pr1 here.
12231 (tests): Filter out tst-cleanupx4 here.
12232 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
12233 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
12234 Don't do those here.
12236 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12238 * scripts/list-sources.sh: Do not handle ports specially.
12240 2014-06-26 Roland McGrath <roland@hack.frob.com>
12242 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
12243 * sysdeps/arm/feupdateenv.c: Likewise.
12245 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
12247 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12249 * manual/texinfo.tex: Update to version 2014-05-05.10 with
12250 trailing whitespace removed.
12251 * scripts/config.guess: Update to version 2014-03-23.
12252 * scripts/config.sub: Update to version 2014-05-01
12253 * scripts/install-sh: Update to version 2013-12-25.23.
12254 * scripts/move-if-change: Update from gnulib.
12256 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12258 * debug/memmove_chk.c: Remove pagecopy.h include.
12260 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
12262 * time/mktime.c (leapyear): Remove inline keyword. The code is now
12263 identical to gnulib mktime.
12265 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12267 * configure.ac: Do not test for machine being rs6000. Do not test
12268 for powerpc*-*soft.
12269 * configure: Regenerated.
12272 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
12274 * configure: Regenerated.
12275 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
12276 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
12277 Remove configure test.
12278 * sysdeps/arm/configure: Regenerated.
12279 * sysdeps/nptl/configure.ac: Do not check
12280 libc_cv_asm_cfi_directives.
12281 * sysdeps/nptl/configure: Regenerated.
12282 * sysdeps/x86_64/nptl/configure.ac: Remove file.
12283 * sysdeps/x86_64/nptl/configure: Remove generated file.
12284 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
12286 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
12288 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12290 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
12291 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
12292 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
12295 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
12296 instead of whether it is defined.
12297 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
12298 * sysdeps/hppa/dl-machine.h: Likewise.
12299 * sysdeps/ia64/dl-machine.h: Likewise.
12300 * sysdeps/m68k/dl-machine.h: Likewise.
12301 * sysdeps/microblaze/dl-machine.h: Likewise.
12302 * sysdeps/mips/dl-machine.: Likewise.
12303 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12304 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12305 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12306 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12307 * sysdeps/sh/dl-machine.h: Likewise.
12308 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12309 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12310 * sysdeps/tile/dl-machine.h: Likewise.
12311 * sysdeps/x86_64/dl-machine.h: Likewise.
12313 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
12315 (verify_persistent_db): Likewise.
12317 2014-06-26 Roland McGrath <roland@hack.frob.com>
12319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
12320 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
12321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
12322 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
12323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12325 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
12328 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
12329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
12330 Identical file removed.
12331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
12332 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
12333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
12334 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
12335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
12336 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
12337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
12338 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
12339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
12340 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
12341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12343 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
12344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
12345 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
12346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
12347 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
12348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12350 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
12351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
12352 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
12353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
12354 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
12355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12356 Identical file removed.
12357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
12358 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
12359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
12360 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
12361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12363 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
12366 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
12367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
12368 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
12369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
12370 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
12371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
12372 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
12373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
12374 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
12375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12377 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
12378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
12380 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
12381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
12382 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
12383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12385 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
12386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
12387 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
12389 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
12391 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
12392 * sysdeps/unix/sysv/linux/s390/Versions
12393 (libpthread: GLIBC_2.19): New version set.
12394 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
12395 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
12396 (librt: GLIBC_2.3.3): New version set.
12397 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
12398 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
12399 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
12400 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
12401 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
12402 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
12403 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
12404 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
12405 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
12406 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
12407 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
12408 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
12409 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
12410 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
12411 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
12412 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
12413 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
12414 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
12415 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
12416 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
12417 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
12418 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
12419 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
12420 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
12421 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
12422 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
12423 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
12424 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
12425 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
12426 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
12427 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
12428 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
12429 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
12430 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
12431 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
12432 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
12433 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
12434 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
12435 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
12436 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
12437 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
12438 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
12439 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
12440 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
12441 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
12443 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
12444 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
12445 (__libc_vfork): Define the function under this name.
12446 [!NOT_IN_libc] (__vfork): Make this an alias.
12447 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12448 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
12449 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
12450 (__libc_vfork): Define the function under this name.
12451 [!NOT_IN_libc] (__vfork): Make this an alias.
12452 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12453 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
12454 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
12455 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
12456 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
12457 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12459 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
12460 code that was previously under [RESET_PID].
12461 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
12462 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
12463 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
12465 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
12466 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
12467 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
12468 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
12469 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
12470 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
12471 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
12472 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
12473 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
12474 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
12475 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
12477 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
12478 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
12479 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
12480 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
12481 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
12482 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
12483 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
12484 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
12485 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
12486 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
12487 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
12488 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
12489 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
12490 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
12491 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
12492 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
12493 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
12494 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
12495 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
12496 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
12497 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
12498 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
12499 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
12500 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
12501 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
12502 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
12503 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
12504 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
12505 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
12507 2014-06-25 Roland McGrath <roland@hack.frob.com>
12509 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
12510 that was previously under [RESET_PID].
12511 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
12513 2014-06-25 Joseph Myers <joseph@codesourcery.com>
12515 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
12516 not undefine and redefine.
12517 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
12518 [O_CLOEXEC]: Make code unconditional.
12519 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
12520 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
12521 <kernel-features.h>.
12522 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
12523 conditional variable definition.
12524 (shm_open) [O_CLOEXEC]: Make code unconditional.
12525 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
12528 * configure.ac (USE_REGPARMS): Don't define here.
12529 * configure: Regenerated.
12530 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
12531 * sysdeps/i386/configure: Regenerated.
12533 * nptl/createthread.c: Don't include kernel-features.h.
12534 * nptl/pthread_cancel.c: Likewise.
12535 * nptl/pthread_condattr_setclock.c: Likewise.
12536 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
12537 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
12538 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
12539 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
12540 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
12541 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
12542 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12543 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
12544 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12545 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
12546 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
12547 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
12548 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
12549 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
12550 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
12551 * nscd/gai.c: Likewise.
12552 * nss/nss_db/db-open.c: Likewise.
12553 * sysdeps/generic/ldsodefs.h: Likewise.
12554 * sysdeps/sh/nptl/tls.h: Likewise.
12555 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12556 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
12557 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
12558 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
12559 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
12560 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12561 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
12562 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12563 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12564 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
12565 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
12566 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12567 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
12568 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
12569 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
12570 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
12571 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
12572 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
12573 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
12574 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
12575 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12576 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12577 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
12578 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
12579 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12580 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12581 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
12582 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
12583 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12584 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
12585 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
12586 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
12587 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
12588 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
12589 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12590 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12591 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12592 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
12593 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
12594 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12595 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12596 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
12597 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
12598 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12599 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
12600 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
12601 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
12602 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
12603 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
12604 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12605 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12606 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12607 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12608 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12609 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
12610 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12611 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12612 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
12613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
12615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
12616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
12617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
12618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
12624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
12625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
12626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
12627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
12633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
12634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
12635 * sysdeps/unix/sysv/linux/pread.c: Likewise.
12636 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
12637 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
12638 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
12639 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
12640 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
12641 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
12642 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
12643 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
12644 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12645 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
12646 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12647 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
12648 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
12649 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
12650 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
12651 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12652 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
12653 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
12654 * sysdeps/unix/sysv/linux/system.c: Likewise.
12655 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
12656 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12657 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12658 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12659 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12660 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12661 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12663 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
12664 * configure: Regenerated.
12665 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
12667 * configure.ac (base_machine): Do not set specially for particular
12669 * configure: Regenerated.
12670 * sysdeps/powerpc/preconfigure: Move machine and base_machine
12671 settings from configure.ac.
12672 * sysdeps/i386/preconfigure: New file.
12673 * sysdeps/s390/preconfigure: Likewise.
12674 * sysdeps/sh/preconfigure: Likewise.
12675 * sysdeps/sparc/preconfigure: Likewise.
12677 2014-06-25 Roland McGrath <roland@hack.frob.com>
12679 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
12680 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
12681 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
12682 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
12683 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
12684 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
12685 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
12686 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
12687 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
12688 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
12689 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
12690 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
12691 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
12692 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
12693 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
12694 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
12695 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
12696 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
12697 * sysdeps/sparc/sparc64/Makefile: ... appended here.
12699 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
12700 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
12701 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
12702 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
12703 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
12704 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
12705 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
12706 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
12707 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
12708 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
12709 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
12710 * sysdeps/sparc/sparc32/sem_post.c: ... here.
12711 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
12712 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
12713 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
12714 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
12715 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
12716 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
12717 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
12718 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
12719 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
12720 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
12721 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
12722 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
12723 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
12724 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
12725 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
12726 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
12727 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
12728 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
12729 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
12730 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
12731 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
12732 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
12733 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
12734 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
12735 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
12736 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
12738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
12739 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
12740 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
12741 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
12742 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12744 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12746 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
12747 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
12748 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
12749 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
12750 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
12752 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
12753 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
12754 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
12755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
12756 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
12757 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
12758 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
12759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12761 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
12762 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12764 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
12765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
12766 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
12767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12769 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
12770 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
12771 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
12772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
12773 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
12774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
12775 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
12776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
12777 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
12778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12780 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12782 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
12783 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
12784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
12785 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
12786 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
12788 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
12789 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
12790 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
12791 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
12792 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
12793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
12794 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
12795 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12797 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
12798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12800 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
12801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
12802 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
12803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12805 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
12806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
12807 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
12808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
12809 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
12811 2014-06-25 Joseph Myers <joseph@codesourcery.com>
12813 * timezone/checktab.awk: Update from tzcode 2014e.
12814 * timezone/private.h: Likewise.
12815 * timezone/tzfile.h: Likewise.
12816 * timezone/zdump.c: Likewise.
12817 * timezone/zic.c: Likewise.
12819 * sysdeps/unix/sysv/linux/kernel-features.h
12820 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
12821 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
12822 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
12823 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12824 Remove conditional code.
12826 2014-06-25 Will Newton <will.newton@linaro.org>
12828 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
12829 (_dl_arm_cap_flags): Add HWCAP2 values.
12830 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
12831 (_DL_HWCAP_COUNT): Increase to 37.
12832 (_DL_HWCAP_LAST): New define.
12833 (_DL_HWCAP2_LAST): New define.
12834 (_dl_procinfo): Add support for printing
12836 (_dl_string_hwcap): Use _dl_hwcap_string.
12838 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12842 2014-06-25 Joseph Myers <joseph@codesourcery.com>
12844 * README: Do not mention ports directory.
12846 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
12848 * sysdeps/unix/sysv/linux/futimes.c: Do not include
12849 <kernel-features.h>.
12850 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
12851 conditional variable definition.
12852 (__futimes): Update comment.
12853 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
12854 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
12857 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
12858 arguments close to 0.
12859 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
12861 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
12863 * math/auto-libm-test-in: Add more tests of exp10.
12864 * math/auto-libm-test-out: Regenerated.
12865 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12867 * sysdeps/unix/sysv/linux/kernel-features.h
12868 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
12869 * sysdeps/unix/sysv/linux/readv.c: Do not include
12870 <kernel-features.h>.
12871 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12872 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12873 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12875 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12877 * sysdeps/unix/sysv/linux/writev.c: Do not include
12878 <kernel-features.h>.
12879 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12880 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12881 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12883 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12886 2014-06-25 Will Newton <will.newton@linaro.org>
12888 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
12889 comment changes throughout the file. Remove checks
12890 for HAVE_*_H definitions that are not required.
12891 (__gen_tempname): Call abort if an unknown kind value is
12894 2014-06-25 Andreas Schwab <schwab@suse.de>
12897 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
12898 scalbln, scalblnf, scalblnl in libc.
12900 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12903 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
12904 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
12905 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
12907 2014-06-24 Roland McGrath <roland@hack.frob.com>
12909 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
12910 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
12911 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
12912 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
12914 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
12915 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
12917 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
12918 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
12919 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
12920 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
12921 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
12922 * sysdeps/x86/bits/pthreadtypes.h: ... here.
12923 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
12924 * sysdeps/x86/bits/semaphore.h: ... here.
12925 * sysdeps/x86/nptl/elide.h: Moved ...
12926 * sysdeps/x86/elide.h: ... here.
12927 * sysdeps/x86_64/nptl/Implies: File removed.
12928 * sysdeps/i386/nptl/Implies: File removed.
12930 2014-06-24 Joseph Myers <joseph@codesourcery.com>
12933 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
12934 return the argument for normal arguments with exponent below -64.
12935 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12937 * math/auto-libm-test-in: Add another test of expm1.
12938 * math/auto-libm-test-out: Regenerated.
12941 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
12942 calling __erfcl for arguments at least 16.
12943 * math/auto-libm-test-in: Add more tests of erf.
12944 * math/auto-libm-test-out: Regenerated.
12946 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
12947 individual architectures.
12948 * sysdeps/unix/sysv/linux/configure: Regenerated.
12949 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
12950 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
12951 * sysdeps/unix/sysv/linux/powerpc/configure.ac
12952 (ldd_rewrite_script): Define variable.
12953 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
12956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
12958 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
12959 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
12960 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
12961 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
12962 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
12963 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
12964 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
12965 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
12967 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12970 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
12971 Rename member __data.d to __data.__elision_data.
12973 2014-06-24 Wilco <wdijkstr@arm.com>
12975 * NEWS: Add 16918 to fixed bug list.
12977 2014-06-24 Wilco <wdijkstr@arm.com>
12979 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
12981 2014-06-24 Wilco <wdijkstr@arm.com>
12983 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
12984 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
12985 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
12986 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
12987 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
12988 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
12989 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
12992 2014-06-24 Wilco <wdijkstr@arm.com>
12994 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
12996 2014-06-24 Wilco <wdijkstr@arm.com>
12998 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
12999 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
13000 * sysdeps/arm/fesetround.c (fesetround): Remove space.
13001 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
13003 2014-06-24 Wilco <wdijkstr@arm.com>
13006 * sysdeps/arm/feupdateenv.c (feupdateenv):
13007 Rewrite to reduce FPSCR accesses and fix return value.
13009 2014-06-24 Wilco <wdijkstr@arm.com>
13011 * sysdeps/arm/fclrexcpt.c (feclearexcept):
13012 Optimize to avoid unnecessary FPSCR writes.
13013 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
13014 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
13015 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
13016 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
13018 2014-06-24 Wilco <wdijkstr@arm.com>
13020 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
13021 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
13022 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
13023 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
13024 Call libc_fetestexcept_vfp.
13025 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
13026 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
13027 __SOFTFP__ ifdef so that they can be built for softfp.
13029 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13031 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
13032 argument type signed char.
13034 * Makerules (check-abi): Dump diff of symlist if the test
13037 2014-06-23 Roland McGrath <roland@hack.frob.com>
13039 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
13042 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13043 Remove unused variable ST.
13045 2014-06-23 Joseph Myers <joseph@codesourcery.com>
13049 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
13050 small arguments before calling __expm1.
13051 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
13052 small arguments before calling __expm1f.
13053 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
13054 small arguments before calling __expm1l.
13055 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13057 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
13058 * math/auto-libm-test-in: Add more cosh tests. Do not allow
13059 spurious underflow for some cosh tests.
13060 * math/auto-libm-test-out: Regenerated.
13061 * sysdeps/i386/fpu/libm-test-ulps: Update.
13064 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
13065 (__ieee754_y1): Set errno if return value overflows.
13066 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
13067 (__ieee754_y1f): Set errno if return value overflows.
13068 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
13069 (__ieee754_y1l): Set errno if return value overflows.
13070 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
13071 (__ieee754_y1l): Set errno if return value overflows.
13072 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
13073 * math/auto-libm-test-out: Regenerated.
13075 * math/gen-auto-libm-tests.c: Document use of
13076 ignore-zero-inf-sign.
13077 (input_flag_type): Add value flag_ignore_zero_inf_sign.
13078 (input_flags): Add ignore-zero-inf-sign.
13079 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
13080 * math/gen-libm-test.pl (generate_testfile): Handle
13081 ignore-zero-inf-sign.
13082 * math/auto-libm-test-in: Mark some cpow tests with
13083 ignore-zero-inf-sign and some with xfail-rounding.
13084 * math/auto-libm-test-out: Regenerated.
13085 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
13086 * sysdeps/i386/fpu/libm-test-ulps: Update.
13087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13090 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
13091 overflowing or underflowing operations take place with sign of
13093 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13094 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13095 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
13096 (__ieee754_pow): Recompute overflowing and underflowing results in
13097 original rounding mode.
13098 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
13099 (__powl_helper): Allow negative argument X and scale negated value
13100 as needed. Avoid passing value outside [-1, 1] to f2xm1.
13101 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
13102 overflowing or underflowing operations take place with sign of
13104 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
13106 * math/auto-libm-test-in: Add more tests of pow.
13107 * math/auto-libm-test-out: Regenerated.
13108 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
13109 (pow_tonearest_test_data): Remove.
13110 (pow_test_tonearest): Likewise.
13111 (pow_towardzero_test_data): Likewise.
13112 (pow_test_towardzero): Likewise.
13113 (pow_downward_test_data): Likewise.
13114 (pow_test_downward): Likewise.
13115 (pow_upward_test_data): Likewise.
13116 (pow_test_upward): Likewise.
13117 (main): Don't call removed functions.
13118 * sysdeps/i386/fpu/libm-test-ulps: Update.
13119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13121 2014-06-23 Roland McGrath <roland@hack.frob.com>
13123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
13125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
13126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
13129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
13132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
13135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
13141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
13143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
13145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
13147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
13149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
13153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
13157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
13159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
13161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
13162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
13164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
13168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
13169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
13171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
13172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
13174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
13175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
13177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
13178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
13180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
13181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
13183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
13184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
13186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
13187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
13188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
13192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
13193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
13199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
13208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
13211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
13212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
13213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
13224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
13227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
13230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
13233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
13240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
13243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
13246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
13249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
13250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
13251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
13254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
13257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
13272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
13275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
13278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
13293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
13297 2014-06-23 Will Newton <will.newton@linaro.org>
13298 Wilco <wdijkstr@arm.com>
13300 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
13301 implementation. Include get-rounding-mode.h.
13302 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
13303 [!libc_feholdsetround_noex_ctx]: Define
13304 libc_feholdsetround_noex_ctx.
13305 [!libc_feholdsetround_noexf_ctx]: Define
13306 libc_feholdsetround_noexf_ctx.
13307 [!libc_feholdsetround_noexl_ctx]: Define
13308 libc_feholdsetround_noexl_ctx.
13309 (libc_feholdsetround_ctx): New function.
13310 (libc_feresetround_ctx): New function.
13311 (libc_feholdsetround_noex_ctx): New function.
13312 (libc_feresetround_noex_ctx): New function.
13314 2014-06-23 Roland McGrath <roland@hack.frob.com>
13316 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
13317 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
13318 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
13319 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
13320 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
13321 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
13323 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
13324 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
13325 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
13326 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
13327 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
13328 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
13329 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
13330 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
13331 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
13332 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
13333 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
13335 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13337 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
13338 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
13339 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
13340 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
13341 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
13343 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
13344 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
13345 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
13346 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
13347 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
13348 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
13349 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
13350 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
13352 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
13353 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
13355 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
13356 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
13357 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
13358 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
13360 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
13361 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
13362 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
13363 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
13364 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
13365 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
13366 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
13367 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
13368 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
13369 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
13371 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13373 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
13374 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
13375 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
13376 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
13377 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
13378 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
13379 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
13380 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
13381 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
13382 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
13383 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
13384 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
13385 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
13387 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
13388 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
13389 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
13390 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
13391 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
13392 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
13394 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
13395 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
13396 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
13397 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
13398 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
13400 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
13401 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
13402 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
13403 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
13404 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
13405 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
13406 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
13407 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
13408 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
13409 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
13410 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
13411 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
13412 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
13413 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
13414 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
13415 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
13416 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
13417 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
13418 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
13419 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
13420 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
13421 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
13422 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
13423 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
13424 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
13425 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
13426 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
13427 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
13429 2014-06-23 Joseph Myers <joseph@codesourcery.com>
13431 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
13432 (FALLOC_FL_COLLAPSE_RANGE): New macro.
13433 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
13434 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
13435 (IPV6_PMTUDISC_INTERFACE): Likewise.
13436 (IPV6_PMTUDISC_OMIT): Likewise.
13438 2014-06-23 Andreas Schwab <schwab@suse.de>
13440 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
13441 Remove unused errout label.
13443 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13445 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
13446 macro: hardware supports Vector Crypto instructions.
13448 2014-06-23 Will Newton <will.newton@linaro.org>
13450 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
13451 rather than __builtin_expect.
13453 * elf/dl-lookup.c (undefined_msg): Remove variable.
13454 (_dl_lookup_symbol_x): Replace undefined_msg with string
13457 * elf/dl-lookup.c (do_lookup_unique): New function.
13458 (do_lookup_x): Move STB_GNU_UNIQUE handling code
13459 to a separate function.
13461 2014-06-23 Andreas Schwab <schwab@suse.de>
13464 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
13465 before reading the next line.
13467 2014-06-23 Will Newton <will.newton@linaro.org>
13469 * test-skeleton.c (signal_handler): Use printf and %m
13470 rather than perror. Use printf rather than fprintf to
13471 stderr. Use puts rather than fputs to stderr.
13474 2014-06-22 Ludovic Courtès <ludo@gnu.org>
13476 * nscd/nscd.c (thread_info_t): Remove typedef.
13477 (thread_info): Remove variable.
13479 2014-06-21 Allan McRae <allan@archlinux.org>
13481 * NEWS: Mention CVE-2014-4043.
13483 2014-06-20 Roland McGrath <roland@hack.frob.com>
13485 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
13486 * nptl/smp.h: ... here.
13488 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
13490 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
13491 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
13492 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
13493 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
13495 * nptl/allocatestack.c: Include <stack-aliasing.h>.
13496 * nptl/stack-aliasing.h: New file.
13497 * sysdeps/i386/i686/stack-aliasing.h: New file.
13498 * sysdeps/i386/i686/nptl/Makefile: File removed.
13499 * sysdeps/x86_64/stack-aliasing.h: New file.
13500 * sysdeps/x86_64/nptl/Makefile
13501 (CFLAGS-pthread_create.c): Variable removed.
13503 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
13504 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
13506 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
13507 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
13510 2014-06-21 Joseph Myers <joseph@codesourcery.com>
13512 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13513 (__ASSUME_SIGFRAME_V2): Remove macro.
13514 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
13515 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
13516 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
13517 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
13518 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
13519 Declare as function. Remove conditional macro definitions.
13520 (__default_rt_sa_restorer): Likewise.
13521 (__default_sa_restorer_v1): Remove declaration.
13522 (__default_sa_restorer_v2): Likewise.
13523 (__default_rt_sa_restorer_v1): Likewise.
13524 (__default_rt_sa_restorer_v2): Likewise.
13525 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
13526 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
13527 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
13529 2014-06-20 Roland McGrath <roland@hack.frob.com>
13531 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
13532 (libpthread-routines): Add sysdep.
13533 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
13534 * sysdeps/unix/sysv/linux/sparc/Versions
13535 (libpthread: GLIBC_2.3.3): New version set.
13536 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
13537 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
13538 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
13539 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
13540 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
13541 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
13543 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
13544 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
13545 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
13546 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
13547 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
13548 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
13549 * sysdeps/sparc/nptl/sem_init.c: ... here.
13550 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
13551 * sysdeps/sparc/nptl/sem_post.c: ... here.
13552 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
13553 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
13554 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
13555 * sysdeps/sparc/nptl/sem_wait.c: ... here.
13556 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
13557 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
13558 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
13559 (libpthread-routines): Add cpu_relax.
13560 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
13562 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
13563 (librt: GLIBC_2.3.3): New version set.
13564 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
13565 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
13566 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
13567 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
13568 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
13569 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
13570 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
13571 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
13573 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
13574 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
13575 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
13576 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
13577 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
13578 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
13579 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
13580 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
13581 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
13582 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
13584 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
13586 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
13588 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
13590 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
13592 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
13594 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
13596 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
13598 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
13600 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
13602 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
13604 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
13606 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
13607 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
13608 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
13609 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
13610 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
13611 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
13612 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
13613 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
13614 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
13615 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
13616 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13618 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
13619 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
13620 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
13621 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
13622 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
13624 2014-06-20 Joseph Myers <joseph@codesourcery.com>
13626 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
13627 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
13628 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13629 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
13630 * nscd/nscd.c: Likewise.
13631 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13632 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13633 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13634 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13636 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
13637 <kernel-features.h>.
13638 (init_mq_netlink): Remove conditional have_sock_cloexec
13639 definitions. Remove code conditional on have_sock_cloexec < 0.
13640 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
13641 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
13642 * sysdeps/unix/sysv/linux/opensock.c: Do not include
13643 <kernel-features.h>.
13644 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
13645 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
13647 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
13649 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13650 Add tests for memset_chk and memset.
13652 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
13655 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
13658 * elf/tst-dl-iter-static.c: New file.
13659 * elf/Makefile (tests-static): Add tst-dl-iter-static.
13661 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
13664 2014-06-20 Joseph Myers <joseph@codesourcery.com>
13666 * sysdeps/unix/sysv/linux/kernel-features.h
13667 (__ASSUME_F_GETOWN_EX): Remove macro.
13668 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
13669 <kernel-features.h>.
13670 (miss_F_GETOWN_EX): Remove variable or macro.
13671 (do_fcntl): Do not check miss_F_GETOWN_EX.
13672 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
13674 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
13676 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
13677 [!__ASSUME_AT_RANDOM]: Remove conditional code.
13678 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
13680 * sysdeps/unix/sysv/linux/kernel-features.h
13681 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
13682 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
13683 [ADJ_OFFSET_SS_READ]: Make code unconditional.
13684 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
13686 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
13689 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
13690 Fix calculation of the symbol's value.
13691 * sysdeps/arm/tst-armtlsdescloc.c: New file.
13692 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
13693 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
13694 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
13695 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
13696 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
13697 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
13698 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
13699 (modules-names): Add `tst-armtlsdescmod',
13700 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
13701 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
13702 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13703 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
13704 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
13705 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13706 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
13707 ($(objpfx)tst-armtlsdescloc): New dependency.
13708 ($(objpfx)tst-armtlsdescextnow): Likewise.
13709 ($(objpfx)tst-armtlsdescextlazy): Likewise.
13710 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
13711 TLS scheme support.
13712 * sysdeps/arm/configure: Regenerate.
13714 2014-06-20 Joseph Myers <joseph@codesourcery.com>
13716 * include/fcntl.h (__atfct_seterrno): Remove prototype.
13717 (__atfct_seterrno_2): Likewise.
13718 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
13719 <kernel-features.h>.
13720 (__ASSUME_ATFCTS): Do not undefine and redefine.
13721 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
13722 (__have_atfcts): Remove conditional definition.
13723 (__fxstatat([__NR_fstatat64]: Make code unconditional.
13724 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
13725 unreachable if [__ASSUME_ATFCTS].
13726 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
13727 not undefine and redefine.
13728 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
13729 <kernel-features.h>.
13730 (faccessat) [__NR_faccessat]: Make code unconditional.
13731 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
13732 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
13733 <kernel-features.h>.
13734 (fchmodat) [__NR_fchmodat]: Make code unconditional.
13735 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13736 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
13737 <kernel-features.h>.
13738 (fchownat) [__NR_fchownat]: Make code unconditional.
13739 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
13740 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
13741 <kernel-features.h>.
13742 (futimesat) [__NR_futimesat]: Make code unconditional.
13743 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
13744 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13745 <kernel-features.h>.
13746 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13747 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13748 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13749 <kernel-features.h>.
13750 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
13751 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13752 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
13753 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13754 <kernel-features.h>.
13755 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
13756 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13757 * sysdeps/unix/sysv/linux/linkat.c: Do not include
13758 <kernel-features.h>.
13759 (linkat) [__NR_linkat]: Make code unconditional.
13760 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13761 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
13762 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
13763 <kernel-features.h>.
13764 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
13765 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13766 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
13767 <kernel-features.h>.
13768 (mkdirat) [__NR_mkdirat]: Make code unconditional.
13769 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
13770 * sysdeps/unix/sysv/linux/openat.c: Do not include
13771 <kernel-features.h>.
13772 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
13773 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
13774 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
13775 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
13776 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
13777 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
13778 <kernel-features.h>.
13779 (readlinkat) [__NR_readlinkat]: Make code unconditional.
13780 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
13781 result of INLINE_SYSCALL directly, not via int variable.
13782 * sysdeps/unix/sysv/linux/renameat.c: Do not include
13783 <kernel-features.h>.
13784 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
13785 (renameat) [__NR_renameat]: Make code unconditional.
13786 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
13787 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
13788 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
13789 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
13790 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
13791 (__ASSUME_ATFCTS): Do not undefine and redefine.
13792 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
13793 <kernel-features.h>.
13794 (symlinkat) [__NR_symlinkat]: Make code unconditional.
13795 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13796 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
13797 <kernel-features.h>.
13798 (unlinkat) [__NR_unlinkat]: Make code unconditional.
13799 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13800 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
13801 (__ASSUME_ATFCTS): Do not undefine and redefine.
13802 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13803 <kernel-features.h>.
13804 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13805 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13806 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13807 <kernel-features.h>.
13808 (__xmknodat) [__NR_mknodat]: Make code unconditional.
13809 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13811 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
13813 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
13815 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
13818 * posix/regcomp.c (parse_reg_exp): Deallocate partially
13819 constructed tree before returning error.
13820 * posix/bug-regexp36.c: Expand test case.
13822 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
13825 * math/libm-test.inc (scalbln_test_date):
13826 Add errno expectations.
13827 * math/w_scalblnf.c: New File.
13828 Add wrapper which checks for setting errno to ERANGE.
13829 Add weak_alias for corresponding scalbln function.
13830 * math/w_scalbln.c: Likewise.
13831 * math/w_scalblnl.c: Likewise.
13832 * math/Makefile (libm-calls): Add w_scalbln.
13833 * sysdeps/ieee754/flt-32/s_scalblnf.c:
13834 Remove weak_alias for corresponding scalbln function.
13835 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13836 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13837 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13838 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13839 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
13840 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13841 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
13842 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13843 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
13844 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
13845 Remove long_double_symbol for scalblnl function in libm, libc.
13846 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
13847 Add wrapper which checks for setting errno to ERANGE.
13848 Add long_double_symbol for scalblnl function in libm, libc.
13849 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
13850 Remove long_double_symbol for scalblnl in libm.
13851 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
13852 Add wrapper which checks for setting errno to ERANGE.
13853 Add long_double_symbol for scalblnl function in libm.
13854 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
13855 Do not use wrapper because of own implementation.
13857 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
13859 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
13860 3 bytes for __pad1 for x32.
13861 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
13863 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
13864 H.J. Lu <hongjiu.lu@intel.com>
13866 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
13867 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
13868 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13869 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13870 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13872 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
13875 * posix/regcomp.c (parse_expression): Deallocate partially
13876 constructed tree before returning error.
13877 * posix/Makefile.c (tests): Add bug-regex36.
13878 (generated): Add bug-regex36.mtrace.
13879 (tests-special): Add $(objpfx)bug-regex36-mem.out
13880 (bug-regex36-ENV): New variable.
13881 ($(objpfx)bug-regex36-mem.out): New rule.
13882 * posix/bug-regex36.c: New file.
13884 2014-06-19 Will Newton <will.newton@linaro.org>
13886 * malloc/malloc.c (systrim): If extra is zero then return
13889 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13891 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
13893 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
13895 * sysdeps/aarch64/strchr.S: New file.
13897 2014-06-18 Joseph Myers <joseph@codesourcery.com>
13900 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
13901 from arguments -2 or below.
13902 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13903 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
13905 2014-06-18 Andreas Schwab <schwab@suse.de>
13908 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
13909 of a bracket expr not to run off the end of the string.
13910 * posix/Makefile (tests): Add tst-fnmatch3.
13911 * posix/tst-fnmatch3.c: New file.
13913 2014-06-18 Joseph Myers <joseph@codesourcery.com>
13915 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
13916 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13917 [$(cross-compiling) = no]: Likewise.
13918 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13919 [$(cross-compiling) = no]: Likewise.
13921 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13924 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
13925 double, adjusted for any remainder from the high double.
13926 * math/libm-test.inc (nearbyint): Add tests.
13929 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13931 * nptl/sysdeps/powerpc/Makefile: Moved ...
13932 * sysdeps/powerpc/nptl/Makefile: ... here.
13933 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
13934 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
13935 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
13936 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
13937 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
13938 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
13939 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
13940 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
13941 * nptl/sysdeps/powerpc/tls.h: Moved ...
13942 * sysdeps/powerpc/nptl/tls.h: ... here.
13944 2014-06-16 Joseph Myers <joseph@codesourcery.com>
13947 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
13948 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
13949 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
13950 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
13951 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
13952 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
13953 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
13954 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
13955 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
13957 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
13959 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13961 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
13963 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
13966 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
13969 2014-06-16 Florian Weimer <fweimer@redhat.com>
13972 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
13973 non-executed part of the test.
13975 2014-06-16 Andreas Schwab <schwab@suse.de>
13977 * string/bits/string2.h (strdup, strndup): Update feature guard.
13979 2014-06-14 David S. Miller <davem@davemloft.net>
13981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13983 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
13985 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
13986 that was previously under [RESET_PID].
13987 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
13989 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
13990 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
13991 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
13992 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13993 (__libc_vfork): New strong alias.
13994 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
13996 2014-06-14 Andi Kleen <ak@linux.intel.com>
13998 * sysdeps/generic/elide.h: New file.
14000 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14002 * Makefile (installed-headers): Adjust path of pthread.h header.
14004 2014-06-13 Roland McGrath <roland@hack.frob.com>
14006 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
14007 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
14008 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
14009 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
14011 * nptl/sysdeps/s390/Makefile: Moved ...
14012 * sysdeps/s390/nptl/Makefile: ... here.
14013 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
14014 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
14015 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
14016 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
14017 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
14018 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
14019 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
14020 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
14021 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
14022 * sysdeps/s390/nptl/pthreaddef.h: ... here.
14023 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
14024 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
14025 * nptl/sysdeps/s390/tls.h: Moved ...
14026 * sysdeps/s390/nptl/tls.h: ... here.
14028 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
14029 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
14031 2014-06-13 David S. Miller <davem@davemloft.net>
14033 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
14034 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
14035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
14036 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
14037 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
14038 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
14039 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
14040 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
14041 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
14042 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
14043 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
14044 Remove RESET_PID cpp guards.
14045 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
14046 Remove RESET_PID cpp guards.
14047 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
14049 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
14051 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
14054 2014-06-13 Andi Kleen <ak@linux.intel.com>
14056 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
14057 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
14058 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
14059 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
14060 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
14061 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
14062 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
14063 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
14064 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
14065 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
14066 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
14067 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
14068 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
14069 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
14070 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
14071 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
14072 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
14073 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
14074 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
14075 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
14077 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
14078 (pthread_rwlock_rdlock): Add elision.
14079 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
14080 (pthread_rwlock_wrlock): Add elision.
14081 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
14082 (pthread_rwlock_trywrlock): Add elision.
14083 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
14084 (pthread_rwlock_tryrdlock): Add elision.
14085 * nptl/pthread_rwlock_unlock.c: Include elide.h.
14086 (pthread_rwlock_tryrdlock): Add elision unlock.
14087 * nptl/sysdeps/pthread/pthread.h:
14088 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
14089 (PTHREAD_RWLOCK_INITIALIZER,
14090 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
14091 Handle new elision field.
14092 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
14093 * sysdeps/arm/nptl/bits/pthreadtypes.h
14094 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14095 * sysdeps/sh/nptl/bits/pthreadtypes.h
14096 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14097 * sysdeps/tile/nptl/bits/pthreadtypes.h
14098 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14099 * sysdeps/a/nptl/bits/pthreadtypes.h
14100 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14101 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14102 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14103 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14104 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14105 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
14106 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14107 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14108 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14109 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14110 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14111 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14112 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14113 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14114 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14115 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
14116 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14117 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
14118 (elision_init): Set try_xbegin to zero when no RTM.
14119 * sysdeps/x86/nptl/bits/pthreadtypes.h
14120 (pthread_rwlock_t): Change __pad1 to __rwelision.
14121 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14123 2014-06-13 Andi Kleen <ak@linux.intel.com>
14125 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
14126 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
14127 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
14128 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
14130 2014-06-13 Meador Inge <meadori@codesourcery.com>
14133 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
14134 that the cached result has been set before returning it.
14136 2014-06-12 Roland McGrath <roland@hack.frob.com>
14138 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
14139 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
14140 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
14141 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
14142 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
14143 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
14145 * nptl/sysdeps/sparc/Makefile: Moved ...
14146 * sysdeps/sparc/nptl/Makefile: ... here.
14147 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
14148 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
14149 * nptl/sysdeps/sparc/tls.h: Moved ...
14150 * sysdeps/sparc/nptl/tls.h: ... here.
14151 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
14152 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
14153 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
14154 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
14155 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
14156 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
14157 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
14158 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
14159 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
14160 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
14161 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
14162 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
14163 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
14164 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
14165 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
14166 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
14167 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
14168 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
14170 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
14171 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
14173 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
14174 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
14176 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
14177 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
14180 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14182 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
14183 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
14185 * sysdeps/pthread/posix-timer.h: Include <list.h>.
14186 (struct list_links): Type removed.
14187 (struct thread_node, struct timer_node): Replace struct list_links
14188 with struct list_head.
14189 (list_unlink_ip): Likewise.
14190 * sysdeps/pthread/timer_routines.c
14191 (timer_free_list, thread_free_list, thread_active_list): Likewise.
14192 (list_append, list_insbefore): Likewise.
14193 (list_init): Function removed.
14194 (thread_init, init_module): Use INIT_LIST_HEAD instead.
14195 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
14196 * sysdeps/pthread/Makefile: ... here, new file.
14198 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
14199 * sysdeps/nptl/Implies: ... here.
14200 * sysdeps/unix/sysv/linux/Implies: Add nptl.
14201 * nptl/sysdeps/pthread/list.h: Moved ...
14202 * include/list.h: ... here.
14203 * nptl/sysdeps/pthread/createthread.c: Moved ...
14204 * nptl/createthread.c: ... here.
14205 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
14206 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
14207 * nptl/pt-longjmp.c: ... here.
14208 * nptl/sysdeps/pthread/Makefile: Moved ...
14209 * sysdeps/nptl/Makefile: ... here.
14210 * nptl/sysdeps/pthread/Subdirs: Moved ...
14211 * sysdeps/nptl/Subdirs: ... here.
14212 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
14213 * sysdeps/nptl/aio_misc.h: ... here.
14214 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
14215 * sysdeps/nptl/bits/libc-lock.h: ... here.
14216 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
14217 * sysdeps/nptl/bits/libc-lockP.h: ... here.
14218 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
14219 * sysdeps/nptl/bits/stdio-lock.h: ... here.
14220 * nptl/sysdeps/pthread/configure: Moved ...
14221 * sysdeps/nptl/configure: ... here.
14222 * nptl/sysdeps/pthread/configure.ac: Moved ...
14223 * sysdeps/nptl/configure.ac: ... here.
14224 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
14225 * sysdeps/nptl/gai_misc.h: ... here.
14226 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
14227 * sysdeps/nptl/librt-cancellation.c: ... here.
14228 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
14229 * sysdeps/nptl/malloc-machine.h: ... here.
14230 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
14231 * sysdeps/nptl/pthread-functions.h: ... here.
14232 * nptl/sysdeps/pthread/pthread.h: Moved ...
14233 * sysdeps/nptl/pthread.h: ... here.
14234 * nptl/sysdeps/pthread/setxid.h: Moved ...
14235 * sysdeps/nptl/setxid.h: ... here.
14236 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
14237 * sysdeps/nptl/sigfillset.c: ... here.
14238 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
14239 * sysdeps/nptl/tcb-offsets.h: ... here.
14240 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
14241 * sysdeps/nptl/tst-mqueue8x.c: ... here.
14242 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
14243 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
14244 * nptl/sysdeps/pthread/allocalim.h: Moved ...
14245 * sysdeps/pthread/allocalim.h: ... here.
14246 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
14247 * sysdeps/pthread/bits/sigthread.h: ... here.
14248 * nptl/sysdeps/pthread/flockfile.c: Moved ...
14249 * sysdeps/pthread/flockfile.c: ... here.
14250 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
14251 * sysdeps/pthread/ftrylockfile.c: ... here.
14252 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
14253 * sysdeps/pthread/funlockfile.c: ... here.
14254 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
14255 * sysdeps/pthread/posix-timer.h: ... here.
14256 * nptl/sysdeps/pthread/timer_create.c: Moved ...
14257 * sysdeps/pthread/timer_create.c: ... here.
14258 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
14259 * sysdeps/pthread/timer_delete.c: ... here.
14260 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
14261 * sysdeps/pthread/timer_getoverr.c: ... here.
14262 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
14263 * sysdeps/pthread/timer_gettime.c: ... here.
14264 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
14265 * sysdeps/pthread/timer_routines.c: ... here.
14266 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
14267 * sysdeps/pthread/timer_settime.c: ... here.
14268 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
14269 * sysdeps/pthread/tst-timer.c: ... here.
14270 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
14271 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
14273 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
14274 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
14276 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
14277 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
14278 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
14279 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
14280 Update #include target.
14281 * nptl/sysdeps/i386/i686/Makefile: Moved ...
14282 * sysdeps/i386/i686/nptl/Makefile: ... here.
14283 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
14284 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
14285 Update #include target.
14286 * nptl/sysdeps/i386/i686/tls.h: Moved ...
14287 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
14288 * nptl/sysdeps/i386/Makefile: Moved ...
14289 * sysdeps/i386/nptl/Makefile: ... here.
14290 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
14291 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
14292 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
14293 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
14294 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
14295 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
14296 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
14297 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
14298 * sysdeps/i386/nptl/pthreaddef.h: ... here.
14299 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
14300 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
14301 * nptl/sysdeps/i386/tls.h: Moved ...
14302 * sysdeps/i386/nptl/tls.h: ... here.
14304 * sysdeps/sh/Makefile [$(subdir) = csu]
14305 (gen-as-const-headers): Add tcb-offsets.sym.
14306 * nptl/sysdeps/sh/Makefile: File removed.
14307 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
14308 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
14309 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
14310 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
14311 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
14312 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
14313 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
14314 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
14315 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
14316 * sysdeps/sh/nptl/pthreaddef.h: ... here.
14317 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
14318 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
14319 * nptl/sysdeps/sh/tls.h: Moved ...
14320 * sysdeps/sh/nptl/tls.h: ... here.
14321 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
14322 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
14323 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
14324 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
14325 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
14326 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
14327 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
14328 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
14329 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
14330 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
14331 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
14332 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
14333 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
14334 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
14335 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
14336 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
14337 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
14338 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
14339 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
14340 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
14341 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
14342 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
14343 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
14344 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
14345 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
14347 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
14348 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
14350 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
14351 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
14352 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
14353 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
14354 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
14355 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
14356 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
14357 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
14358 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
14359 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
14360 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
14361 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
14362 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
14363 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
14364 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
14365 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
14366 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
14367 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
14368 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
14370 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14372 * posix/spawn_faction_addopen.c: Include string.h.
14374 2014-06-11 Roland McGrath <roland@hack.frob.com>
14376 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
14377 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
14378 * nptl/sysdeps/x86_64/Makefile: Moved ...
14379 * sysdeps/x86_64/nptl/Makefile: ... here.
14380 * nptl/sysdeps/x86_64/configure: Moved ...
14381 * sysdeps/x86_64/nptl/configure: ... here.
14382 * nptl/sysdeps/x86_64/configure.ac: Moved ...
14383 * sysdeps/x86_64/nptl/configure.ac: ... here.
14384 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
14385 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
14386 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
14387 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
14388 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
14389 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
14390 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
14391 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
14392 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
14393 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
14394 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
14395 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
14396 * nptl/sysdeps/x86_64/tls.h: Moved ...
14397 * sysdeps/x86_64/nptl/tls.h: ... here.
14398 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
14399 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
14400 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
14401 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
14403 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
14405 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14409 2014-06-11 Joseph Myers <joseph@codesourcery.com>
14411 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
14413 [POSIX] (off_t): Likewise.
14414 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
14415 [POSIX] (S_ISBLK): Require macro.
14416 [POSIX] (S_ISCHR): Likewise.
14417 [POSIX] (S_ISDIR): Likewise.
14418 [POSIX] (S_ISFIFO): Likewise.
14419 [POSIX] (S_ISREG): Likewise.
14420 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
14422 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
14424 [POSIX] (time_t): Likewise.
14425 [POSIX] (timer_t): Likewise.
14427 2014-06-11 Florian Weimer <fweimer@redhat.com>
14430 * posix/spawn_int.h (struct __spawn_action): Make the path string
14431 non-const to support deallocation.
14432 * posix/spawn_faction_addopen.c
14433 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
14434 * posix/spawn_faction_destroy.c
14435 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
14436 path in all spawn_do_open actions.
14437 * posix/tst-spawn.c (do_test): Exercise the copy operation in
14438 posix_spawn_file_actions_addopen.
14440 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
14442 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
14443 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
14444 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
14445 conditional code always true.
14446 (__libc_vfork): New alias.
14448 2014-06-11 Roland McGrath <roland@hack.frob.com>
14450 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14451 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
14453 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
14455 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14456 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
14458 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14459 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
14461 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14462 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
14464 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14466 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
14467 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
14468 multiarch strcmp for PPC64.
14469 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
14470 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
14471 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
14472 multiarch optimizations.
14473 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14474 (__libc_ifunc_impl_list): Likewise.
14476 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14478 * benchtests/scripts/validate_benchout.py: New script.
14479 * benchtests/Makefile (bench-func): Call it.
14480 * benchtests/scripts/benchout.schema.json: New file.
14482 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
14484 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
14485 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
14486 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
14487 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
14488 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
14489 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
14490 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
14491 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
14492 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
14493 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
14494 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
14495 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
14496 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
14497 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
14498 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
14499 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
14500 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
14502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
14504 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
14506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
14507 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
14509 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
14511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
14513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
14515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
14517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
14518 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
14520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
14522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
14524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
14526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
14528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
14529 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
14531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
14533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
14535 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
14537 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
14539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
14541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
14543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
14544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
14546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
14548 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
14550 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
14552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
14554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
14556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
14558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
14559 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
14561 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
14563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
14565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
14567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
14569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
14570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
14572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
14574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
14576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
14577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
14579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
14580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
14582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
14584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
14586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
14588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
14590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
14592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
14594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
14595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
14597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
14599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
14601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
14603 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
14604 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
14605 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
14606 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
14607 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
14609 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
14611 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
14612 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
14613 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
14614 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
14615 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
14616 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
14617 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
14618 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
14619 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
14620 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
14621 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
14622 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
14623 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
14625 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
14626 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
14628 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
14629 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
14630 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
14631 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
14633 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
14634 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
14635 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
14636 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
14637 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
14638 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
14639 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
14641 2014-06-10 Wilco <wdijkstr@arm.com>
14643 * math/test-fenv-return.c: New file.
14644 * math/Makefile: Add new test test-fenv-return.
14646 2014-06-10 Joseph Myers <joseph@codesourcery.com>
14649 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
14650 when x - 1 is zero.
14651 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
14652 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14653 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
14654 0.0L for an argument of 1.0L.
14655 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14657 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
14658 value when x - 1 is zero.
14659 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
14660 * sysdeps/i386/fpu/libm-test-ulps: Update.
14661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14663 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
14666 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
14668 2014-06-09 Roland McGrath <roland@hack.frob.com>
14670 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
14671 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
14673 2014-06-09 Roland McGrath <roland@hack.frob.com>
14675 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14676 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
14678 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14679 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
14681 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14682 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
14684 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14685 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
14687 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
14688 if not already defined.
14689 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
14690 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
14691 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
14692 (TLS_INIT_TP): Use it.
14693 (TLS_DEFINE_INIT_TP): New macro.
14694 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
14696 2014-06-09 Joseph Myers <joseph@codesourcery.com>
14698 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
14700 [POSIX] (IXANY): Likewise.
14701 [POSIX] (OLCUC): Likewise.
14702 [POSIX || POSIX2008] (CBAUD): Do not allow.
14703 [POSIX || POSIX2008] (DEFECHO): Likewise.
14704 [POSIX || POSIX2008] (ECHOCTL): Likewise.
14705 [POSIX || POSIX2008] (ECHOKE): Likewise.
14706 [POSIX || POSIX2008] (ECHOPRT): Likewise.
14707 [POSIX || POSIX2008] (EXTA): Likewise.
14708 [POSIX || POSIX2008] (EXTB): Likewise.
14709 [POSIX || POSIX2008] (FLUSHO): Likewise.
14710 [POSIX || POSIX2008] (LOBLK): Likewise.
14711 [POSIX || POSIX2008] (PENDIN): Likewise.
14712 [POSIX || POSIX2008] (SWTCH): Likewise.
14713 [POSIX || POSIX2008] (VDISCARD): Likewise.
14714 [POSIX || POSIX2008] (VDSUSP): Likewise.
14715 [POSIX || POSIX2008] (VLNEXT): Likewise.
14716 [POSIX || POSIX2008] (VREPRINT): Likewise.
14717 [POSIX || POSIX2008] (VSTATUS): Likewise.
14718 [POSIX || POSIX2008] (VWERASE): Likewise.
14719 (B*): Change to B[0123456789]*.
14720 * conform/data/time.h-data [POSIX || UNIX98]
14721 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
14722 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14723 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
14724 [POSIX] (tm_*): Do not allow.
14726 2014-06-07 Joseph Myers <joseph@codesourcery.com>
14728 * Makefile (install): Don't set LANGUAGE.
14729 * Makefile.in (install): Likewise.
14730 * assert/Makefile (test-assert-ENV): Remove variable.
14731 (test-assert-perr-ENV): Likewise.
14732 * elf/Makefile (neededtest4-ENV): Likewise.
14733 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14734 [$(cross-compiling) = no]: Don't set LANGUAGE.
14735 * io/ftwtest-sh (LANG): Remove variable.
14736 * libio/Makefile (tst-widetext-ENV): Likewise.
14737 * manual/install.texi (Running make install): Don't refer to
14738 environment settings for make install.
14739 * INSTALL: Regenerated.
14740 * nptl/tst-tls6.sh: Don't set LANG.
14741 * posix/globtest.sh (LANG): Remove variable.
14742 * string/Makefile (tester-ENV): Likewise.
14743 (inl-tester-ENV): Likewise.
14744 (noinl-tester-ENV): Likewise.
14745 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14746 [$(cross-compiling) = no]: Don't set LANGUAGE.
14747 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
14748 without explicit environment settings.
14750 2014-06-06 Roland McGrath <roland@hack.frob.com>
14752 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
14753 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
14754 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
14755 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
14757 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
14759 * crypt/crypt-private.h [DOS]: Add some includes taken from the
14760 other files in the crypt directory.
14761 * crypt/crypt.c: Remove duplicate includes.
14762 * crypt/crypt-entry.c: Likewise.
14763 * crypt/crypt_util.c: Likewise.
14765 2014-06-06 Joseph Myers <joseph@codesourcery.com>
14767 * Makeconfig (run-program-env): New variable.
14768 (run-program-prefix-before-env): Likewise.
14769 (run-program-prefix-after-env): Likewise.
14770 (run-program-prefix): Define in terms of new variables.
14771 (built-program-cmd-before-env): New variable.
14772 (built-program-cmd-after-env): Likewise.
14773 (built-program-cmd): Define in terms of new variables.
14774 (test-program-prefix-before-env): New variable.
14775 (test-program-prefix-after-env): Likewise.
14776 (test-program-prefix): Define in terms of new variables.
14777 (test-program-cmd-before-env): New variable.
14778 (test-program-cmd-after-env): Likewise.
14779 (test-program-cmd): Define in terms of new variables.
14780 * Rules (make-test-out): Use $(run-program-env).
14781 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
14782 (help): Do not mention environment variables. Mention
14783 --timeoutfactor option.
14784 (timeoutfactor): New variable.
14785 (blacklist_exports): Remove function.
14786 (exports): Remove variable.
14787 (command): Do not include ${exports}.
14788 * manual/install.texi (Configuring and compiling): Do not mention
14789 test wrappers preserving environment variables. Mention that last
14790 assignment to a variable must take precedence.
14791 * INSTALL: Regenerated.
14792 * benchtests/Makefile (run-bench): Use $(run-program-env).
14793 * catgets/Makefile ($(objpfx)test1.cat): Use
14794 $(built-program-cmd-before-env), $(run-program-env) and
14795 $(built-program-cmd-after-env).
14796 ($(objpfx)test2.cat): Do not specify environment variables
14798 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
14799 $(run-program-env) and $(built-program-cmd-after-env).
14800 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
14801 $(run-program-env) and $(test-program-cmd-after-env).
14802 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
14804 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
14805 run_program_env and test_program_cmd_after_env arguments.
14806 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
14807 * elf/tst-pathopt.sh: Use run_program_env argument.
14808 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
14809 $(test-wrapper-env) and $(run-program-env).
14810 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
14811 run_program_env arguments.
14812 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
14813 * intl/Makefile ($(objpfx)tst-gettext.out): Use
14814 $(test-program-prefix-before-env), $(run-program-env) and
14815 $(test-program-prefix-after-env).
14816 ($(objpfx)tst-gettext2.out): Likewise.
14817 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
14818 run_program_env and test_program_prefix_after_env arguments.
14819 * intl/tst-gettext2.sh: Likewise.
14820 * intl/tst-gettext4.sh: Do not set environment variables
14822 * intl/tst-gettext6.sh: Likewise.
14823 * intl/tst-translit.sh: Likewise.
14824 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
14825 $(test-program-prefix-before-env), $(run-program-env) and
14826 $(test-program-prefix-after-env).
14827 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
14828 run_program_env and test_program_prefix_after_env arguments.
14829 * math/Makefile (run-regen-ulps): Use $(run-program-env).
14830 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
14831 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
14832 explicitly with each use of ${test_wrapper_env}.
14833 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
14834 $(test-program-prefix-before-env), $(run-program-env) and
14835 $(test-program-prefix-after-env).
14836 * posix/tst-getconf.sh: Do not set environment variables
14838 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
14839 run_program_env and test_program_prefix_after_env arguments.
14840 * stdio-common/tst-printf.sh: Do not set environment variables
14842 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
14843 $(test-program-prefix-before-env), $(run-program-env) and
14844 $(test-program-prefix-after-env).
14845 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
14846 run_program_env and test_program_prefix_after_env arguments.
14847 Split $test calls into $test_pre and $test.
14848 * timezone/Makefile (build-testdata): Use
14849 $(built-program-cmd-before-env), $(run-program-env) and
14850 $(built-program-cmd-after-env).
14852 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14854 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
14855 strlen for non SHARED builds.
14857 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14859 * nptl/allocatestack.c (check_list): Inlined function...
14860 (__reclaim_stacks): ... here.
14862 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
14865 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14868 2014-06-05 Joseph Myers <joseph@codesourcery.com>
14870 * Rules (make-test-out): Include
14871 LOCPATH=$(common-objpfx)localedata in default environment.
14872 * debug/Makefile (tst-chk1-ENV): Remove variable.
14873 (tst-chk2-ENV): Likewise.
14874 (tst-chk3-ENV): Likewise.
14875 (tst-chk4-ENV): Likewise.
14876 (tst-chk5-ENV): Likewise.
14877 (tst-chk6-ENV): Likewise.
14878 (tst-lfschk1-ENV): Likewise.
14879 (tst-lfschk2-ENV): Likewise.
14880 (tst-lfschk3-ENV): Likewise.
14881 (tst-lfschk4-ENV): Likewise.
14882 (tst-lfschk5-ENV): Likewise.
14883 (tst-lfschk6-ENV): Likewise.
14884 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
14885 (tst-iconv7-ENV): Likewise.
14886 * intl/Makefile (LOCPATH-ENV): Likewise.
14887 (tst-codeset-ENV): Likewise.
14888 (tst-gettext3-ENV): Likewise.
14889 (tst-gettext5-ENV): Likewise.
14890 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
14891 (tst-fopenloc-ENV): Likewise.
14892 (tst-fgetws-ENV): Remove variable.
14893 (tst-ungetwc1-ENV): Likewise.
14894 (tst-ungetwc2-ENV): Likewise.
14895 (bug-ungetwc2-ENV): Likewise.
14896 (tst-swscanf-ENV): Likewise.
14897 (bug-ftell-ENV): Likewise.
14898 (tst-fgetwc-ENV): Likewise.
14899 (tst-fseek-ENV): Likewise.
14900 (tst-ftell-partial-wide-ENV): Likewise.
14901 (tst-ftell-active-handler-ENV): Likewise.
14902 (tst-ftell-append-ENV): Likewise.
14903 * posix/Makefile (tst-fnmatch-ENV): Likewise.
14904 (tst-regexloc-ENV): Likewise.
14905 (bug-regex1-ENV): Likewise.
14906 (tst-regex-ENV): Likewise.
14907 (tst-regex2-ENV): Likewise.
14908 (bug-regex5-ENV): Likewise.
14909 (bug-regex6-ENV): Likewise.
14910 (bug-regex17-ENV): Likewise.
14911 (bug-regex18-ENV): Likewise.
14912 (bug-regex19-ENV): Likewise.
14913 (bug-regex20-ENV): Likewise.
14914 (bug-regex22-ENV): Likewise.
14915 (bug-regex23-ENV): Likewise.
14916 (bug-regex25-ENV): Likewise.
14917 (bug-regex26-ENV): Likewise.
14918 (bug-regex30-ENV): Likewise.
14919 (bug-regex32-ENV): Likewise.
14920 (bug-regex33-ENV): Likewise.
14921 (bug-regex34-ENV): Likewise.
14922 (bug-regex35-ENV): Likewise.
14923 (tst-rxspencer-ENV): Likewise.
14924 (tst-rxspencer-no-utf8-ENV): Likewise.
14925 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
14926 (tst-sscanf-ENV): Likewise.
14927 (tst-swprintf-ENV): Likewise.
14928 (tst-swscanf-ENV): Likewise.
14929 (test-vfprintf-ENV): Likewise.
14930 (scanf13-ENV): Likewise.
14931 (bug14-ENV): Likewise.
14932 (tst-grouping-ENV): Likewise.
14933 * stdlib/Makefile (tst-strtod-ENV): Likewise.
14934 (tst-strtod3-ENV): Likewise.
14935 (tst-strtod4-ENV): Likewise.
14936 (tst-strtod5-ENV): Likewise.
14937 (testmb2-ENV): Likewise./
14938 * string/Makefile (tst-strxfrm-ENV): Likewise.
14939 (tst-strxfrm2-ENV): Likewise.
14940 (bug-strcoll1-ENV): Likewise.
14941 (test-strcasecmp-ENV): Likewise.
14942 (test-strncasecmp-ENV): Likewise.
14943 * time/Makefile (tst-strptime-ENV): Likewise.
14944 (tst-ftime_l-ENV): Likewise.
14945 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
14946 (tst-mbrtowc-ENV): Likewise.
14947 (tst-wcrtomb-ENV): Likewise.
14948 (tst-mbrtowc2-ENV): Likewise.
14949 (tst-c16c32-1-ENV): Likewise.
14950 (tst-mbsnrtowcs-ENV): Likewise.
14952 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
14954 * manual/resource.texi (How to get information about the memory
14955 subsystem?): Fix typo.
14956 Reported by Peon de la Parra Ivan <peon@keba.com>
14958 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
14961 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
14962 (pthread_spin_lock): Branch out of spin loop to proper location.
14963 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
14964 (pthread_spin_lock): Likewise.
14966 * nptl/tst-spin4.c: New test.
14967 * nptl/Makefile (tests): Add tst-spin4.
14969 2014-06-03 Andreas Schwab <schwab@suse.de>
14972 * resolv/res_send.c (send_dg): Reload file descriptor after
14975 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
14977 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14979 2014-06-03 Richard Henderson <rth@redhat.com>
14981 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
14982 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
14983 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
14984 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
14985 in the SAVE_PID block.
14986 (__libc_vfork): New alias.
14987 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
14989 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
14990 child in registers, not on the stack. Remove RESET_PID conditionals.
14991 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
14993 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
14995 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14997 2014-06-03 Wilco <wdijkstr@arm.com>
14999 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
15000 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
15001 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15002 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
15003 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
15006 2014-06-03 Wilco <wdijkstr@arm.com>
15008 * sysdeps/aarch64/fpu/math_private.h
15009 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
15010 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
15011 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
15012 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15015 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15017 * crypt/crypt-private.h: Include ufc-crypt.h.
15018 (__b64_from_24bit): Declare extern.
15019 * crypt/crypt_util.c(__b64_from_24bit): New function.
15020 (b64t): New static const variable.
15021 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
15022 (b64t): Remove variable.
15023 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
15024 * crypt/sha256-crypt.c: Include crypt-private.h.
15025 (b64t): Remove variable.
15026 (__sha256_crypt_r): Remove b64_from_24bit and replace
15027 with __b64_from_24bit.
15028 * crypt/sha512-crypt.c: Likewise.
15030 2014-06-02 Roland McGrath <roland@hack.frob.com>
15032 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
15033 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
15034 Label the code __libc_vfork rather than __vfork.
15035 [!NOT_IN_libc] (vfork): Define as weak alias.
15036 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
15037 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
15038 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
15040 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15042 * malloc/malloc.c (malloc_info): Fix format specifier for
15045 2014-06-02 Wilco <wdijkstr@arm.com>
15047 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
15050 2014-06-02 Wilco <wdijkstr@arm.com>
15053 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
15054 Rewrite to reduce FPCR/FPSR accesses.
15056 2014-06-01 David S. Miller <davem@davemloft.net>
15058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15060 2014-05-31 David S. Miller <davem@davemloft.net>
15062 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
15063 to occur in round to nearest mode when |x| >= 2.0
15065 2014-05-30 Richard Henderson <rth@twiddle.net>
15067 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
15068 (PSEUDO_RET_NOERRNO): Remove.
15069 (ret): Don't redefine.
15070 (ret_NOERRNO): Define in terms of ret.
15071 (ret_ERRVAL): Likewise.
15073 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
15074 use of PSEUDO_RET; perform the error check directly.
15076 2014-05-30 Marko Myllynen <myllynen@redhat.com>
15078 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
15081 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15083 * malloc/malloc (malloc_info): Fix formatting.
15085 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15086 Roland McGrath <roland@hack.frob.com>
15088 * malloc/malloc (malloc_info): Also print mmapped statistics.
15090 2014-05-30 Roland McGrath <roland@hack.frob.com>
15092 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
15093 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
15095 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
15097 * malloc/malloc.c (malloc_info): Inline mi_arena.
15099 2014-05-29 Richard Henderson <rth@twiddle.net>
15101 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
15102 Remove comma before expanding ASM_ARGS_##nr.
15103 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
15104 Make _x0 a strict output; make _x8 a strict input; adjust expansion
15106 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
15107 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
15108 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
15109 (ASM_ARGS_1): Add leading comma.
15111 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
15112 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
15113 to __errno_location.
15114 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
15115 Remove the expected plt for __errno_location.
15117 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15118 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
15121 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15122 Always allocate 64 bytes of stack frame. Use ldp/stp to create
15123 it and break it down.
15124 (DOCARGS_0, DOCARGS_1): Do nothing.
15125 (DOCARGS_2): Update to store into the new stack frame.
15126 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
15127 (UNDOCARGS_1): Update to restore from the new stack frame.
15128 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
15129 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
15131 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15132 (SINGLE_THREAD_P): New parameter for result regno.
15133 (PSEUDO): Update to match; use cbz instead of beq.
15135 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15136 Use ENTRY to define the _nocancel entry point. Share the syscall
15137 and syscall error check paths with the cancel path.
15140 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
15141 whitespace; tabs before and after asm mnemonics.
15143 2014-05-29 Eric Wong <normalperson@yhbt.net>
15146 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15147 Call fstat64 or stat64 internally, depending on arguments passed.
15148 Replace stat buffer argument with file descriptor argument.
15149 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
15150 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15151 Pass fd to __internal_statvfs instead of calling fstat64.
15152 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
15153 Pass fd to __internal_statvfs64 instead of calling fstat64.
15154 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
15155 Pass -1 to __internal_statvfs instead of calling stat64.
15156 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
15157 Pass -1 to __internal_statvfs64 instead of calling stat64.
15159 2014-05-28 Roland McGrath <roland@hack.frob.com>
15161 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
15162 that was previously under [RESET_PID].
15163 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
15165 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
15166 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
15168 2014-05-27 Roland McGrath <roland@hack.frob.com>
15170 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
15172 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
15173 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
15175 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
15177 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
15179 2014-05-27 Andreas Schwab <schwab@suse.de>
15181 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
15183 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
15184 * elf/rtld.c (init_tls, dl_main): Likewise.
15185 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
15186 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
15187 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
15188 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
15189 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
15190 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
15191 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
15192 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
15193 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
15194 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
15195 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
15196 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
15197 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
15198 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
15199 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
15200 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
15201 * sysdeps/generic/tls.h: Update description.
15203 2014-05-27 Will Newton <will.newton@linaro.org>
15206 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
15207 and restore r2 rather than just restoring.
15209 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15212 * libio/tst-ftell-append.c: New test case.
15213 * libio/Makefile (tests): Add test case.
15214 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
15216 * libio/wfileops.c (do_ftell_wide): Likewise.
15218 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15222 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
15224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
15225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15226 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
15227 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
15228 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
15229 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
15230 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
15231 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
15232 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
15234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
15235 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
15237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
15238 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
15239 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
15240 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
15241 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
15242 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
15244 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
15245 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
15247 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
15249 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
15251 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
15252 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
15253 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
15255 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
15256 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
15257 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
15258 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
15260 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
15262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
15263 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
15265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
15266 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
15268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
15269 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
15273 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
15276 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
15280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
15281 conditional [RESET_PID].
15282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
15283 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
15285 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
15288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
15290 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15291 (__libc_vfork): New strong alias.
15292 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
15294 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
15297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
15299 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
15300 (__libc_vfork): New strong alias.
15301 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
15303 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
15306 2014-05-26 Carlos O'Donell <carlos@redhat.com>
15308 * malloc/malloc.c (mi_arena): New function.
15309 (malloc_info): Remove nested function mi_arena. Call non-nosted
15312 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15314 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
15316 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
15317 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
15318 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
15319 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
15320 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
15321 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
15322 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
15324 2014-05-26 Andreas Schwab <schwab@suse.de>
15327 * locale/programs/repertoire.c (repertoire_read): Add slash
15328 between I18NPATH element and file name.
15329 * locale/programs/locfile.c (locfile_read): Likewise.
15331 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
15333 * nptl/pthread_mutexattr_settype.c
15334 (__pthread_mutexattr_settype):
15335 Disable lock elision for PTHREAD_MUTEX_NORMAL.
15337 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
15339 * nptl/tst-mutex5 (do_test):
15340 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
15342 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15344 * benchtests/README: Document 'init' directive.
15345 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
15347 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
15348 (parse_file): Recognize 'init' directive.
15350 2014-05-26 Kyle McMartin <kyle@redhat.com>
15353 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
15354 alignment of struct pthread.
15356 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15359 * nscd/netgroupcache.c (addgetnetgrentX): Look for
15360 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15361 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
15362 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15364 2014-05-25 Richard Henderson <rth@twiddle.net>
15366 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15367 (SINGLE_THREAD_P_PIC): Remove.
15368 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
15369 (SINGLE_THREAD_P_PIC): Remove.
15371 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
15372 branch to syscall error ...
15373 (PSEUDO): ... here.
15374 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
15375 from __local_syscall_error to .Lsyscall_error.
15376 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
15377 (SYSCALL_ERROR): Update label name.
15379 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15380 Do not use DOARGS/UNDOARGS.
15381 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
15382 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
15383 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
15384 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
15385 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
15387 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
15390 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
15391 define if !NOT_IN_libc.
15392 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
15393 define with non-default symbol versions.
15395 2014-05-23 Richard Henderson <rth@twiddle.net>
15397 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
15398 (vfork, __vfork): Define via compat_symbol.
15400 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
15401 [!HAVE_IFUNC] (vfork_compat): Remove.
15402 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
15404 2014-05-23 Joseph Myers <joseph@codesourcery.com>
15407 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
15408 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
15411 2014-05-23 Richard Henderson <rth@twiddle.net>
15413 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
15414 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
15415 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
15416 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
15418 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
15419 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
15420 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
15421 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
15422 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
15423 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
15424 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
15425 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
15426 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
15427 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
15428 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
15429 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
15430 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
15431 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
15432 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
15433 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
15434 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
15435 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
15436 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
15437 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
15438 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
15439 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
15440 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
15441 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
15442 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
15443 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
15444 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
15445 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
15446 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
15447 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
15448 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
15449 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
15450 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
15451 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
15452 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
15453 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
15454 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
15455 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
15456 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
15457 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
15458 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
15459 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
15460 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
15461 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
15462 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
15463 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
15464 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
15465 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
15466 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
15467 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
15468 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
15469 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
15470 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
15471 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
15472 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
15473 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
15475 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
15476 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
15477 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
15478 before exiting on error.
15479 (__libc_vfork): New strong alias.
15480 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
15481 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
15483 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
15484 that was previously under [RESET_PID].
15485 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
15487 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
15489 2014-05-23 Joseph Myers <joseph@codesourcery.com>
15492 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
15493 value when x - 1 is zero.
15494 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
15495 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
15496 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
15497 0.0L for an argument of 1.0L.
15498 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
15500 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
15501 value when x - 1 is zero.
15502 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
15503 * sysdeps/i386/fpu/libm-test-ulps: Update.
15504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15506 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
15508 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
15509 alphasort and versionsort.
15511 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15513 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
15515 [copysignf]: Likewise.
15517 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15519 * crypt/md5-crypt.c: Fix formatting.
15521 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15523 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
15524 (b64_from_24bit): New function.
15526 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15528 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
15529 libc_hidden_builtin_def to ifunc.
15530 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
15531 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
15533 2014-05-21 Roland McGrath <roland@hack.frob.com>
15535 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
15536 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
15538 2014-05-21 Joseph Myers <joseph@codesourcery.com>
15540 * nscd/Depend (linuxthreads): Remove.
15542 * resolv/Depend (linuxthreads): Remove.
15543 * rt/Depend (linuxthreads): Remove.
15545 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
15546 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
15547 $(common-objpfx)elf/.
15548 (link-libc-before-gnulib): Likewise.
15549 (elfobjdir): Remove variable.
15550 * Makefile (install): Use $(elf-objpfx) instead of
15551 $(common-objpfx)elf/.
15552 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
15554 (link-libc-deps): Likewise.
15555 ($(common-objpfx)libc.so): Likewise.
15556 ($(common-objpfx)linkobj/libc.so): Likewise.
15557 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
15558 instead of $(common-objpfx)elf/.
15559 (symbolic-link-list): Likewise.
15560 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15561 [$(cross-compiling) = no]: Likewise.
15562 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
15564 (static-gnulib-arch): Likewise.
15565 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15566 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
15567 $(common-objpfx)elf/.
15569 2014-05-21 Richard Henderson <rth@redhat.com>
15571 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15572 (SINGLE_THREAD_P): Use the correct width load. Fold
15573 into the ldr offset.
15575 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
15576 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
15578 2014-05-20 Joseph Myers <joseph@codesourcery.com>
15580 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
15581 (libgcc_s_resume): Use __attribute_used__.
15582 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
15585 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15587 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
15588 optimization when used with float constants.
15590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15592 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
15595 * locale/nl_langinfo_l.c: Make direct reference to every
15596 _nl_current_CATEGORY symbol.
15597 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
15598 (tests-static): Add tst-langinfo-static.
15599 (tests-special): Add tst-langinfo-static.out.
15600 ($(objpfx)tst-langinfo.out): Redirect output.
15601 ($(objpfx)tst-langinfo-static.out): New.
15602 * localedata/tst-langinfo.sh: Send output to stdout.
15603 * localedata/tst-langinfo-static.c: New file.
15606 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
15607 when the shift amount is modulo the limb size.
15609 2014-05-20 Richard Henderson <rth@redhat.com>
15612 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
15613 Change type of sa_flags from unsigned int to int.
15616 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
15618 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
15620 2014-05-20 Will Newton <will.newton@linaro.org>
15622 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15623 Test the return value of the system call in the nocancel case.
15625 2014-05-20 Will Newton <will.newton@linaro.org>
15626 Yvan Roux <yvan.roux@linaro.org>
15628 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
15629 #include of asm/ptrace.h.
15630 (PTRACE_GET_THREAD_AREA): Remove #undef.
15631 (PTRACE_GETHBPREGS): Likewise.
15632 (PTRACE_SETHBPREGS): Likewise.
15633 (struct user_regs_struct): New structure.
15634 (struct user_fpsimd_struct): New structure.
15635 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
15636 #include of asm/ptrace.h and second #include of sys/user.h.
15637 (PTRACE_GET_THREAD_AREA): Remove #undef.
15638 (PTRACE_GETHBPREGS): Likewise.
15639 (PTRACE_SETHBPREGS): Likewise.
15640 (ELF_NGREG): Use new struct user_regs_struct.
15641 (elf_fpregset_t): Use new struct user_fpsimd_struct.
15643 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15645 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
15646 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
15648 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15651 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
15652 membar to avoid block loads/stores to overlap previous stores.
15654 2014-05-17 Richard Henderson <rth@redhat.com>
15656 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
15657 Create the __##syscall_name##_nocancel entry point.
15658 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
15659 Remove; let the sysdep-cancel.h code create it.
15661 2014-05-17 David S. Miller <davem@davemloft.net>
15663 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
15664 Protect with __USE_GNU.
15665 (TIOCSET_TEMPT): Likewise.
15666 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15667 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
15668 these are already provided in bits/ioctl-types.h
15670 2014-05-16 Roland McGrath <roland@hack.frob.com>
15672 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
15673 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
15675 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
15676 Use wait4 regardless of [__NR_waitpid].
15678 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15681 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15682 (_FP_NANSIGN_Q): Set the quiet bit.
15684 2014-05-16 Joseph Myers <joseph@codesourcery.com>
15686 * benchtests/Makefile
15687 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
15688 not $(common-objpfx)math/libm.so.
15689 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
15690 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
15691 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
15692 $(common-objpfx)dlfcn/libdl.so.
15693 ($(objpfx)tst-audit8): Depend on $(libm), not
15694 $(common-objpfx)math/libm.so.
15695 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
15696 not $(common-objpfx)dlfcn/libdl.so.
15698 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15699 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
15700 [$(build-shared) = yes].
15701 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
15702 $(common-objpfx)nptl/libpthread.so.
15703 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
15704 $(common-objpfx)math/libm.so$(libm.so-version) or
15705 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
15706 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
15707 $(common-objpfx)dlfcn/libdl.so.
15708 * setjmp/Makefile (link-libm): Remove variable.
15709 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
15710 * stdio-common/Makefile (link-libm): Remove variable.
15711 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
15712 * stdlib/Makefile (link-libm): Remove variable.
15713 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
15714 ($(objpfx)tst-strtod-round): Likewise.
15715 ($(objpfx)tst-tininess): Likewise.
15716 ($(objpfx)tst-strtod-underflow): Likewise.
15717 ($(objpfx)tst-strtod6): Likewise.
15718 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
15719 $(libdl), not $(common-objpfx)nptl/libpthread.so and
15720 $(common-objpfx)dlfcn/libdl.so.
15722 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15724 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
15725 BSD terminal modes definitions.
15727 2014-05-16 Roland McGrath <roland@hack.frob.com>
15729 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
15730 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
15732 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
15733 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
15734 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
15735 Don't do #include_next.
15736 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
15737 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
15738 Don't do #include_next.
15739 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
15740 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
15741 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
15742 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
15744 2014-05-16 Allan McRae <allan@archlinux.org>
15746 * po/sv.po: Update Swedish translation from translation project.
15748 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
15751 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
15754 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
15755 errno if the TIOCGPTN ioctl fails with an error different than
15757 * login/tst-ptsname.c: New file.
15758 * login/Makefile (tests): Add tst-ptsname.
15761 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
15764 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15767 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
15768 herrno to return EAI_AGAIN.
15770 2014-05-14 Roland McGrath <roland@hack.frob.com>
15772 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
15773 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
15774 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
15775 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
15776 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
15777 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
15778 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
15779 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
15780 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
15781 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
15782 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
15783 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
15784 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
15785 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
15786 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
15787 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
15788 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
15789 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
15790 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
15791 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
15792 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
15793 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
15794 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
15795 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
15796 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
15797 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
15798 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
15799 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
15800 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
15801 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
15802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
15803 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
15804 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
15805 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
15806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15808 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
15809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
15810 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
15811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
15812 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
15813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
15814 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
15815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
15816 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
15817 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
15818 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
15819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
15820 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
15821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
15822 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
15823 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
15824 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
15825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
15826 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
15827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
15828 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
15829 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
15830 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
15831 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
15832 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
15833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
15834 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
15835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15837 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
15838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
15839 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
15840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
15841 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
15842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
15843 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
15844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
15845 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
15846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
15847 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
15848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
15849 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
15850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
15851 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
15852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
15853 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
15854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
15855 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
15856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15858 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
15859 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
15860 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
15862 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
15863 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
15864 (libpthread-sysdep_routines): Add elision-related stuff here instead.
15865 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
15866 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
15867 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
15868 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
15869 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
15870 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
15871 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
15872 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
15873 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
15874 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
15875 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
15876 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
15877 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
15878 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
15879 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
15880 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
15881 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
15882 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
15883 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
15884 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
15885 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
15886 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
15887 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
15888 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
15889 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
15890 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
15891 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
15892 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
15894 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
15895 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
15897 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
15898 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
15899 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
15900 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
15901 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
15902 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
15904 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
15905 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
15907 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
15908 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
15910 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
15911 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
15913 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
15914 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
15915 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
15916 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
15918 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
15919 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
15920 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
15921 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
15922 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
15923 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
15924 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
15925 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
15927 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
15928 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
15930 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
15932 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
15933 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
15934 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
15935 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
15936 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
15938 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
15940 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
15942 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
15943 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
15944 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
15945 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
15946 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
15947 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
15949 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
15950 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
15952 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
15953 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
15955 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
15956 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
15958 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
15959 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
15960 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
15961 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
15963 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
15964 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
15965 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
15966 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
15967 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
15968 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
15969 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
15970 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
15972 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
15973 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
15975 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
15977 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
15978 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
15979 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
15980 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
15981 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
15983 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
15985 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
15987 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
15988 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
15989 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
15990 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
15991 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
15992 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
15993 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
15994 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
15995 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
15996 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
15998 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
15999 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
16001 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
16002 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
16004 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
16005 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
16007 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
16008 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
16009 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
16010 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
16011 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
16012 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
16014 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
16015 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
16016 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
16017 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
16018 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
16019 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
16020 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
16021 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
16023 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
16024 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16026 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16028 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
16029 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
16030 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
16031 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
16032 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16034 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16036 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
16038 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
16039 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
16040 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
16041 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
16042 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
16043 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
16044 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
16045 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
16046 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
16047 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
16048 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
16050 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
16051 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
16053 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
16054 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
16056 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
16057 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
16058 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
16059 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
16060 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
16061 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
16062 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
16063 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
16064 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
16065 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
16066 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
16067 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
16068 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
16069 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
16070 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
16071 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
16072 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
16073 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
16075 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
16076 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
16077 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
16078 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
16080 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
16081 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
16082 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
16083 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
16084 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
16085 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
16086 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
16087 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
16089 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
16090 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
16092 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
16093 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
16094 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
16095 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
16096 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
16097 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
16098 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
16099 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
16100 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
16101 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
16102 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
16103 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
16104 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
16105 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
16106 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
16107 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
16108 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
16110 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
16111 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
16112 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
16113 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
16114 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
16116 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
16117 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
16118 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
16119 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
16120 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
16121 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
16122 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
16123 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
16124 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
16125 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
16127 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
16128 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
16130 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
16131 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
16132 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
16133 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
16134 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
16135 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
16136 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
16137 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
16138 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
16139 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
16140 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
16141 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
16142 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
16143 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
16144 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
16146 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
16148 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16150 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16152 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16154 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
16156 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
16158 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16160 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
16162 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
16164 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
16165 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
16166 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
16167 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
16168 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
16169 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
16170 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
16171 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
16172 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
16173 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
16174 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
16175 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
16176 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
16177 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
16178 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
16180 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
16181 that was previously under [RESET_PID].
16182 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16183 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
16184 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
16186 * sysdeps/i386/nptl/Implies: New file.
16187 * sysdeps/x86_64/nptl/Implies: New file.
16188 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
16189 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
16190 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
16191 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
16193 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
16194 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16195 (__libc_vfork): New strong alias.
16196 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
16197 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
16199 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
16200 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16201 (__libc_vfork): New strong alias.
16202 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
16203 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
16205 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
16206 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16207 (__libc_vfork): New strong alias.
16208 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
16209 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
16210 * nptl/pt-vfork.c: New file.
16211 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
16212 (libpthread: GLIBC_2.20): New version set (empty).
16214 2014-05-14 Will Newton <will.newton@linaro.org>
16216 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
16219 2014-05-14 Joseph Myers <joseph@codesourcery.com>
16222 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
16223 arguments with exponent 65 or above.
16224 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
16225 arguments 0x1p113L or above.
16226 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
16227 to arguments 0x1p107L or above.
16228 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
16229 positive arguments with exponent 65 or above.
16230 * math/auto-libm-test-in: Add more tests of log1p.
16231 * math/auto-libm-test-out: Regenerated.
16234 * math/s_cacos.c (__cacos): Ensure zero real part of result from
16235 non-finite arguments is +0.
16236 * math/s_cacosf.c (__cacosf): Likewise.
16237 * math/s_cacosl.c (__cacosl): Likewise.
16238 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
16239 * sysdeps/i386/fpu/libm-test-ulps: Update.
16240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16243 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
16245 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16246 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
16247 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
16248 for explicit high bit of mantissa when testing for argument equal
16250 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
16251 * sysdeps/i386/fpu/libm-test-ulps: Update.
16252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16255 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
16256 (__erf): Scale by 16 instead of 8 in potentially underflowing
16257 case. Ensure exception if result actually underflows.
16258 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
16259 (__erff): Scale by 16 instead of 8 in potentially underflowing
16260 case. Ensure exception if result actually underflows.
16261 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
16262 (efx8): Remove variable.
16263 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16264 case. Ensure exception if result actually underflows.
16265 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
16266 (efx8): Remove variable.
16267 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16268 case. Ensure exception if result actually underflows.
16269 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
16270 (efx8): Remove variable.
16271 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16272 case. Ensure exception if result actually underflows.
16273 * math/auto-libm-test-in: Add more tests of erf.
16274 * math/auto-libm-test-out: Regenerated.
16276 2014-05-14 Andreas Schwab <schwab@suse.de>
16278 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
16279 Remove code conditionalized on USE___THREAD.
16281 * config.h.in (HAVE_PT_CHOWN): Define as 0.
16282 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
16285 2014-05-14 Joseph Myers <joseph@codesourcery.com>
16287 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
16288 Define unconditionally.
16289 (__ASSUME_O_CLOEXEC): Likewise.
16290 (__ASSUME_SOCK_CLOEXEC): Likewise.
16291 (__ASSUME_IN_NONBLOCK): Likewise.
16292 (__ASSUME_PIPE2): Likewise.
16293 (__ASSUME_EVENTFD2): Likewise.
16294 (__ASSUME_SIGNALFD4): Likewise.
16295 (__ASSUME_DUP3): Likewise.
16296 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16297 (__ASSUME_DUP3): Do not define.
16298 (__ASSUME_EVENTFD2): Likewise.
16299 (__ASSUME_IN_NONBLOCK): Likewise.
16300 (__ASSUME_O_CLOEXEC): Likewise.
16301 (__ASSUME_PIPE2): Likewise.
16302 (__ASSUME_SIGNALFD4): Likewise.
16303 (__ASSUME_SOCK_CLOEXEC): Likewise.
16304 (__ASSUME_UTIMES): Undefine.
16305 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16306 (__ASSUME_UTIMES): Do not define.
16307 (__ASSUME_O_CLOEXEC): Likewise.
16308 (__ASSUME_SOCK_CLOEXEC): Likewise.
16309 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
16310 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
16312 (__ASSUME_PIPE2): Likewise.
16313 (__ASSUME_EVENTFD2): Likewise.
16314 (__ASSUME_SIGNALFD4): Likewise.
16315 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
16316 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
16318 (__ASSUME_EVENTFD2): Likewise.
16319 (__ASSUME_SIGNALFD4): Likewise.
16320 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16321 (__ASSUME_32BITUIDS): Likewise.
16322 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16323 (__ASSUME_IPC64): Likewise.
16324 (__ASSUME_ST_INO_64_BIT): Likewise.
16325 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
16326 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
16327 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16328 (__ASSUME_UTIMES): Do not define.
16329 (__ASSUME_PSELECT): Likewise.
16330 (__ASSUME_PPOLL): Likewise.
16331 (__ASSUME_O_CLOEXEC): Likewise.
16332 (__ASSUME_SOCK_CLOEXEC): Likewise.
16333 (__ASSUME_IN_NONBLOCK): Likewise.
16334 (__ASSUME_PIPE2): Likewise.
16335 (__ASSUME_EVENTFD2): Likewise.
16336 (__ASSUME_SIGNALFD4): Likewise.
16337 (__ASSUME_DUP3): Likewise.
16338 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16339 (__ASSUME_UTIMES): Likewise.
16340 (__ASSUME_O_CLOEXEC): Likewise.
16341 (__ASSUME_SOCK_CLOEXEC): Likewise.
16342 (__ASSUME_IN_NONBLOCK): Likewise.
16343 (__ASSUME_PIPE2): Likewise.
16344 (__ASSUME_EVENTFD2): Likewise.
16345 (__ASSUME_SIGNALFD4): Likewise.
16346 (__ASSUME_DUP3): Likewise.
16347 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16348 (__ASSUME_UTIMES): Likewise.
16349 (__ASSUME_O_CLOEXEC): Likewise.
16350 (__ASSUME_SOCK_CLOEXEC): Likewise.
16351 (__ASSUME_IN_NONBLOCK): Likewise.
16352 (__ASSUME_PIPE2): Likewise.
16353 (__ASSUME_EVENTFD2): Likewise.
16354 (__ASSUME_SIGNALFD4): Likewise.
16355 (__ASSUME_DUP3): Likewise.
16356 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
16358 (__ASSUME_UTIMES): Likewise.
16359 (__ASSUME_EVENTFD2): Likewise.
16360 (__ASSUME_SIGNALFD4): Likewise.
16361 * sysdeps/unix/sysv/linux/tile/kernel-features.h
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 (__ASSUME_UTIMES): Undefine.
16371 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
16372 feclearexcept. Remove symbol versioning code.
16373 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
16374 symbol versioning code.
16375 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
16376 symbol versioning code.
16377 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
16378 feupdateenv. Remove symbol versioning code.
16379 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
16380 fegetexceptflag. Remove symbol versioning code.
16381 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
16382 fesetexceptflag. Remove symbol versioning code.
16383 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
16384 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
16385 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
16386 (__posix_fadvise64_l32): Remove prototype.
16387 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
16390 2014-05-13 Roland McGrath <roland@hack.frob.com>
16392 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
16393 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
16394 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
16395 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
16397 2014-05-13 Sami Kerola <kerolasa@iki.fi>
16399 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
16400 current working directory
16402 2014-05-13 Roland McGrath <roland@hack.frob.com>
16404 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
16405 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
16406 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
16407 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
16408 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
16409 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
16410 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
16411 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
16412 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
16413 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
16414 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
16415 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
16416 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
16417 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
16418 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
16419 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
16420 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
16421 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
16422 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
16423 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
16424 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
16425 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
16426 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
16427 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
16428 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
16429 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
16430 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
16431 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
16432 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
16433 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
16434 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
16435 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
16436 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
16437 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
16438 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
16439 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
16440 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
16441 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
16442 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
16443 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
16444 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
16445 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
16447 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
16448 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
16450 * sysdeps/unix/sysv/linux/arm/Makefile
16451 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
16452 Add rt-aeabi_unwind_cpp_pr1.
16453 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
16454 Add nptl-aeabi_unwind_cpp_pr1.
16455 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
16456 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
16457 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
16458 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16459 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
16460 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16462 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
16463 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
16464 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
16465 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
16467 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
16468 Deconditionalize the code that was previously under [RESET_PID].
16469 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
16471 * sysdeps/generic/exit-thread.h: New file.
16472 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
16473 * include/unistd.h (__exit_thread): Remove declaration.
16474 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
16475 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
16476 * csu/libc-start.c: Include <exit-thread.h>.
16477 (LIBC_START_MAIN): Pass no argument to __exit_thread.
16478 * nptl/pthread_create.c: Include <exit-thread.h>.
16479 (start_thread): Call __exit_thread in place of __exit_thread_inline.
16480 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
16481 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
16482 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
16483 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
16484 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
16485 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
16486 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
16487 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
16488 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
16489 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
16490 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
16491 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
16492 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
16493 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
16494 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
16495 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
16497 2014-05-13 Andreas Schwab <schwab@suse.de>
16499 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
16501 2014-05-12 Joseph Myers <joseph@codesourcery.com>
16503 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16504 (__ASSUME_UTIMES): Do not condition on kernel version.
16505 (__ASSUME_PSELECT): Define unconditionally.
16506 (__ASSUME_PPOLL): Likewise.
16507 (__ASSUME_ATFCTS): Likewise.
16508 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
16509 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
16510 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
16511 (__ASSUME_UTIMENSAT): Define unconditionally.
16512 (__ASSUME_PRIVATE_FUTEX): Likewise.
16513 (__ASSUME_FALLOCATE): Likewise.
16514 (__ASSUME_O_CLOEXEC): Likewise.
16515 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
16516 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
16517 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
16518 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
16519 (__ASSUME_IN_NONBLOCK): Likewise.
16520 (__ASSUME_PIPE2): Likewise.
16521 (__ASSUME_EVENTFD2): Likewise.
16522 (__ASSUME_SIGNALFD4): Likewise.
16523 (__ASSUME_DUP3): Likewise.
16524 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16525 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
16526 (__ASSUME_AT_RANDOM): Likewise.
16527 (__ASSUME_PREADV): Likewise.
16528 (__ASSUME_PWRITEV): Likewise.
16529 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
16530 (__ASSUME_F_GETOWN_EX): Define unconditionally.
16531 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
16532 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16533 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
16534 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16535 (__ASSUME_O_CLOEXEC): Define unconditionally.
16536 (__ASSUME_PSELECT): Do not undefine conditionally.
16537 (__ASSUME_PPOLL): Likewise.
16538 (__ASSUME_ATFCTS): Likewise.
16539 (__ASSUME_SET_ROBUST_LIST): Likewise.
16540 (__ASSUME_UTIMENSAT): Likewise.
16541 (__ASSUME_FDATASYNC): Define unconditionally.
16542 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16543 (__ASSUME_SIGFRAME_V2): Likewise.
16544 )__ASSUME_EVENTFD2): Likewise.
16545 (__ASSUME_SIGNALFD4): Likewise.
16546 (__ASSUME_PSELECT): Do not undefine conditionally.
16547 (__ASSUME_PPOLL): Likewise.
16548 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16549 (__ASSUME_PSELECT): Define unconditionally.
16550 (__ASSUME_PPOLL): Likewise.
16551 (__ASSUME_O_CLOEXEC): Likewise.
16552 (__ASSUME_SOCK_CLOEXEC): Likewise.
16553 (__ASSUME_IN_NONBLOCK): Likewise.
16554 (__ASSUME_PIPE2): Likewise.
16555 (__ASSUME_EVENTFD2): Likewise.
16556 (__ASSUME_SIGNALFD4): Likewise.
16557 (__ASSUME_DUP3): Likewise.
16558 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16559 (__ASSUME_O_CLOEXEC): Likewise.
16560 (__ASSUME_SOCK_CLOEXEC): Likewise.
16561 (__ASSUME_IN_NONBLOCK): Likewise.
16562 (__ASSUME_PIPE2): Likewise.
16563 (__ASSUME_EVENTFD2): Likewise.
16564 (__ASSUME_SIGNALFD4): Likewise.
16565 (__ASSUME_DUP3): Likewise.
16566 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16567 (__ASSUME_EVENTFD2): Likewise.
16568 (__ASSUME_SIGNALFD4): Likewise.
16569 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16571 2014-05-12 Andreas Schwab <schwab@suse.de>
16574 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
16575 (_nss_nis_gethostbyname4_r): Return error if item length is larger
16576 than maximum RPC packet size.
16577 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
16578 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
16579 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
16580 (_nss_nis_getservbyport_r): Likewise.
16582 2014-05-12 Will Newton <will.newton@linaro.org>
16584 * malloc/Makefile (tests): Add tst-mallopt.
16585 * malloc/tst-mallopt.c: New file.
16587 2014-05-09 Roland McGrath <roland@hack.frob.com>
16589 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
16590 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
16592 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16594 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
16595 (tst-tlsmod6.so): Likewise.
16597 2014-05-09 Roland McGrath <roland@hack.frob.com>
16599 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
16601 2014-05-09 Joseph Myers <joseph@codesourcery.com>
16604 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
16605 and <dl-procinfo.h>.
16606 (__fegetenv): Save SSE state in envp->__eip if supported.
16607 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
16608 envp->__eip if supported.
16609 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
16610 and <dl-procinfo.h>.
16611 (__fesetenv): Always set __eip, __cs_selector, __opcode,
16612 __data_offset and __data_selector in environment to 0. Set SSE
16613 state if supported.
16614 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16616 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
16618 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
16620 2014-05-09 Will Newton <will.newton@linaro.org>
16622 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
16623 and libc_relro_required for ARM.
16624 * sysdeps/arm/preconfigure: Regenerate.
16626 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
16627 Stefan Liebler <stli@linux.vnet.ibm.com>
16629 * config.make.in (enable-lock-elision): New Makefile variable.
16630 * configure.ac: Likewise.
16631 * configure: Regenerate.
16632 * sysdeps/s390/configure.ac:
16633 Add check for gcc transactions support.
16634 * sysdeps/s390/configure: Regenerate.
16635 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
16636 Build elision files if enabled.
16637 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
16638 Add lock elision support for s390.
16639 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
16640 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
16641 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
16642 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
16643 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
16644 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
16645 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16647 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
16649 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
16651 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
16653 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
16654 (__lll_timedlock_elision, __lll_lock_elision)
16655 (__lll_unlock_elision, __lll_trylock_elision)
16656 (lll_timedlock_elision, lll_lock_elision)
16657 (lll_unlock_elision, lll_trylock_elision): Add.
16658 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16659 (pthread_mutex_t): Add lock elision support for s390.
16661 2014-05-14 Wilco <wdijkstr@arm.com>
16663 * sysdeps/arm/fclrexcpt.c: Cleanup.
16664 * sysdeps/arm/fedisblxcpt.c: Cleanup.
16665 * sysdeps/arm/feenablxcpt.c: Cleanup.
16666 * sysdeps/arm/fegetenv.c: Cleanup.
16667 * sysdeps/arm/fegetexcept.c: Cleanup.
16668 * sysdeps/arm/fegetround.c: Cleanup.
16669 * sysdeps/arm/feholdexcpt.c: Cleanup.
16670 * sysdeps/arm/fesetenv.c: Cleanup.
16671 * sysdeps/arm/fesetround.c: Cleanup.
16672 * sysdeps/arm/feupdateenv.c: Cleanup.
16673 * sysdeps/arm/fgetexcptflg.c: Cleanup.
16674 * sysdeps/arm/fraiseexcpt.c: Cleanup.
16675 * sysdeps/arm/fsetexcptflg.c: Cleanup.
16676 * sysdeps/arm/ftestexcept.c: Cleanup.
16677 * sysdeps/arm/get-rounding-mode.h: Cleanup.
16678 * sysdeps/arm/setfpucw.c: Cleanup.
16680 2014-05-09 Will Newton <will.newton@linaro.org>
16682 * sysdeps/arm/armv7/strcmp.S: New file.
16683 * NEWS: Mention addition of ARMv7 optimized strcmp.
16685 2014-05-08 Roland McGrath <roland@hack.frob.com>
16687 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
16688 look for %.ac rather than %.in.
16690 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
16691 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
16692 * sysdeps/mach/hurd/configure: Regenerated.
16693 * sysdeps/unix/sysv/linux/configure: Regenerated.
16695 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
16697 2014-05-07 Steve Ellcey <sellcey@mips.com>
16700 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
16704 2014-05-07 Andreas Schwab <schwab@suse.de>
16706 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
16707 when skipping over non-matching result from nscd.
16709 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
16712 * nptl/sockperf.c (client): Check socket return value.
16715 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
16716 nscd security class.
16718 2014-05-06 Roland McGrath <roland@hack.frob.com>
16720 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
16721 * sysdeps/arm/unwind.h: ... here.
16723 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
16726 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
16729 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16731 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
16732 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
16733 multiarch strncpy for PPC64.
16734 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
16735 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
16736 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
16737 multiarch optimizations.
16738 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16739 (__libc_ifunc_impl_list): Likewise.
16740 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
16741 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
16742 multiarch stpncpy for PPC64.
16743 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
16744 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
16746 2014-05-06 Andreas Schwab <schwab@suse.de>
16749 * gmon/mcount.c (_MCOUNT_DECL): Use
16750 atomic_compare_and_exchange_bool_acq instead of
16751 catomic_compare_and_exchange_bool_acq.
16753 2014-05-05 Roland McGrath <roland@hack.frob.com>
16755 * elf/Makefile (others, install-bin): Remove pldd.
16756 (pldd-modules): Variable removed.
16757 ($(objpfx)pldd): Target removed.
16758 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
16759 (others, install-bin): Append pldd here.
16760 ($(objpfx)pldd): New target.
16762 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
16763 to 0, so the first #if test emitted later doesn't see it undefined.
16764 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
16765 * sysdeps/gnu/errlist.c: Regenerated.
16767 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16769 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16770 [libc_hidden_builtin_def]: Define to empty value.
16771 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
16772 [libc_hidden_builtin_def]: Likewise.
16773 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
16774 [libc_hidden_builtin_def]: Likewise.
16775 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
16776 [libc_hidden_builtin_def]: Likewise.
16777 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
16778 __redirect_memcpy and define ifunc as default hidden symbol.
16779 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
16780 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
16782 2014-05-04 Adam Conrad <adconrad@0c3.net>
16784 * locale/iso-4217.def: Reintroduce XDR currency.
16786 2014-05-04 Allan McRae <allan@archlinux.org>
16788 * po/eo.po: Update Esperanto translation from translation project.
16790 2014-05-02 Carlos O'Donell <carlos@redhat.com>
16792 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
16793 and FEATURE_INDEX_MAX to 1.
16794 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
16796 2014-05-01 Steve Ellcey <sellcey@mips.com>
16798 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
16799 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
16800 * iconvdata/big5.c (ONE_DIRECTION): Define.
16801 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
16802 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
16803 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
16804 * iconvdata/cp932.c (ONE_DIRECTION): Define.
16805 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
16806 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
16807 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
16808 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
16809 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
16810 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
16811 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
16812 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
16813 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
16814 * iconvdata/gbk.c (ONE_DIRECTION): Define.
16815 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
16816 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
16817 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
16818 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
16819 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
16820 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
16821 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
16822 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
16823 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
16824 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
16825 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
16826 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
16827 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
16828 * iconvdata/iso646.c (ONE_DIRECTION): Define.
16829 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
16830 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
16831 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
16832 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
16833 * iconvdata/johab.c (ONE_DIRECTION): Define.
16834 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
16835 * iconvdata/sjis.c (ONE_DIRECTION): Define.
16836 * iconvdata/t.61.c (ONE_DIRECTION): Define.
16837 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
16838 * iconvdata/tscii.c (ONE_DIRECTION): Define.
16839 * iconvdata/uhc.c (ONE_DIRECTION): Define.
16840 * iconvdata/unicode.c (ONE_DIRECTION): Define.
16841 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
16842 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
16843 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
16845 2014-05-01 Roland McGrath <roland@hack.frob.com>
16847 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
16848 (_IO_JUMPS_OFFSET): Define to 0.
16850 * nptl/sysdeps/pthread/bits/libc-lock.h
16851 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
16852 (__libc_lock_define_initialized_recursive): Always define using
16853 initializer. Modern compilers treat uninitialized (implicit zero) and
16854 explicit zero initializers the same (i.e. put the datum in bss).
16856 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
16858 * nscd/nscd-client.h: Include <string.h>.
16860 2014-05-01 David S. Miller <davem@davemloft.net>
16863 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
16864 multiple zero bytes exist at the end of a string.
16865 Reported by Aurelien Jarno <aurelien@aurel32.net>
16867 * string/test-strcmp.c (check): Add explicit test for situations where
16868 there are multiple zero bytes after the first.
16870 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
16873 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
16874 when compiling wprintf.
16875 * stdio-common/tstdiomisc.c (t3): New function.
16878 2014-05-01 Steve Ellcey <sellcey@mips.com>
16880 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
16881 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
16882 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
16883 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
16885 2014-05-01 Steve Ellcey <sellcey@mips.com>
16887 * stdlib/longlong.h: Updated from GCC.
16889 2014-05-01 Will Newton <will.newton@linaro.org>
16890 Bernard Ogden <bernie.ogden@linaro.org>
16892 * NEWS: Update fixed bug list.
16895 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
16897 2014-04-30 David S. Miller <davem@davemloft.net>
16899 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
16900 (libc_feholdexcept_setround_sparc_ctx): New function.
16901 (libc_fesetenv_sparc_ctx): Likewise.
16902 (libc_feupdateenv_sparc_ctx): Likewise.
16903 (libc_feholdsetround_sparc_ctx): Likewise.
16904 (libc_feholdexcept_setround_ctx): Define.
16905 (libc_feholdexcept_setroundf_ctx): Likewise.
16906 (libc_feholdexcept_setroundl_ctx): Likewise.
16907 (libc_fesetenv_ctx): Likewise.
16908 (libc_fesetenvf_ctx): Likewise.
16909 (libc_fesetenvl_ctx): Likewise.
16910 (libc_feupdateenv_ctx): Likewise.
16911 (libc_feupdateenvf_ctx): Likewise.
16912 (libc_feupdateenvl_ctx): Likewise.
16913 (libc_feresetround_ctx): Likewise.
16914 (libc_feresetroundf_ctx): Likewise.
16915 (libc_feresetroundl_ctx): Likewise.
16916 (libc_feholdsetround_ctx): Likewise.
16917 (libc_feholdsetroundf_ctx): Likewise.
16918 (libc_feholdsetroundl_ctx): Likewise.
16920 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
16921 with __USE_GNU instead of XOPEN cpp guards.
16923 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
16926 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
16927 with XOPEN cpp guards.
16929 2014-04-30 Julian Brown <julian@codesourcery.com>
16932 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
16935 2014-04-30 Joseph Myers <joseph@codesourcery.com>
16938 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
16940 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
16941 * sysdeps/unix/sysv/linux/configure: Regenerated.
16942 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
16943 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
16944 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
16945 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
16946 * README: Update reference to required Linux kernel version.
16947 * manual/install.texi (Linux): Update reference to required Linux
16948 kernel headers version.
16949 * INSTALL: Regenerated.
16951 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
16953 [POSIX] (limits.h): Likewise.
16954 [POSIX] (math.h): Likewise.
16955 [POSIX] (sys/wait.h): Likewise.
16956 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
16958 [POSIX] (stddef.h): Do not allow header inclusion.
16960 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16962 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
16964 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
16966 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
16967 Return immediately after lll_futex_wake.
16969 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16972 * nscd/nscd-client.h (datahead_init_common): Initialize entire
16974 (datahead_init_pos): Call datahead_init_common early.
16975 (datahead_init_neg): Likewise.
16977 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
16978 datahead_init_neg): New functions.
16979 * nscd/aicache.c (addhstaiX): Use them.
16980 * nscd/grpcache.c (cache_addgr): Likewise.
16981 * nscd/hstcache.c (cache_addhst): Likewise.
16982 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16983 * nscd/netgroupcache.c (do_notfound): Likewise.
16984 (addgetnetgrentX): Likewise.
16985 (addinnetgrX): Likewise.
16986 * nscd/pwdcache.c (cache_addpw): Likewise.
16987 * nscd/servicescache.c (cache_addserv): Likewise.
16989 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16990 Atsushi Onoe <atsushi@onoe.org>
16995 * resolv/res_query.c (__libc_res_nsearch): Return if at least
16996 one response is valid.
16997 * resolv/res_send.c (send_dg): Check for validity of other
16998 response if the current response is a referral.
17000 2014-04-29 Steve Ellcey <sellcey@mips.com>
17002 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
17004 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
17007 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
17008 Always divide by positive zero when computing -Inf result.
17009 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17010 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17012 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17014 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
17015 FPSCR if value do not change.
17016 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17017 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
17018 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17019 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17020 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
17021 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
17024 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
17026 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
17027 * sysdeps/unix/sysv/linux/hppa: Move directory from
17028 ports/systeps/unix/sysv/linux/hppa.
17029 * README: Update listing for hppa-*-linux-gnu.
17031 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
17034 * manual/stdio.texi (Hook functions): Fix types of stream hook
17037 * socket/sys/socket.h: Fix typo in comment.
17039 2014-04-28 Wilco <wdijkstr@arm.com>
17041 * sysdeps/arm/fenv_private.h: New file.
17042 * sysdeps/arm/math_private.h: New file.
17043 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
17045 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
17047 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
17049 (La_x86_64_retval): Likewise.
17051 2014-04-24 Ian Bolton <ian.bolton@arm.com>
17053 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
17054 fpsr if value didn't change.
17055 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
17056 to fpcr if value didn't change.
17057 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
17058 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
17059 fpsr or fpcr if value didn't change.
17060 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17061 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
17062 fpcr if value didn't change.
17063 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
17064 to fpsr if value didn't change.
17066 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17068 * nptl/tst-sem3.c: Use test-skeleton.c
17069 (main): Rename to do_test. Use return instead of
17071 * nptl/tst-sem4.c: Use test-skeleton.c
17072 (main): Rename to do_test.
17074 2014-04-22 David S. Miller <davem@davemloft.net>
17076 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
17077 (struct sigaction): New struct member __glibc_reserved0, change
17078 type of sa_flags to int.
17080 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
17082 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
17083 (COUNT_LEADING_ZEROS_0): Define for AArch64.
17085 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17087 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
17088 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
17090 2014-04-22 Will Newton <will.newton@linaro.org>
17091 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
17093 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
17094 (__longjmp): Add longjmp and longjmp_target SystemTap
17096 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
17097 (__sigsetjmp): Add setjmp SystemTap probe.
17099 2014-04-17 Carlos O'Donell <carlos@redhat.com>
17101 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
17102 match manual order.
17104 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17106 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
17108 * sysdeps/powerpc/fpu/fenv_private.h
17109 (libc_feholdexcept_setroundl_ctx): Define to
17110 libc_feholdexcept_setround_ppc_ctx.
17111 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
17112 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
17113 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
17114 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
17116 2014-04-17 Ian Bolton <ian.bolton@arm.com>
17118 * sysdeps/aarch64/math-tests.h: New file.
17120 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
17122 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
17124 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17125 Check and set bit_AVX2_Usable.
17126 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
17128 (bit_AVX2): Likewise.
17129 (index_AVX2_Usable): Likewise.
17130 (CPUID_AVX2): Likewise.
17131 (HAS_AVX2): Likewise.
17133 2014-04-17 Will Newton <will.newton@linaro.org>
17135 * manual/setjmp.texi (System V contexts): Add note that
17136 calling setcontext on a context created by a call to a
17137 signal handler is undefined. Update text to note that
17138 setcontext from a signal handler is possible but not
17142 * stdlib/tst-setcontext.c: Include signal.h.
17143 (main): Check that the signal stack before and
17144 after swapcontext is the same.
17146 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
17147 Re-implement to restore registers in user code and avoid
17148 rt_sigreturn system call.
17150 2014-04-17 Wilco <wdijkstr@arm.com>
17152 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
17153 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
17154 * math/test-fenv.c: Skip exception trap tests on targets which only
17155 support non-stop mode.
17157 2014-04-17 Ian Bolton <ian.bolton@arm.com>
17158 Wilco Dijkstra <wilco.dijkstra@arm.com>
17160 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
17161 (libc_feholdsetround_aarch64_ctx)
17162 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
17163 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
17164 (libc_feresetround_ctx, libc_feresetroundf_ctx)
17165 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
17166 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
17167 (libc_feresetround_noexl_ctx): Define.
17169 2014-04-16 Richard Henderson <rth@redhat.com>
17171 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
17173 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
17176 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
17177 const from the non-libc, non-ldso copy.
17179 * sysdeps/alpha/libm-test-ulps: Regenerate.
17181 2014-04-16 Ian Bolton <ian.bolton@arm.com>
17182 Wilco Dijkstra <wilco.dijkstra@arm.com>
17184 * sysdeps/aarch64/fpu/math_private.h: New file.
17186 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
17188 * sysdeps/aarch64/libm-test-ulps: Regenerate.
17190 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
17193 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
17194 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
17195 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
17196 Intel MPX bound registers before _dl_profile_fixup.
17197 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
17198 registers after _dl_profile_fixup. Save and restore bound
17199 registers bnd0/bnd1 when calling _dl_call_pltexit.
17200 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
17201 (LR_BND_OFFSET): Likewise.
17202 (LRV_BND0_OFFSET): Likewise.
17203 (LRV_BND1_OFFSET): Likewise.
17205 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17207 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
17209 * sysdeps/mach/hurd/i386/tls.h: ... here.
17210 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
17211 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
17214 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17216 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
17218 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17220 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17222 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17225 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
17226 * sysdeps/s390/configure: Regenerate.
17229 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
17230 Set round-to-nearest internally to reduce error accumulation.
17232 2014-04-16 Alan Modra <amodra@gmail.com>
17236 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
17237 * math/libm-test.inc (frexp_test_data): Add tests.
17238 * NEWS: Update fixed bug list.
17240 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17242 * benchtests/Makefile: Depend on libraries in build directory.
17243 (bench-math): Separate out math tests.
17244 (bench-pthread): Separate out pthread tests.
17245 (bench): Include math and pthread tests.
17247 2014-04-14 Carlos O'Donell <carlos@redhat.com>
17250 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
17251 _dl_debug_initialize.
17253 * configure.ac: Remove SELinux header check.
17254 * configure: Regenerate.
17255 * nscd/selinux.c (perms): Array of const char* to permission names.
17256 (nscd_request_avc_has_perm): Call security_deny_unknown to find
17257 default policy. Call string_to_security_class and string_to_av_perm to
17258 translate strings. Enforce default policy and call avs_has_perm with
17259 results of translated strings.
17261 2014-04-13 David S. Miller <davem@davemloft.net>
17263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17265 2014-04-12 Allan McRae <allan@archlinux.org>
17268 * manual/string.texi (Collation Functions): Fix qsort argument
17270 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17272 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
17274 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
17275 Make the test a no-op if there are no exceptions defined.
17277 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
17279 * elf/Makefile (tests): make tst-dlopen-aout conditional on
17280 enable-hardcoded-path-in-tests
17282 2014-04-11 Will Newton <will.newton@linaro.org>
17284 * benchtests/Makefile (extra-objs): Add json-lib.o.
17285 (bench-func): Tidy up JSON output.
17286 * benchtests/bench-skeleton.c: Include json-lib.h.
17287 (main): Use JSON library functions to do output of
17289 * benchtests/bench-timing-type.c (main): Output the
17290 timing type simply, leaving formatting to the user.
17291 * benchtests/json-lib.c: New file.
17292 * benchtests/json-lib.h: Likewise.
17294 2014-04-11 Torvald Riegel <triegel@redhat.com>
17297 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
17298 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
17299 memory barriers. Add comments.
17300 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
17301 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
17302 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
17303 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
17304 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
17305 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
17307 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17309 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
17310 * sysdeps/s390/s390-64/configure.ac: ... this ...
17311 * sysdeps/s390/configure.ac: ... to here.
17312 * sysdeps/s390/s390-32/configure: Delete file.
17313 * sysdeps/s390/s390-64/configure: Delete file.
17314 * sysdeps/s390/configure: Regenerate.
17316 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
17318 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
17320 2014-04-11 Will Newton <will.newton@linaro.org>
17322 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
17323 to zero if it is not defined elsewhere. (mtrim): Test
17324 the value of MALLOC_DEBUG with #if rather than #ifdef.
17326 2014-04-10 Torvald Riegel <triegel@redhat.com>
17328 * benchtests/pthread_once-inputs: New file.
17329 * benchtests/pthread_once-source.c: New file.
17330 * benchtests/README: Update documentation.
17332 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
17333 H.J. Lu <hongjiu.lu@intel.com>
17336 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
17337 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
17338 * sysdeps/x86_64/configure: Regenerated.
17339 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
17341 (REGISTER_SAVE_RAX): Likewise.
17342 (REGISTER_SAVE_RCX): Likewise.
17343 (REGISTER_SAVE_RDX): Likewise.
17344 (REGISTER_SAVE_RSI): Likewise.
17345 (REGISTER_SAVE_RDI): Likewise.
17346 (REGISTER_SAVE_R8): Likewise.
17347 (REGISTER_SAVE_R9): Likewise.
17348 (REGISTER_SAVE_BND0): Likewise.
17349 (REGISTER_SAVE_BND1): Likewise.
17350 (REGISTER_SAVE_BND2): Likewise.
17351 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
17352 bound registers when calling _dl_fixup.
17354 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17356 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
17357 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
17359 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
17360 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
17361 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
17362 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
17363 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
17364 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
17365 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
17367 2014-04-09 Peter Brett <peter@peter-b.co.uk>
17370 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
17371 pathconf(_PC_NAME_MAX).
17373 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17375 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
17376 Remove macro usage.
17377 (__PTHREAD_SPINS): Move definition to ...
17378 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17379 (__PTHREAD_SPINS): ... here.
17380 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17381 (__PTHREAD_SPIN): Likewise.
17382 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
17383 (__PTHREAD_SPIN): Likewise.
17384 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
17385 (__PTHREAD_SPIN): Likewise.
17386 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
17387 (__PTHREAD_SPIN): Likewise.
17388 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17389 (__PTHREAD_SPIN): Likewise.
17390 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17391 (__PTHREAD_SPIN): Likewise.
17392 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
17393 (__PTHREAD_SPIN): Likewise.
17394 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17395 (__PTHREAD_SPIN): Likewise.
17396 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17397 (__PTHREAD_SPIN): Likewise.
17398 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17399 (__PTHREAD_SPIN): Likewise.
17400 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17401 (__PTHREAD_SPIN): Likewise.
17402 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
17403 (__PTHREAD_SPIN): Likewise.
17405 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
17406 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
17407 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
17408 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
17410 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
17411 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
17412 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
17413 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
17414 correct imply path.
17415 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
17416 strlen symbol for non multi-arch builds.
17417 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
17418 missing hidden_def and weak_alias.
17420 2014-04-08 Carlos O'Donell <carlos@redhat.com>
17422 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
17424 2014-04-07 Will Newton <will.newton@linaro.org>
17426 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
17427 and contents. [!_LIBC] Remove #ifndef and contents.
17428 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
17429 * string/memccpy.c (__memccpy): Use ANSI prototype.
17430 * string/memfrob.c (memfrob): Likewise.
17431 * string/strcoll.c (STRCOLL): Likewise.
17432 * string/strlen.c (strlen): Likewise.
17433 * string/strtok.c (STRTOK): Likewise.
17434 * string/strcat.c: Remove unused #include of memcopy.h.
17435 (strcat): Use ANSI prototype.
17436 * string/strchr.c: Remove unused #include of memcopy.h.
17437 (strchr): Use ANSI prototype.
17438 * string/strcmp.c: Remove unused #include of memcopy.h.
17439 (strcmp): Use ANSI prototype.
17440 * string/strcpy.c: Remove unused #include of memcopy.h.
17441 (strcpy): Use ANSI prototype.
17443 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17445 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
17446 * config.make.in (config-extra-cppflags): Set it from
17447 libc_extra_cppflags.
17448 * configure.ac (libc_extra_cflags): Make it accumulate over
17449 configure fragments.
17450 (libc_extra_cppflags): New flag.
17451 * configure. Regenerate.
17452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
17453 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
17454 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
17455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17458 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
17459 result for FE_DOWNWARD rounding mode.
17460 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17464 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
17466 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
17467 in function argument name.
17469 2014-04-03 David Svoboda <svoboda@cert.org>
17472 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
17475 2014-04-03 Roland McGrath <roland@hack.frob.com>
17477 * elf/dl-unmap-segments.h: New file.
17478 * sysdeps/generic/ldsodefs.h
17479 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
17480 * elf/dl-close.c: Include <dl-unmap-segments.h>.
17481 * elf/dl-fptr.c: Likewise.
17482 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
17483 * sysdeps/aarch64/tlsdesc.c: Likewise.
17484 * sysdeps/arm/tlsdesc.c: Likewise.
17485 * sysdeps/i386/tlsdesc.c: Likewise.
17486 * sysdeps/tile/dl-runtime.c: Likewise.
17487 * sysdeps/x86_64/tlsdesc.c: Likewise.
17488 * elf/dl-load.h: New file.
17489 * elf/dl-load.c: Include it.
17490 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
17491 Macros moved to dl-load.h.
17492 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
17493 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
17494 Use _dl_unmap_segments in place of __munmap.
17495 Break out segment-mapping loop into ...
17496 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
17498 2014-04-03 Will Newton <will.newton@linaro.org>
17500 * elf/dl-lookup.c (do_lookup_x): Remove comment
17501 referring to nested function and move variable
17502 declarations down to before first use.
17504 2014-04-02 Joseph Myers <joseph@codesourcery.com>
17508 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
17510 * math/s_catanf.c (__catanf): Likewise.
17511 * math/s_catanh.c (__catanh): Likewise.
17512 * math/s_catanhf.c (__catanhf): Likewise.
17513 * math/s_catanhl.c (__catanhl): Likewise.
17514 * math/s_catanl.c (__catanl): Likewise.
17515 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
17516 by positive zero when computing -Inf result.
17517 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
17518 (catanh_test): Likewise.
17519 * sysdeps/i386/fpu/libm-test-ulps: Update.
17520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17523 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
17524 instead of using underflowing value in computing result.
17525 * math/s_clog10.c (__clog10): Likewise.
17526 * math/s_clog10f.c (__clog10f): Likewise.
17527 * math/s_clog10l.c (__clog10l): Likewise.
17528 * math/s_clogf.c (__clogf): Likewise.
17529 * math/s_clogl.c (__clogl): Likewise.
17530 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
17531 (clog10_test): Likewise.
17532 * sysdeps/i386/fpu/libm-test-ulps: Update.
17533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17535 2014-04-02 Alan Modra <amodra@gmail.com>
17538 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
17539 output when value is near a power of two. Use int64_t for lx and
17540 remove casts. Use decimal rather than hex exponent constants.
17541 Don't use long double multiplication when double will suffice.
17542 * math/libm-test.inc (nextafter_test_data): Add tests.
17543 * NEWS: Add 16739 and 16786 to bug list.
17545 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
17547 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
17549 2014-04-01 Will Newton <will.newton@linaro.org>
17551 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
17552 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
17554 2014-04-01 Florian Weimer <fweimer@redhat.com>
17557 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
17558 * nptl/tst-setuid2.c: New file.
17559 * nptl/Makefile (xtests): Add tst-setuid2.
17561 2014-04-01 Alan Modra <amodra@gmail.com>
17564 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
17566 2014-03-31 Joseph Myers <joseph@codesourcery.com>
17570 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
17571 set errno as appropriate.
17572 * math/w_scalbf.c (__scalbf): Likewise.
17573 * math/w_scalbl.c (__scalbl): Likewise.
17574 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
17575 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
17576 * math/libm-test.inc (scalb_test_data): Add errno expectations.
17577 Add more NaN tests.
17580 * math/w_atan2.c: Include <errno.h>.
17581 (__atan2): Set errno for result underflowing to zero.
17582 * math/w_atan2f.c: Include <errno.h>.
17583 (__atan2f): Set errno for result underflowing to zero.
17584 * math/w_atan2l.c: Include <errno.h>.
17585 (__atan2l): Set errno for result underflowing to zero.
17586 * math/auto-libm-test-in: Don't allow missing errno for some atan2
17588 * math/auto-libm-test-out: Regenerated.
17590 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17592 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
17593 Encode instruction correctly in little endian.
17594 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
17596 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
17598 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
17600 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
17603 2014-03-31 Joseph Myers <joseph@codesourcery.com>
17606 * sysdeps/unix/sysv/linux/kernel-features.h
17607 [__sparc__ && !__arch64__ && !__sparc_v9__]
17608 (__ASSUME_SET_ROBUST_LIST): Do not define.
17609 [__sparc__ && !__arch64__ && !__sparc_v9__]
17610 (__ASSUME_FUTEX_LOCK_PI): Likewise.
17611 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
17613 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17614 (__ASSUME_FUTEX_LOCK_PI): Undefine.
17615 (__ASSUME_REQUEUE_PI): Likewise.
17616 (__ASSUME_SET_ROBUST_LIST): Likewise.
17617 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17618 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
17620 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17621 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
17623 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
17625 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
17627 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17628 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
17630 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
17631 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
17635 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17636 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
17637 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
17639 2014-03-31 Will Newton <will.newton@linaro.org>
17641 * benchtests/Makefile (bench): Add ffs and ffsll to list
17643 * benchtests/ffs-inputs: New file.
17644 * benchtests/ffsll-inputs: Likewise.
17646 2014-03-29 Joseph Myers <joseph@codesourcery.com>
17649 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
17650 too large before casting to int.
17651 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
17652 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
17653 * math/libm-test.inc (scalb_test_data): Add more tests.
17655 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17657 * benchtests/Makefile (DETAILED_OPT): New make option.
17658 (bench-func): Run benchmark program with -d if DETAILED_OPT is
17660 * benchtests/bench-skeleton.c: Include stdbool.h.
17661 (main): Store and print timings per input.
17662 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
17663 member to each argument value.
17664 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
17665 (_print_arg_data): Initialize per-input timing to 0.
17667 * benchtests/Makefile (timing-type): New binary.
17668 (bench-clean): Also remove bench-timing-type.
17669 (bench): New target for timing-type.
17670 (bench-func): Print output in JSON format.
17671 * benchtests/bench-skeleton.c (main): Print output in JSON
17673 * benchtests/bench-timing-type.c: New file.
17674 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
17675 (TIMING_PRINT_STATS): Remove.
17676 * benchtests/scripts/bench.py (_print_arg_data): Store variant
17679 * benchtests/bench-modf.c: Remove.
17680 * benchtests/modf-inputs: New inputs file.
17682 2014-03-28 Joseph Myers <joseph@codesourcery.com>
17685 * math/s_clog10.c (M_PI_LOG10E): New macro.
17686 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
17687 imaginary parts are 0.
17688 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
17689 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
17690 imaginary parts are 0.
17691 * math/s_clog10l.c (M_PI_LOG10El): New macro.
17692 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
17693 imaginary parts are 0.
17694 * math/libm-test.inc (clog10_test_data): Update expected results
17695 for when real and imaginary parts are 0.
17697 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
17699 * elf/dl-load.c: Finish conversion of __builtin_expect into
17700 __glibc_{un}likely.
17702 2014-03-27 Joseph Myers <joseph@codesourcery.com>
17705 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
17706 1+x for argument with exponent below -67.
17707 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
17709 * math/auto-libm-test-in: Add more tests of exp.
17710 * math/auto-libm-test-out: Regenerated.
17712 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17715 * inet/getnetgrent_r.c (get_nonempty_val): New function.
17716 (nscd_getnetgrent): Use it.
17719 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
17722 2014-03-27 Andi Kleen <ak@linux.intel.com>
17724 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
17725 (lll_robust_lock, lll_cond_lock, lll_timedlock)
17726 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17727 (lll_robust_unlock): Remove out of line section. Use cfi
17729 (LLL_STUB_UNWIND_INFO*): Remove.
17730 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
17731 (lll_robust_lock, lll_cond_lock, lll_timedlock)
17732 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17733 (lll_robust_unlock): Remove out of line section. Use cfi
17735 (LLL_STUB_UNWIND_INFO*): Remove.
17737 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17740 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
17743 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
17745 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
17747 2014-03-26 Joseph Myers <joseph@codesourcery.com>
17750 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
17752 * math/test-fenv-preserve.c: New file.
17753 * math/Makefile (tests): Add test-fenv-preserve.
17755 2014-03-26 Will Newton <will.newton@linaro.org>
17757 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
17759 2014-03-25 Roland McGrath <roland@hack.frob.com>
17761 * scripts/versionlist.awk: Partition the version sets and emit all
17762 GLIBC_* (sorted) before all others (sorted).
17764 2014-03-25 Joseph Myers <joseph@codesourcery.com>
17766 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
17767 GLIBC_2.2.5 version.
17769 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17771 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
17774 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
17777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17779 2014-03-25 Andreas Schwab <schwab@suse.de>
17781 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
17782 label to be used after in6ailist is initialized.
17784 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17786 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17787 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17789 2014-03-25 Joseph Myers <joseph@codesourcery.com>
17793 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
17795 (fp_formats): Update initializers.
17796 (init_fp_formats): Initialize new field.
17797 (output_for_one_input_case): Allow underflow for results up to
17799 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
17800 * math/auto-libm-test-in: Don't mark some underflows from asin and
17802 * math/auto-libm-test-out: Regenerated.
17803 * sysdeps/i386/fpu/libm-test-ulps: Update.
17804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17806 2014-03-25 Andreas Schwab <schwab@suse.de>
17808 * libio/Makefile (tst-ftell-partial-wide-ENV)
17809 (tst-ftell-active-handler-ENV): Define.
17811 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
17813 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
17815 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
17817 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
17819 2014-03-24 Joseph Myers <joseph@codesourcery.com>
17821 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
17822 * sysdeps/x86_64/fpu/multiarch/e_exp.c
17823 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17825 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
17828 * elf/dl-load.c (open_verify): Add mode parameter.
17829 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
17830 (open_path): Change from boolean 'secure' to complete flag 'mode'
17831 (_dl_map_object): Adjust.
17832 * elf/Makefile (tests): Add tst-dlopen-aout.
17833 * elf/tst-dlopen-aout.c: New test.
17835 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17838 * sysdeps/unix/sysv/linux/s390/bits/stat.h
17839 (struct stat): Rename member pad0 to __glibc_reserved0.
17842 * sysdeps/s390/s390-32/bits/wordsize.h
17843 (__WORDSIZE32_SIZE_ULONG): New define.
17844 * sysdeps/s390/s390-64/bits/wordsize.h
17845 (__WORDSIZE32_SIZE_ULONG): Likewise.
17846 * sysdeps/generic/stdint.h (SIZE_MAX):
17847 Define as UL if __WORDSIZE32_SIZE_ULONG.
17850 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
17851 (__glibc_reserved0): New variable.
17852 (sa_flags): Change type to int.
17854 * posix/Makefile (before-compile): Use += before-compile instead
17857 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17858 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17860 2014-03-20 Andreas Schwab <schwab@suse.de>
17863 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
17864 non-matching result from nscd.
17866 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17868 * scripts/bench.py: Moved to ...
17869 * benchtests/scripts/bench.py: ... here.
17870 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
17872 2014-03-24 Andreas Schwab <schwab@suse.de>
17875 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
17876 alloca_account and account alloca use for struct in6ailist.
17878 2014-03-24 Joseph Myers <joseph@codesourcery.com>
17881 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
17882 rounding mode to recompute results that overflow to infinity or
17884 * math/auto-libm-test-in: Don't mark tests as expected to fail for
17886 * math/auto-libm-test-out: Regenerated.
17887 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
17888 (ccosh_test): Likewise.
17889 (csin_test_data): Use plus_oflow.
17890 (csin_test): Use ALL_RM_TEST.
17891 (csinh_test_data): Use plus_oflow.
17892 (csinh_test): Use ALL_RM_TEST.
17893 * sysdeps/i386/fpu/libm-test-ulps: Update.
17894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17896 2014-03-21 Joseph Myers <joseph@codesourcery.com>
17898 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
17899 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
17900 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
17903 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
17904 when x - 1 is zero.
17905 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
17906 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
17907 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17908 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
17910 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
17911 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
17913 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
17914 * sysdeps/i386/fpu/libm-test-ulps: Update.
17915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17917 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17919 * scripts/bench.pl: Remove file.
17920 * scripts/bench.py: New benchmark script.
17921 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
17922 * benchtests/README: Mention python dependency.
17923 * scripts/pylintrc: New file.
17924 * scripts/pylint: New file.
17926 * bits/mathdef.h: Use #ifdef instead of #if.
17927 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
17928 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17929 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
17930 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17931 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
17932 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17934 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17935 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17937 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
17938 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
17939 and strpbrk-ppc64 objects.
17940 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17941 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
17942 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
17943 multiarch strpbrk for POWER7.
17944 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
17945 multiarch strpbrk for PPC64.
17946 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
17948 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
17949 strpbrk for POWER7.
17951 2014-03-20 Joseph Myers <joseph@codesourcery.com>
17953 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
17954 (atan_test): Likewise.
17955 (atanh_test_data): Use NO_TEST_INLINE for two tests.
17956 (atanh_test): Use ALL_RM_TEST.
17957 (atan2_test_data): Likewise.
17958 (cabs_test): Likewise.
17959 (cacosh_test): Likewise.
17960 (carg_test): Likewise.
17961 (casin_test): Likewise.
17962 (casinh_test): Likewise.
17963 (cbrt_test): Likewise.
17964 (csqrt_test): Likewise.
17965 (erf_test): Likewise.
17966 (erfc_test): Likewise.
17967 (pow10_test): Likewise.
17968 (exp2_test): Likewise.
17969 (hypot_test): Likewise.
17970 (j0_test): Likewise.
17971 (j1_test): Likewise.
17972 (lgamma_test): Likewise.
17973 (gamma_test): Likewise.
17974 (sincos_test): Likewise.
17975 (tanh_test): Likewise.
17976 (y0_test): Likewise.
17977 (y1_test): Likewise.
17978 * sysdeps/i386/fpu/libm-test-ulps: Update.
17979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17981 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17983 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
17984 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
17985 and strcspn-ppc64 objects.
17986 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17987 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
17988 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
17989 multiarch strcspn for POWER7.
17990 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
17991 multiarch strcspn for PPC64.
17992 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
17994 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
17995 strcspn for POWER7.
17997 2014-03-20 Joseph Myers <joseph@codesourcery.com>
17999 * math/gen-libm-test.pl (generate_testfile): Expect only function
18000 name as argument to AUTO_TESTS_* and pass results for all rounding
18001 modes to parse_args.
18002 (parse_auto_input): Separate inputs of automatic tests from
18003 outputs before storing in %auto_tests.
18004 * math/libm-test.inc (acos_test_data): Update call to
18006 (acos_test): Use ALL_RM_TEST.
18007 (acos_tonearest_test_data): Remove.
18008 (acos_test_tonearest): Likewise.
18009 (acos_towardzero_test_data): Likewise.
18010 (acos_test_towardzero): Likewise.
18011 (acos_downward_test_data): Likewise.
18012 (acos_test_downward): Likewise.
18013 (acos_upward_test_data): Likewise.
18014 (acos_test_upward): Likewise.
18015 (acosh_test_data): Update call to AUTO_TESTS_f_f.
18016 (asin_test_data): Likewise.
18017 (asin_test): Use ALL_RM_TEST.
18018 (asin_tonearest_test_data): Remove.
18019 (asin_test_tonearest): Likewise.
18020 (asin_towardzero_test_data): Likewise.
18021 (asin_test_towardzero): Likewise.
18022 (asin_downward_test_data): Likewise.
18023 (asin_test_downward): Likewise.
18024 (asin_upward_test_data): Likewise.
18025 (asin_test_upward): Likewise.
18026 (asinh_test_data): Update call to AUTO_TESTS_f_f.
18027 (atan_test_data): Likewise.
18028 (atanh_test_data): Likewise.
18029 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
18030 (cabs_test_data): Update call to AUTO_TESTS_c_f.
18031 (carg_test_data): Likewise.
18032 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
18033 (ccos_test_data): Update call to AUTO_TESTS_c_c.
18034 (ccosh_test_data): Likewise.
18035 (cexp_test_data): Likewise.
18036 (clog_test_data): Likewise.
18037 (clog10_test_data): Likewise.
18038 (cos_test_data): Update call to AUTO_TESTS_f_f.
18039 (cos_test): Use ALL_RM_TEST.
18040 (cos_tonearest_test_data): Remove.
18041 (cos_test_tonearest): Likewise.
18042 (cos_towardzero_test_data): Likewise.
18043 (cos_test_towardzero): Likewise.
18044 (cos_downward_test_data): Likewise.
18045 (cos_test_downward): Likewise.
18046 (cos_upward_test_data): Likewise.
18047 (cos_test_upward): Likewise.
18048 (cosh_test_data): Update call to AUTO_TESTS_f_f.
18049 (cosh_test): Use ALL_RM_TEST.
18050 (cosh_tonearest_test_data): Remove.
18051 (cosh_test_tonearest): Likewise.
18052 (cosh_towardzero_test_data): Likewise.
18053 (cosh_test_towardzero): Likewise.
18054 (cosh_downward_test_data): Likewise.
18055 (cosh_test_downward): Likewise.
18056 (cosh_upward_test_data): Likewise.
18057 (cosh_test_upward): Likewise.
18058 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
18059 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
18060 (ctan_test_data): Likewise.
18061 (ctan_test): Use ALL_RM_TEST.
18062 (ctan_tonearest_test_data): Remove.
18063 (ctan_test_tonearest): Likewise.
18064 (ctan_towardzero_test_data): Likewise.
18065 (ctan_test_towardzero): Likewise.
18066 (ctan_downward_test_data): Likewise.
18067 (ctan_test_downward): Likewise.
18068 (ctan_upward_test_data): Likewise.
18069 (ctan_test_upward): Likewise.
18070 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
18071 (ctanh_test): Use ALL_RM_TEST.
18072 (ctanh_tonearest_test_data): Remove.
18073 (ctanh_test_tonearest): Likewise.
18074 (ctanh_towardzero_test_data): Likewise.
18075 (ctanh_test_towardzero): Likewise.
18076 (ctanh_downward_test_data): Likewise.
18077 (ctanh_test_downward): Likewise.
18078 (ctanh_upward_test_data): Likewise.
18079 (ctanh_test_upward): Likewise.
18080 (erf_test_data): Update call to AUTO_TESTS_f_f.
18081 (erfc_test_data): Likewise.
18082 (exp_test_data): Likewise.
18083 (exp_test): Use ALL_RM_TEST.
18084 (exp_tonearest_test_data): Remove.
18085 (exp_test_tonearest): Likewise.
18086 (exp_towardzero_test_data): Likewise.
18087 (exp_test_towardzero): Likewise.
18088 (exp_downward_test_data): Likewise.
18089 (exp_test_downward): Likewise.
18090 (exp_upward_test_data): Likewise.
18091 (exp_test_upward): Likewise.
18092 (exp10_test_data): Update call to AUTO_TESTS_f_f.
18093 (exp10_test): Use ALL_RM_TEST.
18094 (exp10_tonearest_test_data): Remove.
18095 (exp10_test_tonearest): Likewise.
18096 (exp10_towardzero_test_data): Likewise.
18097 (exp10_test_towardzero): Likewise.
18098 (exp10_downward_test_data): Likewise.
18099 (exp10_test_downward): Likewise.
18100 (exp10_upward_test_data): Likewise.
18101 (exp10_test_upward): Likewise.
18102 (exp2_test_data): Update call to AUTO_TESTS_f_f.
18103 (expm1_test_data): Likewise.
18104 (expm1_test): Use ALL_RM_TEST.
18105 (expm1_tonearest_test_data): Remove.
18106 (expm1_test_tonearest): Likewise.
18107 (expm1_towardzero_test_data): Likewise.
18108 (expm1_test_towardzero): Likewise.
18109 (expm1_downward_test_data): Likewise.
18110 (expm1_test_downward): Likewise.
18111 (expm1_upward_test_data): Likewise.
18112 (expm1_test_upward): Likewise.
18113 (fma_test_data): Update call to AUTO_TESTS_fff_f.
18114 (fma_test): Use ALL_RM_TEST.
18115 (fma_towardzero_test_data): Remove.
18116 (fma_test_towardzero): Likewise.
18117 (fma_downward_test_data): Likewise.
18118 (fma_test_downward): Likewise.
18119 (fma_upward_test_data): Likewise.
18120 (fma_test_upward): Likewise.
18121 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
18122 (j0_test_data): Update call to AUTO_TESTS_f_f.
18123 (j1_test_data): Likewise.
18124 (jn_test_data): Update call to AUTO_TESTS_if_f.
18125 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
18126 (log_test_data): Update call to AUTO_TESTS_f_f.
18127 (log10_test_data): Likewise.
18128 (log1p_test_data): Likewise.
18129 (log2_test_data): Likewise.
18130 (pow_test_data): Update call to AUTO_TESTS_ff_f.
18131 (pow_tonearest_test_data): Likewise.
18132 (sin_test_data): Update call to AUTO_TESTS_f_f.
18133 (sin_test): Use ALL_RM_TEST.
18134 (sin_tonearest_test_data): Remove.
18135 (sin_test_tonearest): Likewise.
18136 (sin_towardzero_test_data): Likewise.
18137 (sin_test_towardzero): Likewise.
18138 (sin_downward_test_data): Likewise.
18139 (sin_test_downward): Likewise.
18140 (sin_upward_test_data): Likewise.
18141 (sin_test_upward): Likewise.
18142 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
18143 (sinh_test_data): Update call to AUTO_TESTS_f_f.
18144 (sinh_test): Use ALL_RM_TEST.
18145 (sinh_tonearest_test_data): Remove.
18146 (sinh_test_tonearest): Likewise.
18147 (sinh_towardzero_test_data): Likewise.
18148 (sinh_test_towardzero): Likewise.
18149 (sinh_downward_test_data): Likewise.
18150 (sinh_test_downward): Likewise.
18151 (sinh_upward_test_data): Likewise.
18152 (sinh_test_upward): Likewise.
18153 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
18154 (sqrt_test): Use ALL_RM_TEST.
18155 (sqrt_tonearest_test_data): Remove.
18156 (sqrt_test_tonearest): Likewise.
18157 (sqrt_towardzero_test_data): Likewise.
18158 (sqrt_test_towardzero): Likewise.
18159 (sqrt_downward_test_data): Likewise.
18160 (sqrt_test_downward): Likewise.
18161 (sqrt_upward_test_data): Likewise.
18162 (sqrt_test_upward): Likewise.
18163 (tan_test_data): Update call to AUTO_TESTS_f_f.
18164 (tan_test): Use ALL_RM_TEST.
18165 (tan_tonearest_test_data): Remove.
18166 (tan_test_tonearest): Likewise.
18167 (tan_towardzero_test_data): Likewise.
18168 (tan_test_towardzero): Likewise.
18169 (tan_downward_test_data): Likewise.
18170 (tan_test_downward): Likewise.
18171 (tan_upward_test_data): Likewise.
18172 (tan_test_upward): Likewise.
18173 (tanh_test_data): Update call to AUTO_TESTS_f_f.
18174 (tgamma_test_data): Likewise.
18175 (y0_test_data): Likewise.
18176 (y1_test_data): Likewise.
18177 (yn_test_data): Update call to AUTO_TESTS_if_f.
18178 (main): Do not call removed functions.
18180 2014-03-19 Joseph Myers <joseph@codesourcery.com>
18182 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
18183 (ldexp_test_data): Remove.
18184 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
18186 (scalb_test): Use ALL_RM_TEST.
18188 2014-03-19 Andreas Schwab <schwab@suse.de>
18190 * nscd/nscd.service: Also invalidate netgroup cache on reload.
18192 2014-03-19 Joseph Myers <joseph@codesourcery.com>
18195 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18196 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
18197 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
18198 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18199 (__ASSUME_PREADV): Undefine.
18200 (__ASSUME_PWRITEV): Likewise.
18202 2014-03-18 Roland McGrath <roland@hack.frob.com>
18204 * bits/mman-linux.h: Add comment about non-Linux use.
18205 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
18206 bits/mman-linux.h resting place.
18208 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
18209 * bits/mman-linux.h: ... here.
18211 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18213 * conform/conformtest.pl: Add standard definition when calling C
18214 preprocessor on data files.
18215 (checknamespace): Remove unused variable.
18217 2014-03-18 Joseph Myers <joseph@codesourcery.com>
18219 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
18220 minus_oflow, plus_uflow and minus_uflow in expected results.
18221 * math/libm-test.inc (scalbn_test_data): Add more tests of
18222 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
18224 (scalbn_test): Use ALL_RM_TEST.
18225 (scalbln_test_data): Add more tests of negative arguments. Use
18226 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
18227 (scalbln_test): Use ALL_RM_TEST.
18229 2014-03-18 Roland McGrath <roland@hack.frob.com>
18231 * scripts/abilist.awk: Ignore symbols marked with .hidden.
18233 2014-03-18 Will Newton <will.newton@linaro.org>
18235 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
18236 inaccurate comment.
18238 2014-03-18 Joseph Myers <joseph@codesourcery.com>
18240 * Makerules [!subdir] (check-abi): Exit with error status if a
18243 2014-03-17 Joseph Myers <joseph@codesourcery.com>
18245 * math/libm-test.inc (nearbyint_test_data): Include all tests used
18246 for rint. Include results for all rounding modes.
18247 (nearbyint_test): Use ALL_RM_TEST.
18248 (rint_test_data): Include all tests used for nearbyint.
18250 2014-03-17 Will Newton <will.newton@linaro.org>
18252 * nptl/sysdeps/pthread/pthread.h: Revert previous
18255 * sysdeps/generic/ldsodefs.h: Revert previous
18258 * libio/genops.c: Revert previous change.
18259 * libio/libioP.h: Likewise.
18260 * stdio-common/vfprintf.c: Likewise.
18262 * sysdeps/generic/math_private.h: Revert previous
18265 * sysdeps/generic/math_private.h: Check whether
18266 HAVE_RM_CTX is defined with #ifdef rather
18269 * argp/argp-fmtstream.h: Check whether
18270 __STRICT_ANSI__ is defined with #ifdef rather
18272 * argp/argp.h: Likewise.
18274 * libio/genops.c: Check whether
18275 _IO_JUMPS_OFFSET is defined with #ifdef rather
18277 * libio/libioP.h: Likewise.
18278 * stdio-common/vfprintf.c: Likewise.
18280 * sysdeps/generic/ldsodefs.h: Check whether
18281 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
18284 * nptl/sysdeps/pthread/pthread.h: Check
18285 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
18288 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18290 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
18292 * libio/tst-ftell-active-handler.c (do_append_test): Add a
18296 * libio/fileops.c (_IO_file_open): Seek to end of file but
18297 don't cache the offset.
18298 (get_file_offset): Remove function.
18299 (do_ftell): Use cached offset when available.
18300 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
18301 don't cache the offset.
18302 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
18304 (do_one_test): Call it.
18305 (do_ftell_test): Fix up expected old offset for a+ mode.
18306 * libio/wfileops.c (do_ftell_wide): Used cached offset when
18309 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
18310 up test status with function return status.
18311 (do_write_test): Likewise.
18312 (do_append_test): Likewise.
18314 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
18315 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
18318 2014-03-17 Joseph Myers <joseph@codesourcery.com>
18320 * math/gen-libm-test.pl (parse_args): Handle results specified for
18321 each rounding mode separately.
18322 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
18323 tests and results from lrint_tonearest_test_data,
18324 lrint_towardzero_test_data, lrint_downward_test_data and
18325 lrint_upward_test_data.
18326 (lrint_test): Use ALL_RM_TEST.
18327 (lrint_tonearest_test_data): Remove.
18328 (lrint_test_tonearest): Likewise.
18329 (lrint_towardzero_test_data): Likewise.
18330 (lrint_test_towardzero): Likewise.
18331 (lrint_downward_test_data): Likewise.
18332 (lrint_test_downward): Likewise.
18333 (lrint_upward_test_data): Likewise.
18334 (lrint_test_upward): Likewise.
18335 (llrint_test_data): Merge in per-rounding-mode tests and results
18336 from llrint_tonearest_test_data, llrint_towardzero_test_data,
18337 llrint_downward_test_data and llrint_upward_test_data.
18338 (llrint_test): Use ALL_RM_TEST.
18339 (llrint_tonearest_test_data): Remove.
18340 (llrint_test_tonearest): Likewise.
18341 (llrint_towardzero_test_data): Likewise.
18342 (llrint_test_towardzero): Likewise.
18343 (llrint_downward_test_data): Likewise.
18344 (llrint_test_downward): Likewise.
18345 (llrint_upward_test_data): Likewise.
18346 (llrint_test_upward): Likewise.
18347 (rint_test_data): Merge in per-rounding-mode tests and results
18348 from rint_tonearest_test_data, rint_towardzero_test_data,
18349 rint_downward_test_data and rint_upward_test_data. Add
18350 per-rounding-mode results for tests not in those arrays.
18351 (rint_test): Use ALL_RM_TEST.
18352 (rint_tonearest_test_data): Remove.
18353 (rint_test_tonearest): Likewise.
18354 (rint_towardzero_test_data): Likewise.
18355 (rint_test_towardzero): Likewise.
18356 (rint_downward_test_data): Likewise.
18357 (rint_test_downward): Likewise.
18358 (rint_upward_test_data): Likewise.
18359 (rint_test_upward): Likewise.
18360 (main): Don't call removed functions.
18362 2014-03-14 Roland McGrath <roland@hack.frob.com>
18364 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
18365 "Compiled on ..." crapola. It is anti-useful.
18367 2014-03-14 Joseph Myers <joseph@codesourcery.com>
18369 * scripts/evaluate-test.sh: Handle fourth argument to determine
18370 whether test run should stop on failure.
18371 * Makeconfig (stop-on-test-failure): New variable.
18372 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
18373 $(stop-on-test-failure).
18374 * Makefile (tests): Give a summary of results from testing and
18375 exit with failure status if they include an ERROR or FAIL.
18376 (xtests): Likewise.
18377 * manual/install.texi (Configuring and compiling): Mention
18378 stop-on-test-failure=y.
18379 * INSTALL: Regenerated.
18381 2014-03-14 Roland McGrath <roland@hack.frob.com>
18383 * scripts/versionlist.awk: New file.
18384 * Makerules [$(build-shared) = yes]
18385 (postclean-generated): Add Versions.def, not Versions.def.v and
18387 ($(common-objpfx)Versions.def.v.i): Target removed.
18388 ($(common-objpfx)Versions.def): New target.
18389 ($(common-objpfx)Versions.all): Depend on that rather that
18390 $(common-objpfx)Versions.def.v.
18391 * Versions.def: File removed.
18393 * Makeconfig (+gccwarn): Add -Wundef.
18394 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
18395 a dl-sysdep.h breaking its contract.
18396 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
18397 * include/stackinfo.h: New file.
18398 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
18399 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
18400 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
18401 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
18402 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
18403 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
18404 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18405 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18406 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18407 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18408 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18409 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
18410 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18411 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18412 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18414 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18417 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
18419 * math/libm-test.inc (round_test_data): Add more tests.
18422 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
18424 * math/libm-test.inc (nearbyint_test_data): Add more tests.
18427 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
18429 * math/libm-test.inc (ceil_test_data): Add more tests.
18431 * math/libm-test.inc (trunc_test_data): Add more tests related to
18434 2014-03-14 Roland McGrath <roland@hack.frob.com>
18436 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
18437 with #if rather than #ifdef.
18438 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
18440 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
18442 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
18443 first. Disable AVX-512 GCC support if assembler doesn't support
18445 * sysdeps/x86_64/configure: Regenerated.
18447 2014-03-13 Carlos O'Donell <carlos@redhat.com>
18449 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
18450 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
18451 (__old_pthread_attr_setstack): Likewise.
18452 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
18453 [!_STACK_GROWS_DOWN]: Likewise.
18455 2014-03-13 Mike Frysinger <vapier@gentoo.org>
18457 * config.make.in (have-bash2): Delete.
18458 * configure.ac (libc_cv_have_bash2): Delete.
18459 * configure: Regenerate.
18460 * elf/Makefile (common-ldd-rewrite): Rename to ...
18461 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
18462 (sh-ldd-rewrite): Delete.
18463 (bash-ldd-rewrite): Delete.
18464 (have-bash2): Delete checks.
18465 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
18468 * config.make.in (have-ksh): Delete.
18470 * configure.ac (libc_cv_have_ksh): Delete.
18471 * configure: Regenerate.
18473 * elf/Makefile: Delete $(have-ksh) check.
18474 ($(objpfx)sotruss): Change KSH to BASH.
18475 * elf/sotruss.ksh: Rename to ...
18476 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
18477 function style to match POSIX. Drop ksh vim mode setting.
18479 * manual/time.texi (Specifying the Time Zone with TZ): Change
18480 Tuesday to Thursday.
18482 * debug/tst-longjmp_chk2.c: Update header comment.
18483 (stackoverflow_handler): Add comment. Call assert on pass value.
18485 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
18488 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
18489 (HAVE_AVX512_ASM_SUPPORT): Likewise.
18490 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
18491 (La_x86_64_vector): Add zmm.
18492 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
18493 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
18494 ($(objpfx)tst-audit10): New target.
18495 ($(objpfx)tst-audit10.out): Likewise.
18496 (tst-audit10-ENV): New.
18497 (AVX512-CFLAGS): Likewise.
18498 (CFLAGS-tst-audit10.c): Likewise.
18499 (CFLAGS-tst-auditmod10a.c): Likewise.
18500 (CFLAGS-tst-auditmod10b.c): Likewise.
18501 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
18502 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
18503 * sysdeps/x86_64/configure: Regenerated.
18504 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
18505 AVX-512 zmm register support.
18506 (_dl_x86_64_save_sse): Likewise.
18507 (_dl_x86_64_restore_sse): Likewise.
18508 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
18509 size vector registers.
18510 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
18511 (ZMM_SIZE): Likewise.
18512 * sysdeps/x86_64/tst-audit10.c: New file.
18513 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
18514 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
18516 2014-03-13 Roland McGrath <roland@hack.frob.com>
18518 * configure.ac (HAVE_EHDR_START): New check.
18519 * configure: Regenerated.
18520 * config.h.in (HAVE_EHDR_START): New #undef.
18521 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
18522 assuming the lowest-addressed segment maps the start of the file.
18524 2014-03-13 Joseph Myers <joseph@codesourcery.com>
18526 * INSTALL: Regenerated.
18528 2014-03-13 Will Newton <will.newton@linaro.org>
18530 * manual/setjmp.texi (System V contexts): Improve
18531 clarity and grammar of documentation.
18533 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
18536 * elf/Makefile (tests): Add tst-pie2.
18537 (tests-pie): Add tst-pie2.
18538 * elf/tst-pie2.c: New file.
18539 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
18541 * elf/rtld.c (map_doit): Load executable as lt_executable.
18542 (dl_main): Likewise.
18544 2014-03-12 Joseph Myers <joseph@codesourcery.com>
18547 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18548 (__ASSUME_PSELECT): Undefine.
18550 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18553 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
18554 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
18556 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
18557 selector for static builds.
18559 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18562 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
18565 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18567 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
18568 IFUNC selector for static builds.
18570 2014-03-11 Joseph Myers <joseph@codesourcery.com>
18572 * sysdeps/mips/math_private.h [__mips_hard_float]
18573 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
18574 libc_feresetround_mips_ctx.
18575 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
18576 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
18577 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
18580 * math/s_nextafter.c (__nextafter): Do not return value from
18581 overflowing computation.
18582 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
18583 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
18584 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
18586 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
18588 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
18589 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
18591 2014-03-11 Roland McGrath <roland@hack.frob.com>
18593 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
18594 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
18595 Move sfi_sp use from the load-multiple (that no longer sets sp) to
18596 the new mov targetting sp.
18598 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18601 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
18602 Define it for static builds as well.
18603 (NO_BZERO_IMPL): Likewise.
18605 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18607 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
18608 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
18609 multiarch strspn for PPC64.
18610 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
18611 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
18612 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18613 (__libc_ifunc_impl_list): Likewise.
18614 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
18615 multiarch optimizations
18616 * string/strspn.c (strspn): Using macro to redefine symbol name.
18618 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18619 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18621 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
18622 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
18623 multiarch strncat for PPC64.
18624 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
18625 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
18626 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18627 (__libc_ifunc_impl_list): Likewise.
18628 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
18629 multiarch optimizations
18631 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18634 * nscd/nscd.service: Make service type forking.
18636 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18638 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
18639 sign in non default rounding modes.
18640 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
18642 2014-03-08 Joseph Myers <joseph@codesourcery.com>
18644 * math/libm-test.inc (ALL_RM_TEST): New macro.
18645 (ceil_test): Use ALL_RM_TEST.
18646 (cimag_test): Likewise.
18647 (conj_test): Likewise.
18648 (copysign_test): Likewise.
18649 (cproj_test): Likewise.
18650 (creal_test): Likewise.
18651 (fabs_test): Likewise.
18652 (floor_test): Likewise.
18653 (fmax_test): Likewise.
18654 (fmin_test): Likewise.
18655 (fmod_test): Likewise.
18656 (fpclassify_test): Likewise.
18657 (frexp_test): Likewise.
18658 (ilogb_test): Likewise.
18659 (isfinite_test): Likewise.
18660 (finite_test): Likewise.
18661 (isgreater_test): Likewise.
18662 (isgreaterequal_test): Likewise.
18663 (isinf_test): Likewise.
18664 (isless_test): Likewise.
18665 (islessequal_test): Likewise.
18666 (islessgreater_test): Likewise.
18667 (isnan_test): Likewise.
18668 (isnormal_test): Likewise.
18669 (issignaling_test): Likewise.
18670 (isunordered_test): Likewise.
18671 (logb_test): Likewise.
18672 (logb_downward_test_data): Remove.
18673 (logb_test_downward): Likewise.
18674 (lround_test): Use ALL_RM_TEST.
18675 (llround_test): Likewise.
18676 (modf_test): Likewise.
18677 (nexttoward_test): Likewise.
18678 (remainder_test): Likewise.
18679 (drem_test): Likewise.
18680 (remainder_tonearest_test_data): Likewise.
18681 (remainder_test_tonearest): Likewise.
18682 (drem_test_tonearest): Likewise.
18683 (remainder_towardzero_test_data): Likewise.
18684 (remainder_test_towardzero): Likewise.
18685 (drem_test_towardzero): Likewise.
18686 (remainder_downward_test_data): Likewise.
18687 (remainder_test_downward): Likewise.
18688 (drem_test_downward): Likewise.
18689 (remainder_upward_test_data): Likewise.
18690 (remainder_test_upward): Likewise.
18691 (drem_test_upward): Likewise.
18692 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
18693 (round_test): Use ALL_RM_TEST.
18694 (signbit_test): Likewise.
18695 (trunc_test): Likewise.
18696 (significand_test): Likewise.
18697 (main): Don't call removed functions.
18699 2014-03-07 Joseph Myers <joseph@codesourcery.com>
18702 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
18703 || __USE_XOPEN2K8].
18704 (ILL_ILLOPN): Likewise.
18705 (ILL_ILLADR): Likewise.
18706 (ILL_ILLTRP): Likewise.
18707 (ILL_PRVOPC): Likewise.
18708 (ILL_PRVREG): Likewise.
18709 (ILL_COPROC): Likewise.
18710 (ILL_BADSTK): Likewise.
18711 (FPE_INTDIV): Likewise.
18712 (FPE_INTOVF): Likewise.
18713 (FPE_FLTDIV): Likewise.
18714 (FPE_FLTOVF): Likewise.
18715 (FPE_FLTUND): Likewise.
18716 (FPE_FLTRES): Likewise.
18717 (FPE_FLTINV): Likewise.
18718 (FPE_FLTSUB): Likewise.
18719 (SEGV_MAPERR): Likewise.
18720 (SEGV_ACCERR): Likewise.
18721 (BUS_ADRALN): Likewise.
18722 (BUS_ADRERR): Likewise.
18723 (BUS_OBJERR): Likewise.
18724 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18725 (TRAP_TRACE): Likewise.
18726 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18728 (CLD_KILLED): Likewise.
18729 (CLD_DUMPED): Likewise.
18730 (CLD_TRAPPED): Likewise.
18731 (CLD_STOPPED): Likewise.
18732 (CLD_CONTINUED): Likewise.
18733 (POLL_IN): Likewise.
18734 (POLL_OUT): Likewise.
18735 (POLL_MSG): Likewise.
18736 (POLL_ERR): Likewise.
18737 (POLL_PRI): Likewise.
18738 (POLL_HUP): Likewise.
18739 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
18741 (ILL_ILLOPN): Likewise.
18742 (ILL_ILLADR): Likewise.
18743 (ILL_ILLTRP): Likewise.
18744 (ILL_PRVOPC): Likewise.
18745 (ILL_PRVREG): Likewise.
18746 (ILL_COPROC): Likewise.
18747 (ILL_BADSTK): Likewise.
18748 (FPE_INTDIV): Likewise.
18749 (FPE_INTOVF): Likewise.
18750 (FPE_FLTDIV): Likewise.
18751 (FPE_FLTOVF): Likewise.
18752 (FPE_FLTUND): Likewise.
18753 (FPE_FLTRES): Likewise.
18754 (FPE_FLTINV): Likewise.
18755 (FPE_FLTSUB): Likewise.
18756 (SEGV_MAPERR): Likewise.
18757 (SEGV_ACCERR): Likewise.
18758 (BUS_ADRALN): Likewise.
18759 (BUS_ADRERR): Likewise.
18760 (BUS_OBJERR): Likewise.
18761 (BUS_MCEERR_AR): Likewise.
18762 (BUS_MCEERR_AO): Likewise.
18763 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18764 (TRAP_TRACE): Likewise.
18765 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18767 (CLD_KILLED): Likewise.
18768 (CLD_DUMPED): Likewise.
18769 (CLD_TRAPPED): Likewise.
18770 (CLD_STOPPED): Likewise.
18771 (CLD_CONTINUED): Likewise.
18772 (POLL_IN): Likewise.
18773 (POLL_OUT): Likewise.
18774 (POLL_MSG): Likewise.
18775 (POLL_ERR): Likewise.
18776 (POLL_PRI): Likewise.
18777 (POLL_HUP): Likewise.
18778 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
18779 (ILL_ILLOPN): Likewise.
18780 (ILL_ILLADR): Likewise.
18781 (ILL_ILLTRP): Likewise.
18782 (ILL_PRVOPC): Likewise.
18783 (ILL_PRVREG): Likewise.
18784 (ILL_COPROC): Likewise.
18785 (ILL_BADSTK): Likewise.
18786 (FPE_INTDIV): Likewise.
18787 (FPE_INTOVF): Likewise.
18788 (FPE_FLTDIV): Likewise.
18789 (FPE_FLTOVF): Likewise.
18790 (FPE_FLTUND): Likewise.
18791 (FPE_FLTRES): Likewise.
18792 (FPE_FLTINV): Likewise.
18793 (FPE_FLTSUB): Likewise.
18794 (SEGV_MAPERR): Likewise.
18795 (SEGV_ACCERR): Likewise.
18796 (BUS_ADRALN): Likewise.
18797 (BUS_ADRERR): Likewise.
18798 (BUS_OBJERR): Likewise.
18799 (BUS_MCEERR_AR): Likewise.
18800 (BUS_MCEERR_AO): Likewise.
18801 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18802 (TRAP_TRACE): Likewise.
18803 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18805 (CLD_KILLED): Likewise.
18806 (CLD_DUMPED): Likewise.
18807 (CLD_TRAPPED): Likewise.
18808 (CLD_STOPPED): Likewise.
18809 (CLD_CONTINUED): Likewise.
18810 (POLL_IN): Likewise.
18811 (POLL_OUT): Likewise.
18812 (POLL_MSG): Likewise.
18813 (POLL_ERR): Likewise.
18814 (POLL_PRI): Likewise.
18815 (POLL_HUP): Likewise.
18816 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
18818 (ILL_ILLOPN): Likewise.
18819 (ILL_ILLADR): Likewise.
18820 (ILL_ILLTRP): Likewise.
18821 (ILL_PRVOPC): Likewise.
18822 (ILL_PRVREG): Likewise.
18823 (ILL_COPROC): Likewise.
18824 (ILL_BADSTK): Likewise.
18825 (ILL_BADIADDR): Likewise.
18826 (ILL_BREAK): Likewise.
18827 (FPE_INTDIV): Likewise.
18828 (FPE_INTOVF): Likewise.
18829 (FPE_FLTDIV): Likewise.
18830 (FPE_FLTOVF): Likewise.
18831 (FPE_FLTUND): Likewise.
18832 (FPE_FLTRES): Likewise.
18833 (FPE_FLTINV): Likewise.
18834 (FPE_FLTSUB): Likewise.
18835 (FPE_DECOVF): Likewise.
18836 (FPE_DECDIV): Likewise.
18837 (FPE_DECERR): Likewise.
18838 (FPE_INVASC): Likewise.
18839 (FPE_INVDEC): Likewise.
18840 (SEGV_MAPERR): Likewise.
18841 (SEGV_ACCERR): Likewise.
18842 (SEGV_PSTKOVF): Likewise.
18843 (BUS_ADRALN): Likewise.
18844 (BUS_ADRERR): Likewise.
18845 (BUS_OBJERR): Likewise.
18846 (BUS_MCEERR_AR): Likewise.
18847 (BUS_MCEERR_AO): Likewise.
18848 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18849 (TRAP_TRACE): Likewise.
18850 (TRAP_BRANCH): Likewise.
18851 (TRAP_HWBKPT): Likewise.
18852 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18854 (CLD_KILLED): Likewise.
18855 (CLD_DUMPED): Likewise.
18856 (CLD_TRAPPED): Likewise.
18857 (CLD_STOPPED): Likewise.
18858 (CLD_CONTINUED): Likewise.
18859 (POLL_IN): Likewise.
18860 (POLL_OUT): Likewise.
18861 (POLL_MSG): Likewise.
18862 (POLL_ERR): Likewise.
18863 (POLL_PRI): Likewise.
18864 (POLL_HUP): Likewise.
18865 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
18866 (ILL_ILLOPN): Likewise.
18867 (ILL_ILLADR): Likewise.
18868 (ILL_ILLTRP): Likewise.
18869 (ILL_PRVOPC): Likewise.
18870 (ILL_PRVREG): Likewise.
18871 (ILL_COPROC): Likewise.
18872 (ILL_BADSTK): Likewise.
18873 (FPE_INTDIV): Likewise.
18874 (FPE_INTOVF): Likewise.
18875 (FPE_FLTDIV): Likewise.
18876 (FPE_FLTOVF): Likewise.
18877 (FPE_FLTUND): Likewise.
18878 (FPE_FLTRES): Likewise.
18879 (FPE_FLTINV): Likewise.
18880 (FPE_FLTSUB): Likewise.
18881 (SEGV_MAPERR): Likewise.
18882 (SEGV_ACCERR): Likewise.
18883 (BUS_ADRALN): Likewise.
18884 (BUS_ADRERR): Likewise.
18885 (BUS_OBJERR): Likewise.
18886 (BUS_MCEERR_AR): Likewise.
18887 (BUS_MCEERR_AO): Likewise.
18888 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18889 (TRAP_TRACE): Likewise.
18890 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18892 (CLD_KILLED): Likewise.
18893 (CLD_DUMPED): Likewise.
18894 (CLD_TRAPPED): Likewise.
18895 (CLD_STOPPED): Likewise.
18896 (CLD_CONTINUED): Likewise.
18897 (POLL_IN): Likewise.
18898 (POLL_OUT): Likewise.
18899 (POLL_MSG): Likewise.
18900 (POLL_ERR): Likewise.
18901 (POLL_PRI): Likewise.
18902 (POLL_HUP): Likewise.
18903 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
18904 (ILL_ILLOPN): Likewise.
18905 (ILL_ILLADR): Likewise.
18906 (ILL_ILLTRP): Likewise.
18907 (ILL_PRVOPC): Likewise.
18908 (ILL_PRVREG): Likewise.
18909 (ILL_COPROC): Likewise.
18910 (ILL_BADSTK): Likewise.
18911 (FPE_INTDIV): Likewise.
18912 (FPE_INTOVF): Likewise.
18913 (FPE_FLTDIV): Likewise.
18914 (FPE_FLTOVF): Likewise.
18915 (FPE_FLTUND): Likewise.
18916 (FPE_FLTRES): Likewise.
18917 (FPE_FLTINV): Likewise.
18918 (FPE_FLTSUB): Likewise.
18919 (SEGV_MAPERR): Likewise.
18920 (SEGV_ACCERR): Likewise.
18921 (BUS_ADRALN): Likewise.
18922 (BUS_ADRERR): Likewise.
18923 (BUS_OBJERR): Likewise.
18924 (BUS_MCEERR_AR): Likewise.
18925 (BUS_MCEERR_AO): Likewise.
18926 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18927 (TRAP_TRACE): Likewise.
18928 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18930 (CLD_KILLED): Likewise.
18931 (CLD_DUMPED): Likewise.
18932 (CLD_TRAPPED): Likewise.
18933 (CLD_STOPPED): Likewise.
18934 (CLD_CONTINUED): Likewise.
18935 (POLL_IN): Likewise.
18936 (POLL_OUT): Likewise.
18937 (POLL_MSG): Likewise.
18938 (POLL_ERR): Likewise.
18939 (POLL_PRI): Likewise.
18940 (POLL_HUP): Likewise.
18941 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
18942 (ILL_ILLOPN): Likewise.
18943 (ILL_ILLADR): Likewise.
18944 (ILL_ILLTRP): Likewise.
18945 (ILL_PRVOPC): Likewise.
18946 (ILL_PRVREG): Likewise.
18947 (ILL_COPROC): Likewise.
18948 (ILL_BADSTK): Likewise.
18949 (FPE_INTDIV): Likewise.
18950 (FPE_INTOVF): Likewise.
18951 (FPE_FLTDIV): Likewise.
18952 (FPE_FLTOVF): Likewise.
18953 (FPE_FLTUND): Likewise.
18954 (FPE_FLTRES): Likewise.
18955 (FPE_FLTINV): Likewise.
18956 (FPE_FLTSUB): Likewise.
18957 (SEGV_MAPERR): Likewise.
18958 (SEGV_ACCERR): Likewise.
18959 (BUS_ADRALN): Likewise.
18960 (BUS_ADRERR): Likewise.
18961 (BUS_OBJERR): Likewise.
18962 (BUS_MCEERR_AR): Likewise.
18963 (BUS_MCEERR_AO): Likewise.
18964 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18965 (TRAP_TRACE): Likewise.
18966 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18968 (CLD_KILLED): Likewise.
18969 (CLD_DUMPED): Likewise.
18970 (CLD_TRAPPED): Likewise.
18971 (CLD_STOPPED): Likewise.
18972 (CLD_CONTINUED): Likewise.
18973 (POLL_IN): Likewise.
18974 (POLL_OUT): Likewise.
18975 (POLL_MSG): Likewise.
18976 (POLL_ERR): Likewise.
18977 (POLL_PRI): Likewise.
18978 (POLL_HUP): Likewise.
18979 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
18980 (ILL_ILLOPN): Likewise.
18981 (ILL_ILLADR): Likewise.
18982 (ILL_ILLTRP): Likewise.
18983 (ILL_PRVOPC): Likewise.
18984 (ILL_PRVREG): Likewise.
18985 (ILL_COPROC): Likewise.
18986 (ILL_BADSTK): Likewise.
18987 (ILL_DBLFLT): Likewise.
18988 (ILL_HARDWALL): Likewise.
18989 (FPE_INTDIV): Likewise.
18990 (FPE_INTOVF): Likewise.
18991 (FPE_FLTDIV): Likewise.
18992 (FPE_FLTOVF): Likewise.
18993 (FPE_FLTUND): Likewise.
18994 (FPE_FLTRES): Likewise.
18995 (FPE_FLTINV): Likewise.
18996 (FPE_FLTSUB): Likewise.
18997 (SEGV_MAPERR): Likewise.
18998 (SEGV_ACCERR): Likewise.
18999 (BUS_ADRALN): Likewise.
19000 (BUS_ADRERR): Likewise.
19001 (BUS_OBJERR): Likewise.
19002 (BUS_MCEERR_AR): Likewise.
19003 (BUS_MCEERR_AO): Likewise.
19004 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19005 (TRAP_TRACE): Likewise.
19006 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19008 (CLD_KILLED): Likewise.
19009 (CLD_DUMPED): Likewise.
19010 (CLD_TRAPPED): Likewise.
19011 (CLD_STOPPED): Likewise.
19012 (CLD_CONTINUED): Likewise.
19013 (POLL_IN): Likewise.
19014 (POLL_OUT): Likewise.
19015 (POLL_MSG): Likewise.
19016 (POLL_ERR): Likewise.
19017 (POLL_PRI): Likewise.
19018 (POLL_HUP): Likewise.
19019 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
19020 (ILL_ILLOPN): Likewise.
19021 (ILL_ILLADR): Likewise.
19022 (ILL_ILLTRP): Likewise.
19023 (ILL_PRVOPC): Likewise.
19024 (ILL_PRVREG): Likewise.
19025 (ILL_COPROC): Likewise.
19026 (ILL_BADSTK): Likewise.
19027 (FPE_INTDIV): Likewise.
19028 (FPE_INTOVF): Likewise.
19029 (FPE_FLTDIV): Likewise.
19030 (FPE_FLTOVF): Likewise.
19031 (FPE_FLTUND): Likewise.
19032 (FPE_FLTRES): Likewise.
19033 (FPE_FLTINV): Likewise.
19034 (FPE_FLTSUB): Likewise.
19035 (SEGV_MAPERR): Likewise.
19036 (SEGV_ACCERR): Likewise.
19037 (BUS_ADRALN): Likewise.
19038 (BUS_ADRERR): Likewise.
19039 (BUS_OBJERR): Likewise.
19040 (BUS_MCEERR_AR): Likewise.
19041 (BUS_MCEERR_AO): Likewise.
19042 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19043 (TRAP_TRACE): Likewise.
19044 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19046 (CLD_KILLED): Likewise.
19047 (CLD_DUMPED): Likewise.
19048 (CLD_TRAPPED): Likewise.
19049 (CLD_STOPPED): Likewise.
19050 (CLD_CONTINUED): Likewise.
19051 (POLL_IN): Likewise.
19052 (POLL_OUT): Likewise.
19053 (POLL_MSG): Likewise.
19054 (POLL_ERR): Likewise.
19055 (POLL_PRI): Likewise.
19056 (POLL_HUP): Likewise.
19057 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
19058 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19061 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
19062 before #include of <time.h>.
19063 [!__USE_XOPEN2K] (__need_timespec): Likewise.
19064 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
19065 (test-xfail-UNIX98/sched.h/conform): Likewise.
19067 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
19069 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
19070 error absence of trapping exception support.
19071 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19073 2014-03-07 Joseph Myers <joseph@codesourcery.com>
19075 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
19076 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
19077 * timezone/Makefile (testdata): Move definition above include of
19079 (test-zones): New variable.
19080 (tests-special): Add zone files.
19081 (build-testdata): Use $(evaluate-test).
19083 * elf/Makefile (tests-special): Rename tests to end with .out.
19084 ($(objpfx)noload-mem): Likewise.
19085 ($(objpfx)tst-leaks1-mem): Likewise.
19086 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
19087 * iconv/Makefile (xtests-special): Change test-iconvconfig to
19088 $(objpfx)test-iconvconfig.out.
19089 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
19090 set -e inside subshell and redirect output to file.
19091 * iconvdata/Makefile (generated): Rename tests to end with .out.
19093 (tests-special): Rename tests to end with .out.
19094 ($(objpfx)mtrace-tst-loading): Likewise.
19095 * intl/Makefile (generated): Likewise.
19096 (tests-special): Likewise.
19097 ($(objpfx)mtrace-tst-gettext): Likewise.
19098 * misc/Makefile (generated): Likewise.
19099 (tests-special): Likewise.
19100 ($(objpfx)tst-error1-mem): Likewise.
19101 * nptl/Makefile (tests-special): Likewise.
19102 ($(objpfx)tst-stack3-mem): Likewise.
19103 (generated): Likewise.
19104 * posix/Makefile (generated): Likewise.
19105 (tests-special): Likewise.
19106 (xtests-special): Likewise.
19107 ($(objpfx)tst-fnmatch-mem): Likewise.
19108 ($(objpfx)bug-regex2-mem): Likewise.
19109 ($(objpfx)bug-regex14-mem): Likewise.
19110 ($(objpfx)bug-regex21-mem): Likewise.
19111 ($(objpfx)bug-regex31-mem): Likewise.
19112 ($(objpfx)tst-vfork3-mem): Likewise.
19113 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19114 ($(objpfx)tst-pcre-mem): Likewise.
19115 ($(objpfx)tst-boost-mem): Likewise.
19116 ($(objpfx)bug-ga2-mem): Likewise.
19117 ($(objpfx)bug-glob2-mem): Likewise.
19118 * resolv/Makefile (generate): Likewise.
19119 (tests-special): Likewise.
19120 (xtests-special): Likewise.
19121 (generated): Likewise.
19122 ($(objpfx)mtrace-tst-leaks): Likewise.
19123 ($(objpfx)mtrace-tst-leaks2): Likewise.
19125 * scripts/merge-test-results.sh: New file.
19126 * Makefile (tests-special-notdir): New variable.
19127 (tests): Run merge-test-results.sh.
19128 (xtests): Likewise.
19129 * Rules (tests-special-notdir): New variable.
19130 (xtests-special-notdir): Likewise.
19131 (tests): Run merge-test-results.sh
19132 (xtests): Likewise.
19134 * Makeconfig (test-xfail-name): New variable.
19135 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
19136 compute variable name for expected failures.
19137 * conform/Makefile (conformtest-headers-data): New variable.
19138 (conformtest-standards): Likewise.
19139 (conformtest-headers-ISO): Likewise.
19140 (conformtest-headers-ISO99): Likewise.
19141 (conformtest-headers-ISO11): Likewise.
19142 (conformtest-headers-POSIX): Likewise.
19143 (conformtest-headers-XPG3): Likewise.
19144 (conformtest-headers-XPG4): Likewise.
19145 (conformtest-headers-UNIX98): Likewise.
19146 (conformtest-headers-XOPEN2K): Likewise.
19147 (conformtest-headers-POSIX2008): Likewise.
19148 (conformtest-headers-XOPEN2K8): Likewise.
19149 (conformtest-header-list-base): Likewise.
19150 (conformtest-header-list-tests): Likewise.
19151 (conformtest-header-base): Likewise.
19152 (conformtest-header-tests): Likewise.
19153 (tests-special): Add $(conformtest-header-list-tests). If
19154 [$(fast-check) && !$(cross-compiling)], add
19155 $(conformtest-header-tests) instead of
19156 $(objpfx)run-conformtest.out.
19157 (generated): Add $(conformtest-header-list-base). If
19158 [$(fast-check) && !$(cross-compiling)], add
19159 $(conformtest-header-base). Remove previous setting.
19160 ($(conformtest-header-list-tests)): New target.
19161 (test-xfail-run-conformtest): Remove variable.
19162 ($(objpfx)run-conformtest.out): Remove target.
19163 (test-xfail-ISO11/complex.h/conform): New variable.
19164 (test-xfail-ISO11/stdalign.h/conform): Likewise.
19165 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
19166 (test-xfail-XPG3/varargs.h/conform): Likewise.
19167 (test-xfail-XPG4/varargs.h/conform): Likewise.
19168 (test-xfail-UNIX98/varargs.h/conform): Likewise.
19169 (test-xfail-XPG4/ndbm.h/conform): Likewise.
19170 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
19171 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
19172 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
19173 (test-xfail-XPG3/fcntl.h/conform): Likewise.
19174 (test-xfail-XPG3/ftw.h/conform): Likewise.
19175 (test-xfail-XPG3/grp.h/conform): Likewise.
19176 (test-xfail-XPG3/langinfo.h/conform): Likewise.
19177 (test-xfail-XPG3/limits.h/conform): Likewise.
19178 (test-xfail-XPG3/pwd.h/conform): Likewise.
19179 (test-xfail-XPG3/search.h/conform): Likewise.
19180 (test-xfail-XPG3/signal.h/conform): Likewise.
19181 (test-xfail-XPG3/stdio.h/conform): Likewise.
19182 (test-xfail-XPG3/stdlib.h/conform): Likewise.
19183 (test-xfail-XPG3/string.h/conform): Likewise.
19184 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
19185 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
19186 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19187 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19188 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
19189 (test-xfail-XPG3/sys/types.h/conform): Likewise.
19190 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
19191 (test-xfail-XPG3/termios.h/conform): Likewise.
19192 (test-xfail-XPG3/time.h/conform): Likewise.
19193 (test-xfail-XPG3/unistd.h/conform): Likewise.
19194 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
19195 (test-xfail-XPG4/fcntl.h/conform): Likewise.
19196 (test-xfail-XPG4/langinfo.h/conform): Likewise.
19197 (test-xfail-XPG4/netdb.h/conform): Likewise.
19198 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
19199 (test-xfail-XPG4/signal.h/conform): Likewise.
19200 (test-xfail-XPG4/stdio.h/conform): Likewise.
19201 (test-xfail-XPG4/stdlib.h/conform): Likewise.
19202 (test-xfail-XPG4/stropts.h/conform): Likewise.
19203 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19204 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19205 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19206 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19207 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19208 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
19209 (test-xfail-XPG4/sys/time.h/conform): Likewise.
19210 (test-xfail-XPG4/sys/types.h/conform): Likewise.
19211 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
19212 (test-xfail-XPG4/termios.h/conform): Likewise.
19213 (test-xfail-XPG4/ucontext.h/conform): Likewise.
19214 (test-xfail-XPG4/unistd.h/conform): Likewise.
19215 (test-xfail-XPG4/utmpx.h/conform): Likewise.
19216 (test-xfail-POSIX/sched.h/conform): Likewise.
19217 (test-xfail-POSIX/signal.h/conform): Likewise.
19218 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19219 (test-xfail-POSIX/tar.h/conform): Likewise.
19220 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
19221 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
19222 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
19223 (test-xfail-UNIX98/netdb.h/conform): Likewise.
19224 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
19225 (test-xfail-UNIX98/sched.h/conform): Likewise.
19226 (test-xfail-UNIX98/signal.h/conform): Likewise.
19227 (test-xfail-UNIX98/stdio.h/conform): Likewise.
19228 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
19229 (test-xfail-UNIX98/stropts.h/conform): Likewise.
19230 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19231 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19232 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19233 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19234 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19235 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
19236 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
19237 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
19238 (test-xfail-UNIX98/unistd.h/conform): Likewise.
19239 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
19240 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
19241 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
19242 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
19243 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
19244 (test-xfail-XOPEN2K/math.h/conform): Likewise.
19245 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
19246 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19247 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19248 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
19249 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
19250 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
19251 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
19252 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19253 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19254 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19255 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19256 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19257 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19258 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
19259 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
19260 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
19261 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
19262 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19263 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
19264 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19265 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
19266 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
19267 (test-xfail-POSIX2008/signal.h/conform): Likewise.
19268 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19269 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
19270 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
19271 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19272 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19273 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
19274 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
19275 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19276 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19277 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
19278 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
19279 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19280 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19281 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19282 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
19283 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19284 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19285 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19286 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19287 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
19288 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
19289 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
19290 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
19291 (conformtest-cc-flags): Likewise.
19292 ($(conformtest-header-tests): New target.
19293 * conform/check-header-lists.sh: New file.
19294 * conform/run-conformtest.sh: Remove.
19296 * conform/conformtest.pl: Allow ' and \ in values given for
19298 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
19300 [POSIX] (sys/types.h): Likewise.
19301 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
19303 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
19305 * conform/data/signal.h-data (SIGIO): Remove expectation.
19306 [XPG3] (SIGBUS): Do not expect.
19307 [POSIX || XPG3] (SIGPOLL): Likewise.
19308 [POSIX || XPG3] (SIGPROF): Likewise.
19309 [POSIX || XPG3] (SIGSYS): Likewise.
19310 [XPG3] (SIGTRAP): Likewise.
19311 [POSIX || XPG3] (SIGURG): Likewise.
19312 [POSIX || XPG3] (SIGVTALRM): Likewise.
19313 [POSIX || XPG3] (SIGXCPU): Likewise.
19314 [POSIX || XPG3] (SIGXFSZ): Likewise.
19315 [POSIX] (SA_SIGINFO): Expect.
19316 [XPG3] (siginfo_t): Do not expect type or contents.
19317 [POSIX] (si_pid): Do not expect element.
19318 [POSIX] (si_uid): Likewise.
19319 [POSIX] (si_addr): Likewise.
19320 [POSIX] (si_status): Likewise.
19321 [POSIX] (si_band): Likewise.
19322 [XPG4] (si_value): Likewise.
19323 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
19324 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
19325 [POSIX || XPG3] (ILL_ILLADR): Likewise.
19326 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
19327 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
19328 [POSIX || XPG3] (ILL_PRVREG): Likewise.
19329 [POSIX || XPG3] (ILL_COPROC): Likewise.
19330 [POSIX || XPG3] (ILL_BADSTK): Likewise.
19331 [POSIX || XPG3] (FPE_INTDIV): Likewise.
19332 [POSIX || XPG3] (FPE_INTOVF): Likewise.
19333 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
19334 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
19335 [POSIX || XPG3] (FPE_FLTUND): Likewise.
19336 [POSIX || XPG3] (FPE_FLTRES): Likewise.
19337 [POSIX || XPG3] (FPE_FLTINV): Likewise.
19338 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
19339 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
19340 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
19341 [POSIX || XPG3] (BUS_ADRALN): Likewise.
19342 [POSIX || XPG3] (BUS_ADRERR): Likewise.
19343 [POSIX || XPG3] (BUS_OBJERR): Likewise.
19344 [POSIX || XPG3] (CLD_EXITED): Likewise.
19345 [POSIX || XPG3] (CLD_KILLED): Likewise.
19346 [POSIX || XPG3] (CLD_DUMPED): Likewise.
19347 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
19348 [POSIX || XPG3] (CLD_STOPPED): Likewise.
19349 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
19350 [POSIX || XPG3] (POLL_IN): Likewise.
19351 [POSIX || XPG3] (POLL_OUT): Likewise.
19352 [POSIX || XPG3] (POLL_MSG): Likewise.
19353 [POSIX || XPG3] (POLL_ERR): Likewise.
19354 [POSIX || XPG3] (POLL_PRI): Likewise.
19355 [POSIX || XPG3] (POLL_HUP): Likewise.
19356 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
19357 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
19358 (SIG*): Do not allow.
19359 [XPG3] (si_*): Likewise.
19360 [XPG3] (SI_*): Likewise.
19361 [XPG3 || XPG4] (sigev_*): Likewise.
19362 [XPG3 || XPG4] (SIGEV_*): Likewise.
19363 [XPG3 || XPG4] (sival_*): Likewise.
19364 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
19365 [POSIX || XPG3] (BUS_*): Likewise.
19366 [POSIX || XPG3] (CLD_*): Likewise.
19367 [POSIX || XPG3] (FPE_*): Likewise.
19368 [POSIX || XPG3] (ILL_*): Likewise.
19369 [POSIX || XPG3] (POLL_*): Likewise.
19370 [POSIX || XPG3] (SEGV_*): Likewise.
19371 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
19372 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
19373 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
19374 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
19375 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
19376 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
19377 Specify type and value.
19378 (TVERSLEN): Likewise.
19379 (REGTYPE): Likewise.
19380 (AREGTYPE): Likewise.
19381 (LNKTYPE): Likewise.
19382 (SYMTYPE): Likewise.
19383 (CHRTYPE): Likewise.
19384 (BLKTYPE): Likewise.
19385 (DIRTYPE): Likewise.
19386 (FIFOTYPE): Likewise.
19387 (CONTTYPE): Likewise.
19391 (TUREAD): Likewise.
19392 (TUWRITE): Likewise.
19393 (TUEXEC): Likewise.
19394 (TGREAD): Likewise.
19395 (TGWRITE): Likewise.
19396 (TGEXEC): Likewise.
19397 (TOREAD): Likewise.
19398 (TOWRITE): Likewise.
19399 (TOEXEC): Likewise.
19400 [POSIX] (TSVTX): Expect constant.
19402 2014-03-06 Joseph Myers <joseph@codesourcery.com>
19404 * Makefile (tests): Change dependencies to ....
19405 (tests-special): ... additions to this variable.
19406 (tests): Depend on $(tests-special).
19407 * Makerules (check-abi-list): New variable.
19408 (check-abi): Depend on $(check-abi-list).
19409 [$(subdir) = elf] (tests-special): Add
19410 $(objpfx)check-abi-libc.out.
19411 [$(build-shared) = yes && subdir] (tests-special): Add
19413 [$(build-shared) = yes && subdir] (tests): Do not depend on
19415 * Rules (tests): Depend on $(tests-special).
19416 (xtests): Depend on $(xtests-special).
19417 * catgets/Makefile (tests): Change dependencies to ....
19418 (tests-special): ... additions to this variable.
19419 * conform/Makefile (tests): Change dependencies to ....
19420 (tests-special): ... additions to this variable.
19421 * elf/Makefile (tests): Change dependencies to ....
19422 (tests-special): ... additions to this variable.
19423 * grp/Makefile (tests): Change dependencies to ....
19424 (tests-special): ... additions to this variable.
19425 * iconv/Makefile (xtests): Change dependencies to ....
19426 (xtests-special): ... additions to this variable.
19427 * iconvdata/Makefile (tests): Change dependencies to ....
19428 (tests-special): ... additions to this variable.
19429 * intl/Makefile (tests): Change dependencies to ....
19430 (tests-special): ... additions to this variable. Also add
19431 $(objpfx)tst-gettext.out.
19432 * io/Makefile (tests): Change dependencies to ....
19433 (tests-special): ... additions to this variable.
19434 * libio/Makefile (tests): Change dependencies to ....
19435 (tests-special): ... additions to this variable.
19436 * malloc/Makefile (tests): Change dependencies to ....
19437 (tests-special): ... additions to this variable.
19438 * misc/Makefile (tests): Change dependencies to ....
19439 (tests-special): ... additions to this variable.
19440 * nptl/Makefile (tests): Change dependencies to ....
19441 (tests-special): ... additions to this variable.
19442 * nptl_db/Makefile (tests): Change dependencies to ....
19443 (tests-special): ... additions to this variable.
19444 * posix/Makefile (tests): Change dependencies to ....
19445 (tests-special): ... additions to this variable.
19446 (xtests): Change dependencies to ....
19447 (xtests-special): ... additions to this variable.
19448 * resolv/Makefile (tests): Change dependencies to ....
19449 (tests-special): ... additions to this variable.
19450 (xtests): Change dependencies to ....
19451 (xtests-special): ... additions to this variable.
19452 * stdio-common/Makefile (tests): Change dependencies to ....
19453 (tests-special): ... additions to this variable.
19454 (do-tst-unbputc): Remove target.
19455 (do-tst-printf): Likewise.
19456 * stdlib/Makefile (tests): Change dependencies to ....
19457 (tests-special): ... additions to this variable.
19458 * string/Makefile (tests): Change dependencies to ....
19459 (tests-special): ... additions to this variable.
19460 * sysdeps/x86/Makefile (tests): Change dependencies to ....
19461 (tests-special): ... additions to this variable.
19463 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
19465 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
19467 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
19468 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
19470 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
19471 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
19472 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
19473 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
19474 * conform/data/libgen.h-data [XPG3]: Likewise.
19475 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
19476 * conform/data/ndbm.h-data [XPG3]: Likewise.
19477 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19478 * conform/data/netdb.h-data [XPG3]: Likewise.
19479 * conform/data/netinet/in.h-data [XPG3]: Likewise.
19480 * conform/data/poll.h-data [XPG3]: Likewise.
19481 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19482 * conform/data/strings.h-data [XPG3]: Likewise.
19483 * conform/data/stropts.h-data [XPG3]: Likewise.
19484 * conform/data/sys/mman.h-data [XPG3]: Likewise.
19485 * conform/data/sys/resource.h-data [XPG3]: Likewise.
19486 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
19488 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
19489 * conform/data/sys/time.h-data [XPG3]: Likewise.
19490 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
19491 * conform/data/sys/uio.h-data [XPG3]: Likewise.
19492 * conform/data/sys/un.h-data [XPG3]: Likewise.
19493 * conform/data/syslog.h-data [XPG3]: Likewise.
19494 * conform/data/ucontext.h-data [XPG3]: Likewise.
19495 * conform/data/utmpx.h-data [XPG3]: Likewise.
19496 * conform/data/varargs.h-data [UNIX98]: Enable file.
19498 * manual/Makefile (INSTALL_INFO): Remove variable setting.
19500 * math/libm-test.inc (struct test_f_f_data): Move expected results
19501 into structure for each rounding mode.
19502 (struct test_ff_f_data): Likewise.
19503 (struct test_ff_f_data_nexttoward): Likewise.
19504 (struct test_fi_f_data): Likewise.
19505 (struct test_fl_f_data): Likewise.
19506 (struct test_if_f_data): Likewise.
19507 (struct test_fff_f_data): Likewise.
19508 (struct test_c_f_data): Likewise.
19509 (struct test_f_f1_data): Likewise.
19510 (struct test_fF_f1_data): Likewise.
19511 (struct test_ffI_f1_data): Likewise.
19512 (struct test_c_c_data): Likewise.
19513 (struct test_cc_c_data): Likewise.
19514 (struct test_f_i_data): Likewise.
19515 (struct test_ff_i_data): Likewise.
19516 (struct test_f_l_data): Likewise.
19517 (struct test_f_L_data): Likewise.
19518 (struct test_fFF_11_data): Likewise.
19520 (RM_FE_DOWNWARD): Likewise.
19521 (RM_FE_TONEAREST): Likewise.
19522 (RM_FE_TOWARDZERO): Likewise.
19523 (RM_FE_UPWARD): Likewise.
19524 (RUN_TEST_LOOP_f_f): Update references to expected results.
19525 (RUN_TEST_LOOP_2_f): Likewise.
19526 (RUN_TEST_LOOP_fff_f): Likewise.
19527 (RUN_TEST_LOOP_c_f): Likewise.
19528 (RUN_TEST_LOOP_f_f1): Likewise.
19529 (RUN_TEST_LOOP_fF_f1): Likewise.
19530 (RUN_TEST_LOOP_fI_f1): Likewise.
19531 (RUN_TEST_LOOP_ffI_f1): Likewise.
19532 (RUN_TEST_LOOP_c_c): Likewise.
19533 (RUN_TEST_LOOP_cc_c): Likewise.
19534 (RUN_TEST_LOOP_f_i): Likewise.
19535 (RUN_TEST_LOOP_f_i_tg): Likewise.
19536 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19537 (RUN_TEST_LOOP_f_b): Likewise.
19538 (RUN_TEST_LOOP_f_b_tg): Likewise.
19539 (RUN_TEST_LOOP_f_l): Likewise.
19540 (RUN_TEST_LOOP_f_L): Likewise.
19541 (RUN_TEST_LOOP_fFF_11): Likewise.
19542 * math/gen-libm-test.pl (parse_args): Output four copies of
19543 expected results for each test.
19545 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19546 (__ASSUME_UTIMES): Remove.
19547 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19548 (__ASSUME_UTIMES): Likewise.
19550 * math/gen-auto-libm-tests.c: Update comment on output format.
19551 (output_for_one_input_case): Generate before-rounding and
19552 after-rounding information as conditions on output flags not
19553 floating-point format.
19554 * math/auto-libm-test-out: Regenerated.
19555 * math/gen-libm-test.pl (cond_value): New function.
19556 (or_cond_value): Use cond_value.
19557 (generate_testfile): Handle conditional exceptions.
19559 2014-03-05 Joseph Myers <joseph@codesourcery.com>
19561 * math/libm-test.inc (max_valid_error): New variable.
19562 (init_max_error): Take new argument specifying whether function
19563 results are exactly determined. Set max_valid_error and bound
19564 other variables for errors based on this argument.
19565 (set_max_error): Do not record results above max_valid_error.
19566 (check_float_internal): Only accept errors of up to 0.5ulps if
19567 also at most max_valid_error.
19568 (START): Take new argument EXACT and pass it to init_max_error.
19569 (acos_test): Update call to START.
19570 (acos_test_tonearest): Likewise.
19571 (acos_test_towardzero): Likewise.
19572 (acos_test_downward): Likewise.
19573 (acos_test_upward): Likewise.
19574 (acosh_test): Likewise.
19575 (asin_test): Likewise.
19576 (asin_test_tonearest): Likewise.
19577 (asin_test_towardzero): Likewise.
19578 (asin_test_downward): Likewise.
19579 (asin_test_upward): Likewise.
19580 (asinh_test): Likewise.
19581 (atan_test): Likewise.
19582 (atanh_test): Likewise.
19583 (atan2_test): Likewise.
19584 (cabs_test): Likewise.
19585 (cacos_test): Likewise.
19586 (cacosh_test): Likewise.
19587 (carg_test): Likewise.
19588 (casin_test): Likewise.
19589 (casinh_test): Likewise.
19590 (catan_test): Likewise.
19591 (catanh_test): Likewise.
19592 (cbrt_test): Likewise.
19593 (ccos_test): Likewise.
19594 (ccosh_test): Likewise.
19595 (ceil_test): Likewise.
19596 (cexp_test): Likewise.
19597 (cimag_test): Likewise.
19598 (clog_test): Likewise.
19599 (clog10_test): Likewise.
19600 (conj_test): Likewise.
19601 (copysign_test): Likewise.
19602 (cos_test): Likewise.
19603 (cos_test_tonearest): Likewise.
19604 (cos_test_towardzero): Likewise.
19605 (cos_test_downward): Likewise.
19606 (cos_test_upward): Likewise.
19607 (cosh_test): Likewise.
19608 (cosh_test_tonearest): Likewise.
19609 (cosh_test_towardzero): Likewise.
19610 (cosh_test_downward): Likewise.
19611 (cosh_test_upward): Likewise.
19612 (cpow_test): Likewise.
19613 (cproj_test): Likewise.
19614 (creal_test): Likewise.
19615 (csin_test): Likewise.
19616 (csinh_test): Likewise.
19617 (csqrt_test): Likewise.
19618 (ctan_test): Likewise.
19619 (ctan_test_tonearest): Likewise.
19620 (ctan_test_towardzero): Likewise.
19621 (ctan_test_downward): Likewise.
19622 (ctan_test_upward): Likewise.
19623 (ctanh_test): Likewise.
19624 (ctanh_test_tonearest): Likewise.
19625 (ctanh_test_towardzero): Likewise.
19626 (ctanh_test_downward): Likewise.
19627 (ctanh_test_upward): Likewise.
19628 (erf_test): Likewise.
19629 (erfc_test): Likewise.
19630 (exp_test): Likewise.
19631 (exp_test_tonearest): Likewise.
19632 (exp_test_towardzero): Likewise.
19633 (exp_test_downward): Likewise.
19634 (exp_test_upward): Likewise.
19635 (exp10_test): Likewise.
19636 (exp10_test_tonearest): Likewise.
19637 (exp10_test_towardzero): Likewise.
19638 (exp10_test_downward): Likewise.
19639 (exp10_test_upward): Likewise.
19640 (pow10_test): Likewise.
19641 (exp2_test): Likewise.
19642 (expm1_test): Likewise.
19643 (expm1_test_tonearest): Likewise.
19644 (expm1_test_towardzero): Likewise.
19645 (expm1_test_downward): Likewise.
19646 (expm1_test_upward): Likewise.
19647 (fabs_test): Likewise.
19648 (fdim_test): Likewise.
19649 (floor_test): Likewise.
19650 (fma_test): Likewise.
19651 (fma_test_towardzero): Likewise.
19652 (fma_test_downward): Likewise.
19653 (fma_test_upward): Likewise.
19654 (fmax_test): Likewise.
19655 (fmin_test): Likewise.
19656 (fmod_test): Likewise.
19657 (fpclassify_test): Likewise.
19658 (frexp_test): Likewise.
19659 (hypot_test): Likewise.
19660 (ilogb_test): Likewise.
19661 (isfinite_test): Likewise.
19662 (finite_test): Likewise.
19663 (isgreater_test): Likewise.
19664 (isgreaterequal_test): Likewise.
19665 (isinf_test): Likewise.
19666 (isless_test): Likewise.
19667 (islessequal_test): Likewise.
19668 (islessgreater_test): Likewise.
19669 (isnan_test): Likewise.
19670 (isnormal_test): Likewise.
19671 (issignaling_test): Likewise.
19672 (isunordered_test): Likewise.
19673 (j0_test): Likewise.
19674 (j1_test): Likewise.
19675 (jn_test): Likewise.
19676 (ldexp_test): Likewise.
19677 (lgamma_test): Likewise.
19678 (gamma_test): Likewise.
19679 (lrint_test): Likewise.
19680 (lrint_test_tonearest): Likewise.
19681 (lrint_test_towardzero): Likewise.
19682 (lrint_test_downward): Likewise.
19683 (lrint_test_upward): Likewise.
19684 (llrint_test): Likewise.
19685 (llrint_test_tonearest): Likewise.
19686 (llrint_test_towardzero): Likewise.
19687 (llrint_test_downward): Likewise.
19688 (llrint_test_upward): Likewise.
19689 (log_test): Likewise.
19690 (log10_test): Likewise.
19691 (log1p_test): Likewise.
19692 (log2_test): Likewise.
19693 (logb_test): Likewise.
19694 (logb_test_downward): Likewise.
19695 (lround_test): Likewise.
19696 (llround_test): Likewise.
19697 (modf_test): Likewise.
19698 (nearbyint_test): Likewise.
19699 (nextafter_test): Likewise.
19700 (nexttoward_test): Likewise.
19701 (pow_test): Likewise.
19702 (pow_test_tonearest): Likewise.
19703 (pow_test_towardzero): Likewise.
19704 (pow_test_downward): Likewise.
19705 (pow_test_upward): Likewise.
19706 (remainder_test): Likewise.
19707 (drem_test): Likewise.
19708 (remainder_test_tonearest): Likewise.
19709 (drem_test_tonearest): Likewise.
19710 (remainder_test_towardzero): Likewise.
19711 (drem_test_towardzero): Likewise.
19712 (remainder_test_downward): Likewise.
19713 (drem_test_downward): Likewise.
19714 (remainder_test_upward): Likewise.
19715 (drem_test_upward): Likewise.
19716 (remquo_test): Likewise.
19717 (rint_test): Likewise.
19718 (rint_test_tonearest): Likewise.
19719 (rint_test_towardzero): Likewise.
19720 (rint_test_downward): Likewise.
19721 (rint_test_upward): Likewise.
19722 (round_test): Likewise.
19723 (scalb_test): Likewise.
19724 (scalbn_test): Likewise.
19725 (scalbln_test): Likewise.
19726 (signbit_test): Likewise.
19727 (sin_test): Likewise.
19728 (sin_test_tonearest): Likewise.
19729 (sin_test_towardzero): Likewise.
19730 (sin_test_downward): Likewise.
19731 (sin_test_upward): Likewise.
19732 (sincos_test): Likewise.
19733 (sinh_test): Likewise.
19734 (sinh_test_tonearest): Likewise.
19735 (sinh_test_towardzero): Likewise.
19736 (sinh_test_downward): Likewise.
19737 (sinh_test_upward): Likewise.
19738 (sqrt_test): Likewise.
19739 (sqrt_test_tonearest): Likewise.
19740 (sqrt_test_towardzero): Likewise.
19741 (sqrt_test_downward): Likewise.
19742 (sqrt_test_upward): Likewise.
19743 (tan_test): Likewise.
19744 (tan_test_tonearest): Likewise.
19745 (tan_test_towardzero): Likewise.
19746 (tan_test_downward): Likewise.
19747 (tan_test_upward): Likewise.
19748 (tanh_test): Likewise.
19749 (tgamma_test): Likewise.
19750 (trunc_test): Likewise.
19751 (y0_test): Likewise.
19752 (y1_test): Likewise.
19753 (yn_test): Likewise.
19754 (significand_test): Likewise.
19756 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
19757 individual tests in comment.
19758 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
19759 (prev_max_error): New variable.
19760 (prev_real_max_error): Likewise.
19761 (prev_imag_max_error): Likewise.
19762 (compare_ulp_data): Don't refer to test names in comment.
19763 (find_test_ulps): Remove function.
19764 (find_function_ulps): Likewise.
19765 (find_complex_function_ulps): Likewise.
19766 (init_max_error): Take function name as argument. Look up ulps
19768 (print_ulps): Remove function.
19769 (print_max_error): Use prev_max_error instead of calling
19770 find_function_ulps.
19771 (print_complex_max_error): Use prev_real_max_error and
19772 prev_imag_max_error instead of calling find_complex_function_ulps.
19773 (check_float_internal): Take max_ulp parameter instead of calling
19774 find_test_ulps. Don't call print_ulps.
19775 (check_float): Update call to check_float_internal.
19776 (check_complex): Update calls to check_float_internal.
19777 (START): Pass argument to init_max_error.
19778 * math/gen-libm-test.pl (%results): Don't include "kind"
19780 (parse_ulps): Don't handle ulps of individual tests.
19781 (print_ulps_file): Likewise.
19782 (output_ulps): Likewise.
19783 * math/README.libm-test: Update.
19784 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
19786 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
19787 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
19788 * sysdeps/arm/libm-test-ulps: Likewise.
19789 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19790 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
19791 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
19792 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
19793 * sysdeps/microblaze/libm-test-ulps: Likewise.
19794 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
19795 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19796 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19797 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
19798 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19799 * sysdeps/sh/libm-test-ulps: Likewise.
19800 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19801 * sysdeps/tile/libm-test-ulps: Likewise.
19802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19804 2014-03-04 Joseph Myers <joseph@codesourcery.com>
19806 * math/libm-test.inc (print_complex_max_error): Check separately
19807 whether real and imaginary errors are within allowed range and
19808 pass 0 to print_complex_function_ulps instead of value within
19811 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19813 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
19815 (get_handles_fopen): Likewise.
19816 (do_write_test): Likewise.
19818 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
19820 * libio/fileops.c (do_ftell): Use cached offset when
19822 * libio/iofwide.c (do_ftell_wide): Likewise.
19823 * libio/iofdopen.c (_IO_new_fdopen): Don't use
19825 * libio/wfileops.c (_IO_fwide): Don't cache offset.
19828 * libio/libioP.h (get_file_offset): New function.
19829 * libio/fileops.c (get_file_offset): Likewise.
19830 (do_ftell): Likewise.
19831 (_IO_new_file_seekoff): Split out ftell logic.
19832 * libio/wfileops.c (do_ftell_wide): Likewise.
19833 (_IO_wfile_seekoff): Split out ftell logic.
19834 * libio/tst-ftell-active-handler.c: New test case.
19835 * libio/Makefile (tests): Add it.
19837 2014-03-03 Roland McGrath <roland@hack.frob.com>
19839 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
19840 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
19842 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19845 * nscd/connections.c (nscd_init): Call do_exit.
19846 (start_threads): Call do_exit and notify_parent.
19847 (begin_drop_privileges): Call do_exit.
19848 (finish_drop_privileges): Likewise.
19849 * nscd/selinux.c (preserve_capabilities): Likewise.
19850 (install_real_capabilities): Likewise.
19851 (nscd_selinux_enabled): Likewise.
19852 (avc_create_thread): Likewise.
19853 (avc_alloc_lock): Likewise.
19854 (nscd_avc_init): Likewise.
19855 * nscd/nscd.c (parent_fd): New static variable.
19856 (main): Create a pipe between parent and child processes.
19857 Skip closing parent_fd.
19858 (monitor_child): New function.
19859 (do_exit): Likewise.
19860 (notify_parent): Likewise.
19861 * nscd/nscd.h (notify_parent): Likewise.
19862 (do_exit): Likewise.
19864 2014-03-03 Carlos O'Donell <carlos@redhat.com>
19866 * malloc/malloc.c (__libc_calloc): Revert last change.
19868 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19872 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19874 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
19875 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
19877 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19878 (__libc_ifunc_impl_list): Likewise.
19879 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
19880 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
19881 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
19882 * string/strrchr.c: Define STRRCHR.
19884 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
19886 * benchtest/bench-strtok.c (simple_strtok): Delete.
19887 (strtok_string): Use as benchmark.
19888 * string/strtok (STRTOK): New macro.
19890 2014-02-28 Carlos O'Donell <carlos@redhat.com>
19892 * manual/threads.texi: Add header and standard comments to all
19895 * elf/dl-lookup.c (check_match): New function.
19896 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
19897 (do_lookup_x): Remove nested function check_match. Use non-nested
19898 function check_match.
19900 2014-02-28 Roland McGrath <roland@hack.frob.com>
19902 * csu/Makefile (generated, before-compile): Use += rather than =.
19903 * catgets/Makefile (generated, generated-dirs): Likewise.
19904 * debug/Makefile (generated): Likewise.
19905 * dlfcn/Makefile (generated): Likewise.
19906 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
19907 * iconvdata/Makefile (before-compile, generated): Likewise.
19908 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
19909 * libio/Makefile (generated): Likewise.
19910 * malloc/Makefile (generated): Likewise.
19911 * manual/Makefile (generated, generated-dirs): Likewise.
19912 * misc/Makefile (generated): Likewise.
19913 * posix/Makefile (generated): Likewise.
19914 * resolv/Makefile (generated): Likewise.
19915 * sunrpc/Makefile (generated, generated-dirs): Likewise.
19916 * timezone/Makefile (generated, generated-dirs): Likewise.
19918 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
19920 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19922 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19923 power8 implementation.
19924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
19925 file: POWER8 llround ifunc implementation.
19926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19927 (__lllround): Add POWER8 implementation.
19928 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
19929 POWER8 llround implementation.
19931 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
19932 power8 implementation.
19933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
19934 file: POWER8 llrint ifunc implementation.
19935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
19936 Add POWER8 implementation.
19937 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
19938 POWER8 llrint implementation.
19940 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
19941 power8 implementation.
19942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
19943 file: POWER8 finite ifunc implementation.
19944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
19945 Add POWER8 implementation.
19946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
19948 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
19949 POWER8 finite implementation.
19950 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
19952 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
19953 power8 implementation.
19954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
19955 file: POWER8 isinf ifunc implementation.
19956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
19957 POWER8 implementation.
19958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
19960 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
19961 isinf implementation.
19962 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
19964 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19965 (INIT_ARCH): Add hwcap2 initialization.
19966 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19967 power8 implementation.
19968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
19969 file: POWER8 isnan ifunc implementation.
19970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
19971 POWER8 implementation.
19972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
19974 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
19975 isnan implementation.
19976 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
19978 2014-02-27 Joey Ye <joey.ye@arm.com>
19980 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19981 (_FP_NANFRAC_Q): Set to zero.
19983 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19986 * math/auto-libm-test-in: New test inputs.
19987 * math/auto-libm-test-out: Regenerate.
19988 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
19991 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19993 2014-02-27 Joseph Myers <joseph@codesourcery.com>
19995 * scripts/evaluate-test.sh: Take new argument indicating whether
19996 failure is expected.
19997 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
19998 indicating whether failure is expected.
19999 * conform/Makefile (test-xfail-run-conformtest): New variable.
20000 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
20002 * posix/Makefile (test-xfail-annexc): New variable.
20003 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
20005 2014-02-26 Joseph Myers <joseph@codesourcery.com>
20007 * argp/Makefile: Include Makeconfig immediately after defining
20009 * assert/Makefile: Likewise.
20010 * benchtests/Makefile: Likewise.
20011 * catgets/Makefile: Likewise.
20012 * conform/Makefile: Likewise.
20013 * crypt/Makefile: Likewise.
20014 * csu/Makefile: Likewise.
20015 (all): Remove target.
20016 * ctype/Makefile: Include Makeconfig immediately after defining
20018 * debug/Makefile: Likewise.
20019 * dirent/Makefile: Likewise.
20020 * dlfcn/Makefile: Likewise.
20021 * gmon/Makefile: Likewise.
20022 * gnulib/Makefile: Likewise.
20023 * grp/Makefile: Likewise.
20024 * gshadow/Makefile: Likewise.
20025 * hesiod/Makefile: Likewise.
20026 * hurd/Makefile: Likewise.
20027 (all): Remove target.
20028 * iconvdata/Makefile: Include Makeconfig immediately after
20030 * inet/Makefile: Likewise.
20031 * intl/Makefile: Likewise.
20032 * io/Makefile: Likewise.
20033 * libio/Makefile: Likewise.
20034 (all): Remove target.
20035 * locale/Makefile: Include Makeconfig immediately after defining
20037 * login/Makefile: Likewise.
20038 * mach/Makefile: Likewise.
20039 (all): Remove target.
20040 * malloc/Makefile: Include Makeconfig immediately after defining
20042 (all): Remove target.
20043 * manual/Makefile: Include Makeconfig immediately after defining
20045 * math/Makefile: Likewise.
20046 * misc/Makefile: Likewise.
20047 * nis/Makefile: Likewise.
20048 * nss/Makefile: Likewise.
20049 * po/Makefile: Likewise.
20050 (all): Remove target.
20051 * posix/Makefile: Include Makeconfig immediately after defining
20053 * pwd/Makefile: Likewise.
20054 * resolv/Makefile: Likewise.
20055 * resource/Makefile: Likewise.
20056 * rt/Makefile: Likewise.
20057 * setjmp/Makefile: Likewise.
20058 * shadow/Makefile: Likewise.
20059 * signal/Makefile: Likewise.
20060 * socket/Makefile: Likewise.
20061 * soft-fp/Makefile: Likewise.
20062 * stdio-common/Makefile: Likewise.
20063 * stdlib/Makefile: Likewise.
20064 * streams/Makefile: Likewise.
20065 * string/Makefile: Likewise.
20066 * sunrpc/Makefile: Likewise.
20067 (all): Remove target.
20068 * sysvipc/Makefile: Include Makeconfig immediately after defining
20070 * termios/Makefile: Likewise.
20071 * time/Makefile: Likewise.
20072 * timezone/Makefile: Likewise.
20073 (all): Remove target.
20074 * wcsmbs/Makefile: Include Makeconfig immediately after defining
20076 * wctype/Makefile: Likewise.
20078 2014-02-26 Steve Ellcey <sellcey@mips.com>
20080 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
20081 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
20082 (libc_feholdexcept_setround_mips): Ditto.
20083 (libc_feholdsetround): New.
20084 (libc_feholdsetroundf): New.
20085 (libc_feholdsetroundl): New.
20086 (libc_feupdateenv_test_mips): New.
20087 (libc_feupdateenv_test): New.
20088 (libc_feupdateenv_testf): New.
20089 (libc_feupdateenv_testl): New.
20090 (libc_feresetround): New.
20091 (libc_feresetroundf): New.
20092 (libc_feresetroundl): New.
20093 (libc_fetestexcept_mips): New.
20094 (libc_fetestexcept): New.
20095 (libc_fetestexceptf): New.
20096 (libc_fetestexceptl): New.
20097 (HAVE_RM_CTX): New.
20098 (libc_feholdexcept_setround_mips_ctx): New.
20099 (libc_feholdexcept_setround_ctx): New.
20100 (libc_feholdexcept_setroundf_ctx): New.
20101 (libc_feholdexcept_setroundl_ctx): New.
20102 (libc_fesetenv_mips_ctx): New.
20103 (libc_fesetenv_ctx): New.
20104 (libc_fesetenv_ctxf): New.
20105 (libc_fesetenv_ctxl): New.
20106 (libc_feupdateenv_mips_ctx): New.
20107 (libc_feupdateenv_ctx): New.
20108 (libc_feupdateenvf_ctx): New.
20109 (libc_feupdateenvl_ctx): New.
20110 (libc_feholdsetround_mips_ctx): New.
20111 (libc_feholdsetround_ctx): New.
20112 (libc_feholdsetroundf_ctx): New.
20113 (libc_feholdsetroundl_ctx): New.
20114 (libc_feresetround_mips_ctx): New.
20115 (libc_feresetround_ctx): New.
20116 (libc_feresetroundf_ctx): New.
20117 (libc_feresetroundl_ctx): New.
20119 2014-02-26 Carlos O'Donell <carlos@redhat.com>
20121 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
20123 * manual/ipc.texi: New file.
20124 * manual/Makefile (chapters): Add ipc.
20125 * manual/job.texi: Add "Inter-Process Communication" to next.
20126 * manual/process.texi: Add "Inter-Process Communication" to prev.
20128 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20132 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
20134 * malloc/malloc.c (__libc_calloc): Simplify implementation.
20136 * manual/arith.texi: Fix spaces after sentences.
20137 * manual/charset.texi: Likewise.
20138 * manual/errno.texi: Likewise.
20139 * manual/install.texi: Likewise.
20140 * manual/llio.texi: Likewise.
20141 * manual/locale.texi: Likewise.
20142 * manual/maint.texi: Likewise.
20143 * manual/math.texi: Likewise.
20144 * manual/memory.texi: Likewise.
20145 * manual/message.texi: Likewise.
20146 * manual/probes.texi: Likewise.
20147 * manual/resource.texi: Likewise.
20148 * manual/signal.texi: Likewise.
20149 * manual/socket.texi: Likewise.
20150 * manual/stdio.texi: Likewise.
20151 * manual/string.texi: Likewise.
20152 * manual/time.texi: Likewise.
20153 * manual/users.texi: Likewise.
20155 2014-02-25 Carlos O'Donell <carlos@redhat.com>
20158 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
20159 _DEFAULT_SOURCE is defined.
20161 2014-02-25 Ulrich Drepper <drepper@gmail.com>
20162 Carlos O'Donell <carlos@redhat.com>
20165 * elf/dl-tls.c (_dl_count_modids): New function.
20166 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
20167 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
20168 audit library and increment generation counter.
20169 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
20170 * elf/tst-audit9.c: New file.
20171 * elf/tst-auditmod9a.c: New file.
20172 * elf/tst-auditmod9b.c: New file.
20173 * elf/Makefile: Add rules to build and run tst-audit9.
20175 2014-02-25 Florian Weimer <fweimer@redhat.com>
20178 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
20180 2014-02-25 Will Newton <will.newton@linaro.org>
20182 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
20183 (__longjmp): Restore sp and lr before restoring callee
20184 saved registers. Add longjmp and longjmp_target
20185 SystemTap probe point.
20186 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
20187 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
20188 Define to zero to match jmpbuf layout.
20189 * sysdeps/arm/setjmp.S: Include stap-probe.h.
20190 (__sigsetjmp): Save sp and lr before saving callee
20191 saved registers. Add setjmp SystemTap probe point.
20193 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
20195 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20197 2014-02-24 Andreas Schwab <schwab@suse.de>
20200 * elf/pldd.c (wait_for_ptrace_stop): New function.
20201 (main): Call it after attaching.
20203 2014-02-22 Roland McGrath <roland@hack.frob.com>
20205 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
20206 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
20207 Versions files is now verboten.
20208 * hurd/Versions (libc: GLIBC_2.0):
20209 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
20210 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
20211 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
20212 * mach/Versions: Likewise.
20214 * csu/Versions: Remove unused %include.
20215 * resolv/Versions: Likewise.
20217 2014-02-21 Joseph Myers <joseph@codesourcery.com>
20219 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
20220 ($(objpfx)check-local-headers.out): Likewise.
20221 ($(objpfx)begin-end-check.out): Likewise.
20222 * Makerules (check-abi-%.out): Likewise.
20223 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
20224 ($(objpfx)test2.cat): Likewise.
20225 ($(objpfx)de/libc.cat): Likewise.
20226 ($(objpfx)test-gencat.out): Likewise.
20227 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
20228 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
20229 ($(objpfx)noload-mem): Likewise.
20230 ($(objpfx)tst-pathopt.out): Likewise.
20231 ($(objpfx)tst-rtld-load-self.out): Likewise.
20232 ($(objpfx)tst-array1-cmp.out): Likewise.
20233 ($(objpfx)tst-array1-static-cmp.out): Likewise.
20234 ($(objpfx)tst-array2-cmp.out): Likewise.
20235 ($(objpfx)tst-array3-cmp.out): Likewise.
20236 ($(objpfx)tst-array4-cmp.out): Likewise.
20237 ($(objpfx)tst-array5-cmp.out): Likewise.
20238 ($(objpfx)tst-array5-static-cmp.out): Likewise.
20239 ($(objpfx)check-textrel.out): Likewise.
20240 ($(objpfx)check-execstack.out): Likewise.
20241 ($(objpfx)check-localplt.out): Likewise.
20242 ($(objpfx)order2-cmp.out): Likewise.
20243 ($(objpfx)tst-leaks1-mem): Likewise.
20244 ($(objpfx)tst-leaks1-static-mem): Likewise.
20245 ($(objpfx)tst-initorder-cmp.out): Likewise.
20246 ($(objpfx)tst-initorder2-cmp.out): Likewise.
20247 ($(objpfx)tst-unused-dep.out): Likewise.
20248 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
20249 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
20250 * iconv/Makefile (test-iconvconfig): Likewise.
20251 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
20252 ($(objpfx)iconv-test.out): Likewise.
20253 ($(objpfx)tst-tables.out): Likewise.
20254 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
20255 ($(objpfx)tst-gettext.out): Likewise.
20256 ($(objpfx)tst-translit.out): Likewise.
20257 ($(objpfx)tst-gettext2.out): Likewise.
20258 ($(objpfx)tst-gettext4.out): Likewise.
20259 ($(objpfx)tst-gettext6.out): Likewise.
20260 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
20261 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
20262 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
20263 ($(objpfx)tst-fopenloc-mem.out): Likewise.
20264 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
20265 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
20266 * posix/Makefile ($(objpfx)globtest.out): Likewise.
20267 ($(objpfx)wordexp-tst.out): Likewise.
20268 ($(objpfx)annexc.out): Likewise.
20269 ($(objpfx)tst-fnmatch-mem): Likewise.
20270 ($(objpfx)bug-regex2-mem): Likewise.
20271 ($(objpfx)bug-regex14-mem): Likewise.
20272 ($(objpfx)bug-regex21-mem): Likewise.
20273 ($(objpfx)bug-regex31-mem): Likewise.
20274 ($(objpfx)tst-vfork3-mem): Likewise.
20275 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20276 ($(objpfx)tst-pcre-mem): Likewise.
20277 ($(objpfx)tst-boost-mem): Likewise.
20278 ($(objpfx)tst-getconf.out): Likewise.
20279 ($(objpfx)bug-ga2-mem): Likewise.
20280 ($(objpfx)bug-glob2-mem): Likewise.
20281 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
20282 ($(objpfx)mtrace-tst-leaks2): Likewise.
20283 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
20284 ($(objpfx)tst-printf.out): Likewise.
20285 ($(objpfx)tst-setvbuf1.out): Likewise.
20286 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
20287 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
20288 ($(objpfx)tst-fmtmsg.out): Likewise.
20289 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
20290 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
20292 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
20293 * bits/sigaction.h [__USE_MISC]: Likewise.
20294 * bits/waitstatus.h: Update #endif comments.
20295 * ctype/ctype.h: Likewise.
20296 * dirent/dirent.h: Likewise.
20297 [__USE_MISC]: Remove redundant conditionals.
20298 * grp/grp.h: Update #endif comments.
20299 [__USE_GNU]: Remove redundant conditionals.
20300 [__USE_MISC]: Likewise.
20301 * inet/netinet/in.h [__USE_GNU]: Likewise.
20302 * io/sys/stat.h [__USE_MISC]: Likewise.
20303 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
20304 * libio/bits/stdio.h: Update #endif comments.
20305 [__USE_MISC]: Remove redundant conditionals.
20306 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
20307 * libio/stdio.h: Update #endif comments.
20308 [__USE_MISC]: Remove redundant conditionals.
20309 * math/bits/math-finite.h [__USE_MISC]: Likewise.
20310 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
20311 * math/math.h: Update #else and #endif comments.
20312 [__USE_MISC]: Remove redundant conditionals.
20313 * misc/sys/uio.h: Update #endif comments.
20314 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
20315 * posix/glob.h [__USE_MISC]: Likewise.
20316 * posix/sys/types.h: Update #endif comments.
20317 [__USE_MISC]: Remove redundant conditionals.
20318 * posix/sys/wait.h: Update #endif comments.
20319 [__USE_MISC]: Remove redundant conditionals.
20320 * posix/unistd.h: Update #endif comments.
20321 [__USE_MISC]: Remove redundant conditionals.
20322 * pwd/pwd.h [__USE_GNU]: Likewise.
20323 [__USE_MISC]: Likewise.
20324 * resolv/netdb.h [__USE_GNU]: Likewise.
20325 * signal/signal.h: Update #endif comments.
20326 [__USE_MISC]: Remove redundant conditionals.
20327 * stdlib/stdlib.h: Update #else and #endif comments.
20328 [__USE_MISC]: Remove redundant conditionals.
20329 [__USE_GNU]: Likewise.
20330 * string/bits/string2.h [__USE_MISC]: Likewise.
20331 * string/string.h: Update #endif comments.
20332 [__USE_MISC]: Remove redundant conditionals.
20333 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
20335 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
20336 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
20337 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
20339 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
20341 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
20343 [__USE_MISC]: Remove redundant conditionals.
20344 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
20345 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
20346 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
20347 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
20348 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
20350 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
20351 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
20353 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
20354 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
20356 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
20358 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
20359 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
20361 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
20363 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
20364 * sysdeps/x86/bits/string.h: Update #endif comments.
20365 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
20367 * time/sys/time.h: Update #endif comments.
20368 * time/time.h: Likewise.
20369 [__USE_MISC]: Remove redundant conditionals.
20371 2014-02-21 Yury Gribov <y.gribov@samsung.com>
20374 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
20376 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
20378 * Versions.def (librt): Add GLIBC_2.17.
20380 2014-02-21 Adam Conrad <adconrad@0c3.net>
20382 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
20383 synonym for _SYS_AUXV_H to allow direct inclusion.
20384 * sysdeps/sparc/bits/hwcap.h: Likewise.
20385 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
20386 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
20387 * sysdeps/sparc/sysdep.h: Likewise.
20389 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20391 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
20393 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20395 * benchtests/bench-strrchr.c: Print length instead of position.
20397 2014-02-20 Joseph Myers <joseph@codesourcery.com>
20400 * sysdeps/unix/sysv/linux/kernel-features.h
20401 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
20402 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
20403 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
20404 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
20406 [__i386__ || __powerpc__ || __sh__ || __sparc__]
20407 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20408 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
20409 (__ASSUME_SENDMMSG): Define instead of using previous
20410 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
20411 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20412 (__ASSUME_SENDMMSG_SYSCALL): Define.
20413 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20414 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
20416 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20417 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20419 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20420 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20422 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
20423 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20424 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20425 [__ASSUME_SENDMMSG]: Change conditionals to
20426 [__ASSUME_SENDMMSG_SOCKETCALL].
20427 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20428 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
20430 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20431 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
20433 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
20434 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20435 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20436 [!__ASSUME_SENDMMSG]: Change conditional to
20437 [!__ASSUME_SENDMMSG_SOCKETCALL].
20438 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20439 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20443 * sysdeps/unix/sysv/linux/kernel-features.h
20444 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
20445 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
20446 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
20447 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
20448 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20449 [__i386__ || __sparc__]
20450 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20451 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
20452 (__ASSUME_RECVMMSG): Define instead of using previous
20453 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
20454 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20455 (__ASSUME_RECVMMSG_SYSCALL): Define.
20456 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20457 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20459 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20460 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20462 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20463 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20465 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
20466 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20467 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20468 [__ASSUME_RECVMMSG]: Change condition to
20469 [__ASSUME_RECVMMSG_SOCKETCALL].
20470 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20471 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20473 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20474 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20475 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20477 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
20478 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20479 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20480 [!__ASSUME_RECVMMSG]: Change condition to
20481 [!__ASSUME_RECVMMSG_SOCKETCALL].
20482 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20483 (__ASSUME_RECVMMSG_SYSCALL): Define.
20486 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
20487 __powerpc__ || __s390__ || __sh__ || __sparc__]
20488 (__ASSUME_SOCKETCALL): Define.
20489 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
20490 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
20491 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
20492 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
20493 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20494 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
20495 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
20496 (__ASSUME_ACCEPT4): Define instead of using previous
20497 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
20498 __powerpc__ || __sparc__ || __s390__)] condition.
20499 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20500 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20501 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
20502 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20503 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20504 [!__ASSUME_ACCEPT4]: Change condition to
20505 [!__ASSUME_ACCEPT4_SOCKETCALL].
20506 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20507 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
20508 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
20509 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20510 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
20511 __ASSUME_ACCEPT4_SYSCALL.
20512 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
20513 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
20514 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20515 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
20516 __ASSUME_ACCEPT4_SYSCALL.
20517 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
20518 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20519 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20520 [__ASSUME_ACCEPT4]: Change condition to
20521 [__ASSUME_ACCEPT4_SOCKETCALL].
20522 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20523 (__ASSUME_SOCKETCALL): Define.
20524 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
20525 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20526 (__ASSUME_SOCKETCALL): Define.
20527 (__ASSUME_ACCEPT4): Remove.
20528 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
20530 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20531 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
20533 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20534 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20536 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
20538 (HWCAP_ARM_LPAE): Likewise.
20539 (HWCAP_ARM_EVTSTRM): Likewise.
20540 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
20541 Add vpfd32, lpae and evtstrm.
20542 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
20545 2014-02-19 Joseph Myers <joseph@codesourcery.com>
20547 * math/auto-libm-test-in: Add tests of clog10.
20548 * math/auto-libm-test-out: Regenerated.
20549 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
20550 * sysdeps/i386/fpu/libm-test-ulps: Update.
20551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20553 2014-02-18 Andreas Schwab <schwab@suse.de>
20556 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
20557 Store non-zero if the second buffer was newly allocated.
20558 (send_dg): Likewise.
20559 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
20560 to send_vc and send_dg.
20561 (res_nsend): Pass NULL for ansp2_malloced.
20562 * resolv/res_query.c (__libc_res_nquery): Add parameter
20563 answerp2_malloced and pass it down to __libc_res_nsend.
20564 (res_nquery): Pass additional NULL to __libc_res_nquery.
20565 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
20566 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
20567 second answer buffer if answerp2_malloced was set.
20568 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
20569 (__libc_res_nquerydomain): Add parameter
20570 answerp2_malloced and pass it down to __libc_res_nquery.
20571 (res_nquerydomain): Pass additional NULL to
20572 __libc_res_nquerydomain.
20573 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
20574 additional NULL to __libc_res_nsend and __libc_res_nquery.
20575 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
20576 additional NULL to __libc_res_nsearch.
20577 (_nss_dns_gethostbyname4_r): Revert last change. Use new
20578 parameter of __libc_res_nsearch to check for separately allocated
20580 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
20582 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
20583 additional NULL to __libc_res_nquery.
20584 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
20585 __libc_res_nsearch.
20586 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
20587 * include/resolv.h: Update prototypes of __libc_res_nquery,
20588 __libc_res_nsearch, __libc_res_nsend.
20590 2014-02-18 Joseph Myers <joseph@codesourcery.com>
20592 * math/auto-libm-test-in: Add tests of fma.
20593 * math/auto-libm-test-out: Regenerated.
20594 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
20595 (fma_towardzero_test_data): Likewise.
20596 (fma_downward_test_data): Likewise.
20597 (fma_upward_test_data): Likewise.
20598 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
20600 (rounding_modes): Add values for new field.
20601 (func_calc_method): Add value mpfr_fff_f.
20602 (func_calc_desc): Add mpfr_fff_f union field.
20603 (test_function): Add field exact_args.
20604 (FUNC): Add macro argument EXACT_ARGS.
20605 (FUNC_mpfr_f_f): Update call to FUNC.
20606 (FUNC_mpfr_f_f): Likewise.
20607 (FUNC_mpfr_ff_f): Likewise.
20608 (FUNC_mpfr_if_f): Likewise.
20609 (FUNC_mpc_c_f): Likewise.
20610 (FUNC_mpc_c_c): Likewise.
20611 (test_functions): Add fma. Update calls to FUNC.
20612 (handle_input_arg): Add argument exact_args.
20613 (add_test): Update call to handle_input_arg.
20614 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
20615 (output_for_one_input_case): Update call to calc_generic_results.
20616 Recalculate exact zero results in each rounding mode.
20618 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
20619 non-negative before setting low bit.
20620 * math/auto-libm-test-in: Mark one asin test possibly having
20621 spurious underflow.
20622 * math/auto-libm-test-out: Regenerated.
20623 * sysdeps/i386/fpu/libm-test-ulps: Update.
20624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20626 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
20628 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
20629 * sysdeps/unix/sysv/linux/microblaze: Move directory from
20630 ports/sysdeps/unix/sysv/linux/microblaze.
20631 * README: Add missing listing for microblaze*-*-linux-gnu.
20633 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
20635 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
20638 2014-02-16 Mike Frysinger <vapier@gentoo.org>
20640 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
20641 * sysdeps/unix/sysv/linux/ia64: Move directory from
20642 ports/sysdeps/unix/sysv/linux/ia64.
20643 * README: Update listing for ia64-*-linux-gnu.
20645 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
20646 Joseph Myers <joseph@codesourcery.com>
20648 * Makeconfig (test-name): New variable.
20649 (evaluate-test): Likewise.
20650 * Makerules (do-test-clean): Remove .test-result files.
20651 (common-mostlyclean): Likewise.
20652 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
20653 * scripts/evaluate-test.sh: New file.
20655 2014-02-14 Joseph Myers <joseph@codesourcery.com>
20657 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
20658 separate $(objpfx)tst-fopenloc-cmp.out and
20659 $(objpfx)tst-fopenloc-mem.out targets.
20660 (tests): Update dependencies.
20661 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
20662 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
20663 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
20664 (tst-rxspencer-no-utf8-ARGS): New variable.
20665 (tst-rxspencer-no-utf8-ENV): Likewise.
20666 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
20667 instead of $(objpfx)tst-rxspencer-mem.
20668 ($(objpfx)tst-rxspencer-mem): Change target to
20669 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
20670 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
20671 * posix/tst-rxspencer-no-utf8.c: New file.
20673 * elf/Makefile ($(objpfx)order.out): Remove rule.
20674 [$(run-built-tests) = yes] (tests): Depend on
20675 $(objpfx)order-cmp.out.
20676 ($(objpfx)order-cmp.out): New rule.
20677 [$(run-built-tests) = yes] (tests): Depend on
20678 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
20679 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
20680 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
20681 $(objpfx)tst-array5-static-cmp.out.
20682 ($(objpfx)tst-array1.out): Remove rule.
20683 ($(objpfx)tst-array1-cmp.out): New rule.
20684 ($(objpfx)tst-array1-static.out): Remove rule.
20685 ($(objpfx)tst-array1-static-cmp.out): New rule.
20686 ($(objpfx)tst-array2.out): Remove rule.
20687 ($(objpfx)tst-array2-cmp.out): New rule.
20688 ($(objpfx)tst-array3.out): Remove rule.
20689 ($(objpfx)tst-array3-cmp.out): New rule.
20690 ($(objpfx)tst-array4.out): Remove rule.
20691 ($(objpfx)tst-array4-cmp.out): New rule.
20692 ($(objpfx)tst-array5.out): Remove rule.
20693 ($(objpfx)tst-array5-cmp.out): New rule.
20694 ($(objpfx)tst-array5-static.out): Remove rule.
20695 ($(objpfx)tst-array5-static-cmp.out): New rule.
20696 [$(run-built-tests) = yes] (tests): Depend on
20697 $(objpfx)order2-cmp.out.
20698 ($(objpfx)order2.out): Remove rule.
20699 ($(objpfx)order2-cmp.out): New rule.
20700 ($(objpfx)tst-initorder.out): Remove rule.
20701 [$(run-built-tests) = yes] (tests): Depend on
20702 $(objpfx)tst-initorder-cmp.out.
20703 ($(objpfx)tst-initorder-cmp.out): New rule.
20704 ($(objpfx)tst-initorder2.out): Remove rule.
20705 [$(run-built-tests) = yes] (tests): Depend on
20706 $(objpfx)tst-initorder2-cmp.out.
20707 ($(objpfx)tst-initorder2-cmp.out): New rule.
20708 [$(run-built-tests) = yes] (tests): Depend on
20709 $(objpfx)tst-unused-dep-cmp.out.
20710 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
20711 ($(objpfx)tst-unused-dep-cmp.out): New rule.
20712 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
20713 on $(objpfx)tst-setvbuf1-cmp.out.
20714 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
20715 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
20716 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
20717 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
20718 ($(objpfx)tst-svc.out): Remove rule.
20719 ($(objpfx)tst-svc-cmp.out): New rule.
20721 2014-02-13 Joseph Myers <joseph@codesourcery.com>
20723 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
20724 * ctype/ctype.h [__USE_MISC]: Likewise.
20725 * dirent/dirent.h [__USE_MISC]: Likewise.
20726 * grp/grp.h [__USE_MISC]: Likewise.
20727 * io/fcntl.h [__USE_MISC]: Likewise.
20728 * io/sys/stat.h [__USE_MISC]: Likewise.
20729 * libio/stdio.h [__USE_MISC]: Likewise.
20730 * posix/unistd.h [__USE_MISC]: Likewise.
20731 * pwd/pwd.h [__USE_MISC]: Likewise.
20732 * stdlib.h [__USE_MISC]: Likewise.
20733 * string/bits/string2.h [__USE_MISC]: Likewise.
20734 * string/string.h [__USE_MISC]: Likewise.
20735 * time/time.h [__USE_MISC]: Likewise.
20737 2014-02-13 Andreas Schwab <schwab@suse.de>
20740 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
20741 second answer buffer if it was separately allocated.
20743 2014-02-12 Joseph Myers <joseph@codesourcery.com>
20745 * sysdeps/mips/math-tests.h: Include <features.h>.
20746 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20747 (ROUNDING_TESTS_long_double): Do not define.
20748 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20749 (EXCEPTION_TESTS_long_double): Likewise.
20750 * sysdeps/mips/mips64/libm-test-ulps: Update.
20752 * include/features.h (__USE_BSD): Remove macro definitions.
20753 (__USE_SVID): Likewise.
20754 (_BSD_SOURCE): Likewise.
20755 (_SVID_SOURCE): Likewise.
20756 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
20757 from definition of _DEFAULT_SOURCE.
20758 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
20760 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
20761 * bits/mman.h [__USE_BSD]: Likewise.
20762 * bits/termios.h [__USE_BSD]: Likewise.
20763 * bits/waitstatus.h [__USE_BSD]: Likewise.
20764 * ctype/ctype.h [__USE_SVID]: Likewise.
20765 * dirent/dirent.h [__USE_BSD]: Likewise.
20766 * grp/grp.h [__USE_SVID]: Likewise.
20767 [__USE_BSD]: Likewise.
20768 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
20769 * io/fcntl.h [__USE_BSD]: Likewise.
20770 * io/ftw.h [__USE_BSD]: Likewise.
20771 * io/sys/stat.h [__USE_BSD]: Likewise.
20772 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
20773 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
20774 * libio/stdio.h [__USE_SVID]: Likewise.
20775 [__USE_BSD]: Likewise.
20776 * math/math.h [__USE_SVID]: Likewise.
20777 [__USE_BSD]: Likewise.
20778 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
20779 * misc/bits/syslog.h [__USE_BSD]: Likewise.
20780 * misc/search.h [__USE_SVID]: Likewise.
20781 * misc/sys/mman.h [__USE_BSD]: Likewise.
20782 * misc/sys/syslog.h [__USE_BSD]: Likewise.
20783 * misc/sys/uio.h [__USE_BSD]: Likewise.
20784 * posix/bits/unistd.h [__USE_BSD]: Likewise.
20785 * posix/glob.h [__USE_BSD]: Likewise.
20786 * posix/regex.h [__USE_BSD]: Likewise.
20787 * posix/sys/types.h [__USE_BSD]: Likewise.
20788 [__USE_SVID]: Likewise.
20789 * posix/sys/utsname.h [__USE_SVID]: Likewise.
20790 * posix/sys/wait.h [__USE_BSD]: Likewise.
20791 [__USE_SVID]: Likewise.
20792 * posix/unistd.h [__USE_BSD]: Likewise.
20793 [__USE_SVID]: Likewise.
20794 * pwd/pwd.h [__USE_SVID]: Likewise.
20795 * resolv/netdb.h [__USE_BSD]: Likewise.
20796 * setjmp/setjmp.h [__USE_BSD]: Likewise.
20797 * signal/signal.h [__USE_BSD]: Likewise.
20798 [__USE_SVID]: Likewise.
20799 * socket/sys/socket.h [__USE_BSD]: Likewise.
20800 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
20801 * stdlib/stdlib.h [__USE_BSD]: Likewise.
20802 [__USE_SVID]: Likewise.
20803 * string/bits/string2.h [__USE_BSD]: Likewise.
20804 [__USE_SVID]: Likewise.
20805 * string/bits/string3.h [__USE_BSD]: Likewise.
20806 * string/endian.h [__USE_BSD]: Likewise.
20807 * string/string.h [__USE_SVID]: Likewise.
20808 [__USE_BSD]: Likewise.
20809 * string/strings.h [__USE_BSD]: Likewise.
20810 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
20811 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
20812 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
20813 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
20814 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
20815 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
20817 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
20819 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
20820 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
20822 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
20823 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
20825 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
20827 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
20828 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
20829 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
20831 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
20833 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
20834 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
20835 * termios/termios.h [__USE_BSD]: Likewise.
20836 * time/sys/time.h [__USE_BSD]: Likewise.
20837 * time/time.h [__USE_BSD]: Likewise.
20838 [__USE_SVID]: Likewise.
20840 * Makefile (subdir_targets): Remove subdir_lint.out.
20842 * stdio-common/Makefile (do-tst-unbputc): Remove target.
20843 (do-tst-printf): Likewise.
20844 (tests): Depend directly on $(objpfx)tst-unbputc.out and
20845 $(objpfx)tst-printf.out.
20847 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
20849 * Makerules (check-abi-%): Change target to
20850 $(objpfx)check-abi-%.out.
20851 (check-abi target): Update dependencies.
20852 (check-abi-pattern variable): Redirect output of diff to $@.
20853 (check-abi variable): Likewise.
20854 * elf/Makefile (check-abi): Update dependencies.
20856 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
20858 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
20859 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
20861 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
20862 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
20863 value has largest subnormal exponent.
20864 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
20865 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
20866 * sysdeps/aarch64/soft-fp/sfp-machine.h
20867 (_FP_TININESS_AFTER_ROUNDING): New macro.
20868 * sysdeps/alpha/soft-fp/sfp-machine.h
20869 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20870 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20872 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
20873 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20874 * sysdeps/mips/soft-fp/sfp-machine.h
20875 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20876 * sysdeps/powerpc/soft-fp/sfp-machine.h
20877 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20878 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20880 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20881 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20882 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20883 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20884 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20887 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
20890 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
20893 2014-02-12 Richard Henderson <rth@redhat.com>
20895 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
20896 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
20897 * sysdeps/unix/sysv/linux/alpha: Move directory from
20898 ports/sysdeps/unix/sysv/linux/alpha.
20899 * README: Update listing for alpha-*-linux-gnu.
20901 2014-02-11 Joseph Myers <joseph@codesourcery.com>
20903 * include/features.h: Update comment documenting feature test
20905 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
20907 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
20908 (_SVID_SOURCE): Likewise.
20909 (_DEFAULT_SOURCE): Update description of default features.
20910 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
20912 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
20913 (S_ISVTX): Likewise.
20914 * manual/math.texi (Mathematical Constants): Likewise.
20915 * manual/signal.texi (Interrupted Primitives): Likewise.
20916 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
20917 * math/test-matherr.c (_SVID_SOURCE): Do not define.
20918 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
20919 Don't refer to _SVID_SOURCE in warning text.
20921 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20923 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
20925 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
20926 * sysdeps/mips/dl-lookup.c: Remove.
20927 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
20929 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20932 * math/auto-libm-test-in: Add testcase for expl.
20933 * math/auto-libm-test-out: Regenerate.
20934 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
20935 calculation of unsafe.
20936 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
20938 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
20940 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
20941 * sysdeps/unix/sysv/linux/aarch64: Move directory from
20942 ports/sysdeps/unix/sysv/linux/aarch64.
20943 * README: Update listing for aarch64*-*-linux-gnu.
20945 2014-02-11 Will Newton <will.newton@linaro.org>
20947 * manual/probes.texi (Mathematical Function Probes): Use
20948 "triggered" instead of "hit".
20950 * manual/probes.texi (Internal Probes): Add documentation
20951 of setjmp, longjmp and longjmp_target probes.
20953 * include/stap-probe.h: Add comment about probe argument
20956 * malloc/mtrace.c (attribute_hidden): Remove unused macro
20957 definition. (tr_where, tr_freehook, tr_mallochook,
20958 tr_reallochook, tr_memalignhook): Use ANSI protoype.
20960 2014-02-11 David S. Miller <davem@davemloft.net>
20962 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
20963 processing int_tests.
20965 2014-02-10 Joseph Myers <joseph@codesourcery.com>
20967 * sysdeps/mips: Move directory from ports/sysdeps/mips.
20968 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
20969 * sysdeps/unix/sysv/linux/mips: Move directory from
20970 ports/sysdeps/unix/sysv/linux/mips.
20971 * README: Update listing for mips-*-linux-gnu and
20972 mips64-*-linux-gnu.
20974 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
20976 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
20977 * sysdeps/unix/sysv/linux/m68k: Move directory from
20978 ports/sysdeps/unix/sysv/linux/m68k.
20979 * README: Update listing for m68k-*-linux-gnu.
20981 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
20983 * sysdeps/tile: Move directory from ports/sysdeps/tile.
20984 * sysdeps/unix/sysv/linux/generic: Move directory from
20985 ports/sysdeps/unix/sysv/linux/generic.
20986 * sysdeps/unix/sysv/linux/tile: Move directory from
20987 ports/sysdeps/unix/sysv/linux/tile.
20988 * README: Update listing for tile*-*-linux-gnu.
20990 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
20992 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
20994 * benchtests/bench-memmem.c (simple_memmem): Likewise.
20995 * catgets/open_catalog.c (__open_catalog): Likewise.
20996 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
20997 * debug/confstr_chk.c: Likewise.
20998 * debug/fread_chk.c (__fread_chk): Likewise.
20999 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
21000 * debug/getgroups_chk.c: Likewise.
21001 * debug/mbsnrtowcs_chk.c: Likewise.
21002 * debug/mbsrtowcs_chk.c: Likewise.
21003 * debug/mbstowcs_chk.c: Likewise.
21004 * debug/memcpy_chk.c: Likewise.
21005 * debug/memmove_chk.c: Likewise.
21006 * debug/mempcpy_chk.c: Likewise.
21007 * debug/memset_chk.c: Likewise.
21008 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21009 * debug/strcat_chk.c (__strcat_chk): Likewise.
21010 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
21011 * debug/strncat_chk.c (__strncat_chk): Likewise.
21012 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
21013 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
21014 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
21015 * debug/wcpncpy_chk.c: Likewise.
21016 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21017 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
21018 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
21019 * debug/wcsncpy_chk.c: Likewise.
21020 * debug/wcsnrtombs_chk.c: Likewise.
21021 * debug/wcsrtombs_chk.c: Likewise.
21022 * debug/wcstombs_chk.c: Likewise.
21023 * debug/wmemcpy_chk.c: Likewise.
21024 * debug/wmemmove_chk.c: Likewise.
21025 * debug/wmempcpy_chk.c: Likewise.
21026 * debug/wmemset_chk.c: Likewise.
21027 * dirent/scandirat.c (SCANDIRAT): Likewise.
21028 * dlfcn/dladdr1.c (dladdr1): Likewise.
21029 * dlfcn/dladdr.c (dladdr): Likewise.
21030 * dlfcn/dlclose.c (dlclose_doit): Likewise.
21031 * dlfcn/dlerror.c (__dlerror): Likewise.
21032 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
21033 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
21034 * dlfcn/dlopen.c (dlopen_doit): Likewise.
21035 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21036 * dlfcn/dlsym.c (dlsym_doit): Likewise.
21037 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
21038 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
21039 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
21041 * elf/dl-conflict.c: Likewise.
21042 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
21043 * elf/dl-dst.h: Likewise.
21044 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
21045 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
21046 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
21047 * elf/dl-init.c (call_init, _dl_init): Likewise.
21048 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
21049 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
21050 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
21052 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
21054 * elf/dl-minimal.c (__libc_memalign): Likewise.
21055 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
21056 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21057 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
21058 * elf/dl-sym.c (do_sym): Likewise.
21059 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
21060 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
21061 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
21062 * elf/dl-writev.h (_dl_writev): Likewise.
21063 * elf/ldconfig.c (search_dir): Likewise.
21064 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
21065 (dl_main): Likewise.
21066 * elf/setup-vdso.h (setup_vdso): Likewise.
21067 * grp/compat-initgroups.c (compat_call): Likewise.
21068 * grp/fgetgrent.c (fgetgrent): Likewise.
21069 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
21070 * grp/putgrent.c (putgrent): Likewise.
21071 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21073 * hurd/hurdinit.c: Likewise.
21074 * iconvdata/8bit-gap.c (struct): Likewise.
21075 * iconvdata/ansi_x3.110.c : Likewise.
21076 * iconvdata/big5.c : Likewise.
21077 * iconvdata/big5hkscs.c : Likewise.
21078 * iconvdata/cp1255.c: Likewise.
21079 * iconvdata/cp1258.c : Likewise.
21080 * iconvdata/cp932.c : Likewise.
21081 * iconvdata/euc-cn.c: Likewise.
21082 * iconvdata/euc-jisx0213.c : Likewise.
21083 * iconvdata/euc-jp.c: Likewise.
21084 * iconvdata/euc-jp-ms.c : Likewise.
21085 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
21086 * iconvdata/gb18030.c : Likewise.
21087 * iconvdata/gbbig5.c (const): Likewise.
21088 * iconvdata/gbgbk.c: Likewise.
21089 * iconvdata/gbk.c : Likewise.
21090 * iconvdata/ibm1364.c : Likewise.
21091 * iconvdata/ibm930.c : Likewise.
21092 * iconvdata/ibm932.c: Likewise.
21093 * iconvdata/ibm933.c : Likewise.
21094 * iconvdata/ibm935.c : Likewise.
21095 * iconvdata/ibm937.c : Likewise.
21096 * iconvdata/ibm939.c : Likewise.
21097 * iconvdata/ibm943.c: Likewise.
21098 * iconvdata/iso_11548-1.c: Likewise.
21099 * iconvdata/iso-2022-cn.c : Likewise.
21100 * iconvdata/iso-2022-cn-ext.c : Likewise.
21101 * iconvdata/iso-2022-jp-3.c: Likewise.
21102 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
21103 * iconvdata/iso-2022-kr.c : Likewise.
21104 * iconvdata/iso646.c (gconv_end): Likewise.
21105 * iconvdata/iso_6937-2.c : Likewise.
21106 * iconvdata/iso_6937.c : Likewise.
21107 * iconvdata/iso8859-1.c: Likewise.
21108 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
21109 * iconvdata/shift_jisx0213.c : Likewise.
21110 * iconvdata/sjis.c : Likewise.
21111 * iconvdata/t.61.c : Likewise.
21112 * iconvdata/tcvn5712-1.c : Likewise.
21113 * iconvdata/tscii.c: Likewise.
21114 * iconvdata/uhc.c : Likewise.
21115 * iconvdata/unicode.c (gconv_end): Likewise.
21116 * iconvdata/utf-16.c (gconv_end): Likewise.
21117 * iconvdata/utf-32.c (gconv_end): Likewise.
21118 * iconvdata/utf-7.c (base64): Likewise.
21119 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
21120 * iconv/gconv_close.c (__gconv_close): Likewise.
21121 * iconv/gconv_open.c (__gconv_open): Likewise.
21122 * iconv/gconv_simple.c (internal_ucs4_loop_single)
21123 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
21124 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
21125 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
21126 (ucs4le_internal_loop_single): Likewise.
21127 * iconv/iconv.c (iconv): Likewise.
21128 * iconv/iconv_close.c: Likewise.
21129 * iconv/loop.c (SINGLE): Likewise.
21130 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
21131 * include/atomic.h: Likewise.
21132 * inet/inet6_option.c (option_alloc): Likewise.
21133 * intl/bindtextdom.c (set_binding_values): Likewise.
21134 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
21135 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
21136 * intl/localealias.c (read_alias_file): Likewise.
21137 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21138 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
21139 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
21140 * libio/fmemopen.c (fmemopen): Likewise.
21141 * libio/iofgets.c (_IO_fgets): Likewise.
21142 * libio/iofgets_u.c (fgets_unlocked): Likewise.
21143 * libio/iofgetws.c (fgetws): Likewise.
21144 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
21145 * libio/iogetdelim.c (_IO_getdelim): Likewise.
21146 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
21147 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
21148 * locale/findlocale.c (_nl_find_locale): Likewise.
21149 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
21150 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
21152 * locale/setlocale.c (setlocale): Likewise.
21153 * login/programs/pt_chown.c (main): Likewise.
21154 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
21155 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
21156 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
21157 (mmap, mmap64, mremap, munmap): Likewise.
21158 * math/e_exp2l.c: Likewise.
21159 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
21160 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
21161 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
21162 * math/s_catan.c (__catan): Likewise.
21163 * math/s_catanf.c (__catanf): Likewise.
21164 * math/s_catanh.c (__catanh): Likewise.
21165 * math/s_catanhf.c (__catanhf): Likewise.
21166 * math/s_catanhl.c (__catanhl): Likewise.
21167 * math/s_catanl.c (__catanl): Likewise.
21168 * math/s_ccosh.c (__ccosh): Likewise.
21169 * math/s_ccoshf.c (__ccoshf): Likewise.
21170 * math/s_ccoshl.c (__ccoshl): Likewise.
21171 * math/s_cexp.c (__cexp): Likewise.
21172 * math/s_cexpf.c (__cexpf): Likewise.
21173 * math/s_cexpl.c (__cexpl): Likewise.
21174 * math/s_clog10.c (__clog10): Likewise.
21175 * math/s_clog10f.c (__clog10f): Likewise.
21176 * math/s_clog10l.c (__clog10l): Likewise.
21177 * math/s_clog.c (__clog): Likewise.
21178 * math/s_clogf.c (__clogf): Likewise.
21179 * math/s_clogl.c (__clogl): Likewise.
21180 * math/s_csin.c (__csin): Likewise.
21181 * math/s_csinf.c (__csinf): Likewise.
21182 * math/s_csinh.c (__csinh): Likewise.
21183 * math/s_csinhf.c (__csinhf): Likewise.
21184 * math/s_csinhl.c (__csinhl): Likewise.
21185 * math/s_csinl.c (__csinl): Likewise.
21186 * math/s_csqrt.c (__csqrt): Likewise.
21187 * math/s_csqrtf.c (__csqrtf): Likewise.
21188 * math/s_csqrtl.c (__csqrtl): Likewise.
21189 * math/s_ctan.c (__ctan): Likewise.
21190 * math/s_ctanf.c (__ctanf): Likewise.
21191 * math/s_ctanh.c (__ctanh): Likewise.
21192 * math/s_ctanhf.c (__ctanhf): Likewise.
21193 * math/s_ctanhl.c (__ctanhl): Likewise.
21194 * math/s_ctanl.c (__ctanl): Likewise.
21195 * math/w_pow.c: Likewise.
21196 * math/w_powf.c: Likewise.
21197 * math/w_powl.c: Likewise.
21198 * math/w_scalb.c (sysv_scalb): Likewise.
21199 * math/w_scalbf.c (sysv_scalbf): Likewise.
21200 * math/w_scalbl.c (sysv_scalbl): Likewise.
21201 * misc/error.c (error_tail): Likewise.
21202 * misc/pselect.c (__pselect): Likewise.
21203 * nis/nis_callback.c (__nis_create_callback): Likewise.
21204 * nis/nis_call.c (__nisfind_server): Likewise.
21205 * nis/nis_creategroup.c (nis_creategroup): Likewise.
21206 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
21207 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
21208 * nis/nis_getservlist.c (nis_getservlist): Likewise.
21209 * nis/nis_lookup.c (nis_lookup): Likewise.
21210 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
21211 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
21212 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
21213 * nis/nis_xdr.c (xdr_endpoint): Likewise.
21214 * nis/nss_compat/compat-grp.c (getgrent_next_file)
21215 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
21216 * nis/nss_compat/compat-initgroups.c (add_group)
21217 (internal_getgrent_r): Likewise.
21218 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
21219 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
21220 * nis/nss_compat/compat-spwd.c (getspent_next_file)
21221 (internal_getspnam_r): Likewise.
21222 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
21223 (_nss_nis_getaliasbyname_r): Likewise.
21224 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
21225 (_nss_nis_getntohost_r): Likewise.
21226 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
21227 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
21228 (_nss_nis_getgrgid_r): Likewise.
21229 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
21230 (internal_nis_gethostent_r, internal_gethostbyname2_r)
21231 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
21232 (_nss_nis_gethostbyname4_r): Likewise.
21233 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
21234 (initgroups_netid): Likewise.
21235 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
21236 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
21237 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
21238 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
21239 (_nss_nis_getprotobynumber_r): Likewise.
21240 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
21241 (_nss_nis_getsecretkey): Likewise.
21242 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
21243 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
21244 (_nss_nis_getpwuid_r): Likewise.
21245 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
21246 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
21247 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
21248 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
21249 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
21250 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
21251 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
21253 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
21254 (_nss_nisplus_getntohost_r): Likewise.
21255 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
21256 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
21257 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
21258 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
21260 * nis/nss_nisplus/nisplus-initgroups.c
21261 (_nss_nisplus_initgroups_dyn): Likewise.
21262 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
21263 (_nss_nisplus_getnetbyaddr_r): Likewise.
21264 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
21265 (_nss_nisplus_getprotobynumber_r): Likewise.
21266 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
21267 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
21268 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
21270 * nis/nss_nisplus/nisplus-service.c
21271 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
21272 (_nss_nisplus_getservbyport_r): Likewise.
21273 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
21274 (_nss_nisplus_getspnam_r): Likewise.
21275 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
21277 * nscd/aicache.c (addhstaiX): Likewise.
21278 * nscd/cache.c (cache_search, prune_cache): Likewise.
21279 * nscd/connections.c (register_traced_file, send_ro_fd)
21280 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
21281 (main_loop_epoll): Likewise.
21282 * nscd/grpcache.c (addgrbyX): Likewise.
21283 * nscd/hstcache.c (addhstbyX): Likewise.
21284 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21285 * nscd/mem.c (gc, mempool_alloc): Likewise.
21286 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
21287 (addinnetgrX): Likewise.
21288 * nscd/nscd-client.h (__nscd_acquire_maplock)
21289 (__nscd_drop_map_ref): Likewise.
21290 * nscd/nscd_getai.c (__nscd_getai): Likewise.
21291 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21292 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
21294 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
21295 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21296 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
21297 (__nscd_get_map_ref): Likewise.
21298 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
21299 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
21301 * nscd/pwdcache.c (addpwbyX): Likewise.
21302 * nscd/selinux.c (preserve_capabilities): Likewise.
21303 * nscd/servicescache.c (addservbyX): Likewise.
21304 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
21305 * posix/fnmatch.c (fnmatch): Likewise.
21306 * posix/getopt.c (_getopt_internal_r): Likewise.
21307 * posix/glob.c (glob, glob_in_dir): Likewise.
21308 * posix/wordexp.c (exec_comm_child): Likewise.
21309 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
21310 (getanswer_r, gaih_getanswer_slice): Likewise.
21311 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
21312 * resolv/res_init.c: Likewise.
21313 * resolv/res_mkquery.c (res_nmkquery): Likewise.
21314 * resolv/res_query.c (__libc_res_nquery): Likewise.
21315 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
21317 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
21318 * stdio-common/perror.c (perror): Likewise.
21319 * stdio-common/printf_fp.c (___printf_fp): Likewise.
21320 * stdio-common/tmpnam.c (tmpnam): Likewise.
21321 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21322 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
21323 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21325 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
21326 * stdlib/putenv.c (putenv): Likewise.
21327 * stdlib/setenv.c (__add_to_environ): Likewise.
21328 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21329 * stdlib/strtol_l.c (INTERNAL): Likewise.
21330 * string/memmem.c (memmem): Likewise.
21331 * string/strerror.c (strerror): Likewise.
21332 * string/strnlen.c (__strnlen): Likewise.
21333 * string/test-memmem.c (simple_memmem): Likewise.
21334 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
21335 * sunrpc/pm_getport.c (__get_socket): Likewise.
21336 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
21337 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
21338 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
21339 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
21341 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
21342 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21343 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
21344 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
21345 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
21346 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
21348 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
21350 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
21351 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
21352 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21353 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
21354 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
21355 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
21356 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21357 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
21358 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
21359 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
21360 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21361 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
21363 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
21365 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
21367 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
21368 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21369 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
21370 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
21371 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
21372 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
21373 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21374 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
21375 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
21376 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
21377 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
21378 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21379 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21380 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21381 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21382 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
21384 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
21386 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
21388 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
21390 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21391 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21392 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
21394 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
21395 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
21396 * sysdeps/posix/opendir.c (__opendirat): Likewise.
21397 * sysdeps/posix/sleep.c: Likewise.
21398 * sysdeps/posix/tempname.c: Likewise.
21399 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
21400 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21402 * sysdeps/powerpc/powerpc32/dl-machine.h
21403 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
21404 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21405 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21406 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
21407 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
21409 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
21410 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
21411 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21412 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
21413 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21414 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
21415 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
21416 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
21417 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21418 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
21419 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
21420 (elf_machine_lazy_rel): Likewise.
21421 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21422 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
21423 (elf_machine_lazy_rel): Likewise.
21424 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
21425 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
21426 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
21427 * sysdeps/unix/grantpt.c (grantpt): Likewise.
21428 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
21429 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
21430 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
21431 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21433 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21434 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21435 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
21436 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
21437 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21438 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21439 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
21440 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
21441 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
21442 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21443 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21445 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
21446 (__posix_fallocate64_l64): Likewise.
21447 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
21448 (posix_fallocate): Likewise.
21449 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
21451 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21452 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
21453 (getifaddrs_internal): Likewise.
21454 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
21455 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
21456 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
21457 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
21458 * sysdeps/unix/sysv/linux/posix_fallocate64.c
21459 (__posix_fallocate64_l64): Likewise.
21460 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21462 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
21463 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
21464 (__get_clockfreq): Likewise.
21465 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
21466 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
21467 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
21468 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21469 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21470 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
21471 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
21472 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
21474 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
21475 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
21476 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
21477 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
21478 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21479 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
21480 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
21482 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21483 (posix_fallocate): Likewise.
21484 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21485 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
21486 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
21487 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
21488 (elf_machine_rela, elf_machine_rela_relative)
21489 (elf_machine_lazy_rel): Likewise.
21490 * time/asctime.c (asctime_internal): Likewise.
21491 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
21492 * time/tzset.c (__tzset_parse_tz): Likewise.
21493 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21494 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
21495 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
21496 * wcsmbs/wcsmbsload.h: Likewise.
21499 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
21501 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
21502 (arena_get2): Remove THREAD_STATS conditionals.
21503 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
21504 (__malloc_stats, int): Likewise.
21506 2014-02-08 Mike Frysinger <vapier@gentoo.org>
21508 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
21509 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
21511 * manual/setjmp.texi: Fix typos/grammar errors.
21513 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
21514 Only return early when n is <= 0. Delete unused return statement.
21516 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
21517 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21518 * debug/tst-longjmp_chk3.c: New file.
21520 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
21521 (test_main): Replace code with set_fortify_handler call.
21522 * debug/test-strcpy_chk.c: Likewise.
21523 * debug/tst-chk1.c: Likewise.
21524 * debug/tst-longjmp_chk.c: Likewise.
21525 * test-skeleton.c: Include fcntl.h & paths.h
21526 (set_fortify_handler): Define.
21528 * debug/tst-longjmp_chk.c: Add header comment and include
21529 ../test-skeleton.c.
21530 (do_test): Mark static.
21531 (TEST_FUNCTION): Define.
21533 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
21534 (IP_PMTUDISC_INTERFACE): Likewise.
21535 (IP_MULTICAST_IF): Likewise.
21536 (IP_MULTICAST_TTL): Likewise.
21537 (IP_MULTICAST_LOOP): Likewise.
21538 (IP_ADD_MEMBERSHIP): Likewise.
21539 (IP_DROP_MEMBERSHIP): Likewise.
21540 (IP_UNBLOCK_SOURCE): Likewise.
21541 (IP_BLOCK_SOURCE): Likewise.
21542 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
21543 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
21544 (IP_MSFILTER): Likewise.
21545 (MCAST_JOIN_GROUP): Likewise.
21546 (MCAST_BLOCK_SOURCE): Likewise.
21547 (MCAST_UNBLOCK_SOURCE): Likewise.
21548 (MCAST_LEAVE_GROUP): Likewise.
21549 (MCAST_JOIN_SOURCE_GROUP): Likewise.
21550 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
21551 (MCAST_MSFILTER): Likewise.
21552 (IP_MULTICAST_ALL): Likewise.
21553 (IP_UNICAST_IF): Likewise.
21555 * timezone/Makefile: Delete $(have-ksh) check.
21556 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
21557 * timezone/tzselect.ksh: Add +x mode bits.
21559 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
21560 (ANON_INODE_FS_MAGIC): Likewise.
21561 (BDEVFS_MAGIC): Likewise.
21562 (BINFMTFS_MAGIC): Likewise.
21563 (BTRFS_TEST_MAGIC): Likewise.
21564 (CRAMFS_MAGIC_WEND): Likewise.
21565 (DEBUGFS_MAGIC): Likewise.
21566 (ECRYPTFS_SUPER_MAGIC): Likewise.
21567 (EXT3_SUPER_MAGIC): Likewise.
21568 (EXT4_SUPER_MAGIC): Likewise.
21569 (FUTEXFS_SUPER_MAGIC): Likewise.
21570 (HOSTFS_SUPER_MAGIC): Likewise.
21571 (HUGETLBFS_MAGIC): Likewise.
21572 (MINIX3_SUPER_MAGIC): Likewise.
21573 (MTD_INODE_FS_MAGIC): Likewise.
21574 (NILFS_SUPER_MAGIC): Likewise.
21575 (OPENPROM_SUPER_MAGIC): Likewise.
21576 (PIPEFS_MAGIC): Likewise.
21577 (PSTOREFS_MAGIC): Likewise.
21578 (QNX6_SUPER_MAGIC): Likewise.
21579 (RAMFS_MAGIC): Likewise.
21580 (REISERFS_SUPER_MAGIC_STRING): Likewise.
21581 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
21582 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
21583 (SECURITYFS_MAGIC): Likewise.
21584 (SELINUX_MAGIC): Likewise.
21585 (SMACK_MAGIC): Likewise.
21586 (SOCKFS_MAGIC): Likewise.
21587 (SQUASHFS_MAGIC): Likewise.
21588 (STACK_END_MAGIC): Likewise.
21589 (TMPFS_MAGIC): Likewise.
21590 (USBDEVICE_SUPER_MAGIC): Likewise.
21591 (V9FS_MAGIC): Likewise.
21592 (XENFS_SUPER_MAGIC): Likewise.
21593 (CRAMFS_MAGIC): Fix typo in comment.
21594 (EXT2_SUPER_MAGIC): Update comment.
21595 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
21597 2014-02-08 Joseph Myers <joseph@codesourcery.com>
21599 * sysdeps/arm: Move directory from ports/sysdeps/arm.
21600 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
21601 * sysdeps/unix/sysv/linux/arm: Move directory from
21602 ports/sysdeps/unix/sysv/linux/arm.
21603 * README: Update listing for arm-*-linux-gnueabi.
21605 * README: Remove mention of am33.
21607 2014-02-07 Roland McGrath <roland@hack.frob.com>
21609 * bits/sigset.h (__sigemptyset): Use a statement expression rather
21610 than the comma operator, to avoid "rhs of comma has no effect"
21612 (__sigfillset, __sigandset, __sigorset): Likewise.
21613 * include/signal.h (__sigemptyset): Likewise.
21614 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
21616 2014-02-07 Allan McRae <allan@archlinux.org>
21618 * version.h (RELEASE): Set to "development".
21619 (VERSION): Set to "2.19.90"
21620 * NEWS: Add 2.20 section.
21622 2014-02-06 Carlos O'Donell <carlos@redhat.com>
21625 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
21627 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21629 * manual/contrib.texi: Update entry for Carlos O'Donell,
21630 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
21632 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
21634 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
21636 * sysdeps/unix/sysv/linux/kernel-features.h
21637 [__LINUX_KERNEL_VERSION >= 0x020621]
21638 (__ASSUME_PROC_PID_TASK_COMM): Define.
21640 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21643 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
21644 conversion when destination buffer does not have enough space.
21645 * libio/tst-ftell-partial-wide.c: New test case.
21646 * libio/Makefile (tests): Add tst-ftell-partial-wide.
21648 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
21649 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
21650 Leonard and Allan McRae.
21652 2014-02-04 David S. Miller <davem@davemloft.net>
21654 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
21657 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
21661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
21663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
21665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
21667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
21669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
21671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
21673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
21675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
21677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
21679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
21681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
21683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
21686 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21688 * nptl/shlib-versions: Change powerpc*le start to 2.17.
21689 * shlib-versions: Likewise.
21691 2014-02-04 Roland McGrath <roland@hack.frob.com>
21692 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21694 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
21695 (abilist-pattern): New variable, set to %-le.abilist.
21697 * Makerules (abilist-pattern): New variable.
21698 (vpath): Use $(abilist-pattern) in place of %.abilist.
21699 (check-abi-% pattern rule): Likewise.
21700 (check-abi, update-abi): Likewise.
21702 2014-02-04 Eric Wong <normalperson@yhbt.net>
21704 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21706 2014-02-03 Carlos O'Donell <carlos@redhat.com>
21708 * manual/startup.texi: Add next, previous, and top entries for
21709 the `Program Arguments' and `Environment Variables' nodes.
21711 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
21713 * manual/macros.texi: Add comments before MTASC-safety macros.
21715 * manual/users.texi: Document MTASC-safety properties.
21717 * manual/threads.texi (pthread_key_create, pthread_key_delete)
21718 (pthread_getspecific, pthread_setspecific): Format with
21719 @deftypefun, and add @safety note.
21720 * manual/signal.texi: Move comments that analyze the above
21721 functions to their home place.
21723 2014-02-03 Allan McRae <allan@archlinux.org>
21725 * po/sl.po: Update Slovenian translation from translation project.
21727 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
21729 * manual/time.texi (timegm): Add missing blank after @c.
21730 Reported by Joseph Myers <joseph@codesourcery.com>.
21732 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
21734 * manual/check-safety.sh: New.
21735 * manual/Makefile ($(objpfx)stamp-summary): Run it.
21737 * manual/terminal.texi: Document MTASC-safety properties.
21739 * manual/filesys.texi: Document MTASC-safety properties.
21741 * manual/errno.texi: Document MTASC-safety properties.
21743 * manual/intro.texi: Document safety identifiers and
21746 * manual/string.texi (wcstok): Fix prototype.
21747 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
21749 * manual/time.texi: Document MTASC-safety properties.
21751 * manual/string.texi: Document MTASC-safety properties.
21753 * manual/threads.texi: Document MTASC-safety properties.
21755 * manual/stdio.texi: Document MTASC-safety properties.
21757 * manual/syslog.texi: Document MTASC-safety properties.
21759 * manual/sysinfo.texi: Document MTASC-safety properties.
21761 * manual/startup.texi: Document MTASC-safety properties.
21763 * manual/socket.texi: Document MTASC-safety properties.
21765 * manual/signal.texi: Document MTASC-safety properties.
21767 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
21769 * manual/setjmp.texi: Document MTASC-safety properties.
21771 * manual/search.texi: Document MTASC-safety properties.
21773 * manual/resource.texi: Document MTASC-safety properties.
21775 * manual/process.texi: Document MTASC-safety properties.
21777 * manual/platform.texi: Document MTASC-safety properties.
21779 * manual/pipe.texi: Document MTASC-safety properties.
21781 * manual/pattern.texi: Document MTASC-safety properties.
21783 * manual/message.texi: Document MTASC-safety properties.
21786 * manual/memory.texi: Document MTASC-safety properties.
21788 * manual/math.texi: Document MTASC-safety properties.
21790 * manual/locale.texi: Document MTASC-safety properties.
21792 * manual/llio.texi: Document MTASC-safety properties.
21794 * manual/libdl.texi: New.
21796 * manual/lang.texi: Document MTASC-safety properties.
21798 * manual/job.texi: Document MTASC-safety properties.
21800 * manual/getopt.texi: Document MTASC-safety properties.
21802 * manual/ctype.texi: Document MTASC-safety properties.
21804 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
21807 * csu/libc-tls.c (static_map): Remove variable.
21808 (__libc_setup_tls): Use main executable's link map for TLS data.
21809 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
21810 casing for LM_ID_BASE and GL(dl_nns).
21811 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
21812 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
21813 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
21814 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
21815 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
21817 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
21820 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
21822 * manual/debug.texi: Document MTASC-safety properties.
21824 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
21827 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
21828 of __x86_64__ when disabling x87 inline functions.
21830 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
21832 * manual/charset.texi: Document MTASC-safety properties.
21834 * manual/crypt.texi: Document MTASC-safety properties.
21836 * manual/conf.texi: Document MTASC-safety properties.
21838 * manual/arith.texi: Document MTASC-safety properties.
21840 * manual/argp.texi: Document MTASC-safety properties.
21842 * manual/macros.texi: Introduce macros to document multi
21843 thread, asynchronous signal and asynchronous cancellation
21845 * manual/intro.texi: Introduce the properties themselves.
21847 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21849 * sysdeps/sh/sh4/Makefile: New file.
21851 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
21853 * math/gen-libm-test.pl ($srcdir): New variable.
21854 ($auto_input): Use it.
21856 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21859 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
21860 access beyond array bounds when parsing netgroups file.
21862 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
21863 the old buffer before realloc.
21865 2014-01-27 Allan McRae <allan@archlinux.org>
21867 * po/fr.po: Update French translation from translation project.
21869 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21871 * sysdeps/sh/libm-test-ulps: Regenerate.
21873 2014-01-24 David S. Miller <davem@davemloft.net>
21875 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
21877 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21879 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
21880 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
21882 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21885 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
21886 string pointers after reallocation.
21888 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21890 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
21891 __SH4A__ instead of __SH_FPU_ANY__.
21893 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21895 * sysdeps/sh/fpu_control.h: New file.
21896 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
21897 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
21898 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
21899 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
21900 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
21901 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
21902 * sysdeps/sh/sys/ucontext.h: Remove.
21903 * sysdeps/sh/sys: Remove directory.
21905 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21907 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
21908 s390/sys/ucontext.h.
21909 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
21910 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
21912 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
21915 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
21917 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21920 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21921 Adjust the vDSO correctly for internal calls.
21922 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
21924 2014-01-20 Allan McRae <allan@archlinux.org>
21926 * po/ca.po: Update Catalan translation from translation project.
21928 2014-01-16 Mike Frysinger <vapier@gentoo.org>
21930 * sysdeps/s390/sotruss-lib.c: New file.
21932 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21935 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
21936 (__GI___gettimeofday): Alias for a different internal symbol to avoid
21937 local calls issues by not having a PLT stub required for IFUNC calls.
21938 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
21940 2014-01-16 Joseph Myers <joseph@codesourcery.com>
21942 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
21943 * math/test-fpucw-static.c: Likewise.
21945 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21948 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
21950 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21952 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
21953 implementation for powerpc.
21955 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
21958 * sysdeps/posix/system.c (__libc_system): Do not enable
21959 asynchronous cancellation.
21961 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21964 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
21965 handling only for numbers special also in the IEEE case.
21967 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21969 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21971 2014-01-11 Allan McRae <allan@archlinux.org>
21973 * po/bg.po: Update Bulgarian translation from translation project.
21975 * po/de.po: Update German translation from translation project.
21977 2014-01-10 Roland McGrath <roland@hack.frob.com>
21979 * sysdeps/generic/gcc-compat.h: New file.
21981 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21983 * benchtests/asin-inputs: Correct slow inputs.
21984 * benchtests/acos-inputs: Likewise.
21986 2014-01-10 Allan McRae <allan@archlinux.org>
21988 * po:sv.po: Update Swedish translation from translation project.
21990 * po/vi.po: Update Vietnamese translation from translation project.
21992 * po/eo.po: Update Esperanto translation from translation project.
21994 * po/cs.po: Update Czech translation from translation project.
21996 * po/nl.po: Update Dutch translation from translation project.
21998 * po/pl.po: Update Polish translation from translation project.
22000 * po/ru.po: Update Russian translation from translation project.
22002 * po/uk.po: Update Ukrainian translation from translation project.
22004 2014-01-08 Brooks Moses <bmoses@google.com>
22006 * elf/dl-load.c: Fix comment typo.
22008 2014-01-08 Carlos O'Donell <carlos@redhat.com>
22010 * po/header.pot: Rename to...
22011 * po/pot.header: ... this.
22012 * po/Makefile: Use pot.header.
22014 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
22015 Maxim Kuvyrkov <maxim@kugelworks.com>
22018 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
22019 SRC and DEST against LEN.
22021 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22024 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
22026 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
22028 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22032 2014-01-08 Joseph Myers <joseph@codesourcery.com>
22035 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
22036 for large positive arguments.
22038 2014-01-07 Joseph Myers <joseph@codesourcery.com>
22040 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22042 * math/auto-libm-test-in: Mark various tests with
22043 xfail-rounding:ldbl-128ibm.
22044 * math/auto-libm-test-out: Regenerated.
22047 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
22048 Increase overflow threshold.
22050 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
22053 * stdio-common/vfprintf.c: Check for integer overflow.
22055 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22057 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
22058 the first argument and return value of __tls_get_addr_internal.
22060 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22062 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
22063 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
22065 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22067 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
22068 * sysdeps/s390/rtld-global-offsets.sym: New file.
22069 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
22071 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
22072 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
22073 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22075 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
22076 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22082 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
22083 halfs of GPRs for high_gprs contexts.
22084 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
22085 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
22087 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
22089 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
22091 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
22092 for high GPRs (uc_high_gprs) and for future extensions
22094 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
22095 for future extensions (__reserved).
22096 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
22098 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
22099 SC_HIGHGPRS offset definition.
22100 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
22101 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
22103 * Versions.def: Add GLIBC_2.19 for libpthread.
22104 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
22105 siglongjmp for libpthread with GLIBC_2.19 symver.
22106 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
22107 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
22108 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
22109 * sysdeps/s390/__longjmp.c: New file.
22110 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
22111 * sysdeps/s390/longjmp.c: New file.
22112 * sysdeps/s390/setjmp.S: New file.
22113 * sysdeps/s390/sigjmp.S: New file.
22114 * sysdeps/s390/v1-longjmp.c: New file.
22115 * sysdeps/s390/v1-setjmp.h: New file.
22116 * sysdeps/s390/v1-sigjmp.c: New file.
22117 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
22118 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
22119 GLIBC_2.19 version.
22120 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
22121 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
22122 versioned symbols for ____longjmp_chk.
22123 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22133 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
22134 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
22135 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
22136 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
22137 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
22138 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
22139 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
22140 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
22141 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
22142 * sysdeps/s390/rtld-__longjmp.c: New file.
22143 * sysdeps/s390/rtld-setjmp.S: New file.
22145 2014-01-06 Joseph Myers <joseph@codesourcery.com>
22148 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22149 Return -__logl (x) for small positive arguments without evaluating
22152 2014-01-06 Mike Frysinger <vapier@gentoo.org>
22154 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
22156 (__ptrace_peeksiginfo_args): ... this.
22157 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22158 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22159 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22161 2014-01-06 Allan McRae <allan@archlinux.org>
22163 * inet/netinet/in.h: Fix typo in comment.
22165 2014-01-05 Andreas Jaeger <aj@suse.de>
22167 * sysdeps/i386/fpu/libm-test-ulps: Update.
22169 2014-01-05 Allan McRae <allan@archlinux.org>
22171 * po/libc.pot: Regenerated.
22173 * malloc/memusagestat.c: Fix gettext call formatting.
22175 2014-01-04 Sami Kerola <kerolasa@iki.fi>
22177 * nscd/nscd.c: Improve usage() output.
22179 2014-01-04 Mike Frysinger <vapier@gentoo.org>
22181 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
22182 * sysdeps/unix/sysv/linux/configure: Regenerated.
22183 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
22184 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
22186 2014-01-03 Joseph Myers <joseph@codesourcery.com>
22189 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22190 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
22192 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22194 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
22195 extra tokens at end of #undef directive.
22196 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22197 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22198 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22200 2014-01-03 Joseph Myers <joseph@codesourcery.com>
22202 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22204 * math/auto-libm-test-in: Mark various tests with
22205 xfail-rounding:ldbl-128ibm.
22206 * math/auto-libm-test-out: Regenerated.
22208 2014-01-02 Joseph Myers <joseph@codesourcery.com>
22211 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
22212 numbers with subnormal high part when calculating exponent.
22215 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
22219 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
22221 (__ieee754_acoshl): Use __log1pl not __log1p.
22223 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
22225 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
22226 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
22227 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
22228 (grow_heap, heap_trim, _int_new_arena, get_free_list)
22229 (reused_arena, arena_get2): Convert to GNU style.
22230 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
22231 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
22232 (memalign_check, __malloc_set_state): Likewise.
22233 * malloc/mallocbug.c (main): Likewise.
22234 * malloc/malloc.c (__malloc_assert, malloc_init_state)
22235 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
22236 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
22237 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
22238 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
22239 (__posix_memalign, malloc_info): Likewise.
22240 * malloc/malloc.h: Likewise.
22241 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
22242 (mallochook, memalignhook, reallochook, mabort): Likewise.
22243 * malloc/mcheck.h: Likewise.
22244 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
22245 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
22246 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
22247 * malloc/morecore.c (__default_morecore): Likewise.
22248 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
22249 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
22250 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
22251 (print_and_abort): Likewise.
22252 * malloc/obstack.h: Likewise.
22253 * malloc/set-freeres.c (__libc_freeres): Likewise.
22254 * malloc/tst-mallocstate.c (main): Likewise.
22255 * malloc/tst-mtrace.c (main): Likewise.
22256 * malloc/tst-realloc.c (do_test): Likewise.
22258 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22261 * nscd/netgroupcache.c (do_notfound): New function.
22262 (addgetnetgrentX): Use it.
22265 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
22266 NSS_STATUS_NOTFOUND.
22268 2014-01-01 Joseph Myers <joseph@codesourcery.com>
22270 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22273 2014-01-01 Allan McRae <allan@archlinux.org>
22275 * scripts/update-copyrights: Update configure input file suffix.
22277 * NEWS: Update copyright year.
22278 * catgets/gencat.c: Likewise.
22279 * csu/version.c: Likewise.
22280 * debug/catchsegv.sh: Likewise.
22281 * debug/pcprofiledump.c: Likewise.
22282 * debug/xtrace.sh: Likewise.
22283 * elf/ldconfig.c: Likewise.
22284 * elf/ldd.bash.in: Likewise.
22285 * elf/pldd.c: Likewise.
22286 * elf/sotruss.ksh: Likewise.
22287 * elf/sprof.c: Likewise.
22288 * iconv/iconv_prog.c: Likewise.
22289 * iconv/iconvconfig.c: Likewise.
22290 * locale/programs/locale.c: Likewise.
22291 * locale/programs/localedef.c: Likewise.
22292 * login/programs/pt_chown.c: Likewise.
22293 * malloc/memusage.sh: Likewise.
22294 * malloc/memusagestat.c: Likewise.
22295 * malloc/mtrace.pl: Likewise.
22296 * manual/libc.texinfo: Likewise.
22297 * nscd/nscd.c: Likewise.
22298 * nss/getent.c: Likewise.
22299 * nss/makedb.c: Likewise.
22300 * posix/getconf.c: Likewise.
22301 * scripts/test-installation.pl: Likewise.
22303 * All files with FSF copyright notices: Update copyright dates
22304 using scripts/update-copyrights.
22305 * intl/plural.c: Regenerated.
22306 * locale/programs/charmap-kw.h: Likewise.
22307 * locale/programs/locfile-kw.h: Likewise.
22309 2013-12-31 Mike Frysinger <vapier@gentoo.org>
22311 * sysdeps/unix/sysv/linux/configure: Regenerated.
22312 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
22313 the linux/fanotify.h header.
22314 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
22315 HAVE_LINUX_FANOTIFY_H is defined.
22317 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22319 * benchtests/cos-inputs: New inputs.
22320 * benchtests/sin-inputs: Likewise.
22322 * benchtests/atan-inputs: New inputs. Fix name of multiple
22323 precision fallback inputs.
22325 * benchtests/atanh-inputs: New inputs.
22326 * benchtests/tanh-inputs: Likewise.
22328 * benchtests/acosh-inputs: New inputs.
22329 * benchtests/asinh-inputs: Likewise.
22331 * benchtests/cosh-inputs: New inputs.
22332 * benchtests/sinh-inputs: Likewise.
22334 * benchtests/acos-inputs: Add more inputs.
22335 * benchtests/asin-inputs: Likewise.
22337 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
22340 * manual/arith.texi: Fix spelling.
22341 * manual/charset.texi: Likewise.
22342 * manual/errno.texi: Likewise.
22343 * manual/filesys.texi: Likewise.
22344 * manual/lang.texi: Likewise.
22345 * manual/llio.texi: Likewise.
22346 * manual/locale.texi: Likewise.
22347 * manual/message.texi: Likewise.
22348 * manual/resource.texi: Likewise.
22349 * manual/search.texi: Likewise.
22350 * manual/setjmp.texi: Likewise.
22351 * manual/stdio.texi: Likewise.
22352 * manual/string.texi: Likewise.
22353 * manual/sysinfo.texi: Likewise.
22354 * manual/time.texi: Likewise.
22356 2013-12-27 Carlos O'Donell <carlos@redhat.com>
22358 * po/sl.po: New file.
22360 2013-12-27 Mike Frysinger <vapier@gentoo.org>
22362 * .gitignore: Add core/.gdbinit/.gdb_history.
22364 2013-12-27 Allan McRae <allan@archlinux.org>
22367 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
22368 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
22370 2013-12-24 Brooks Moses <bmoses@google.com>
22372 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
22373 all compilers that claim C++98 compliance, not just GCC.
22374 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22377 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
22379 * NEWS: Restore accidentally deleted bug-fix entries.
22381 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
22382 Ondřej Bílka <neleai@seznam.cz>
22385 * malloc/malloc.c (_int_free): Perform sanity check only if we
22388 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
22391 * manual/stdio.texi (String Input Conversions): Clarify that character
22392 classes are not supported.
22394 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22398 2013-12-22 Joseph Myers <joseph@codesourcery.com>
22401 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22402 Calculate results for small negative arguments directly rather
22403 than using reflection formula with special underflow handling.
22405 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
22406 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
22407 sysdeps/unix/bsd/bsd4.4/syscalls.list.
22408 (fchflags): Likewise.
22409 (revoke): Likewise.
22410 (setlogin): Likewise.
22411 (sigaltstack): Likewise.
22413 (sigblock): Remove.
22414 (sigsetmask): Likewise.
22416 (waitpid): Likewise.
22417 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
22418 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
22420 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
22421 * sysdeps/unix/bsd/Makefile: ... here.
22422 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
22423 * sysdeps/unix/bsd/Versions: ... here.
22424 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
22425 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
22426 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
22427 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
22428 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
22429 * sysdeps/unix/bsd/sigblock.c: ... here.
22430 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
22431 * sysdeps/unix/bsd/sigsetmask.c: ... here.
22432 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
22433 * sysdeps/unix/bsd/sigvec.c: ... here.
22434 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
22435 * sysdeps/unix/bsd/tcdrain.c: ... here.
22436 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
22437 * sysdeps/unix/bsd/tcgetattr.c: ... here.
22438 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
22439 * sysdeps/unix/bsd/tcsetattr.c: ... here.
22440 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
22441 * sysdeps/unix/bsd/wait.c: ... here.
22442 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
22443 * sysdeps/unix/bsd/wait3.c: ... here.
22444 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
22445 * sysdeps/unix/bsd/waitpid.c: ... here.
22447 2013-12-21 Joseph Myers <joseph@codesourcery.com>
22450 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
22451 round-to-nearest for [!USE_AS_EXPM1L].
22452 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
22453 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
22454 more tests of exp and exp10. Expect some exp10 tests to miss
22455 exceptions or fail in directed rounding modes.
22456 * math/auto-libm-test-out: Regenerated.
22457 * math/libm-test.inc (exp10_tonearest_test_data): New array.
22458 (exp10_test_tonearest): New function.
22459 (exp10_towardzero_test_data): New array.
22460 (exp10_test_towardzero): New function.
22461 (exp10_downward_test_data): New array.
22462 (exp10_test_downward): New function.
22463 (exp10_upward_test_data): New array.
22464 (exp10_test_upward): New function.
22465 (main): Call the new functions.
22466 * sysdeps/i386/fpu/libm-test-ulps: Update.
22467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22469 2013-12-20 Joseph Myers <joseph@codesourcery.com>
22471 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22472 asinh, atan, atan2, atanh, cbrt, cos and cosh.
22473 * math/auto-libm-test-out: Regenerated.
22474 * math/libm-test.inc (acosh_test_data): Add more tests.
22475 (atanh_test_data): Likewise.
22476 (ceil_test_data): Likewise.
22477 (copysign_test_data): Likewise.
22478 * sysdeps/i386/fpu/libm-test-ulps: Update.
22479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22481 * timezone/checktab.awk: Update from tzcode 2013i.
22482 * timezone/private.h: Likewise.
22483 * timezone/scheck.c: Likewise.
22484 * timezone/tzfile.h: Likewise.
22485 * timezone/tzselect.ksh: Likewise.
22486 * timezone/zdump.c: Likewise.
22487 * timezone/zic.c: Likewise.
22489 * math/auto-libm-test-in: Add tests of cpow.
22490 * math/auto-libm-test-out: Regenerated.
22491 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
22492 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22494 (func_calc_desc): Add mpc_cc_c union field.
22495 (test_functions): Add cpow.
22496 (special_fill_2pi): New function.
22497 (special_real_inputs): Add 2pi.
22498 (calc_generic_results): Handle mpc_cc_c.
22499 * sysdeps/i386/fpu/libm-test-ulps: Update.
22500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22502 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
22503 csqrt, ctan and ctanh.
22504 * math/auto-libm-test-out: Regenerated.
22505 * math/libm-test.inc (TEST_COND_x86_64): New macro.
22506 (TEST_COND_x86): Likewise.
22507 (ccos_test_data): Use AUTO_TESTS_c_c.
22508 (ccosh_test_data): Likewise.
22509 (cexp_test_data): Likewise.
22510 (clog_test_data): Likewise.
22511 (csqrt_test_data): Likewise.
22512 (ctan_test_data): Likewise.
22513 (ctan_tonearest_test_data): Likewise.
22514 (ctan_towardzero_test_data): Likewise.
22515 (ctan_downward_test_data): Likewise.
22516 (ctan_upward_test_data): Likewise.
22517 (ctanh_test_data): Likewise.
22518 (ctanh_tonearest_test_data): Likewise.
22519 (ctanh_towardzero_test_data): Likewise.
22520 (ctanh_downward_test_data): Likewise.
22521 (ctanh_upward_test_data): Likewise.
22522 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22524 (func_calc_desc): Add mpc_c_c union field.
22525 (FUNC_mpc_c_c): New macro.
22526 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
22527 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
22529 (special_fill_min_subnorm_p120): New function.
22530 (special_real_inputs): Add min_subnorm_p120.
22531 (calc_generic_results): Handle mpc_c_c.
22532 * sysdeps/i386/fpu/libm-test-ulps: Update.
22533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22535 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22537 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
22538 (do_sin_slow): New functions.
22539 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
22540 (cslow2, csloww1, csloww2): Use the new functions.
22542 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
22543 Use M to change sign of result instead of X. Assume X is
22545 (csloww1): Likewise.
22549 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
22550 arguments A and DA.
22554 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
22556 (sloww1): Don't adjust sign of DX.
22557 (csloww1): Likewise.
22558 (sloww2): Use X directly and don't adjust sign of DX.
22559 (csloww2): Likewise.
22561 2013-12-19 Joseph Myers <joseph@codesourcery.com>
22563 * math/auto-libm-test-in: Add tests of cabs and carg.
22564 * math/auto-libm-test-out: Regenerated.
22565 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
22566 (carg_test_data): Likewise.
22567 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22569 (func_calc_desc): Add mpc_c_f union field.
22570 (test_functions): Add cabs and carg.
22571 (calc_generic_results): Handle mpc_c_f.
22573 * sysdeps/powerpc/powerpc32/libgcc-compat.S
22574 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
22575 as a macro and a compat symbol.
22576 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
22577 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
22578 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
22579 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
22580 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
22581 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
22583 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
22585 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
22587 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
22589 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
22591 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
22593 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
22594 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
22597 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22601 2013-12-19 Joseph Myers <joseph@codesourcery.com>
22603 * manual/texinfo.tex: Update to version 2013-11-26.10 with
22604 trailing whitespace removed.
22605 * scripts/config.guess: Update to version 2013-11-29.
22606 * scripts/config.sub: Update to version 2013-10-01.
22608 * math/auto-libm-test-in: Add tests of sincos.
22609 * math/auto-libm-test-out: Regenerated.
22610 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
22611 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22613 (func_calc_desc): Add mpfr_f_11 union field.
22614 (test_functions): Add sincos.
22615 (calc_generic_results): Handle mpfr_f_11.
22616 * sysdeps/i386/fpu/libm-test-ulps: Update.
22617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22619 2013-12-19 Andreas Schwab <schwab@suse.de>
22621 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
22623 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22624 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
22625 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
22627 2013-12-19 Joseph Myers <joseph@codesourcery.com>
22629 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
22630 * sysdeps/i386/fpu/libm-test-ulps: Update.
22631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22634 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
22635 round-to-nearest mode when using frndint.
22636 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
22637 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22638 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22640 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
22642 * math/auto-libm-test-out: Regenerated.
22643 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
22644 (TEST_COND_x86): Likewise.
22645 (expm1_tonearest_test_data): New array.
22646 (expm1_test_tonearest): New function.
22647 (expm1_towardzero_test_data): New array.
22648 (expm1_test_towardzero): New function.
22649 (expm1_downward_test_data): New array.
22650 (expm1_test_downward): New function.
22651 (expm1_upward_test_data): New array.
22652 (expm1_test_upward): New function.
22653 (main): Run the new test functions.
22654 * sysdeps/i386/fpu/libm-test-ulps: Update.
22655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22657 * include/features.h: Update comment documenting feature test
22658 macros. Mention _DEFAULT_SOURCE in comment.
22659 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
22660 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
22661 _BSD_SOURCE and _SVID_SOURCE.
22662 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
22663 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
22664 !_SVID_SOURCE]: Likewise.
22665 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22666 (__USE_POSIX_IMPLICITLY): Define.
22667 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22668 (_POSIX_SOURCE): Undefine and redefine.
22669 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22670 (_POSIX_C_SOURCE): Likewise.
22671 * manual/creature.texi (_DEFAULT_SOURCE): Document.
22672 (Feature Test Macros): Update documentation of default features.
22674 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22676 * benchtests/Makefile: Add bench-strtok.
22677 * benchtests/bench-strtok.c: New file: strtok benchtest.
22679 2013-12-19 Allan McRae <allan@archlinux.org>
22681 * manual/install.texi: Suppress menu for plain text output.
22682 * INSTALL: Regenerated.
22684 2013-12-18 Brooks Moses <bmoses@google.com>
22687 * misc/getauxval.c: Include errno.h.
22688 (__getauxval): Set errno to ENOENT if the requested type is not
22690 * misc/sys/auxv.h (getauxval): Document that it may set errno;
22691 don't declare with __attribute_const__.
22692 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
22693 * manual/startup.texi: Document that getauxval sets errno.
22695 2013-12-18 Joseph Myers <joseph@codesourcery.com>
22697 * math/auto-libm-test-in: Add tests of jn and yn.
22698 * math/auto-libm-test-out: Regenerated.
22699 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
22700 (yn_test_data): Likewise.
22701 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22703 (func_calc_desc): Add mpfr_if_f union field.
22704 (FUNC_mpfr_if_f): New macro.
22705 (test_functions): Add jn and yn.
22706 (calc_generic_results): Assert type of second input for
22707 mpfr_ff_f. Handle mpfr_if_f.
22708 (output_for_one_input_case): Disable all checking for arguments
22709 fitting floating-point types in case of an integer argument.
22710 * sysdeps/i386/fpu/libm-test-ulps: Update.
22711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22714 Don't expect fegetround reference in libm.so.
22716 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22718 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
22719 $(config-cflags-nofma).
22721 2013-12-18 Joseph Myers <joseph@codesourcery.com>
22723 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
22724 * math/auto-libm-test-out: Regenerated.
22727 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
22728 to determine exponent and adjust argument to have exponent of -1.
22729 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
22731 * math/auto-libm-test-out: Regenerated.
22732 * sysdeps/i386/fpu/libm-test-ulps: Update.
22733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22735 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
22737 * manual/probes.texi: Remove cases when per-thread arenas are
22740 2013-12-18 Andreas Schwab <schwab@suse.de>
22742 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
22743 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
22744 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
22745 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
22746 * sysdeps/i386/i686/multiarch/Makefile: Update.
22747 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
22749 2013-12-17 Joseph Myers <joseph@codesourcery.com>
22751 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
22752 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
22754 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
22757 Support TZ transition times < 00:00:00.
22758 This is needed for version-3 tz-format files; it supports time
22759 stamps past 2037 for America/Godthab (the only entry in the tz
22760 database for which this change is relevant).
22761 * manual/time.texi (TZ Variable): Document transition times
22762 from -167:59:59 through -00:00:01.
22763 * time/tzset.c (tz_rule): Time of day is now signed.
22764 (__tzset_parse_tz): Parse negative time of day.
22766 Document TZ transition times >= 25:00:00.
22767 * manual/time.texi (TZ Variable): Document transition times from
22768 25:00:00 through 167:59:59. These are already supported, and this
22769 support will help with version-3 tz-format files.
22771 * manual/time.texi (TZ Variable): Modernize North America example
22772 to reflect current (i.e., 2007-and-later) daylight saving rules.
22774 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
22776 2013-12-17 Joseph Myers <joseph@codesourcery.com>
22778 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
22779 * sysdeps/unix/bsd/bits/stat.h: Likewise.
22780 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
22781 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22782 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
22783 * sysdeps/unix/bsd/bsdstat.h: Likewise.
22784 * sysdeps/unix/bsd/clock.c: Likewise.
22785 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
22786 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
22787 * sysdeps/unix/bsd/init-posix.c: Likewise.
22788 * sysdeps/unix/bsd/poll.c: Likewise.
22789 * sysdeps/unix/bsd/ptsname.c: Likewise.
22790 * sysdeps/unix/bsd/seekdir.c: Likewise.
22791 * sysdeps/unix/bsd/setegid.c: Likewise.
22792 * sysdeps/unix/bsd/seteuid.c: Likewise.
22793 * sysdeps/unix/bsd/setgid.c: Likewise.
22794 * sysdeps/unix/bsd/setrgid.c: Likewise.
22795 * sysdeps/unix/bsd/setruid.c: Likewise.
22796 * sysdeps/unix/bsd/setsid.c: Likewise.
22797 * sysdeps/unix/bsd/setuid.c: Likewise.
22798 * sysdeps/unix/bsd/sigaction.c: Likewise.
22799 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
22800 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
22801 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
22802 * sysdeps/unix/bsd/telldir.c: Likewise.
22803 * sysdeps/unix/bsd/times.c: Likewise.
22804 * sysdeps/unix/bsd/usleep.c: Likewise.
22806 * misc/Makefile (install-lib): Remove libbsd-compat.a.
22807 ($(objpfx)libbsd-compat.a): Remove rule.
22809 * include/features.h (__FAVOR_BSD): Do not define.
22810 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
22811 features conflicting with POSIX.
22812 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
22813 (_BSD_SOURCE): Remove description of not being a subset of other
22814 feature test macros.
22815 * manual/job.texi (getpgrp): Do not document BSD version.
22816 (getpgid): Do not document by reference to BSD getpgrp.
22817 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
22818 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
22819 * signal/signal.h [__FAVOR_BSD]: Likewise.
22820 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
22821 instead of making contents conditional on [__FAVOR_BSD].
22822 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
22824 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22828 2013-12-17 Joseph Myers <joseph@codesourcery.com>
22831 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
22832 values below 2**-450, not 2**-500.
22833 * math/auto-libm-test-in: Don't allow spurious underflow from
22835 * math/auto-libm-test-out: Regenerated.
22839 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
22840 values of ha and hb and sort them after adjusting subnormal
22842 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
22844 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
22845 values of ea and eb and sort them after adjusting subnormal
22847 * math/auto-libm-test-in: Do not expect some hypot tests of
22848 subnormals to fail. Add more hypot tests.
22849 * math/auto-libm-test-out: Regenerated.
22851 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22854 * sysdeps/sh/s_fma.c: New file.
22855 * sysdeps/sh/s_fmaf.c: New file.
22856 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
22858 * sysdeps/sh/Implies: Add sh/soft-fp.
22860 2013-12-16 Roland McGrath <roland@hack.frob.com>
22862 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
22863 level of indirection to members `objname', `errstring', `malloced'.
22864 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
22865 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
22866 it as the __longjmp argument (just pass 1 instead).
22867 (_dl_catch_error): Initialize C with argument pointers and address of
22868 volatile local ERRCODE rather than copying values out of C at return.
22870 2013-12-16 Joseph Myers <joseph@codesourcery.com>
22872 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
22873 * math/auto-libm-test-out: Regenerated.
22874 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
22875 (hypot_test_data): Likewise.
22876 (pow_test_data): Likewise.
22877 (pow_tonearest_test_data): Likewise.
22878 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22880 (func_calc_desc): Add mpfr_ff_f union field.
22881 (FUNC_mpfr_ff_f): New macro.
22882 (test_functions): Add atan2, hypot and pow.
22883 (special_fill_min): New function.
22884 (special_fill_minus_min): Likewise.
22885 (special_fill_min_subnorm): Likewise.
22886 (special_fill_minus_min_subnorm): Likewise.
22887 (special_real_inputs): Add min, -min, min_subnorm and
22889 (calc_generic_results): Handle mpfr_ff_f.
22890 * sysdeps/i386/fpu/libm-test-ulps: Update.
22891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22893 2013-12-16 Will Newton <will.newton@linaro.org>
22895 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
22896 (Aligned Memory Blocks): Add documentation for aligned_alloc
22897 and suggest it as an alternative to posix_memalign.
22898 (Hooks for Malloc): Document __memalign_hook is also called
22899 for aligned_alloc. (Summary of Malloc): Add summary for
22900 aligned alloc. Document __memalign_hook is also called
22903 2013-12-16 Will Newton <will.newton@linaro.org>
22905 * manual/memory.texi (Malloc Examples): Clarify default
22906 alignment documentation. Suggest posix_memalign rather
22907 than memalign or valloc.
22908 (Aligned Memory Blocks): Remove suggestion to use memalign
22909 or valloc. Remove obsolete comment about BSD.
22910 Document memalign errno values and mark the function obsolete.
22911 Document posix_memalign returned error codes. Mark valloc
22912 as obsolete. (Hooks for Malloc): __memalign_hook is also
22913 called for posix_memalign and valloc.
22914 (Summary of Malloc): Add posix_memalign to function summary.
22915 __memalign_hook is also called for posix_memalign and valloc.
22917 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22919 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
22923 (sloww): Use mynumber union. Expand ternary operator into
22924 if-else statements.
22925 (cslow): use mynumber union.
22927 2013-12-16 Allan McRae <allan@archlinux.org>
22929 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
22930 * configure: Regenerated.
22932 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
22935 * configure.ac: Added --enable-maintainer-mode. Check for
22936 autoconf when enabled.
22937 * configure: Regenerated.
22939 * nscd/nscd.service: New file.
22940 * nscd/nscd.tmpfiles: New file.
22942 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
22945 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
22946 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
22947 * sysdeps/x86_64/multiarch/strstr.c: ... here.
22948 (strstr): Add __strstr_sse2_unaligned ifunc.
22949 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
22950 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
22951 (strcasestr): Remove __strcasestr_sse42 ifunc.
22952 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
22953 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22954 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22956 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22958 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
22959 * sysdeps/sh/bits/fenv.h: ... here.
22960 * sysdeps/sh/sh4/fpu/bits: Remove directory.
22962 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22964 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
22966 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
22967 hypotf multiarch implementations.
22968 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
22969 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
22970 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
22971 multiarch hypot for PPC64.
22972 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
22973 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
22974 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
22975 multiarch hypotf for PPC64.
22977 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
22978 modff multiarch implementations.
22979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
22980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
22981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
22982 multiarch modf for PPC64.
22983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
22984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
22985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
22986 multiarch modff for PPC64.
22988 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
22989 and logl multiarch implementations.
22990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
22991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
22992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
22993 multiarch logb for PPC64.
22994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
22995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
22996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
22997 multiarch logb for PPC64.
22998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
22999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
23000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
23001 multiarch logb for PPC64.
23003 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
23004 isinff multiarch implementation.
23005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
23007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
23008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
23009 multiarch isinf for PPC64.
23010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
23012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
23013 multiarch isinff for PPC64.
23015 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
23016 finitef multiarch implementation.
23017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
23019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
23020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
23021 multiarch finite for PPC64.
23022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
23024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
23025 multiarch finitef for PPC64.
23027 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
23028 lrint multiarch implementation.
23029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
23031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
23032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
23033 multiarch llrint for PPC64.
23034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
23035 multiarch lrint for PPC64.
23037 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
23038 copysignf multiarch implementation.
23039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
23041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
23043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
23044 multiarch copysign for PPC64.
23045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
23046 multiarch copysignf for PPC64.
23048 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
23049 multiarch implementation.
23050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
23052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
23054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
23056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
23058 multiarch llround for PPC64.
23059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
23060 multiarch trunc for PPC64.
23061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
23062 multiarch truncf for PPC64.
23064 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
23065 multiarch implementation.
23066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
23068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
23070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
23072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
23074 multiarch llround for PPC64.
23075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
23076 multiarch round for PPC64.
23077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
23078 multiarch roundf for PPC64.
23080 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
23081 multiarch implementation.
23082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
23084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
23086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
23088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
23090 multiarch llround for PPC64.
23091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
23092 multiarch floor for PPC64.
23093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
23094 multiarch floorf for PPC64.
23096 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
23097 multiarch implementation.
23098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
23100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
23102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
23104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
23106 multiarch llround for PPC64.
23107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
23108 multiarch ceil for PPC64.
23109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
23110 multiarch ceilf for PPC64.
23112 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23113 multiarch implementation.
23114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
23116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
23118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
23120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
23121 multiarch llround for PPC64.
23122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
23123 multiarch lround for PPC64.
23125 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23126 multiarch implementation.
23127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
23128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
23129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
23131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
23132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
23133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
23134 multiarch isnan for PPC64.
23135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
23136 multiarch isnanf for PPC64.
23138 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
23139 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
23140 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
23141 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
23142 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
23143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
23145 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
23146 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23147 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23148 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23150 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
23151 multiarch implementations.
23152 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23153 (__libc_ifunc_impl_list): Likewise.
23154 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
23155 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
23156 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
23157 multiarch stpcpy for PPC64.
23159 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
23160 multiarch implementations.
23161 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23162 (__libc_ifunc_impl_list): Likewise.
23163 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
23164 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
23165 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
23166 multiarch strcpy for PPC64.
23168 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
23169 redefine function name.
23170 (_wordcopy_fwd_dest_aligned): Likewise.
23171 (_wordcopy_bwd_aligned): Likewise.
23172 (_wordcopy_bwd_dest_aligned): Likewise.
23173 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
23174 multiarch implementations.
23175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23176 (__libc_ifunc_impl_list): Likewise.
23177 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
23178 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
23179 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
23180 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
23181 multiarch wcscpy for PPC64.
23183 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
23184 multiarch implementations.
23185 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23186 (__libc_ifunc_impl_list): Likewise.
23187 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
23188 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
23189 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
23190 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
23191 multiarch wcscpy for PPC64.
23193 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
23194 multiarch implementations.
23195 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23196 (__libc_ifunc_impl_list): Likewise.
23197 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
23198 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
23199 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
23200 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
23201 multiarch wcsrchr for PPC64.
23203 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
23204 multiarch implementations.
23205 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23206 (__libc_ifunc_impl_list): Likewise.
23207 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
23208 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
23209 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
23210 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
23211 multiarch wcschr for PPC64.
23213 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
23214 multiarch implementations.
23215 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23216 (__libc_ifunc_impl_list): Likewise.
23217 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
23218 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
23219 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
23220 multiarch strchrnul for PPC64.
23222 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
23224 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23225 (__libc_ifunc_impl_list): Likewise.
23226 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
23227 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
23228 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
23229 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
23232 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
23234 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23235 (__libc_ifunc_impl_list): Likewise.
23236 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
23237 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
23238 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
23239 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
23242 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
23243 multiarch implementations.
23244 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23245 (__libc_ifunc_impl_list): Likewise.
23246 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
23247 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
23248 strncasecmp for PPC64.
23249 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
23250 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
23251 multiarch strncasecmp_l for PPC64.
23253 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
23254 multiarch implementations.
23255 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23256 (__libc_ifunc_impl_list): Likewise.
23257 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
23258 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
23259 multiarch strcasecmp for PPC64.
23260 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
23262 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
23263 multiarch strcasecmp_l for PPC64.
23265 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
23267 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23268 (__libc_ifunc_impl_list): Likewise.
23269 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
23270 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
23271 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
23274 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
23276 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23277 (__libc_ifunc_impl_list): Likewise.
23278 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
23279 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
23280 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
23283 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
23285 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23286 (__libc_ifunc_impl_list): Likewise.
23287 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
23288 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
23289 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
23290 rawmemrchr for PPC64.
23292 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
23294 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23295 (__libc_ifunc_impl_list): Likewise.
23296 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
23297 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
23298 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
23301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
23303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23304 (__libc_ifunc_impl_list): Likewise.
23305 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
23306 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
23307 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
23310 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
23312 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23313 (__libc_ifunc_impl_list): Likewise.
23314 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
23315 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
23316 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
23319 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
23320 avoid cretion of __bzero symbol.
23321 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
23323 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
23325 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
23327 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
23328 multiarch implementations.
23329 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23330 (__libc_ifunc_impl_list): Likewise.
23331 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
23332 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
23333 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
23334 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
23336 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
23337 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
23338 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
23339 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
23340 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
23342 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
23344 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
23345 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
23347 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23348 (__libc_ifunc_impl_list): Likewise.
23349 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
23350 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
23351 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
23352 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
23355 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
23356 multiarch for POWER/PPC64.
23357 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23358 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
23359 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
23360 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
23361 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
23362 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
23363 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
23364 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
23365 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
23368 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
23369 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
23370 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
23371 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
23372 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
23373 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
23374 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
23375 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
23376 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
23377 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
23378 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
23379 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
23380 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
23381 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
23382 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
23383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
23384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
23385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
23386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
23387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
23388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
23389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
23391 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23393 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
23395 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23397 * benchtests/Makefile (bench): Add exp2 and log2.
23398 (LDLIBS-bench-exp2): Add -lm.
23399 (LDLIBS-bench-log2): Likewise.
23400 * benchtests/exp2-inputs: New inputs file.
23401 * benchtests/log2-inputs: New inputs file.
23402 * benchtests/log-inputs: Add new inputs.
23403 * benchtests/tan-inputs: Likewise.
23405 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23407 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
23409 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
23410 (csloww2): ... from here.
23412 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
23413 instead of structures.
23414 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
23415 (POLYNOMIAL): Likewise.
23416 (TAYLOR_SLOW): Likewise.
23422 (sloww1); Likewise.
23423 (sloww2): Likewise.
23424 (bsloww1): Likewise.
23425 (bsloww2): Likewise.
23426 (cslow2): Likewise.
23427 (csloww): Likewise.
23428 (csloww1): Likewise.
23429 (csloww2): Likewise.
23431 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
23433 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
23434 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
23435 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
23436 * malloc/hooks.c (realloc_check): Likewise.
23438 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
23439 * malloc/arena.c: Remove PER_THREAD conditional.
23440 [!PER_THREAD]: Remove code.
23441 (ptmalloc_unlock_all2): Likewise.
23442 (ptmalloc_init): Likewise.
23443 (_int_new_arena): Likewise.
23444 (arena_get2): Likewise.
23445 * malloc/hooks.c (__malloc_get_state): Likewise.
23446 (__malloc_set_state): Likewise.
23447 * malloc/malloc.c: Likewise.
23448 (struct malloc_state): Likewise.
23449 (struct malloc_par): Likewise.
23450 (__libc_realloc): Likewise.
23451 (__libc_mallopt): Likewise.
23453 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23455 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
23457 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
23459 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
23460 macro to a function. Check for zero perturb_byte.
23461 (_int_malloc, _int_free): Remove zero perturb_byte checks.
23463 * malloc/malloc.c: (force_reg): Remove.
23464 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
23465 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
23466 force_reg by atomic_forced_read.
23467 * malloc/arena.c (ptmalloc_init): Likewise.
23468 * malloc/hooks.c (top_check): Likewise.
23470 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23474 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
23476 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23478 2013-12-08 Joseph Myers <joseph@codesourcery.com>
23480 * math/auto-libm-test-in: Add tests of lgamma.
23481 * math/auto-libm-test-out: Regenerated.
23482 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
23483 (M_LOG_2_SQRT_PIl): Likewise.
23484 (lgamma_test_data): Use AUTO_TESTS_f_f1.
23485 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23487 (func_calc_desc): Add mpfr_f_f1 union field.
23488 (ARGS1): New macro.
23496 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
23497 (test_functions): Add lgamma.
23498 (calc_generic_results): Handle mpfr_f_f1.
23499 * sysdeps/i386/fpu/libm-test-ulps: Update.
23500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23502 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23504 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
23505 __mpn_add_n for PowerPC64/POWER7.
23506 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
23507 __mpn_sub_n for PowerPC64/POWER7.
23509 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
23510 __mpn_addmul_1 for PowerPC64.
23511 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
23512 __mpn_submul_1 for PowerPC64.
23513 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
23515 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
23518 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
23521 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
23523 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23525 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
23527 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
23528 add multiarch folders.
23529 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
23530 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
23531 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
23532 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
23533 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
23534 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
23535 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
23536 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
23537 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
23538 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
23539 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
23540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
23541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
23542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
23543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
23544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
23545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
23547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23548 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
23549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
23551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
23553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
23554 multiarch __ieee754_hypot for PowerPC32.
23555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
23557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
23559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
23560 multiarch __ieee754_hypotf for PowerPC32.
23562 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
23563 long_double_symbol only if __logbl is defined.
23564 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
23565 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
23566 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
23567 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
23568 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
23569 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
23570 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
23571 path for implementation.
23572 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
23573 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
23574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
23575 logb, and logbl multiarch implementations for PowerPC32.
23576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
23578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
23580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
23581 multiarch logb for PowerPC32.
23582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
23584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
23586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
23587 multiarch logbf for PowerPC32.
23588 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
23589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
23591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
23592 multiarch logbl implementation for PowerPC32.
23594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
23595 and modff multiarch implementations.
23596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
23598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
23600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
23601 multiarch modf for PowerPC32.
23602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
23604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
23606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
23607 multiarch modff for PowerPC32.
23609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
23610 and lrintf multiarch implementations.
23611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
23613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
23615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
23616 multiarch lrint for PowerPC32.
23617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
23618 file: multiarch lrintf for PowerPC32.
23620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
23621 and lroundf multiarch implementations.
23622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
23624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
23626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
23628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
23629 multiarch lround for PowerPC32.
23630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
23631 file: multiarch lroundf for PowerPC32.
23633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23634 copysign and copysignf multiarch implementations.
23635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
23637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
23639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
23640 file: multiarch copysign for PowerPC32.
23641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
23642 file: multiarch copysignf for PowerPC32.
23644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
23645 and truncf multiarch implementations.
23646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
23648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
23650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
23651 multiarch trunc for PowerPC32.
23652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
23654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
23656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
23657 multiarch truncf for PowerPC32.
23659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
23660 and roundf multiarch implementations.
23661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
23663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
23665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
23666 multiarch round for PowerPC32.
23667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
23669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
23671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
23672 multiarch roundf for PowerPC32.
23674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
23675 and floorf multiarch implementations.
23676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
23678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
23680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
23681 multiarch floor for PowerPC32.
23682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
23684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
23686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
23687 multiarch floorf for PowerPC32.
23689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
23690 and ceilf multiarch implementations.
23691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
23693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
23695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
23696 multiarch ceil for PowerPC32.
23697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
23699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
23701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
23702 multiarch ceilf for PowerPC32.
23704 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
23706 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
23707 FINITEF is defined.
23708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
23709 and finitef multiarch implementations.
23710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
23712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
23714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
23715 multiarch finite for PowerPC32.
23716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
23718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
23719 file: multiarch finitef for PowerPC32.
23721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
23722 and isinff multiarch implementations.
23723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
23725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
23727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
23728 multiarch isinf for PowerPC32.
23729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
23731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
23732 multiarch isinff for PowerPC32.
23734 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
23735 alias when __isnan is defined.
23736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
23737 and isnanf multiarch implementations.
23738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
23740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
23742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
23744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
23746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
23747 multiarch isnan for PowerPC32.
23748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
23750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
23752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
23753 multiarch isnanf for PowerPC32.
23755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
23756 and sqrtf multiarch implementations.
23757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
23759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
23761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
23762 multiarch sqrt for PowerPC32.
23763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
23765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
23767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
23768 multiarch sqrtf for PowerPC32.
23770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
23771 and llroundf multiarch implementations.
23772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
23774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
23776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
23778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
23779 file: multiarch llround for PowerPC32.
23780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
23781 file: multiarch llroundf for PowerPC32.
23783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
23784 multiarch PowerPC32 fpu implementations.
23785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
23787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
23789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
23790 multiarch llrint for PowerPC32.
23791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
23793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
23795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
23798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
23800 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
23802 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
23804 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
23806 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
23807 multiarch wordcopy for PPC32.
23808 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23810 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23811 (__libc_ifunc_impl_list): Likewise.
23812 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
23813 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
23814 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
23815 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
23816 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
23817 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
23819 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
23820 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
23822 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
23824 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
23826 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
23827 multiarch wcscpy for PPC32.
23828 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23830 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23831 (__libc_ifunc_impl_list): Likewise.
23832 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23833 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23834 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
23835 sysdeps/powerpc/power6/wcscpy.c.
23837 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
23838 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
23840 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
23842 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
23844 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
23845 multiarch wcsrchr for PPC32.
23846 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23848 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23849 (__libc_ifunc_impl_list): Likewise.
23850 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23851 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23852 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
23853 sysdeps/powerpc/power6/wcsrchr.c.
23855 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
23857 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
23859 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
23860 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
23861 multiarch wcschr for PPc32.
23862 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23864 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23865 (__libc_ifunc_impl_list): Likewise.
23866 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
23867 * sysdeps/powerpc/power6/wcschr.c: ... to here.
23868 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
23869 sysdeps/powerpc/power6/wcschr.c.
23871 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
23872 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
23874 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
23875 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
23876 file: multiarch strchr for PPC32.
23877 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
23879 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23880 (__libc_ifunc_impl_list): Likewise.
23882 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
23884 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
23886 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
23888 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
23889 multiarch strchrnul for PPC32.
23890 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
23892 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23893 (__libc_ifunc_impl_list): Likewise.
23895 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
23897 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
23898 multiarch strncasecmp for PPC32.
23899 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
23901 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
23902 multiarch strncasecmp_l for PPC32.
23903 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
23904 strncasecmp multiarch objects.
23905 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23906 (__libc_ifunc_impl_list): Likewise.
23908 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
23910 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
23911 multiarch strncasecmp for PPC32.
23912 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
23914 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
23915 multiarch strcasecmp_l for PPC32.
23916 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
23918 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23919 (__libc_ifunc_impl_list): Likewise.
23921 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
23923 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
23925 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
23926 multiarch strncmp for PPC32.
23927 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
23929 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23930 (__libc_ifunc_impl_list): Likewise.
23932 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
23933 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
23935 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
23936 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
23937 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
23939 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23940 (__libc_ifunc_impl_list): Likewise.
23942 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
23944 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
23946 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
23947 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
23949 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23950 (__libc_ifunc_impl_list): Likewise.
23952 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
23954 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
23956 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
23957 multiarch rawmemchr for PPC32.
23958 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
23960 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23961 (__libc_ifunc_impl_list): Likewise.
23963 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
23965 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
23967 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
23968 file: memrchr multiarch for PPC32.
23969 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
23971 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23972 (__libc_ifunc_impl_list): Likewise.
23974 * string/memchr.c (__memchr): Using macro to redefine symbol name.
23975 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
23977 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
23978 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
23979 multiarch memchr for PPC32.
23980 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
23982 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23983 (__libc_ifunc_impl_list): Likewise.
23985 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
23986 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
23988 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
23990 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
23991 file: multiarch mempcpy for PPC32.
23992 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
23994 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23995 (__libc_ifunc_impl_list): Likewise.
23997 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
23998 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
23999 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
24000 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
24001 multiarch bzero for PPC32.
24002 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
24004 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
24006 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
24007 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
24008 file: multiarch memset for PPC32.
24009 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
24010 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
24011 memset multiarch objects.
24012 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24013 (__libc_ifunc_impl_list): Likewise.
24015 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
24017 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
24018 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
24020 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
24021 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
24023 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24024 (__libc_ifunc_impl_list): Likewise.
24026 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
24027 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
24028 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
24030 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
24032 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
24034 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
24035 multiarch memcpy for PPC32.
24036 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
24038 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24039 (__libc_ifunc_impl_list): Likewise.
24041 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
24042 support multiarch for POWER/PPC32.
24043 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
24045 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
24047 Implies file to make multiarch folder appers before the fpu and
24048 default folder for power4 configuration.
24050 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24052 * scripts/bench.pl: Append volatile keyword to type.
24054 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24056 * sysdeps/sh/sotruss-lib.c: New file.
24057 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
24059 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24063 2013-12-05 Joseph Myers <joseph@codesourcery.com>
24066 * math/w_tgamma.c: Include <errno.h>.
24067 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
24068 * math/w_tgammaf.c: Include <errno.h>.
24069 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
24070 * math/w_tgammal.c: Include <errno.h>.
24071 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
24072 * math/auto-libm-test-in: Do not allow missing errno on tgamma
24073 underflow. Add more tgamma tests.
24074 * math/auto-libm-test-out: Regenerated.
24075 * sysdeps/i386/fpu/libm-test-ulps: Update.
24076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24078 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
24079 sin, sinh, tan, tanh, tgamma, y0 and y1.
24080 * math/auto-libm-test-out: Regenerated.
24081 * math/libm-test.inc (TEST_COND_x86_64): New macro.
24082 (TEST_COND_x86): Likewise.
24083 (M_E2l): Remove macro.
24085 (M_2_SQRT_PIl): Likewise.
24086 (M_SQRT_PIl): Likewise.
24087 (M_1_DIV_El): Likewise.
24088 (log_test_data): Use AUTO_TESTS_f_f.
24089 (log10_test_data): Likewise.
24090 (log1p_test_data): Likewise.
24091 (log2_test_data): Likewise.
24092 (sin_test_data): Likewise.
24093 (sin_tonearest_test_data): Likewise.
24094 (sin_towardzero_test_data): Likewise.
24095 (sin_downward_test_data): Likewise.
24096 (sin_upward_test_data): Likewise.
24097 (sinh_test_data): Likewise.
24098 (sinh_tonearest_test_data): Likewise.
24099 (sinh_towardzero_test_data): Likewise.
24100 (sinh_downward_test_data): Likewise.
24101 (sinh_upward_test_data): Likewise.
24102 (tan_test_data): Likewise.
24103 (tan_tonearest_test_data): Likewise.
24104 (tan_towardzero_test_data): Likewise.
24105 (tan_downward_test_data): Likewise.
24106 (tan_upward_test_data): Likewise.
24107 (tanh_test_data): Likewise.
24108 (tgamma_test_data): Likewise.
24109 (y0_test_data): Likewise.
24110 (y1_test_data): Likewise.
24111 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
24112 (special_real_inputs): Add pi/4.
24113 * sysdeps/i386/fpu/libm-test-ulps: Update.
24114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24116 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24118 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
24119 "longjmp_target" static probes.
24120 (__longjmp): Rename to __longjmp_symbol.
24121 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24122 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
24123 on which longjmp to generate.
24124 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24125 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
24127 (__sigsetjmp): Rename to __sigsetjmp_symbol.
24128 (__sigjmp_save): Rename to __sigjmp_save_symbol.
24129 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24130 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
24131 and __sigjmp_save_symbol based on which sigsetjmp to generated.
24132 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
24133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
24134 __longjmp_symbol based on which __longjmp to generate.
24135 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
24137 (setjmp): Rename to setjmp_symbol.
24138 (__sigsetjmp): Rename to __sigsetjmp_symbol.
24139 (_setjmp): Rename to _setjmp_symbol.
24140 (__sigsetjmp): Rename to __sigsetjmp_symbol.
24141 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
24142 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
24143 which setjmp to generate.
24144 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
24145 "longjmp_target" static probes.
24147 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24149 * benchtests/README: Add note about output arguments.
24150 * benchtests/bench-sincos.c: Remove file.
24151 * benchtests/sincos-inputs: New file.
24152 * scripts/bench.pl: Identify output arguments and define
24153 static variables for them.
24155 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
24158 * Makefile (INSTALL): Add install-plain.texi as the primary
24160 * manual/install-plain.texi: New file.
24161 * manual/install.texi: Include node directive only for
24162 non-plaintext output.
24164 2013-12-04 Joseph Myers <joseph@codesourcery.com>
24166 * stdlib/longlong.h: Update from GCC.
24170 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
24171 * math/w_j0f.c (y0f): Likewise.
24172 * math/w_j0l.c (__y0l): Likewise.
24173 * math/w_j1.c (y1): Likewise.
24174 * math/w_j1f.c (y1f): Likewise.
24175 * math/w_j1l.c (__y1l): Likewise
24176 * math/w_jn.c (yn): Likewise.
24177 * math/w_jnf.c (ynf): Likewise.
24178 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
24179 Bessel function pole errors in _POSIX_ mode. Use NAN as return
24180 value for Bessel function domain errors outside _SVID_ mode.
24181 Adjust sign of return value for yn (negative integer, 0).
24182 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
24183 by zero in return for negative x and set sign appropriately for
24185 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
24186 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24187 * math/libm-test.inc (y0_test_data): Add more tests and adjust
24188 expectations in error cases.
24189 (y1_test_data): Likewise.
24190 (yn_test_data): Likewise.
24191 * sysdeps/i386/fpu/libm-test-ulps: Update.
24192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24194 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24196 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
24197 "64" to "64-v1". Add "64-v2".
24198 (abi-64-options): Rename to ...
24199 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
24200 (abi-64-condition): Rename to ...
24201 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
24202 (abi-64-ld-soname): Rename to ...
24203 (abi-64-v1-ld-soname): ... this.
24204 (abi-64-v2-options): Define.
24205 (abi-64-v2-condition): Likewise.
24206 (abi-64-v2-ld-soname): Likewise.
24207 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
24208 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
24209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
24210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
24211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
24213 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24214 Alan Modra <amodra@gmail.com>
24216 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
24217 New versions for use with the ELFv2 ABI.
24218 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
24219 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
24221 (struct La_ppc64v2_retval): Likewise.
24222 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
24223 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
24224 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
24225 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
24226 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
24227 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24228 Do not save or restore CR.
24229 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
24230 (_dl_profile_resolve): Do no save or restore CR. Support extended
24231 return values for ELFv2 ABI. Fix location of FPR return registers.
24232 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
24233 updated values for _CALL_ELF == 2.
24234 (La_regs, La_retval, int_retval): Likewise.
24236 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24238 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
24239 (FRAME_MIN_SIZE_PARM): Likewise.
24240 (FRAME_BACKCHAIN): Likewise.
24241 (FRAME_CR_SAVE): Likewise.
24242 (FRAME_LR_SAVE): Likewise.
24243 (FRAME_TOC_SAVE): Likewise.
24244 (FRAME_PARM_SAVE): Likewise.
24245 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
24246 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
24247 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24248 (call_mcount_parm_offset): New macro.
24249 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
24250 (PROF): Use symbolic stack frame offsets.
24251 (TAIL_CALL_SYSCALL_ERROR): Likewise.
24252 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
24253 Redefine in terms of FRAME_MIN_SIZE.
24254 (_dl_runtime_resolve): Use symbolic stack frame offsets.
24255 (_dl_profile_resolve): Likewise. Update comment.
24256 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
24257 symbols stack frame offsets.
24258 (__sigsetjmp): Likewise.
24259 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
24260 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
24261 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
24262 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
24264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
24265 (FRAME_BACKCHAIN): Remove.
24266 (FRAME_CR_SAVE): Likewise.
24267 (FRAME_LR_SAVE): Likewise.
24268 (FRAME_COMPILER_DW): Likewise.
24269 (FRAME_LINKER_DW): Likewise.
24270 (FRAME_TOC_SAVE): Likewise.
24271 (FRAME_PARM_SAVE): Likewise.
24272 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
24273 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
24274 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
24276 (CHECK_SP): Use symbolic stack frame offsets.
24277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
24278 zone" instead of caller's parameter save area for temp storage.
24279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24280 Likewise. Also, use symbolic stack frame offsets.
24281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
24282 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
24283 our own stack frame instead of the caller's.
24284 (__socket): Use symbolic stack frame offsets.
24286 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24287 Alan Modra <amodra@gmail.com>
24289 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
24291 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
24292 (PPC64_LOCAL_ENTRY_OFFSET): Define.
24293 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
24295 (elf_machine_fixup_plt): Call it.
24296 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
24298 (elf_machine_rela): Update call to elf_machine_plt_conflict.
24299 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24300 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
24301 r2 before calling target.
24303 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24304 Alan Modra <amodra@gmail.com>
24306 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
24307 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
24308 versions of macros to support ELFv2 ABI.
24309 (LOCALENTRY): New macro.
24310 (ENTRY, EALIGN): Use it.
24311 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
24312 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
24313 fall through into ENTRY entry point.
24314 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
24315 Only define if _CALL_ELF != 2.
24317 (elf_machine_matches_host): Verify ABI version matches.
24318 (RTLD_START): Use LOCALENTRY.
24319 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
24320 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
24321 (PLT_ENTRY_WORDS): New macro.
24322 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
24323 (elf_machine_runtime_setup): Support ELFv2 ABI.
24324 (elf_machine_fixup_plt): Likewise.
24325 (elf_machine_plt_conflict): Likewise.
24326 (resolve_ifunc): Likewise.
24327 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24328 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
24330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
24331 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
24332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24333 (makecontext): Support ELFv2 ABI.
24334 * elf/elf.h (EF_PPC64_ABI): Define.
24336 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24338 * sysdeps/powerpc/powerpc64/sysdep.h
24339 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
24340 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
24341 (ENTRY) [ASSEMBLER]: ... but instead here ...
24342 (EALIGN) [ASSEMBLER]: ... and here.
24343 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
24344 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
24345 (ENTRY_2) [!ASSEMBLER]: Use it.
24346 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
24347 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
24348 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24349 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
24350 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
24351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
24352 Use PPC64_LOAD_FUNCPTR.
24354 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
24356 2013-12-04 Alan Modra <amodra@gmail.com>
24358 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
24359 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
24360 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
24361 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
24363 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
24364 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
24365 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
24366 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
24367 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
24368 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
24370 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24373 (__makecontext): Fix incorrect CFI when backtracing out of
24374 context created via makecontext.
24375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
24376 (__setcontext): Fix incorrect CFI during switch to new context.
24377 (__novec_setcontext): Likewise.
24379 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
24382 * time/strptime_l.c (__strptime_internal): Allow modifiers
24384 * time/tst-strptime.c (day_tests): Add testcase.
24386 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24388 * scripts/bench.pl: Skip over blank lines.
24390 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
24393 * manual/time.texi (Calendar Time): Clarify what timezone functions
24396 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24400 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
24402 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
24404 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
24405 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
24406 * debug/memset_chk.c (__memset_chk): Likewise.
24407 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
24408 * debug/strncpy_chk.c: Likewise.
24410 2013-12-03 Joseph Myers <joseph@codesourcery.com>
24414 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
24415 (__ieee754_exp): For possibly underflowing results, check size of
24416 result and force underflow exception if required.
24417 * math/auto-libm-test-in: Add more tests of exp.
24418 * math/auto-libm-test-out: Regenerated.
24419 * sysdeps/i386/fpu/libm-test-ulps: Update.
24420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24423 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
24424 * math/w_exp2f.c (__exp2f): Likewise.
24425 * math/w_exp2l.c (__exp2l): Likewise.
24426 * math/auto-libm-test-in: Do not allow missing errno on exp2
24428 * math/auto-libm-test-out: Regenerated.
24430 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
24433 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
24434 handle filename validation.
24435 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
24438 2013-12-03 Joseph Myers <joseph@codesourcery.com>
24441 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
24442 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
24443 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
24445 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
24446 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
24447 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24448 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
24449 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24450 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
24451 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24452 * math/auto-libm-test-in: Don't allow missing errno from erfc.
24453 Add more erfc tests.
24454 * math/auto-libm-test-out: Regenerated.
24455 * sysdeps/i386/fpu/libm-test-ulps: Update.
24456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24458 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
24459 exp2, expm1, j0 and j1.
24460 * math/auto-libm-test-out: Regenerated.
24461 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
24462 (erfc_test_data): Likewise.
24463 (exp_test_data): Likewise.
24464 (exp_tonearest_test_data): Likewise.
24465 (exp_towardzero_test_data): Likewise.
24466 (exp_downward_test_data): Likewise.
24467 (exp_upward_test_data): Likewise.
24468 (exp10_test_data): Likewise.
24469 (exp2_test_data): Likewise.
24470 (expm1_test_data): Likewise.
24471 (j0_test_data): Likewise.
24472 (j1_test_data): Likewise.
24473 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
24474 (input_flag_type): Add flag_xfail_rounding.
24475 (input_flags): Add xfail-rounding.
24476 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
24477 (output_for_one_input_case): Handle flag_xfail_rounding.
24478 * sysdeps/i386/fpu/libm-test-ulps: Update.
24479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24481 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
24484 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
24487 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24490 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
24491 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
24492 (STAP_PROBE0): New macro.
24493 (STAP_PROBE1): Likewise.
24494 (STAP_PROBE2): Likewise.
24495 (STAP_PROBE3): Likewise.
24496 (STAP_PROBE4): Likewise.
24498 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
24500 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
24502 2013-12-02 Steve Ellcey <sellcey@mips.com>
24504 * benchtests/Makefile (bench): Add sqrt.
24505 (LDLIBS-bench-sqrt): New.
24506 * benchtests/sqrt-input: New.
24508 2013-12-02 Pavel Simerda <psimerda@redhat.com>
24510 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
24511 (GAIH_EAI): Likewise.
24512 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
24513 (gaih_inet): Likewise.
24514 (getaddrinfo): Don't use GAIH_EAI.
24516 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
24517 (struct gaih): Remove definition.
24519 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24521 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
24522 Use HERRNOP directly.
24524 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24528 2013-11-30 Joseph Myers <joseph@codesourcery.com>
24530 * math/gen-auto-libm-tests.c (test_functions): Add more
24531 single-argument functions.
24532 (special_fill_pi_2): New function.
24533 (special_fill_minus_pi_2): Likewise.
24534 (special_fill_pi_6): Likewise.
24535 (special_fill_minus_pi_6): Likewise.
24536 (special_fill_pi_3): Likewise.
24537 (special_fill_2pi_3): Likewise.
24538 (special_fill_e): Likewise.
24539 (special_fill_1_e): Likewise.
24540 (special_fill_e_minus_1): Likewise.
24541 (special_real_inputs): Add more special inputs.
24542 (output_for_one_input_case): Do not require ERANGE on underflow to
24543 zero if round-to-nearest result does not underflow to zero, unless
24544 exact results required.
24545 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
24546 atan, atanh, cbrt, cos and cosh.
24547 * math/auto-libm-test-out: Regenerated.
24548 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
24549 (acos_tonearest_test_data): Likewise.
24550 (acos_towardzero_test_data): Likewise.
24551 (acos_downward_test_data): Likewise.
24552 (acos_upward_test_data): Likewise.
24553 (acosh_test_data): Likewise.
24554 (asin_test_data): Likewise.
24555 (asin_tonearest_test_data): Likewise.
24556 (asin_towardzero_test_data): Likewise.
24557 (asin_upward_test_data): Likewise.
24558 (asinh_test_data): Likewise.
24559 (atan_test_data): Likewise.
24560 (atanh_test_data): Likewise.
24561 (cbrt_test_data): Likewise.
24562 (cos_test_data): Likewise.
24563 (cos_tonearest_test_data): Likewise.
24564 (cos_towardzero_test_data): Likewise.
24565 (cos_downward_test_data): Likewise.
24566 (cos_upward_test_data): Likewise.
24567 (cosh_test_data): Likewise.
24568 (cosh_tonearest_test_data): Likewise.
24569 (cosh_towardzero_test_data): Likewise.
24570 (cosh_downward_test_data): Likewise.
24571 (cosh_upward_test_data): Likewise.
24572 * sysdeps/i386/fpu/libm-test-ulps: Update.
24573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24575 2013-11-29 Joseph Myers <joseph@codesourcery.com>
24578 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
24579 * math/w_exp10f.c (__exp10f): Likewise.
24580 * math/w_exp10l.c (__exp10l): Likewise.
24581 * math/libm-test.inc (exp10_test_data): Add more tests and expect
24582 errno settings in existing tests.
24585 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
24586 precision control set to double precision.
24587 * sysdeps/i386/fpu/w_sqrt.c: New file.
24588 * math/auto-libm-test-in: Add more tests.
24589 * math/auto-libm-test-out: Update.
24591 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
24592 (sqrt_test_tonearest): New function.
24593 (sqrt_towardzero_test_data): New variable.
24594 (sqrt_test_towardzero): New function.
24595 (sqrt_downward_test_data): New variable.
24596 (sqrt_test_downward): New function.
24597 (sqrt_upward_test_data): New variable.
24598 (sqrt_test_upward): New function.
24599 (main): Call the new functions.
24601 * math/gen-auto-libm-tests.c: New file.
24602 * math/auto-libm-test-in: Likewise.
24603 * math/auto-libm-test-out: New generated file.
24604 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
24606 (%beautify): Add generated representations of zero.
24607 (top level): Set $auto_input and call parse_auto_input.
24608 (beautify): Remove trailing "f" from hex float constants.
24609 (parse_args): Handle XFAIL_TEST.
24610 (convert_condition): New function.
24611 (or_value): Likewise.
24612 (or_cond_value): Likewise.
24613 (generate_testfile): Handle AUTO_TESTS_* lines.
24614 (parse_auto_input): New function.
24615 * math/libm-test.inc (XFAIL_TEST): New macro.
24616 (ERRNO_UNCHANGED): Update value.
24617 (ERRNO_EDOM): Likewise.
24618 (ERRNO_ERANGE): Likewise.
24619 (IGNORE_RESULT): Likewise.
24620 (TEST_COND_flt_32): New macro.
24621 (TEST_COND_dbl_64): Likewise.
24622 (TEST_COND_ldbl_96_intel): Likewise.
24623 (TEST_COND_ldbl_96_m68k): Likewise.
24624 (TEST_COND_ldbl_128): Likewise.
24625 (TEST_COND_ldbl_128ibm): Likewise.
24626 (TEST_COND_long32): Likewise.
24627 (TEST_COND_long64): Likewise.
24628 (TEST_COND_before_rounding): Likewise.
24629 (TEST_COND_after_rounding): Likewise.
24630 (enable_test): Handle XFAIL_TEST flag.
24631 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
24632 with finite results.
24633 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
24634 auto-libm-test-out.
24636 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24637 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24640 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
24641 __tls_get_addr_internal instead of __tls_get_offset in order to
24642 avoid GOT pointer dependency. Make rtld export
24643 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
24644 __tls_get_addr since we are a __tls_get_offset platform.
24645 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
24646 GOT pointer being set up before.
24647 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
24649 2013-11-28 Joseph Myers <joseph@codesourcery.com>
24651 * manual/math.texi (Errors in Math Functions): Document accuracy
24655 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
24656 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
24657 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24658 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24659 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24660 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24661 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24662 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24663 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24664 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24665 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24666 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24667 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24668 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24669 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24670 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24672 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
24673 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
24674 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
24675 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
24676 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
24678 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
24680 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
24682 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
24683 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
24684 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
24685 atomic-feupdateenv and flt-rounds.
24686 * sysdeps/powerpc/nofpu/Versions (libc): Add
24687 __atomic_feholdexcept, __atomic_feclearexcept,
24688 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
24689 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
24690 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
24691 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
24692 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
24694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24697 * manual/arith.texi (FP Exceptions): Document that exceptions may
24698 not be raised when matherr is used.
24699 (Math Error Reporting): Document overflow in directed rounding
24700 modes. Document that errno may not be set when finite values are
24701 returned on overflow. Document intent to set errno on underflow
24702 only for underflow to zero.
24705 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
24706 round-to-nearest then adjust result for other rounding modes.
24707 * include/fenv.h (fegetround): Use libm_hidden_proto.
24708 * math/fegetround.c (fegetround): Use libm_hidden_def.
24709 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24710 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24711 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24712 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24714 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
24715 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24716 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24717 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
24719 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24722 * nss/Versions (libnss_files): Add
24723 _nss_files_gethostbyname3_r.
24724 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
24726 (HOST_DB_LOOKUP): Remove macro.
24727 (_nss_files_gethostbyname_r): Implement function without the
24728 HOST_DB_LOOKUP macro.
24729 (_nss_files_gethostbyname2_r): Likewise.
24731 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
24733 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
24735 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
24737 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
24738 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
24741 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24743 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
24744 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
24745 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
24746 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24747 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
24748 __fe_nomask_env_priv and attribute_hidden.
24749 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
24750 (libc_feupdateenv_test_ppc): Likewise.
24751 (libc_feresetround_ppc): Likewise.
24752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24753 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
24754 compat_symbol macro.
24755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24756 (__fe_nomask_env): Likewise.
24757 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
24759 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24761 * string/Makefile: Remove ifunc tests.
24762 * string/test-string.h: Define TEST_IFUNC.
24763 * string/test-bcopy-ifunc.c: Remove.
24764 * string/test-bzero-ifunc.c: Likewise.
24765 * string/test-memccpy-ifunc.c: Likewise.
24766 * string/test-memchr-ifunc.c: Likewise.
24767 * string/test-memcmp-ifunc.c: Likewise.
24768 * string/test-memcpy-ifunc.c: Likewise.
24769 * string/test-memmem-ifunc.c: Likewise.
24770 * string/test-memmove-ifunc.c: Likewise.
24771 * string/test-mempcpy-ifunc.c: Likewise.
24772 * string/test-memrchr-ifunc.c: Likewise.
24773 * string/test-memset-ifunc.c: Likewise.
24774 * string/test-rawmemchr-ifunc.c: Likewise.
24775 * string/test-stpcpy-ifunc.c: Likewise.
24776 * string/test-stpncpy-ifunc.c: Likewise.
24777 * string/test-strcasecmp-ifunc.c: Likewise.
24778 * string/test-strcasestr-ifunc.c: Likewise.
24779 * string/test-strcat-ifunc.c: Likewise.
24780 * string/test-strchr-ifunc.c: Likewise.
24781 * string/test-strchrnul-ifunc.c: Likewise.
24782 * string/test-strcmp-ifunc.c: Likewise.
24783 * string/test-strcpy-ifunc.c: Likewise.
24784 * string/test-strcspn-ifunc.c: Likewise.
24785 * string/test-strlen-ifunc.c: Likewise.
24786 * string/test-strncasecmp-ifunc.c: Likewise.
24787 * string/test-strncat-ifunc.c: Likewise.
24788 * string/test-strncmp-ifunc.c: Likewise.
24789 * string/test-strncpy-ifunc.c: Likewise.
24790 * string/test-strnlen-ifunc.c: Likewise.
24791 * string/test-strpbrk-ifunc.c: Likewise.
24792 * string/test-strrchr-ifunc.c: Likewise.
24793 * string/test-strspn-ifunc.c: Likewise.
24794 * string/test-strstr-ifunc.c: Likewise.
24796 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24798 * benchtests/Makefile: Remove ifunc tests.
24799 * benchtests/bench-string.h: Define TEST_IFUNC.
24800 * benchtests/bench-bcopy-ifunc.c: Remove.
24801 * benchtests/bench-bzero-ifunc.c: Likewise.
24802 * benchtests/bench-memccpy-ifunc.c: Likewise.
24803 * benchtests/bench-memchr-ifunc.c: Likewise.
24804 * benchtests/bench-memcmp-ifunc.c: Likewise.
24805 * benchtests/bench-memcpy-ifunc.c: Likewise.
24806 * benchtests/bench-memmem-ifunc.c: Likewise.
24807 * benchtests/bench-memmove-ifunc.c: Likewise.
24808 * benchtests/bench-mempcpy-ifunc.c: Likewise.
24809 * benchtests/bench-memrchr-ifunc.c: Likewise.
24810 * benchtests/bench-memset-ifunc.c: Likewise.
24811 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
24812 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
24813 * benchtests/bench-stpcpy-ifunc.c: Likewise.
24814 * benchtests/bench-stpncpy-ifunc.c: Likewise.
24815 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
24816 * benchtests/bench-strcasestr-ifunc.c: Likewise.
24817 * benchtests/bench-strcat-ifunc.c: Likewise.
24818 * benchtests/bench-strchr-ifunc.c: Likewise.
24819 * benchtests/bench-strchrnul-ifunc.c: Likewise.
24820 * benchtests/bench-strcmp-ifunc.c: Likewise.
24821 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
24822 * benchtests/bench-strcpy-ifunc.c: Likewise.
24823 * benchtests/bench-strcspn-ifunc.c: Likewise.
24824 * benchtests/bench-strlen-ifunc.c: Likewise.
24825 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
24826 * benchtests/bench-strncat-ifunc.c: Likewise.
24827 * benchtests/bench-strncmp-ifunc.c: Likewise.
24828 * benchtests/bench-strncpy-ifunc.c: Likewise.
24829 * benchtests/bench-strnlen-ifunc.c: Likewise.
24830 * benchtests/bench-strpbrk-ifunc.c: Likewise.
24831 * benchtests/bench-strrchr-ifunc.c: Likewise.
24832 * benchtests/bench-strsep-ifunc.c: Likewise.
24833 * benchtests/bench-strspn-ifunc.c: Likewise.
24834 * benchtests/bench-strstr-ifunc.c: Likewise.
24836 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24838 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
24840 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24842 * resolv/netdb.h: Use __glibc_reserved instead __unused.
24843 * rt/aio.h: Likewise.
24844 * sysdeps/gnu/bits/utmp.h: Likewise.
24845 * sysdeps/gnu/bits/utmpx.h: Likewise.
24846 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24847 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
24848 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
24849 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
24850 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
24851 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
24852 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
24853 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
24854 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
24855 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
24856 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
24857 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
24858 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
24859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
24860 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24861 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
24862 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
24863 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
24864 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
24865 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
24866 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
24867 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
24868 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
24869 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24870 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
24871 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24872 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
24873 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
24874 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
24875 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
24876 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
24877 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
24878 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
24879 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
24880 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
24881 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
24882 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
24883 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
24884 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
24885 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
24886 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
24887 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24889 2013-11-25 Carlos O'Donell <carlos@redhat.com>
24892 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
24893 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
24895 2013-11-25 Joseph Myers <joseph@codesourcery.com>
24897 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
24898 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
24901 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24903 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
24904 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
24905 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
24906 (__fesetround): Remove define.
24907 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
24908 rounding and exceptions handling.
24909 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
24910 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
24911 (__fe_nomask_env): Likewise.
24912 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
24913 __fegetround instead of fegetround.
24914 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24915 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
24917 2013-11-21 Roland McGrath <roland@hack.frob.com>
24919 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
24922 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
24924 2013-11-21 Meador Inge <meadori@codesourcery.com>
24927 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
24928 (encrypt_r): Likewise.
24929 * malloc/obstack.h (obstack_free): Likewise.
24930 * posix/unistd.h (encrypt): Likewise.
24932 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
24934 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
24935 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
24936 DL_CALL_DT_FINI() that call the functions directly.
24937 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
24938 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
24939 * elf/dl-fini.c: Likewise.
24941 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
24943 * malloc/hooks.c (memalign_check): Add alignment rounding.
24944 * malloc/malloc.c (_mid_memalign): New function.
24945 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
24946 Implement by calling _mid_memalign.
24947 * manual/probes.texi (Memory Allocation Probes): Remove
24948 memory_valloc_retry and memory_pvalloc_retry.
24950 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24952 * locale/programs/locarchive.c (open_archive): Add const
24953 qualifier to ARCHIVEFNAME and copy default fname to
24957 * libio/tst-widetext.input: Rename Oriya to Odia.
24958 * locale/iso-639.def: Likewise.
24960 * manual/probes.texi (Mathematical Function Probes): Add
24961 documentation for sin, cos, asin and acos probes.
24962 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
24963 (__sin32): Add slowasin probe.
24964 (__cos32): Add slowacos probe.
24965 (__mpsin): Add slowsin probe.
24966 (__mpcos): Add slowcos probe.
24968 2013-11-19 Joseph Myers <joseph@codesourcery.com>
24971 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
24972 thread-local __sim_exceptions_thread and global
24973 __sim_exceptions_global.
24974 (__sim_disabled_exceptions): Change to thread-local
24975 __sim_disabled_exceptions_thread and global
24976 __sim_disabled_exceptions_global.
24977 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
24978 and global __sim_round_mode_global.
24979 (__simulate_exceptions): Use thread-local floating-point state and
24980 set global state from it as needed.
24981 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
24982 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
24983 __sim_round_mode_thread.
24984 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
24985 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
24986 and global __sim_exceptions_global.
24987 (__sim_disabled_exceptions): Change to thread-local
24988 __sim_disabled_exceptions_thread and global
24989 __sim_disabled_exceptions_global.
24990 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
24991 and global __sim_round_mode_global.
24992 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
24993 (SIM_SET_GLOBAL): Likewise.
24994 * sysdeps/powerpc/soft-fp/sfp-machine.h
24995 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
24996 __sim_round_mode_thread.
24997 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
24998 __sim_disabled_exceptions_thread.
24999 (__sim_exceptions): Change to __sim_exceptions_thread.
25000 (__sim_disabled_exceptions): Change to
25001 __sim_disabled_exceptions_thread.
25002 (__sim_round_mode): Change to __sim_round_mode_thread.
25003 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
25004 thread-local floating-point state and set global state from it as
25006 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
25007 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
25008 (__sim_disabled_exceptions): Remove extern declaration.
25009 (feenableexcept): Use thread-local floating-point state and set
25010 global state from it as needed.
25011 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
25012 extern declaration.
25013 (__sim_disabled_exceptions): Likewise.
25014 (__sim_round_mode): Likewise.
25015 (__fegetenv): Use thread-local floating-point state.
25016 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
25017 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25018 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
25019 floating-point state and set global state from it as needed.
25020 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
25021 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25022 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
25024 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25025 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
25027 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
25028 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
25029 Use __sim_round_mode_thread.
25030 * math/test-fenv-tls.c: New file.
25031 * math/Makefile (tests): Add test-fenv-tls.
25032 ($(objpfx)test-fenv-tls): Depend on
25033 $(common-objpfx)nptl/libpthread.so.
25035 2013-11-19 Andreas Schwab <schwab@suse.de>
25037 * locale/programs/locale.c (show_info): Decode wordarray elements.
25038 * locale/categories.def (LC_MONETARY): Add element for
25039 _NL_MONETARY_CRNCYSTR.
25040 * locale/C-monetary.c (conversion_rate): New variable.
25041 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
25044 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
25046 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
25047 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
25049 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
25051 * elf/Makefile (tst-auxv): New test.
25052 * elf/tst-auxv.c: New
25053 * elf/rtld.c (dl_main): Adjust AT_EXECFN
25055 2013-11-18 Joseph Myers <joseph@codesourcery.com>
25057 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
25058 (hidden_proto): Caller changed.
25059 (hidden_tls_proto): New macro.
25060 (libc_hidden_tls_proto): Likewise.
25061 (rtld_hidden_tls_proto): Likewise.
25062 (libm_hidden_tls_proto): Likewise.
25063 (libresolv_hidden_tls_proto): Likewise.
25064 (librt_hidden_tls_proto): Likewise.
25065 (libdl_hidden_tls_proto): Likewise.
25066 (libnss_files_hidden_tls_proto): Likewise.
25067 (libnsl_hidden_tls_proto): Likewise.
25068 (libnss_nisplus_hidden_tls_proto): Likewise.
25069 (libutil_hidden_tls_proto): Likewise.
25071 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
25074 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
25075 (decompose_rpath): Defer expansion to fillin_rpath.
25076 (_dl_init_paths): Pass linkmap to fillin_rpath.
25078 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25080 * benchtests/Makefile: Add strsep.
25081 * benchtests/bench-strsep.c: New file: strsep benchtest.
25082 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
25084 2013-11-18 Andreas Schwab <schwab@suse.de>
25086 * locale/programs/locale.c (show_info) [case byte]: Check for
25087 '\377' instead of '\177'.
25088 * locale/C-monetary.c (not_available): Always use "\377".
25089 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
25090 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
25091 detect unavailable sign_posn locale elements.
25092 * locale/localeconv.c (__localeconv): For grouping and
25093 mon_grouping handle "\177" and "\377" like no grouping.
25094 (INT_ELEM): New macro. Use it to set all numeric members.
25095 * locale/programs/ld-monetary.c (monetary_read)
25096 <tok_mon_grouping>: Normalize single -1 to the empty string.
25097 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
25100 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
25103 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
25104 when we match (nil).
25105 * stdio-common/tst-sscanf.c (struct test): Add testcase.
25107 2013-11-16 Joseph Myers <joseph@codesourcery.com>
25109 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
25110 (NO_TEST_INLINE): Update value.
25111 (ERRNO_UNCHANGED): Likewise.
25112 (ERRNO_EDOM): Likewise.
25113 (ERRNO_ERANGE): Likewise.
25114 (IGNORE_RESULT): Likewise.
25115 (check_float_internal): Check signs of NaN results if
25116 TEST_NAN_SIGN used.
25117 (check_complex): Pass TEST_NAN_SIGN flag through to second
25118 check_float_internal call.
25119 (copysign_test_data): Add tests with quiet NaNs as second
25120 argument. Use TEST_NAN_SIGN.
25121 (fabs_test_data): Add test of negative quiet NaN argument. Use
25123 (signbit_test_data): Add tests of quiet NaN argument.
25124 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
25126 * math/gen-libm-test.pl (show_exceptions): Take extra argument
25128 (parse_args): Handle function results specified as IGNORE.
25129 * math/libm-test.inc (IGNORE_RESULT): New macro.
25130 (check_float_internal): Do not check numerical result if flag
25132 (check_complex): Pass through IGNORE_RESULT to second
25133 check_float_internal call.
25134 (check_int): Do not check numerical result if flag IGNORE_RESULT
25136 (check_long): Likewise.
25137 (check_bool): Likewise.
25138 (check_longlong): Likewise.
25139 (lrint_test_data): Add tests of infinite and NaN arguments.
25140 (lrint_tonearest_test_data): Likewise.
25141 (lrint_towardzero_test_data): Likewise.
25142 (lrint_downward_test_data): Likewise.
25143 (lrint_upward_test_data): Likewise.
25144 (llrint_test_data): Likewise.
25145 (llrint_tonearest_test_data): Likewise.
25146 (llrint_towardzero_test_data): Likewise.
25147 (llrint_downward_test_data): Likewise.
25148 (llrint_upward_test_data): Likewise.
25149 (lround_test_data): Likewise.
25150 (llround_test_data): Likewise.
25152 * math/libm-test.inc (NO_TEST_INLINE): New macro.
25153 (ERRNO_UNCHANGED): Update value.
25154 (ERRNO_EDOM): Likewise.
25155 (ERRNO_ERANGE): Likewise.
25156 (NO_TEST_INLINE_FLOAT): New macro.
25157 (NO_TEST_INLINE_DOUBLE): Likewise.
25158 (enable_test): New function.
25159 (RUN_TEST_f_f): Check enable_test before running test.
25160 (RUN_TEST_2_f): Likewise.
25161 (RUN_TEST_fff_f): Likewise.
25162 (RUN_TEST_c_f): Likewise.
25163 (RUN_TEST_f_f1): Likewise.
25164 (RUN_TEST_fF_f1): Likewise.
25165 (RUN_TEST_fI_f1): Likewise.
25166 (RUN_TEST_ffI_f1): Likewise.
25167 (RUN_TEST_c_c): Likewise.
25168 (RUN_TEST_cc_c): Likewise.
25169 (RUN_TEST_f_i): Likewise.
25170 (RUN_TEST_f_i_tg): Likewise.
25171 (RUN_TEST_ff_i_tg): Likewise.
25172 (RUN_TEST_f_b): Likewise.
25173 (RUN_TEST_f_b_tg): Likewise.
25174 (RUN_TEST_f_l): Likewise.
25175 (RUN_TEST_f_L): Likewise.
25176 (RUN_TEST_fFF_11): Likewise.
25177 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
25179 (cosh_test_data): Likewise.
25180 (exp_test_data): Likewise.
25181 (expm1_test_data): Likewise.
25182 (hypot_test_data): Likewise.
25183 (pow_test_data): Likewise.
25184 (sinh_test_data): Likewise.
25185 (tanh_test_data): Likewise.
25186 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
25189 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
25190 tests with quiet NaN input and output.
25191 (acosh_test_data): Likewise.
25192 (asin_test_data): Likewise.
25193 (asinh_test_data): Likewise.
25194 (atan_test_data): Likewise.
25195 (atanh_test_data): Likewise.
25196 (atan2_test_data): Likewise.
25197 (cbrt_test_data): Likewise.
25198 (cos_test_data): Likewise.
25199 (cosh_test_data): Likewise.
25200 (erf_test_data): Likewise.
25201 (erfc_test_data): Likewise.
25202 (exp_test_data): Likewise.
25203 (exp10_test_data): Likewise.
25204 (exp2_test_data): Likewise.
25205 (expm1_test_data): Likewise.
25206 (hypot_test_data): Likewise.
25207 (j0_test_data): Likewise.
25208 (j1_test_data): Likewise.
25209 (jn_test_data): Likewise.
25210 (lgamma_test_data): Likewise.
25211 (log_test_data): Likewise.
25212 (log10_test_data): Likewise.
25213 (log1p_test_data): Likewise.
25214 (log2_test_data): Likewise.
25215 (pow_test_data): Likewise.
25216 (scalb_test_data): Likewise.
25217 (sin_test_data): Likewise.
25218 (sincos_test_data): Likewise.
25219 (sinh_test_data): Likewise.
25220 (tan_test_data): Likewise.
25221 (tanh_test_data): Likewise.
25222 (tgamma_test_data): Likewise.
25223 (y0_test_data): Likewise.
25224 (y1_test_data): Likewise.
25225 (yn_test_data): Likewise.
25228 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
25229 argument being NaN and avoid computations with second argument in
25231 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25232 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25233 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25235 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
25237 * locale/iso-639.def: Add Chitwani Tharu (the).
25239 2013-11-14 Andreas Schwab <schwab@suse.de>
25241 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
25242 word instead of empty string.
25244 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25247 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
25248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25249 (__fe_nomask_env): Likewise.
25251 2013-11-13 Steve Ellcey <sellcey@mips.com>
25253 * benchtests/bench-timing.h: Include time.h.
25255 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
25258 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
25260 * sysdeps/unix/sysv/linux/configure: Regenerated.
25262 2013-11-13 Joseph Myers <joseph@codesourcery.com>
25265 * stdlib/strtod_l.c (round_and_return): Do not consider
25266 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
25267 exponent one less than half the least subnormal exponent.
25268 * stdlib/test-strtod-round-data: Add more tests.
25269 * stdlib/tst-strtod-round.c (tests): Regenerated.
25271 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25274 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
25275 (__fe_mask_env): Likewise.
25276 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
25277 libm_hidden_proto and add function prototype.
25278 (__fe_mask_env): Add function prototype.
25279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25280 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
25281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25282 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
25283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25284 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
25286 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25288 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
25289 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
25291 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25293 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
25294 of htab_find_slot().
25296 2013-11-11 David S. Miller <davem@davemloft.net>
25299 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
25300 symbol in the non-vis3 case in static builds.
25301 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
25302 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
25303 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
25304 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
25306 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
25309 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
25312 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25314 * benchtests/Makefile: Add bench-strtod.
25315 * benchtests/bench-strtod.c: New file: strtod benchtest
25317 2013-11-11 Andreas Schwab <schwab@suse.de>
25320 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
25321 terminating NUL in key length.
25323 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25325 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25326 Add artificial ODP entry for vDSO symbol for PPC64.
25327 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
25328 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
25330 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
25333 * nss/getent.c (services_keys): Recognize services starting with digit.
25335 2013-11-06 David S. Miller <davem@davemloft.net>
25338 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
25339 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
25341 2013-11-06 Will Newton <will.newton@linaro.org>
25343 * manual/memory.texi (Malloc Examples): Remove register
25344 keyword from examples.
25346 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
25348 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
25350 2013-11-04 Joseph Myers <joseph@codesourcery.com>
25353 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
25354 depending on [__GCC_IEC_559 > 0].
25355 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
25356 depending on [__GCC_IEC_559_COMPLEX > 0].
25358 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
25360 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
25363 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
25365 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
25367 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
25370 * malloc/malloc (malloc_info): Do not handle first bin as
25373 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
25375 * locale/iso-639.def: Add Central Nahuatl (nhn).
25377 2013-11-01 Bruno Haible <bruno@clisp.org>
25380 * manual/math.texi (BSD Random): Specify range upper bound as
25383 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
25385 * locale/iso-639.def: Add Meadow Mari (mhr).
25387 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
25389 [BZ #14752], [BZ #15763]
25390 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
25392 * rt/tst_shm.c: Add test for escaping directory.
25394 2013-10-31 Andreas Schwab <schwab@suse.de>
25397 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
25398 followed by 'x' as part of digit sequence.
25399 * stdio-common/tst-sscanf.c (double_tests2): New tests.
25401 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
25404 * configure.ac: allow GNU Make 4.0 and greater.
25405 * configure: Regenerated.
25407 2013-10-30 Will Newton <will.newton@linaro.org>
25410 * malloc/hooks.c (memalign_check): Limit alignment to the
25411 maximum representable power of two.
25412 * malloc/malloc.c (__libc_memalign): Likewise.
25413 * malloc/tst-memalign.c (do_test): Add test for very
25414 large alignment values.
25415 * malloc/tst-posix_memalign.c (do_test): Likewise.
25417 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
25420 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
25421 (munmap_chunk): Likewise.
25422 (mremap_chunk): Likewise.
25424 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
25427 * stdlib/div.c (div): Remove obsolete code.
25428 * stdlib/ldiv.c (ldiv): Likewise.
25429 * stdlib/lldiv.c (lldiv): Likewise.
25431 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25434 * nss/nss_files/files-XXX.c (get_contents_ret): New
25436 (get_contents): New function.
25437 (internal_getent): Use it. Expand size of LINEBUFLEN.
25439 2013-10-30 Mike Frysinger <vapier@gentoo.org>
25441 * configure.in: Moved to ...
25442 * configure.ac: ... here. Change reference to configure.in
25444 * sysdeps/arm/preconfigure.ac: ... here.
25445 configure.in to configure.ac.
25446 * sysdeps/gnu/configure.in: Moved to ...
25447 * sysdeps/gnu/configure.ac: ... here.
25448 * sysdeps/i386/configure.in: Moved to ...
25449 * sysdeps/i386/configure.ac: ... here.
25450 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
25451 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
25452 * sysdeps/mach/configure.in: Moved to ...
25453 * sysdeps/mach/configure.ac: ... here.
25454 * sysdeps/mach/hurd/configure.in: Moved to ...
25455 * sysdeps/mach/hurd/configure.ac: ... here.
25456 * sysdeps/powerpc/configure.in: Moved to ...
25457 * sysdeps/powerpc/configure.ac: ... here.
25458 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
25459 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
25460 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
25461 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
25462 * sysdeps/s390/s390-32/configure.in: Moved to ...
25463 * sysdeps/s390/s390-32/configure.ac: ... here.
25464 * sysdeps/s390/s390-64/configure.in: Moved to ...
25465 * sysdeps/s390/s390-64/configure.ac: ... here.
25466 * sysdeps/sh/configure.in: Moved to ...
25467 * sysdeps/sh/configure.ac: ... here.
25468 * sysdeps/sparc/configure.in: Moved to ...
25469 * sysdeps/sparc/configure.ac: ... here.
25470 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
25471 * sysdeps/unix/sysv/linux/configure.ac: ... here.
25472 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
25473 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
25474 * sysdeps/x86_64/configure.in: Moved to ...
25475 * sysdeps/x86_64/configure.ac: ... here.
25476 * sysdeps/x86_64/preconfigure.in: Moved to ...
25477 * sysdeps/x86_64/preconfigure.ac: ... here.
25478 * aclocal.m4: Change reference to configure.in to configure.ac.
25479 * config.h.in: Likewise.
25480 * manual/install.texi: Likewise.
25481 * manual/maint.texi: Likewise.
25482 * Makefile: Likewise.
25483 * malloc/Makefile: Likewise.
25484 * nscd/Makefile: Likewise.
25485 * Makeconfig: Change reference to configure.in and
25486 preconfigure.in to configure.ac and preconfigure.ac
25488 * INSTALL: Regenerated.
25489 * configure: Likewise.
25490 * sysdeps/gnu/configure: Likewise.
25491 * sysdeps/i386/configure: Likewise.
25492 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
25493 * sysdeps/mach/configure: Likewise.
25494 * sysdeps/mach/hurd/configure: Likewise.
25495 * sysdeps/powerpc/configure: Likewise.
25496 * sysdeps/powerpc/powerpc32/configure: Likewise.
25497 * sysdeps/powerpc/powerpc64/configure: Likewise.
25498 * sysdeps/s390/s390-32/configure: Likewise.
25499 * sysdeps/s390/s390-64/configure: Likewise.
25500 * sysdeps/sh/configure: Likewise.
25501 * sysdeps/sparc/configure: Likewise.
25502 * sysdeps/unix/sysv/linux/configure: Likewise.
25503 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
25504 * sysdeps/x86_64/configure: Likewise.
25505 * sysdeps/x86_64/preconfigure: Likewise.
25507 2013-10-29 Andreas Schwab <schwab@suse.de>
25509 * stdio-common/Makefile (tst-swscanf-ENV): Define.
25511 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25513 * benchtests/pow-inputs: Add new inputs.
25515 * benchtests/exp-inputs: Add new inputs.
25517 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
25518 conditional check for return value.
25519 (__cos32): Likewise.
25521 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25523 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
25524 to provide a boost for large inputs with word alignment.
25525 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
25526 implementation based on optimized PPC64 strcpy.
25527 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
25528 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
25529 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
25530 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
25532 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25535 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
25537 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25540 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
25541 * time/tst-strptime.c (day_tests): Add testcase.
25543 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25546 * manual/pattern.texi: Acknowledge that fnmatch can fail.
25548 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
25551 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
25552 MAP_FAILED on error.
25554 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25557 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
25558 heap for large requests.
25560 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
25563 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
25564 result if the result has no associated interface.
25565 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
25566 interface for all 127.X.Y.Z addresses.
25568 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
25570 * locale/iso-639.def: Add Ligurian (lij)
25572 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
25575 * sunrpc/rpc_main.c: Document rpcgen -5.
25577 2013-10-19 Michael Stahl <mstahl@redhat.com>
25579 * elf/rtld.c (do_preload): Print the reason why preloading failed.
25581 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
25584 * posix/glob.c: Match only directories when trailing slash is present.
25585 * posix/tst-gnuglob.c (my_opendir): Do not open files.
25586 (main): Add testcase.
25588 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
25591 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
25593 2013-10-18 Carlos O'Donell <carlos@redhat.com>
25595 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
25596 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
25597 AUTH_DES and cindex for FIPS 140-2.
25598 (DES Encryption): Add cindex FIPS 46-3.
25600 * locale/locarchive.h (struct locarhandle): Add fname.
25601 * locale/programs/localedef.c (main): Pass ARGV[remaining]
25602 if an optional argument was specified to --list-archive,
25604 * locale/programs/locarchive.c (show_archive_content): Take new
25605 argument fname and pass it via ah.fname to open_archive.
25606 * locale/programs/localedef.h: Update decl.
25607 (open_archive): If AH->fname is non-null, open that file
25608 rather than the default file name, and don't ignore ENOENT.
25609 (create_archive): Set AH.fname to NULL.
25610 (delete_locales_from_archive): Likewise.
25611 (add_locales_to_archive): Likewise.
25612 * locale/programs/locfile.c (write_all_categories): Likewise.
25614 2013-10-18 Joseph Myers <joseph@codesourcery.com>
25615 Aldy Hernandez <aldyh@redhat.com>
25617 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
25618 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
25619 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
25620 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
25621 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
25622 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
25623 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
25624 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
25625 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
25626 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
25627 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
25628 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
25629 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
25630 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
25631 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
25633 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
25635 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
25637 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
25639 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
25640 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
25642 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
25643 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
25644 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
25645 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
25647 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
25648 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
25649 * sysdeps/powerpc/preconfigure: Likewise.
25650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
25652 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
25653 Replace contents of file by #include of <fenv_libc.h>.
25654 * sysdeps/powerpc/soft-fp/sfp-machine.h
25655 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
25657 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
25658 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
25659 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
25660 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
25661 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
25662 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
25663 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
25664 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
25665 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
25666 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
25667 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
25668 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
25669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25670 Allow copysignl PLT reference to be missing.
25672 2013-10-18 Richard Sandiford <richard@codesourcery.com>
25673 Joseph Myers <joseph@codesourcery.com
25676 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
25678 (add_to_tablewc): Assert sequence of wide characters is nonempty.
25680 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25682 * elf/tst-tls-dlinfo.c: Don't include tls.h.
25683 * elf/tst-tls1.c: Likewise.
25684 * elf/tst-tls10.h: Likewise.
25685 * elf/tst-tls14.c: Likewise.
25686 * elf/tst-tls2.c: Likewise.
25687 * elf/tst-tls3.c: Likewise.
25688 * elf/tst-tls4.c: Likewise.
25689 * elf/tst-tls5.c: Likewise.
25690 * elf/tst-tls6.c: Likewise.
25691 * elf/tst-tls7.c: Likewise.
25692 * elf/tst-tls8.c: Likewise.
25693 * elf/tst-tls9.c: Likewise.
25694 * elf/tst-tlsmod1.c: Likewise.
25695 * elf/tst-tlsmod13.c: Likewise.
25696 * elf/tst-tlsmod13a.c: Likewise.
25697 * elf/tst-tlsmod14a.c: Likewise.
25698 * elf/tst-tlsmod16a.c: Likewise.
25699 * elf/tst-tlsmod16b.c: Likewise.
25700 * elf/tst-tlsmod2.c: Likewise.
25701 * elf/tst-tlsmod3.c: Likewise.
25702 * elf/tst-tlsmod4.c: Likewise.
25703 * elf/tst-tlsmod5.c: Likewise.
25704 * elf/tst-tlsmod6.c: Likewise.
25706 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
25709 * malloc/malloc.c: remove checks for statistics.
25711 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
25714 * inet/inet_net.c (inet_network): Detect additional invalid strings.
25715 * inet/tst-network.c: Add testcase.
25717 2013-10-17 Andreas Schwab <schwab@suse.de>
25720 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
25721 to determine canonical name.
25723 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
25725 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
25726 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
25727 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25728 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25729 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25730 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25731 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25732 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25733 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25734 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25735 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25736 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25737 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25738 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25739 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25740 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25741 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25742 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25743 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25744 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25745 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25746 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25747 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25748 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
25749 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
25750 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25751 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25752 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
25753 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25754 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
25755 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25756 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25757 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25758 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25759 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25760 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25761 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25762 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25763 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25764 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25765 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25766 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25767 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25768 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25769 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25770 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25771 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25772 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25773 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25774 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25775 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25776 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25777 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25778 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25779 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25780 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25781 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25782 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25784 2013-10-17 Joseph Myers <joseph@codesourcery.com>
25787 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
25788 make result into a quiet NaN.
25790 2013-10-16 Joseph Myers <joseph@codesourcery.com>
25792 * soft-fp/adddf3.c: Fix horizontal whitespace.
25793 * soft-fp/addsf3.c: Likewise.
25794 * soft-fp/addtf3.c: Likewise.
25795 * soft-fp/divdf3.c: Likewise.
25796 * soft-fp/divsf3.c: Likewise.
25797 * soft-fp/divtf3.c: Likewise.
25798 * soft-fp/double.h: Likewise.
25799 * soft-fp/eqdf2.c: Likewise.
25800 * soft-fp/eqsf2.c: Likewise.
25801 * soft-fp/eqtf2.c: Likewise.
25802 * soft-fp/extenddftf2.c: Likewise.
25803 * soft-fp/extended.h: Likewise.
25804 * soft-fp/extendsfdf2.c: Likewise.
25805 * soft-fp/extendsftf2.c: Likewise.
25806 * soft-fp/extendxftf2.c: Likewise.
25807 * soft-fp/fixdfdi.c: Likewise.
25808 * soft-fp/fixdfsi.c: Likewise.
25809 * soft-fp/fixdfti.c: Likewise.
25810 * soft-fp/fixsfdi.c: Likewise.
25811 * soft-fp/fixsfsi.c: Likewise.
25812 * soft-fp/fixsfti.c: Likewise.
25813 * soft-fp/fixtfdi.c: Likewise.
25814 * soft-fp/fixtfsi.c: Likewise.
25815 * soft-fp/fixtfti.c: Likewise.
25816 * soft-fp/fixunsdfdi.c: Likewise.
25817 * soft-fp/fixunsdfsi.c: Likewise.
25818 * soft-fp/fixunsdfti.c: Likewise.
25819 * soft-fp/fixunssfdi.c: Likewise.
25820 * soft-fp/fixunssfsi.c: Likewise.
25821 * soft-fp/fixunssfti.c: Likewise.
25822 * soft-fp/fixunstfdi.c: Likewise.
25823 * soft-fp/fixunstfsi.c: Likewise.
25824 * soft-fp/fixunstfti.c: Likewise.
25825 * soft-fp/floatdidf.c: Likewise.
25826 * soft-fp/floatdisf.c: Likewise.
25827 * soft-fp/floatditf.c: Likewise.
25828 * soft-fp/floatsidf.c: Likewise.
25829 * soft-fp/floatsisf.c: Likewise.
25830 * soft-fp/floatsitf.c: Likewise.
25831 * soft-fp/floattidf.c: Likewise.
25832 * soft-fp/floattisf.c: Likewise.
25833 * soft-fp/floattitf.c: Likewise.
25834 * soft-fp/floatundidf.c: Likewise.
25835 * soft-fp/floatundisf.c: Likewise.
25836 * soft-fp/floatunditf.c: Likewise.
25837 * soft-fp/floatunsidf.c: Likewise.
25838 * soft-fp/floatunsisf.c: Likewise.
25839 * soft-fp/floatunsitf.c: Likewise.
25840 * soft-fp/floatuntidf.c: Likewise.
25841 * soft-fp/floatuntisf.c: Likewise.
25842 * soft-fp/floatuntitf.c: Likewise.
25843 * soft-fp/fmadf4.c: Likewise.
25844 * soft-fp/fmasf4.c: Likewise.
25845 * soft-fp/fmatf4.c: Likewise.
25846 * soft-fp/gedf2.c: Likewise.
25847 * soft-fp/gesf2.c: Likewise.
25848 * soft-fp/getf2.c: Likewise.
25849 * soft-fp/ledf2.c: Likewise.
25850 * soft-fp/lesf2.c: Likewise.
25851 * soft-fp/letf2.c: Likewise.
25852 * soft-fp/muldf3.c: Likewise.
25853 * soft-fp/mulsf3.c: Likewise.
25854 * soft-fp/multf3.c: Likewise.
25855 * soft-fp/negdf2.c: Likewise.
25856 * soft-fp/negsf2.c: Likewise.
25857 * soft-fp/negtf2.c: Likewise.
25858 * soft-fp/op-1.h: Likewise.
25859 * soft-fp/op-2.h: Likewise.
25860 * soft-fp/op-4.h: Likewise.
25861 * soft-fp/op-8.h: Likewise.
25862 * soft-fp/op-common.h: Likewise.
25863 * soft-fp/quad.h: Likewise.
25864 * soft-fp/single.h: Likewise.
25865 * soft-fp/soft-fp.h: Likewise.
25866 * soft-fp/sqrtdf2.c: Likewise.
25867 * soft-fp/sqrtsf2.c: Likewise.
25868 * soft-fp/sqrttf2.c: Likewise.
25869 * soft-fp/subdf3.c: Likewise.
25870 * soft-fp/subsf3.c: Likewise.
25871 * soft-fp/subtf3.c: Likewise.
25872 * soft-fp/truncdfsf2.c: Likewise.
25873 * soft-fp/trunctfdf2.c: Likewise.
25874 * soft-fp/trunctfsf2.c: Likewise.
25875 * soft-fp/trunctfxf2.c: Likewise.
25876 * soft-fp/unorddf2.c: Likewise.
25877 * soft-fp/unordsf2.c: Likewise.
25878 * soft-fp/unordtf2.c: Likewise.
25880 2013-10-15 Joseph Myers <joseph@codesourcery.com>
25882 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
25883 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
25885 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
25887 * elf/dl-libc.c: Clear initfini list after freeing.
25889 2013-10-14 Joseph Myers <joseph@codesourcery.com>
25891 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
25892 * soft-fp/addsf3.c: Likewise.
25893 * soft-fp/addtf3.c: Likewise.
25894 * soft-fp/divdf3.c: Likewise.
25895 * soft-fp/divsf3.c: Likewise.
25896 * soft-fp/divtf3.c: Likewise.
25897 * soft-fp/double.h: Likewise.
25898 * soft-fp/eqdf2.c: Likewise.
25899 * soft-fp/eqsf2.c: Likewise.
25900 * soft-fp/eqtf2.c: Likewise.
25901 * soft-fp/extenddftf2.c: Likewise.
25902 * soft-fp/extended.h: Likewise.
25903 * soft-fp/extendsfdf2.c: Likewise.
25904 * soft-fp/extendsftf2.c: Likewise.
25905 * soft-fp/extendxftf2.c: Likewise.
25906 * soft-fp/fixdfdi.c: Likewise.
25907 * soft-fp/fixdfsi.c: Likewise.
25908 * soft-fp/fixdfti.c: Likewise.
25909 * soft-fp/fixsfdi.c: Likewise.
25910 * soft-fp/fixsfsi.c: Likewise.
25911 * soft-fp/fixsfti.c: Likewise.
25912 * soft-fp/fixtfdi.c: Likewise.
25913 * soft-fp/fixtfsi.c: Likewise.
25914 * soft-fp/fixtfti.c: Likewise.
25915 * soft-fp/fixunsdfdi.c: Likewise.
25916 * soft-fp/fixunsdfsi.c: Likewise.
25917 * soft-fp/fixunsdfti.c: Likewise.
25918 * soft-fp/fixunssfdi.c: Likewise.
25919 * soft-fp/fixunssfsi.c: Likewise.
25920 * soft-fp/fixunssfti.c: Likewise.
25921 * soft-fp/fixunstfdi.c: Likewise.
25922 * soft-fp/fixunstfsi.c: Likewise.
25923 * soft-fp/fixunstfti.c: Likewise.
25924 * soft-fp/floatdidf.c: Likewise.
25925 * soft-fp/floatdisf.c: Likewise.
25926 * soft-fp/floatditf.c: Likewise.
25927 * soft-fp/floatsidf.c: Likewise.
25928 * soft-fp/floatsisf.c: Likewise.
25929 * soft-fp/floatsitf.c: Likewise.
25930 * soft-fp/floattidf.c: Likewise.
25931 * soft-fp/floattisf.c: Likewise.
25932 * soft-fp/floattitf.c: Likewise.
25933 * soft-fp/floatundidf.c: Likewise.
25934 * soft-fp/floatundisf.c: Likewise.
25935 * soft-fp/floatunsidf.c: Likewise.
25936 * soft-fp/floatunsisf.c: Likewise.
25937 * soft-fp/floatuntidf.c: Likewise.
25938 * soft-fp/floatuntisf.c: Likewise.
25939 * soft-fp/floatuntitf.c: Likewise.
25940 * soft-fp/fmadf4.c: Likewise.
25941 * soft-fp/fmasf4.c: Likewise.
25942 * soft-fp/fmatf4.c: Likewise.
25943 * soft-fp/gedf2.c: Likewise.
25944 * soft-fp/gesf2.c: Likewise.
25945 * soft-fp/getf2.c: Likewise.
25946 * soft-fp/ledf2.c: Likewise.
25947 * soft-fp/lesf2.c: Likewise.
25948 * soft-fp/letf2.c: Likewise.
25949 * soft-fp/muldf3.c: Likewise.
25950 * soft-fp/mulsf3.c: Likewise.
25951 * soft-fp/multf3.c: Likewise.
25952 * soft-fp/negdf2.c: Likewise.
25953 * soft-fp/negsf2.c: Likewise.
25954 * soft-fp/negtf2.c: Likewise.
25955 * soft-fp/op-1.h: Likewise.
25956 * soft-fp/op-2.h: Likewise.
25957 * soft-fp/op-4.h: Likewise.
25958 * soft-fp/op-8.h: Likewise.
25959 * soft-fp/op-common.h: Likewise.
25960 * soft-fp/quad.h: Likewise.
25961 * soft-fp/single.h: Likewise.
25962 * soft-fp/soft-fp.h: Likewise.
25963 * soft-fp/sqrtdf2.c: Likewise.
25964 * soft-fp/sqrtsf2.c: Likewise.
25965 * soft-fp/sqrttf2.c: Likewise.
25966 * soft-fp/subdf3.c: Likewise.
25967 * soft-fp/subsf3.c: Likewise.
25968 * soft-fp/subtf3.c: Likewise.
25969 * soft-fp/truncdfsf2.c: Likewise.
25970 * soft-fp/trunctfdf2.c: Likewise.
25971 * soft-fp/trunctfsf2.c: Likewise.
25972 * soft-fp/trunctfxf2.c: Likewise.
25973 * soft-fp/unorddf2.c: Likewise.
25974 * soft-fp/unordsf2.c: Likewise.
25975 * soft-fp/unordtf2.c: Likewise.
25977 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
25980 * misc/error.c (error_tail): Fix possible buffer overflow.
25982 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
25985 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
25988 2013-10-14 P. J. McDermott <pj@pehjota.net>
25991 * elf/ldd.bash.in (try_trace): New function. Delete previous code
25992 testing pipefail option.
25994 2013-10-12 Joseph Myers <joseph@codesourcery.com>
25996 * soft-fp/double.h: Indent preprocessor directives inside #if.
25997 * soft-fp/extended.h: Likewise.
25998 * soft-fp/op-2.h: Likewise.
25999 * soft-fp/op-4.h: Likewise.
26000 * soft-fp/op-common.h: Likewise.
26001 * soft-fp/quad.h: Likewise.
26002 * soft-fp/single.h: Likewise.
26003 * soft-fp/soft-fp.h: Likewise.
26005 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
26007 * iconv/iconv_prog.c: Fix typos.
26008 * stdio-common/psiginfo-data.h: Likewise.
26010 2013-10-12 Reuben Thomas <rrt@sc3d.org>
26013 * locale/setlocale.c: Fix typo.
26015 2013-10-12 Joseph Myers <joseph@codesourcery.com>
26018 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
26019 signaling NaN arguments.
26020 * soft-fp/unordsf2.c (__unordsf2): Likewise.
26021 * soft-fp/unordtf2.c (__unordtf2): Likewise.
26024 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
26025 unordered operands.
26026 * soft-fp/gesf2.c (__gesf2): Likewise.
26027 * soft-fp/getf2.c (__getf2): Likewise.
26028 * soft-fp/ledf2.c (__ledf2): Likewise.
26029 * soft-fp/lesf2.c (__lesf2): Likewise.
26030 * soft-fp/letf2.c (__letf2): Likewise.
26032 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
26033 * soft-fp/eqsf2.c (__eqsf2): Likewise.
26034 * soft-fp/eqtf2.c (__eqtf2): Likewise.
26035 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
26036 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
26037 * soft-fp/fixdfti.c (__fixdfti): Likewise.
26038 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
26039 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
26040 * soft-fp/fixsfti.c (__fixsfti): Likewise.
26041 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
26042 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
26043 * soft-fp/fixtfti.c (__fixtfti): Likewise.
26044 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
26045 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
26046 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
26047 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
26048 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
26049 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
26050 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
26051 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
26052 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
26053 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
26054 * soft-fp/floatdisf.c (__floatdisf): Likewise.
26055 * soft-fp/floatsisf.c (__floatsisf): Likewise.
26056 * soft-fp/floattidf.c (__floattidf): Likewise.
26057 * soft-fp/floattisf.c (__floattisf): Likewise.
26058 * soft-fp/floattitf.c (__floattitf): Likewise.
26059 * soft-fp/floatundidf.c (__floatundidf): Likewise.
26060 * soft-fp/floatundisf.c (__floatundisf): Likewise.
26061 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
26062 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
26063 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
26064 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
26065 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
26066 * soft-fp/gesf2.c (__gesf2): Likewise.
26067 * soft-fp/getf2.c (__getf2): Likewise.
26068 * soft-fp/ledf2.c (__ledf2): Likewise.
26069 * soft-fp/lesf2.c (__lesf2): Likewise.
26070 * soft-fp/letf2.c (__letf2): Likewise.
26072 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
26073 Undefine and redefine.
26074 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
26075 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
26076 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
26077 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
26078 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26079 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
26080 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26081 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
26082 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26083 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
26084 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26085 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
26086 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26087 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
26088 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26091 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
26092 without decrementing exponent if mantissa >= that for the
26093 denominator, not >.
26094 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
26095 denominator, not >. Decrement exponent in < case instead of
26096 incrementing in >= case.
26097 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
26098 without decrementing exponent if mantissa >= that for the
26099 denominator, not >.
26101 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
26102 computing saturated result for unsigned overflow.
26104 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26105 Jeff Law <law@redhat.com>
26107 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
26108 (atan2Mp): Add systemtap probe marker.
26109 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
26110 (__ieee754_log): Add systemtap probe marker.
26111 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
26112 (atanMp): Add systemtap probe marker.
26113 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
26114 (tanMp): Add systemtap probe marker.
26115 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
26116 (__slowexp): Add systemtap probe marker.
26117 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
26118 (__slowpow): Add systemtap probe marker.
26119 * manual/probes.texi: Document probes.
26121 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
26124 * libio/fileops.c (_IO_new_file_write): Return count of bytes
26126 (_IO_new_file_xsputn): Don't return EOF if nothing has been
26128 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
26129 written to buffer but not flushed.
26130 * libio/iofwrite_u.c: Likewise.
26131 * libio/iopadn.c: Return bytes returned even if EOF was
26133 * libio/iowpadn.c: Likewise.
26134 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
26135 if _IO_padn does not write the whole buffer.
26136 [!COMPILE_WPRINTF] (PAD): Likewise.
26138 2013-10-10 David S. Miller <davem@davemloft.net>
26140 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
26143 2013-10-10 Joseph Myers <joseph@codesourcery.com>
26145 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
26146 instead of FSF address.
26147 * soft-fp/fixdfti.c: Likewise.
26148 * soft-fp/fixsfti.c: Likewise.
26149 * soft-fp/fixtfti.c: Likewise.
26150 * soft-fp/fixunsdfti.c: Likewise.
26151 * soft-fp/fixunssfti.c: Likewise.
26152 * soft-fp/fixunstfti.c: Likewise.
26153 * soft-fp/floattidf.c: Likewise.
26154 * soft-fp/floattisf.c: Likewise.
26155 * soft-fp/floattitf.c: Likewise.
26156 * soft-fp/floatuntidf.c: Likewise.
26157 * soft-fp/floatuntisf.c: Likewise.
26158 * soft-fp/floatuntitf.c: Likewise.
26159 * soft-fp/trunctfxf2.c: Likewise.
26161 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
26162 * soft-fp/fixdfti.c: Likewise.
26163 * soft-fp/fixsfti.c: Likewise.
26164 * soft-fp/fixtfti.c: Likewise.
26165 * soft-fp/fixunsdfti.c: Likewise.
26166 * soft-fp/fixunssfti.c: Likewise.
26167 * soft-fp/fixunstfti.c: Likewise.
26168 * soft-fp/floattidf.c: Likewise.
26169 * soft-fp/floattisf.c: Likewise.
26170 * soft-fp/floattitf.c: Likewise.
26171 * soft-fp/floatuntidf.c: Likewise.
26172 * soft-fp/floatuntisf.c: Likewise.
26173 * soft-fp/floatuntitf.c: Likewise.
26174 * soft-fp/trunctfxf2.c: Likewise.
26176 2013-10-10 David S. Miller <davem@davemloft.net>
26178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26180 2013-10-10 Joseph Myers <joseph@codsourcery.com>
26182 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26183 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
26184 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
26185 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
26186 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
26187 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
26188 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
26190 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
26191 for NaNs before doing comparisons on argument.
26192 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26195 2013-10-10 Will Newton <will.newton@linaro.org>
26197 * malloc/hooks.c (memalign_check): Ensure the value of bytes
26198 passed to _int_memalign does not overflow.
26200 2013-10-10 Torvald Riegel <triegel@redhat.com>
26202 * scripts/bench.pl: Add include-sources directive.
26203 * benchtests/README: Update documentation.
26205 2013-10-10 Joseph Myers <joseph@codesourcery.com>
26207 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
26208 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
26209 instead of FP_INIT_ROUNDMODE.
26210 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
26211 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
26214 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
26215 copy class of input value.
26216 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
26217 not handle exceptions.
26218 * soft-fp/negsf2.c (__negsf2): Likewise.
26219 * soft-fp/negtf2.c (__negtf2): Likewise.
26220 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
26222 2013-10-09 Joseph Myers <joseph@codesourcery.com>
26224 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
26225 semicolon. From Linux kernel.
26227 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
26229 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
26231 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
26234 * manual/socket.texi: Added statement about buffer
26235 for gethostbyname2_r.
26237 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
26239 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
26240 Use .p2align directive instead, throughout.
26241 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26242 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26243 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
26244 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26245 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26246 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
26247 * sysdeps/x86_64/strchr.S: Likewise.
26248 * sysdeps/x86_64/strrchr.S: Likewise.
26250 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26252 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
26254 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
26256 * sysdeps/generic/math_private.h (__mpsin1): Remove
26258 (__mpcos1): Likewise.
26259 (__mpsin): New argument __range_reduce.
26260 (__mpcos): Likewise.
26261 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26262 (slow): Use __mpsin and __mpcos.
26266 (sloww1): Likewise.
26267 (sloww2): Likewise.
26268 (bsloww): Likewise.
26269 (bsloww1): Likewise.
26270 (bsloww2): Likewise.
26271 (cslow2): Likewise.
26272 (csloww): Likewise.
26273 (csloww1): Likewise.
26274 (csloww2): Likewise.
26275 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
26276 range_reduce. Merge in __mpsin1.
26277 (__mpcos): Likewise.
26278 (__mpsin1): Remove.
26279 (__mpcos1): Likewise.
26281 2013-10-07 Joseph Myers <joseph@codesourcery.com>
26283 * locale/loadlocale.c (_nl_intern_locale_data): Use
26285 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
26286 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
26287 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
26288 obstack data is appropriately aligned.
26289 (obstack_int32_grow_fast): Likewise.
26290 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
26291 * locale/programs/locfile.c (add_locale_uint32): Likewise.
26292 (add_locale_uint32_array): Likewise.
26294 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26296 * benchtests/Makefile: Remove ARGLIST and RET variables.
26297 ($(objpfx)bench-%.c): Pass only function name to the script.
26298 * benchtests/README: Update documentation.
26299 * benchtests/acos-inputs: Add new directives.
26300 * benchtests/acosh-inputs: Likewise.
26301 * benchtests/asin-inputs: Likewise.
26302 * benchtests/asinh-inputs: Likewise.
26303 * benchtests/atan-inputs: Likewise.
26304 * benchtests/atanh-inputs: Likewise.
26305 * benchtests/cos-inputs: Likewise.
26306 * benchtests/cosh-inputs: Likewise.
26307 * benchtests/exp-inputs: Likewise.
26308 * benchtests/log-inputs: Likewise.
26309 * benchtests/pow-inputs: Likewise.
26310 * benchtests/rint-inputs: Likewise.
26311 * benchtests/sin-inputs: Likewise.
26312 * benchtests/sinh-inputs: Likewise.
26313 * benchtests/tan-inputs: Likewise.
26314 * benchtests/tanh-inputs: Likewise.
26315 * scripts/bench.pl: Add support for new directives.
26317 2013-10-07 Alan Modra <amodra@gmail.com>
26319 * README: Fix careless merge.
26321 2013-10-05 Alan Modra <amodra@gmail.com>
26323 * NEWS: Mention powerpc64le support and bugs fixed.
26324 * README: Both big-endian and little-endian powerpc64 supported.
26326 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26328 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
26329 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
26330 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
26331 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
26333 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
26335 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
26338 2013-10-04 Joseph Myers <joseph@codesourcery.com>
26340 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
26341 Move -mhard-float appending from
26342 ports/sysdeps/powerpc/powerpc32/Makefile.
26343 [$(with-fp) = yes] (ASFLAGS): Likewise.
26344 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
26345 * sysdeps/powerpc/nofpu: Move directory from
26346 ports/sysdeps/powerpc/nofpu.
26347 * sysdeps/powerpc/soft-fp: Move directory from
26348 ports/sysdeps/powerpc/soft-fp.
26349 * sysdeps/powerpc/powerpc32/405: Move directory from
26350 ports/sysdeps/powerpc/powerpc32/405.
26351 * sysdeps/powerpc/powerpc32/440: Move directory from
26352 ports/sysdeps/powerpc/powerpc32/440.
26353 * sysdeps/powerpc/powerpc32/464: Move directory from
26354 ports/sysdeps/powerpc/powerpc32/464.
26355 * sysdeps/powerpc/powerpc32/476: Move directory from
26356 ports/sysdeps/powerpc/powerpc32/476.
26357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
26358 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
26359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
26360 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
26361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
26362 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
26363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
26364 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
26365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
26366 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
26367 * README: Update for powerpc-*-linux-gnu software floating point
26370 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
26371 case to powerpc/powerpc32*.
26372 * sysdeps/unix/sysv/linux/configure: Regenerated.
26374 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
26375 (_FPU_MASK_OM): Define as 0x04.
26376 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
26377 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
26379 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
26381 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
26383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
26384 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
26387 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
26390 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
26391 and setcontext_e500.
26393 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
26395 * locale/iso-3166.def: Update iso-1366.def and related occurrences
26397 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26399 * manual/threads.texi (Default Thread Attributes): Fix typo.
26401 2013-10-04 Will Newton <will.newton@linaro.org>
26403 * malloc/Makefile: Add tst-memalign.
26404 * malloc/tst-memalign.c: New file.
26406 * malloc/tst-posix_memalign.c: Add comments.
26407 (do_test): Add comments and call free on all potentially
26408 allocated pointers. Add space after cast.
26410 * malloc/tst-pvalloc.c: Add comments.
26411 (do_test): Add comments and call free on all potentially
26412 allocated pointers. Remove duplicate check for NULL pointer.
26413 Add space after cast.
26415 * malloc/tst-valloc.c: Add comments.
26416 (do_test): Add comments and call free on all potentially
26417 allocated pointers. Remove duplicate check for NULL pointer.
26418 Add space after cast.
26420 2013-10-04 Alan Modra <amodra@gmail.com>
26422 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26423 Use stdint types in rather than __attribute__((mode())).
26424 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26426 2013-10-04 Alan Modra <amodra@gmail.com>
26428 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26429 Correct handling of unaligned relocs for little-endian.
26430 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26432 2013-10-04 Alan Modra <amodra@gmail.com>
26434 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
26435 * configure: Regenerate.
26436 * nptl/shlib-versions: Powerpc*le starts at 2.18.
26437 * shlib-versions: Likewise.
26439 2013-10-04 Alan Modra <amodra@gmail.com>
26441 * string/tester.c (test_memrchr): Increment reported test cycle.
26443 2013-10-04 Alan Modra <amodra@gmail.com>
26445 * string/test-memcpy.c (do_one_test): When reporting errors, print
26446 string address and don't overrun end of string.
26448 2013-10-04 Alan Modra <amodra@gmail.com>
26450 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
26451 insrdi. Make better use of reg selection to speed exit slightly.
26452 Schedule entry path a little better. Remove useless "are we done"
26453 checks on entry to main loop. Handle wrapping around zero address.
26454 Correct main loop count. Handle single left-over word from main
26455 loop inline rather than by using loop_small. Remove extra word
26456 case in loop_small caused by wrong loop count. Add little-endian
26458 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26459 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
26461 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26462 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
26463 support. Avoid rlwimi.
26464 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
26466 2013-10-04 Alan Modra <amodra@gmail.com>
26468 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
26469 insrdi. Formatting.
26470 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
26471 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26472 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
26473 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26474 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26475 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
26477 2013-10-04 Alan Modra <amodra@gmail.com>
26479 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
26480 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26481 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
26482 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
26483 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26484 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26485 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26486 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26487 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
26488 use of regs. Use power7 mtocrf. Tidy function tails.
26490 2013-10-04 Alan Modra <amodra@gmail.com>
26492 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
26493 Formatting. Consistently use rXXX register defines or rN defines.
26494 Use early exit labels that avoid restoring unused non-volatile regs.
26495 Make cr field use more consistent with rWORDn compares. Rename
26496 regs used as shift registers for unaligned loop, using rN defines
26497 for short lifetime/multiple use regs.
26498 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26499 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
26500 addi 1,1,64 to pop stack frame. Simplify return value code.
26501 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26503 2013-10-04 Alan Modra <amodra@gmail.com>
26505 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
26506 support. Correct typos, formatting. Optimize tail. Use insrdi
26507 rather than rlwimi.
26508 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
26509 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
26510 little-endian support. Correct typos.
26511 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
26512 rather than rlwimi.
26513 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
26514 in loop and entry code to keep "and." results.
26515 (strchr): Add little-endian support. Comment. Move cntlzd
26517 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
26519 2013-10-04 Alan Modra <amodra@gmail.com>
26521 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
26522 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
26523 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
26524 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
26526 2013-10-04 Alan Modra <amodra@gmail.com>
26528 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
26529 (rTMP): Define as r11.
26530 (strcmp): Add little-endian support. Optimise tail.
26531 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
26532 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26533 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26534 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26535 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26536 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26537 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26539 2013-10-04 Alan Modra <amodra@gmail.com>
26541 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
26542 little-endian support. Remove unnecessary "are we done" tests.
26543 Handle "s" wrapping around zero and extremely large "size".
26544 Correct main loop count. Handle single left-over word from main
26545 loop inline rather than by using small_loop. Correct comments.
26546 Delete "zero" tail, use "end_max" instead.
26547 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
26549 2013-10-04 Alan Modra <amodra@gmail.com>
26551 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
26552 support. Don't branch over align.
26553 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
26554 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
26555 support. Rearrange tmp reg use to suit. Comment.
26556 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
26558 2013-10-04 Alan Modra <amodra@gmail.com>
26560 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
26562 2013-10-04 Alan Modra <amodra@gmail.com>
26564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
26565 conditional form of branch and link when obtaining pc.
26566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
26568 2013-10-04 Alan Modra <amodra@gmail.com>
26570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
26572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
26573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
26575 2013-10-04 Alan Modra <amodra@gmail.com>
26577 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
26578 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
26579 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26580 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
26581 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26582 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26583 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
26584 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26585 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
26586 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
26588 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26589 Alistair Popple <alistair@ozlabs.au.ibm.com>
26590 Alan Modra <amodra@gmail.com>
26593 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
26594 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
26595 _dl_hwcap access for little-endian.
26596 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
26597 destroy vmx regs when saving unaligned.
26598 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
26599 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
26600 destroy vmx regs when saving unaligned.
26602 2013-10-04 Alan Modra <amodra@gmail.com>
26604 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
26605 Don't use a union to pack hi/low value.
26607 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26609 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
26611 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26612 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
26613 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26614 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26615 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26617 2013-10-04 Alan Modra <amodra@gmail.com>
26619 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
26620 constants to usual value for .cst8 section, and remove redundant
26622 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
26623 constant for 0x1p52. Load little-endian words of double from
26624 correct stack offsets.
26626 2013-10-04 Alan Modra <amodra@gmail.com>
26628 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
26629 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
26630 words of double from correct stack offsets.
26631 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26632 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
26633 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26634 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26635 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26636 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26637 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26638 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26639 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26640 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26641 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26642 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26643 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26644 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26645 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26646 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
26647 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26649 2013-10-04 Alan Modra <amodra@gmail.com>
26651 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
26652 64-bit int/double union.
26653 (_FPU_SETCW): Likewise.
26654 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
26655 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
26657 2013-10-04 Alan Modra <amodra@gmail.com>
26659 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
26660 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
26662 2013-10-04 Alan Modra <amodra@gmail.com>
26664 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
26665 use vector int constants.
26666 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
26668 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26670 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
26671 array with long long.
26672 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
26673 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
26674 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
26675 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
26676 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
26677 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
26678 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
26679 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
26680 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
26681 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
26682 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
26683 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
26684 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
26686 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26688 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
26689 (__signbit): Likewise. Correct for little-endian.
26690 (__signbitl): Call __signbit.
26691 (lrint): Correct for little-endian.
26692 (lrintf): Call lrint.
26694 2013-10-04 Alan Modra <amodra@gmail.com>
26696 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
26697 union 32-bit int array member with 64-bit int array.
26698 (t515, tm256): Double rather than long double.
26699 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
26701 2013-10-04 Alan Modra <amodra@gmail.com>
26703 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
26705 (IEEE854_LONG_DOUBLE_BIAS): Delete.
26706 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
26707 version of math_ldbl.h.
26709 2013-10-04 Alan Modra <amodra@gmail.com>
26711 [BZ #15734], [BZ #15735]
26712 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
26713 all uses of ieee875 long double macros and unions. Simplify test
26714 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
26715 ldbl_extract_mantissa value for ix,iy exponents. Properly
26716 normalize after ldbl_extract_mantissa, and don't add hidden bit
26717 already handled. Don't treat low word of ieee854 mantissa like
26718 low word of IBM long double and mask off bit when testing for
26720 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
26721 all uses of ieee875 long double macros and unions. Simplify tests
26722 for 0.0L and inf. Correct double adjustment of k. Delete dead code
26723 adjusting ha,hb. Simplify code setting kld. Delete two600 and
26724 two1022, instead use their values. Recognise that tests for large
26725 "a" and small "b" are mutually exclusive. Rename vars. Comment.
26726 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
26727 Rewrite all uses of ieee875 long double macros and unions. Simplify
26728 test for 0.0L and nan. Correct negation.
26729 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
26730 ieee875 long double macros and unions. Correct output for large
26731 magnitude x. Correct absolute value calculation.
26732 (__erfcl): Likewise.
26733 * math/libm-test.inc: Add tests for errors discovered in IBM long
26734 double versions of fmodl, remainderl, erfl and erfcl.
26736 2013-10-04 Alan Modra <amodra@gmail.com>
26738 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
26739 all uses of ieee854 long double macros and unions. Simplify tests
26740 for long doubles that are fully specified by the high double.
26741 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26743 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
26744 Remove dead code too.
26745 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26746 (__ieee754_ynl): Likewise.
26747 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26748 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
26749 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
26750 Remove dead code too.
26751 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
26752 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
26753 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
26754 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
26756 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
26758 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
26759 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
26760 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
26761 Comment on variable precision.
26762 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
26763 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26765 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26766 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26767 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26768 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
26769 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
26771 2013-10-04 Alan Modra <amodra@gmail.com>
26773 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
26774 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
26775 all uses of ieee854 long double macros and unions.
26776 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
26777 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26778 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
26779 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
26780 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26781 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26783 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
26784 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26785 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
26786 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26787 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
26788 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
26789 Simplify sign and nan test too.
26790 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
26791 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
26792 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
26793 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
26795 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26796 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
26798 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26799 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
26800 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
26801 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
26802 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
26803 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
26805 2013-10-04 Alan Modra <amodra@gmail.com>
26807 * stdio-common/printf_size.c (__printf_size): Don't use
26808 union ieee854_long_double in fpnum union.
26809 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
26810 signbit macro to retrieve sign from long double.
26811 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
26812 retrieve sign from long double.
26813 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
26814 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
26815 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
26816 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26817 * math/test-misc.c (main): Don't use union ieee854_long_double.
26819 2013-10-04 Alan Modra <amodra@gmail.com>
26822 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
26823 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
26824 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
26825 calculation. Remove unnecessary test for denormal exponent.
26826 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
26827 Correct handling of denormals. Avoid undefined shift behaviour.
26828 Correct normalisation of low mantissa when low double is denormal.
26829 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
26830 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
26831 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
26832 Correct normalisation of low mantissa. Test for overflow of high
26833 mantissa and normalise.
26834 (ldbl_nearbyint): Use more readable constant for two52.
26835 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
26836 (__mpn_construct_long_double): Fix test for overflow of high
26837 mantissa and correct normalisation. Avoid undefined shift.
26839 2013-10-04 Alan Modra <amodra@gmail.com>
26841 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26842 (union ibm_extended_long_double): Define as an array of ieee754_double.
26843 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
26844 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
26845 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
26846 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26847 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26848 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
26849 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26850 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26851 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26852 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
26853 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26855 2013-10-03 Joseph Myers <joseph@codesourcery.com>
26857 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
26858 page size instead of calling getpagesize.
26860 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
26861 (LOCFILE_ALIGN_MASK): Likewise.
26862 (LOCFILE_ALIGN_UP): Likewise.
26863 (LOCFILE_ALIGNED_P): Likewise.
26864 * locale/programs/ld-collate.c (collate_output): Use the new
26865 macros instead of __alignof__ (int32_t).
26866 * locale/weight.h (findidx): Likewise.
26868 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
26871 * manual/string.texi: Fix strncat and wcsncat.
26873 2013-10-03 Brooks Moses <bmoses@google.com>
26876 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
26877 * Makerules: ...here, and adjust associated comments.
26879 2013-10-02 Will Newton <will.newton@linaro.org>
26881 * malloc/Makefile: Add tst-pvalloc.
26882 * malloc/tst-pvalloc.c: New file.
26884 2013-10-02 Will Newton <will.newton@linaro.org>
26886 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
26887 improve test coverage.
26889 2013-10-02 Will Newton <will.newton@linaro.org>
26891 * malloc/Makefile: Add tst-posix_memalign.
26892 * malloc/tst-posix_memalign.c: New file.
26894 2013-10-01 Eric Blake <eblake@redhat.com>
26896 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
26897 Use __THROWNL rather than __THROW on static functions.
26899 2013-09-30 Petr Machata <pmachata@redhat.com>
26901 * elf/elf.h (R_AARCH64_ABS16): New macro.
26902 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
26903 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
26904 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
26905 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
26906 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
26907 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
26908 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
26909 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
26910 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
26911 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
26912 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
26913 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
26914 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
26915 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
26916 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
26917 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
26918 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
26919 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
26920 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
26921 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
26922 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
26923 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
26924 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
26925 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
26926 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
26927 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
26928 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
26929 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
26930 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
26931 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
26932 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
26933 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
26934 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
26935 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
26936 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
26937 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
26938 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
26939 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
26940 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
26941 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
26942 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
26943 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
26944 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
26945 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
26946 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
26947 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
26948 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
26949 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
26950 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
26951 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
26952 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
26953 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
26954 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
26955 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
26956 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
26957 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
26958 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
26959 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
26960 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
26961 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
26962 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
26963 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
26964 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
26965 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
26966 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
26967 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
26968 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
26969 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
26970 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
26971 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
26972 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
26973 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
26974 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
26975 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
26976 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
26977 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
26978 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
26979 (R_AARCH64_TLSDESC_LDR): Likewise.
26980 (R_AARCH64_TLSDESC_ADD): Likewise.
26981 (R_AARCH64_TLSDESC_CALL): Likewise.
26983 2013-09-30 Andreas Schwab <schwab@suse.de>
26986 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
26987 the nss database lookup.
26988 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26989 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26991 2013-09-28 Mike Frysinger <vapier@gentoo.org>
26993 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
26995 2013-09-28 P. J. McDermott <pj@pehjota.net>
26997 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
26998 ${Bash-specific parameter/pattern/string} parameter expansion.
26999 * sysdeps/unix/make-syscalls.sh: Likewise.
27001 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27003 * sysdeps/sh/stackguard-macros.h: New file.
27005 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
27007 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27008 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
27009 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
27010 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
27011 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27012 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
27014 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27016 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
27017 Fix thread ID register.
27019 2013-09-25 Joseph Myers <joseph@codesourcery.com>
27021 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
27022 [POSIX || UNIX98]: Require rather than permitting all symbols from
27024 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
27025 element of struct sched_param.
27026 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
27027 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
27028 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
27029 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
27032 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
27034 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
27035 argument calculation.
27037 2013-09-24 Joseph Myers <joseph@codesourcery.com>
27039 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
27041 [POSIX] (pthread_attr_t): Do not require type.
27042 [POSIX] (pthread_cond_t): Likewise.
27043 [POSIX] (pthread_condattr_t): Likewise.
27044 [POSIX] (pthread_key_t): Likewise.
27045 [POSIX] (pthread_mutex_t): Likewise.
27046 [POSIX] (pthread_mutexattr_t): Likewise.
27047 [POSIX] (pthread_once_t): Likewise.
27048 [POSIX] (pthread_t): Likewise.
27049 [POSIX-based standards] (pthread_atfork): Expect function.
27051 2013-09-24 Joseph Myers <joseph@codesourcery.com>
27052 Richard Sandiford <richard@codesourcery.com>
27054 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
27055 (swap_endianness_p): New extern variable.
27056 (set_big_endian): New inline function.
27057 (maybe_swap_uint32): Likewise.
27058 (maybe_swap_uint32_array): Likewise.
27059 (maybe_swap_uint32_obstack): Likewise.
27060 * locale/programs/locfile.c: Include <stdbool.h>.
27061 (swap_endianness_p): New variable.
27062 (add_locale_uint32): Call maybe_swap_uint32.
27063 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
27064 (write_locale_data): Call maybe_swap_uint32_array.
27065 * locale/programs/ld-collate.c (obstack_int32_grow): Call
27067 (obstack_int32_grow_fast): Likewise.
27068 (output_weightwc): Call maybe_swap_uint32_obstack.
27069 (collate_output): Likewise.
27070 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
27071 (OPT_LITTLE_ENDIAN): Likewise.
27072 (options): Add --little-endian and --big-endian options.
27073 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
27074 * locale/programs/locarchive.c: Include "locfile.h".
27078 (create_archive): Use the new macros to access fields of
27079 structures directly mapped from or written to locale archives.
27080 (oldlocrecentcmp): Likewise.
27081 (enlarge_archive): Likewise.
27082 (insert_name): Likewise.
27083 (add_alias): Likewise.
27084 (add_locale): Likewise.
27085 (delete_locales_from_archive): Likewise.
27086 (show_archive_content): Likewise.
27087 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
27090 2013-09-24 Roland McGrath <roland@hack.frob.com>
27092 * manual/freemanuals.texi: Updated from (newly) canonical copy at
27093 http://www.gnu.org/doc/freemanuals.texi.
27094 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
27096 2013-09-24 Will Newton <will.newton@linaro.org>
27098 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
27101 2013-09-23 Joseph Myers <joseph@codesourcery.com>
27103 * locale/hashval.h (compute_hashval): Interpret bytes of key as
27106 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
27108 * manual/threads.texi (POSIX Threads): Fix a typo.
27110 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27113 * string/tst-strcoll-overflow.c: New test case.
27114 * string/Makefile (xtests): Add tst-strcoll-overflow.
27115 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
27116 cache if string sizes may cause integer overflow.
27119 * string/strcoll_l.c (coll_seq): New members rule, idx,
27120 save_idx and back_us.
27121 (get_next_seq_nocache): New function.
27122 (do_compare_nocache): New function.
27123 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
27126 2013-09-23 Carlos O'Donell <carlos@redhat.com>
27129 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
27130 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
27131 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
27134 * elf/Makefile (tests): Add tst-ptrguard1.
27135 (tests-static): Add tst-ptrguard1-static.
27136 (tst-ptrguard1-ARGS): Define.
27137 (tst-ptrguard1-static-ARGS): Define.
27138 * elf/tst-ptrguard1.c: New file.
27139 * elf/tst-ptrguard1-static.c: New file.
27140 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
27141 * sysdeps/i386/stackguard-macros.h: Likewise.
27142 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27143 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27144 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27145 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27146 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27147 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27149 2013-09-23 Hector Marco <hecmargi@upv.es>
27150 Ismael Ripoll <iripoll@disca.upv.es>
27151 Carlos O'Donell <carlos@redhat.com>
27154 * sysdeps/generic/stackguard-macros.h: Define
27155 __pointer_chk_guard_local and POINTER_CHK_GUARD.
27156 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
27157 Define __pointer_chk_guard_local.
27158 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
27159 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
27161 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
27164 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
27166 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
27168 * include/string.h (__ffs): Declare as hidden.
27169 * string/ffs.c (__ffs): Define as hidden.
27170 * sysdeps/i386/ffs.c (__ffs): Likewise.
27171 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27172 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
27173 * sysdeps/s390/ffs.c (__ffs): Likewise.
27174 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
27176 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
27178 * NEWS: Mention malloc probes.
27180 * malloc/arena.c (new_heap): New memory_heap_new probe.
27181 (grow_heap): New memory_heap_more probe.
27182 (shrink_heap): New memory_heap_less probe.
27183 (heap_trim): New memory_heap_free probe.
27184 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
27185 (systrim): New memory_sbrk_less probe.
27186 * manual/probes.texi: Document them.
27188 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
27189 * manual/probes.texi: Document it.
27191 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
27192 (__libc_realloc): Add memory_realloc_retry probe.
27193 (__libc_memalign): Add memory_memalign_retry probe.
27194 (__libc_valloc): Add memory_valloc_retry probe.
27195 (__libc_pvalloc): Add memory_pvalloc_retry probe.
27196 (__libc_calloc): Add memory_calloc_retry probe.
27197 * manual/probes.texi: Document them.
27199 * malloc/arena.c (get_free_list): Add probe
27200 memory_arena_reuse_free_list.
27201 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
27202 and memory_arena_reuse.
27203 (arena_get2) [!PER_THREAD]: Likewise.
27204 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
27205 memory_arena_reuse_realloc.
27206 * manual/probes.texi: Document them.
27208 * malloc/malloc.c (__libc_free): Add
27209 memory_mallopt_free_dyn_thresholds probe.
27210 (__libc_mallopt): Add multiple memory_mallopt probes.
27211 * manual/probes.texi: Document them.
27213 * malloc/malloc.c: Include stap-probe.h.
27214 (__libc_mallopt): Add memory_mallopt probe.
27215 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
27216 * manual/probes.texi: New.
27217 * manual/Makefile (chapters): Add probes.
27218 * manual/threads.texi: Set next node.
27220 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
27222 [BZ #15963, #13985]
27223 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
27224 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
27225 Add `Chinese' to `nan' entry name.
27227 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27229 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
27230 (POLYNOMIAL): Likewise.
27231 (TAYLOR_SINCOS): Likewise.
27232 (TAYLOR_SLOW): Likewise.
27233 (__sin): Use TAYLOR_SINCOS.
27235 (slow): Use TAYLOR_SLOW.
27237 (bsloww): Likewise.
27238 (csloww): Likewise.
27240 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27242 * stdlib/strtod_l.c: Fix buffer overrun.
27244 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27246 * benchtests/Makefile (bench): Add sincos.
27247 * benchtests/bench-sincos.c: New file.
27249 * math/libm-test.inc (cos_test_data): New test inputs.
27250 (sin_test_data): Likewise.
27252 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
27258 (sloww1): Likewise.
27259 (sloww2): Likewise.
27260 (bsloww1): Likewise.
27261 (bsloww2): Likewise.
27262 (cslow2): Likewise.
27263 (csloww1): Likewise.
27264 (csloww2): Likewise.
27266 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
27271 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
27275 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
27277 * config.h.in (HAVE_MIPS_NAN2008): New macro.
27278 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
27279 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
27280 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
27281 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
27282 * elf/cache.c (print_entry): Handle the new cache flags.
27284 2013-09-18 Joseph Myers <joseph@codesourcery.com>
27285 Aldy Hernandez <aldyh@redhat.com>
27287 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
27288 Change condition to [_SOFT_FLOAT].
27289 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
27290 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
27291 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
27292 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
27293 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
27294 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
27295 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
27296 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
27297 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
27298 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
27299 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
27300 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
27301 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
27302 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
27303 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
27304 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
27307 2013-09-18 Joseph Myers <joseph@codesourcery.com>
27309 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
27310 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27311 (__longjmp): Use LOAD_GP to load saved GPRs.
27312 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
27313 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27314 (__sigsetjmp): Use SAVE_GP to save GPRs.
27316 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
27317 Do not append -msoft-float.
27318 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
27320 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27322 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
27324 2013-09-17 Joseph Myers <joseph@codesourcery.com>
27327 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
27328 (_FPU_GETCW): Use initial "__" on variable and field names but not
27329 on macro parameter name.
27330 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
27331 parentheses around reference to macro parameter.
27333 2013-09-13 Richard Sandiford <richard@codesourcery.com>
27335 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
27337 (ctype_startup): Use uint32_t in cast and sizeof for
27340 2013-09-11 Jia Liu <proljc@gmail.com>
27342 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
27344 [__FreeBSD__]: Likewise.
27346 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
27348 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27349 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
27350 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
27351 (strchr): Remove __strchr_sse42 ifunc selection.
27352 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
27353 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
27355 2013-09-11 Will Newton <will.newton@linaro.org>
27357 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
27358 parameter to RES. Remove hardcoded 1000 value.
27359 * benchtests/bench-skeleton.c (main): Pass RES parameter
27360 to TIMING_INIT and multiply result by 1000.
27362 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27366 2013-09-11 Andreas Schwab <schwab@suse.de>
27368 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
27370 (O_TMPFILE) [__USE_GNU]: Define.
27371 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
27374 2013-09-11 Will Newton <will.newton@linaro.org>
27377 * malloc/malloc.c (__libc_memalign): Check the value of bytes
27380 2013-09-11 Will Newton <will.newton@linaro.org>
27383 * malloc/malloc.c (__libc_valloc): Check the value of bytes
27386 2013-09-11 Will Newton <will.newton@linaro.org>
27389 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
27392 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
27394 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
27395 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27396 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27397 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27398 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27400 2013-09-10 Allan McRae <allan@archlinux.org>
27403 * manual/arith.texi (Parsing of Floats): Clarify
27407 * manual/install.texi (Running make install): Mention
27409 * INSTALL: Regenerated.
27411 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
27413 * csu/init-first.c (_init): Remove the !SHARED condition around
27414 FPU control word initialization.
27415 * elf/dl-support.c (_dl_fpu_control): New variable.
27416 (_dl_aux_init) <AT_FPUCW>: Initialize it.
27417 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
27418 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
27419 * math/test-fpucw-static.c: New file.
27420 * math/test-fpucw-ieee.c: New file.
27421 * math/test-fpucw-ieee-static.c: New file.
27422 * math/Makefile (tests): Add `test-fpucw-ieee' and
27424 (tests-static): New variable.
27425 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
27427 [($(build-shared),yes)]
27428 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
27430 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
27433 2013-09-09 Allan McRae <allan@archlinux.org>
27436 * manual/string.texi (Collation Functions): Fix typo in
27438 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
27441 * stdlib/isomac.c (get_null_defines): Fix memory leak.
27444 * libio/memstream.c (open_memstream): Fix memory leak.
27445 * libio/wmemstream.c (open_wmemstream): Likewise.
27448 * nscd/netgroupcache.c: Fix nesting of ifdefs.
27450 2013-09-09 Will Newton <will.newton@linaro.org>
27452 * malloc/Makefile: Add tst-realloc to tests.
27453 * malloc/tst-realloc.c: New file.
27455 2013-09-09 Allan McRae <allan@archlinux.org>
27458 * COPYING: Update from GNU website to fix FSF address.
27459 * COPYING.LIB: Likewise.
27461 2013-09-06 David S. Miller <davem@davemloft.net>
27463 * po/zh_TW.po: Update Chinese (traditional) translation from
27464 translation project.
27466 2013-09-06 Richard Sandiford <richard@codesourcery.com>
27467 Joseph Myers <joseph@codesourcery.com>
27469 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
27471 (obstack_chunk_alloc): New macro.
27472 (obstack_chunk_free): Likewise.
27473 (record_offset): New function.
27474 (init_locale_data): Likewise.
27475 (align_locale_data): Likewise.
27476 (add_locale_empty): Likewise.
27477 (add_locale_raw_data): Likewise.
27478 (add_locale_raw_obstack): Likewise.
27479 (add_locale_string): Likewise.
27480 (add_locale_wstring): Likewise.
27481 (add_locale_uint32): Likewise.
27482 (add_locale_uint32_array): Likewise.
27483 (add_locale_char): Likewise.
27484 (start_locale_structure): Likewise.
27485 (end_locale_structure): Likewise.
27486 (start_locale_prelude): Likewise.
27487 (end_locale_prelude): Likewise.
27488 (write_locale_data): Take locale_file structure rather than an
27490 * locale/programs/locfile.h: Include "obstack.h".
27491 (struct locale_file): Change to store locale file contents instead
27493 (init_locale_data): New prototype.
27494 (align_locale_data): Likewise.
27495 (add_locale_empty): Likewise.
27496 (add_locale_raw_data): Likewise.
27497 (add_locale_raw_obstack): Likewise.
27498 (add_locale_string): Likewise.
27499 (add_locale_wstring): Likewise.
27500 (add_locale_uint32): Likewise.
27501 (add_locale_uint32_array): Likewise.
27502 (add_locale_char): Likewise.
27503 (start_locale_structure): Likewise.
27504 (end_locale_structure): Likewise.
27505 (start_locale_prelude): Likewise.
27506 (end_locale_prelude): Likewise.
27507 (write_locale_data): Update prototype.
27508 * locale/programs/3level.h (struct TABLE): Remove result field.
27509 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
27510 Use new locale_file interface.
27511 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
27512 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
27513 * locale/programs/ld-address.c (address_output): Use new
27514 locale_file interface.
27515 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
27517 (collate_finish): Don't call collseq_table_finalize.
27518 (collate_output): Use new locale_file interface.
27519 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
27521 (NO_FINALIZE): Change to NO_ADD_LOCALE.
27522 (TABLE): Move defines earlier in file.
27523 (ELEMENT): Likewise.
27524 (DEFAULT): Likewise.
27525 (wctrans_table_add): Move macro and inline function earlier in
27527 (struct wctype_table): Move type earlier in file.
27528 (add_locale_wctype_table): New static prototype.
27529 (struct locale_ctype_t): Use logical types instead of struct iovec
27530 pointers for members.
27531 (ctype_output): Use new locale_file interface.
27532 (wctype_table_finalize): Change to add_locale_wctype_table. Use
27533 new locale_file interface.
27534 (allocate_arrays): Update for use of new locale_file interface.
27535 * locale/programs/ld-identification.c (identification_output): Use
27536 new locale_file interface.
27537 * locale/programs/ld-measurement.c (measurement_output): Likewise.
27538 * locale/programs/ld-messages.c (messages_output): Likewise.
27539 * locale/programs/ld-monetary.c (monetary_output): Likewise.
27540 * locale/programs/ld-name.c (name_output): Likewise.
27541 * locale/programs/ld-numeric.c (numeric_output): Likewise.
27542 * locale/programs/ld-paper.c (paper_output): Likewise.
27543 * locale/programs/ld-telephone.c (telephone_output): Likewise.
27544 * locale/programs/ld-time.c (time_output): Likewise.
27546 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27548 * benchtests/Makefile: Add memrchr benchmark.
27549 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
27550 benchmark as memrchr.
27551 * benchtests/bench-memrchr-ifunc.c: New file.
27552 * benchtests/bench-memrchr.c: New file.
27554 2013-09-06 Will Newton <will.newton@linaro.org>
27556 * benchtests/Makefile (string-bench): Add memcpy.
27558 2013-09-05 Carlos O'Donell <carlos@redhat.com>
27559 Cong Wang <amwang@redhat.com>
27562 * sysdeps/unix/sysv/linux/bits/in.h
27563 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
27564 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
27565 before __USE_KERNEL_IPV6_DEFS uses.
27566 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
27568 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
27569 sockaddr_in6, or ipv6_mreq.
27571 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27573 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
27574 memory access for final bytes in some large inputs.
27575 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
27577 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27579 * string/test-memrchr.c: New file.
27580 * string/test-memrchr-ifunc.c: New file.
27581 * string/Makefile: Add new memrchr testcase.
27583 2013-09-05 Mike Frysinger <vapier@gentoo.org>
27585 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
27586 fanotify_init returns EPERM.
27588 2013-09-04 Joseph Myers <joseph@codesourcery.com>
27590 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
27592 (top level): Treat second token from macro or constant entries for
27593 allowed headers as allowed.
27594 * include/complex.h: Condition internal declarations on
27596 * include/fenv.h: Condition include of <stdbool.h> and internal
27597 declarations on [!_ISOMAC].
27599 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
27602 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
27604 2013-09-04 Joseph Myers <joseph@codesourcery.com>
27606 * configure.in (--enable-versioning): Remove configure option.
27607 (libc_cv_asm_symver_directive): Remove configure test.
27608 (libc_cv_ld_version_script_option): Likewise.
27609 (VERSIONING): Remove variable and AC_SUBST.
27610 (DO_VERSIONING): Remove AC_DEFINE.
27611 * configure: Regenerated.
27612 * config.h.in (DO_VERSIONING): Remove macro.
27613 * Makerules [$(versioning) = yes]: Change conditionals to
27614 [$(build-shared) = yes].
27615 * config.make.in (versioning): Remove variable.
27616 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
27617 [$(build-shared) = yes].
27618 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
27619 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
27620 * elf/Makefile [$(versioning) = yes]: Change conditionals to
27621 [$(build-shared) = yes].
27622 * extra-lib.mk [$(versioning) = yes]: Likewise.
27623 * hurd/Makefile [$(versioning) = yes]: Likewise.
27624 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
27626 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
27628 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27629 [SHARED && !NO_HIDDEN].
27630 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
27632 [SHARED && DO_VERSIONING]: Likewise..
27633 * libio/Makefile [$(versioning) = yes]: Change conditionals to
27634 [$(build-shared) = yes].
27635 * manual/install.texi (--disable-versioning): Remove
27637 * INSTALL: Regenerated.
27638 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
27640 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
27641 [$(build-shared) = yes].
27642 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
27643 * sysdeps/i386/i686/multiarch/strstr-c.c
27644 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27645 [SHARED && !NO_HIDDEN].
27646 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
27647 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
27648 * sysdeps/powerpc/powerpc32/dl-machine.c
27649 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
27650 * sysdeps/powerpc/powerpc32/sysdep.h
27651 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
27652 to [SHARED && PIC && !NO_HIDDEN].
27653 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
27654 conditional to [SHARED].
27656 2013-09-04 Will Newton <will.newton@linaro.org>
27658 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
27659 * benchtests/bench-string.h: Include bench-timing.h instead
27660 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
27661 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
27662 call to HP_TIMING_DIFF_INIT.
27663 * benchtests/bench-memccpy.c: Use bench-timing.h macros
27664 instead of hp-timing.h macros.
27665 * benchtests/bench-memchr.c: Likewise.
27666 * benchtests/bench-memcmp.c: Likewise.
27667 * benchtests/bench-memcpy.c: Likewise.
27668 * benchtests/bench-memmem.c: Likewise.
27669 * benchtests/bench-memmove.c: Likewise.
27670 * benchtests/bench-memset.c: Likewise.
27671 * benchtests/bench-rawmemchr.c: Likewise.
27672 * benchtests/bench-strcasecmp.c: Likewise.
27673 * benchtests/bench-strcasestr.c: Likewise.
27674 * benchtests/bench-strcat.c: Likewise.
27675 * benchtests/bench-strchr.c: Likewise.
27676 * benchtests/bench-strcmp.c: Likewise.
27677 * benchtests/bench-strcpy.c: Likewise.
27678 * benchtests/bench-strcpy_chk.c: Likewise.
27679 * benchtests/bench-strlen.c: Likewise.
27680 * benchtests/bench-strncasecmp.c: Likewise.
27681 * benchtests/bench-strncat.c: Likewise.
27682 * benchtests/bench-strncmp.c: Likewise.
27683 * benchtests/bench-strncpy.c: Likewise.
27684 * benchtests/bench-strnlen.c: Likewise.
27685 * benchtests/bench-strpbrk.c: Likewise.
27686 * benchtests/bench-strrchr.c: Likewise.
27687 * benchtests/bench-strspn.c: Likewise.
27688 * benchtests/bench-strstr.c: Likewise.
27690 2013-09-04 Will Newton <will.newton@linaro.org>
27692 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
27694 2013-09-03 Joseph Myers <joseph@codesourcery.com>
27697 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
27698 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
27699 * math/libm-test.inc (lgamma_test_data): Add more tests.
27700 * sysdeps/i386/fpu/libm-test-ulps: Update.
27701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27703 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
27705 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
27706 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27708 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27709 Add strcmp-sse2-unaligned
27710 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
27712 2013-09-02 Mike Frysinger <vapier@gentoo.org>
27714 * Versions.def (libc): Add GLIBC_2.19.
27716 2013-09-02 Mike Frysinger <vapier@gentoo.org>
27718 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
27719 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
27721 2013-09-02 Joseph Myers <joseph@codesourcery.com>
27724 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
27725 intermediate calculations in recurrence.
27726 (__ieee754_ynf): Likewise.
27727 * math/libm-test.inc (jn_test_data): Do not allow spurious
27728 underflow exception. Add more tests.
27729 (yn_test_data): Add more tests.
27730 * sysdeps/i386/fpu/libm-test-ulps: Update.
27731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27733 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
27735 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
27737 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
27739 * csu/init-first.c: Fix then/than typos.
27740 * locale/programs/ld-collate.c: Likewise.
27741 * locale/programs/linereader.h: Likewise.
27742 * manual/charset.texi: Likewise.
27743 * manual/filesys.texi: Likewise.
27744 * manual/stdio.texi: Likewise.
27745 * manual/string.texi: Likewise.
27746 * stdlib/fmtmsg.c: Likewise.
27747 * sysdeps/i386/stpncpy.S: Likewise.
27748 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27749 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27750 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27751 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27753 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
27755 * elf/dl-open.c: Fix typos.
27756 * iconvdata/gbbig5.c: Likewise.
27757 * iconvdata/iso-2022-jp.c: Likewise.
27758 * iconv/gconv_int.h: Likewise.
27759 * iconv/loop.c: Likewise.
27760 * nis/rpcsvc/nis.h: Likewise.
27761 * resolv/ns_name.c: Likewise.
27762 * stdio-common/vfscanf.c: Likewise.
27763 * streams/stropts.h: Likewise.
27764 * sunrpc/rpc_thread.c: Likewise.
27765 * sysdeps/i386/strpbrk.S: Likewise.
27766 * sysdeps/ieee754/k_standard.c: Likewise.
27767 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27768 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27769 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
27770 * sysdeps/mach/hurd/profil.c: Likewise.
27771 * sysdeps/s390/dl-procinfo.h: Likewise.
27772 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
27773 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
27774 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
27775 * sysdeps/x86_64/dl-trampoline.S: Likewise.
27776 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27778 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
27780 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
27781 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
27783 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
27785 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
27786 aix specific files.
27787 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
27788 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
27789 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
27790 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
27791 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
27792 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
27793 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
27794 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
27796 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
27797 Roland McGrath <roland@hack.frob.com>
27799 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
27800 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
27802 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
27804 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
27805 __executable_start symbol instead of _start.
27807 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
27809 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
27810 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
27812 * sysdeps/gnu/ldsodefs.h: ... this new file.
27814 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
27815 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
27816 instead of ELFOSABI_LINUX.
27818 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
27819 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
27820 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
27821 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
27823 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
27824 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
27825 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
27827 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27828 (ibm_extended_long_double): Add ieee_nan member.
27829 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
27830 (do_test): New function.
27832 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
27834 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
27835 functions, renamed from truncdfsf_test, trunctfsf_test,
27837 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
27839 (do_test): Run all these.
27841 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
27843 * argp/argp-help.c: Fix typos.
27844 * argp/argp-parse.c: Likewise.
27845 * debug/backtracesyms.c: Likewise.
27846 * elf/elf.h: Likewise.
27847 * malloc/malloc.c: Likewise.
27848 * nis/nis_print.c: Likewise.
27849 * resolv/res_comp.c: Likewise.
27850 * stdlib/stdlib.h: Likewise.
27851 * sunrpc/clnt_tcp.c: Likewise.
27852 * sunrpc/clnt_udp.c: Likewise.
27853 * sunrpc/clnt_unix.c: Likewise.
27854 * sysdeps/unix/bsd/ptsname.c: Likewise.
27855 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
27856 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
27857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
27859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
27861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27863 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27865 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27867 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
27868 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27870 2013-08-27 Mike Frysinger <vapier@gentoo.org>
27873 * dlfcn/Makefile (tests): Add bug-dl-leaf.
27874 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
27875 ($(objpfx)bug-dl-leaf): New rule.
27876 ($(objpfx)bug-dl-leaf.so): Likewise.
27877 ($(objpfx)bug-dl-leaf.out): Likewise.
27878 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
27879 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
27880 * dlfcn/bug-dl-leaf.c: New test.
27881 * dlfcn/bug-dl-leaf-lib.c: Likewise.
27882 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
27883 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
27884 (dlclose): Likewise.
27885 (dlmopen): Likewise.
27887 2013-08-27 Roland McGrath <roland@hack.frob.com>
27889 * include/netdb.h [!_ISOMAC]:
27890 Don't include <tls.h>.
27891 (h_errno, __libc_h_errno): Move declaration and macros out of
27894 * include/resolv.h [_RESOLV_H_]:
27895 Don't include <tls.h>.
27896 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
27897 * resolv/res_libc.c: Don't include <tls.h>.
27898 (_res): Use __attribute__ ((nocommon)) in place of
27899 __attribute__ ((section (".bss"))).
27901 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
27902 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
27904 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
27906 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
27907 only under [SIOCGIFCONF && SIOCGIFNETMASK].
27909 * resolv/res_mkquery.c: Include <sys/time.h>.
27911 * inet/ifreq.c: Moved to ...
27912 * sysdeps/unix/ifreq.c: ... here.
27913 * inet/ifreq.c: New file, true stub version.
27915 * socket/sa_len.c: New file.
27916 * socket/Makefile (aux): Add it.
27917 * sysdeps/unix/sysv/linux/Makefile
27918 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
27919 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
27920 and #include <socket/sa_len.c>.
27921 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
27922 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
27924 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
27925 * bits/socket.h: ... here.
27927 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
27928 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
27929 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
27931 2013-08-27 Andreas Schwab <schwab@suse.de>
27934 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
27935 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
27936 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
27937 * string/test-strcasecmp.c (test_main): Run tests in several
27939 * string/test-strncasecmp.c (test_main): Likewise.
27941 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
27942 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
27943 to __strcasecmp_nonascii and __strncasecmp_nonascii.
27944 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
27945 (__strncasecmp_ssse3) [PIC]: Likewise.
27947 2013-08-26 Roland McGrath <roland@hack.frob.com>
27949 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
27951 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
27952 instead of explicitly declaring xdecrypt.
27953 * nis/nss_nis/nis-publickey.c: Likewise.
27955 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27958 * nscd/aicache.c: Include res_hconf.h.
27959 (addhstaiX): Initialize res_hconf.
27961 2013-08-26 Andreas Schwab <schwab@suse.de>
27963 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
27964 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
27966 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27968 * nscd/aicache.c (addhstaiX): Fix indentation.
27970 2013-08-25 Mike Frysinger <vapier@gentoo.org>
27972 * configure.ac: Quote $build_pt_chown test.
27973 * configure: Regenerated.
27975 2013-08-23 Joseph Myers <joseph@codesourcery.com>
27978 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
27979 * math/s_cexpf.c (__cexpf): Likewise.
27980 * math/s_cexpl.c (__cexpl): Likewise.
27981 * math/libm-test.inc (cexp_test_data): Correct expected return
27982 value for NaN + i0. Add another test.
27984 2013-08-22 David S. Miller <davem@davemloft.net>
27986 * po/ca.po: Update Catalan translation from translation project.
27987 * po/uk.po: Add Ukrainian translations from translation project.
27989 2013-08-21 Joseph Myers <joseph@codesourcery.com>
27992 * math/s_fdim.c (__fdim): Check for infinite arguments if result
27993 is infinite, not alongside NaN test.
27994 * math/s_fdimf.c (__fdimf): Likewise.
27995 * math/s_fdiml.c (__fdiml): Likewise.
27996 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
27997 errno is unchanged.
27999 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
28001 * argp/argp-help.c: Fix typos.
28002 * crypt/speeds.c: Likewise.
28003 * csu/check_fds.c: Likewise.
28004 * elf/dl-load.c: Likewise.
28005 * elf/dl-open.c: Likewise.
28006 * elf/reldep3.c: Likewise.
28007 * elf/reldep.c: Likewise.
28008 * elf/sprof.c: Likewise.
28009 * iconv/iconv_charmap.c: Likewise.
28010 * iconv/skeleton.c: Likewise.
28011 * iconv/strtab.c: Likewise.
28012 * io/lockf64.c: Likewise.
28013 * libio/libioP.h: Likewise.
28014 * resolv/gai_notify.c: Likewise.
28015 * resolv/ns_name.c: Likewise.
28016 * resolv/ns_samedomain.c: Likewise.
28017 * resolv/res_send.c: Likewise.
28018 * stdlib/random.c: Likewise.
28019 * sunrpc/rpc/xdr.h: Likewise.
28020 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
28021 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28022 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28023 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28024 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28025 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28026 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28027 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28028 * sysdeps/mach/hurd/check_fds.c: Likewise.
28029 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28030 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28031 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28032 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28033 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28034 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28035 * sysdeps/pthread/aio_notify.c: Likewise.
28036 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
28037 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
28038 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
28039 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28040 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28042 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28044 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
28045 version if bit_Slow_SSE4_2 is set.
28046 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28047 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28049 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28052 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
28053 trampoline stack frame information.
28054 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
28055 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
28056 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
28057 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
28058 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
28059 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28060 (_libc_vdso_platform_setup): Initialize the signal trampolines.
28061 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
28063 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
28064 interrupting a syscall and set with option SA_SIGINFO.
28066 2013-08-20 Joseph Myers <joseph@codesourcery.com>
28069 * math/s_cproj.c (__cproj): Only return an infinity if one part of
28070 argument is infinite.
28071 * math/s_cprojf.c (__cprojf): Likewise.
28072 * math/s_cprojl.c (__cprojl): Likewise.
28073 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
28074 * math/libm-test.inc (cproj_test_data): Add more tests.
28076 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
28078 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
28079 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
28080 size. Use __ffs to determine corresponding shift.
28082 2013-08-20 Joseph Myers <joseph@codesourcery.com>
28083 Roland McGrath <roland@hack.frob.com>
28085 * Makefile (INSTALL): Remove trailing blank lines from output of
28088 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28090 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
28091 Align 32 bit compat elf_greg to 8 bytes.
28093 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
28095 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
28097 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28099 * string/strcoll_l.c (coll_seq): New structure.
28100 (get_next_seq_cached): New function.
28101 (get_next_seq): New function.
28102 (do_compare): New function.
28103 (STRCOLL): Use GNU style definition. Simplify implementation
28104 by using get_next_seq, get_next_seq_cached and do_compare.
28106 2013-08-16 Florian Weimer <fweimer@redhat.com>
28110 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
28112 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
28114 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
28115 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
28116 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
28118 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
28119 GETDENTS_64BIT_ALIGNED.
28120 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28121 * manual/filesys.texi (Reading/Closing Directory): Document
28122 ENAMETOOLONG return value of readdir_r. Recommend readdir more
28124 * manual/conf.texi (Limits for Files): Add portability note to
28125 NAME_MAX, PATH_MAX.
28126 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
28128 2013-08-13 Andreas Schwab <schwab@suse.de>
28131 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
28133 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
28134 LDBL_MAX_EXP >= 16384]: Add tests for it.
28136 2013-08-12 David S. Miller <davem@davemloft.net>
28138 * version.h (RELEASE): Set to "development".
28139 (VERSION): Set to "2.18.90".
28140 * NEWS: Add 2.19 section.
28142 2013-08-03 David S. Miller <davem@davemloft.net>
28144 * po/ko.po: Update Korean translation from translation project.
28146 2013-08-01 David S. Miller <davem@davemloft.net>
28148 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
28149 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
28152 2013-07-30 David S. Miller <davem@davemloft.net>
28154 * po/fr.po: Update French translation from translation project.
28156 2013-07-28 David S. Miller <davem@davemloft.net>
28158 * po/cs.po: Update Czech translation from translation project.
28160 * po/sv.po: Update Swedish translation from translation project.
28162 2013-07-27 David S. Miller <davem@davemloft.net>
28164 * po/eo.po: Update Esperanto translation from translation project.
28166 * po/vi.po: Update Vietnamese translation from translation project.
28168 * po/de.po: Update German translation from translation project.
28170 2013-07-26 David S. Miller <davem@davemloft.net>
28172 * po/bg.po: Update Bulgarian translation from translation project.
28174 * po/nl.po: Update Dutch translation from translation project.
28175 * po/pl.po: Update Polish translation from translation project.
28176 * po/ru.po: Update Russian translation from translation project.
28178 2013-07-24 David S. Miller <davem@davemloft.net>
28180 * po/libc.pot: Update.
28182 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28184 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
28185 variable page size.
28186 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
28187 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
28188 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
28190 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28192 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
28194 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28195 Andreas Schwab <schwab@suse.de>
28196 Roland McGrath <roland@hack.frob.com>
28197 Joseph Myers <joseph@codesourcery.com>
28198 Carlos O'Donell <carlos@redhat.com>
28201 * config.h.in: Define HAVE_PT_CHOWN.
28202 * config.make.in (build-pt-chown): New variable.
28203 * configure.in (--enable-pt_chown): New configure option.
28204 * configure: Regenerate.
28205 * login/Makefile: Include Makeconfig. Build pt_chown only if
28206 build-pt-chown is enabled.
28207 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
28208 pt_chown to fix pty ownership.
28209 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
28211 * manual/install.texi (Configuring and compiling): Mention
28212 --enable-pt_chown. Add @findex for grantpt.
28213 * INSTALL: Regenerate.
28215 2013-07-20 David S. Miller <davem@davemloft.net>
28217 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
28218 difference between 32-bit and 64-bit.
28220 2013-07-15 Carlos O'Donell <carlos@redhat.com>
28223 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
28224 Avoid system header dependency with -ffreestanding.
28225 ($(objpfx)bits/syscall%d): Likewise.
28227 2013-07-13 David S. Miller <davem@davemloft.net>
28229 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
28230 underflows from atanl/atan2l due to bug 15319.
28231 (casinh_test_data): Likewise.
28233 2013-07-07 David S. Miller <davem@davemloft.net>
28235 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
28237 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
28239 * sysdeps/i386/fpu/libm-test-ulps: Update.
28240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28242 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28244 * configure.in (--enable-lock-elision): Fix message text.
28245 * INSTALL: Regenerate.
28246 * configure: Regenerate.
28248 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28252 2013-07-03 Andreas Jaeger <aj@suse.de>
28254 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
28256 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
28257 (ptrace_peeksiginfo_args): Add.
28258 (__ptrace_peeksiginfo_flags): Add.
28259 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28260 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28261 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28263 2013-07-03 Allan McRae <allan@archlinux.org>
28265 * sysdeps/i386/fpu/libm-test-ulps: Update.
28267 2013-07-02 David S. Miller <davem@davemloft.net>
28269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28271 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
28273 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28275 2013-07-02 Joseph Myers <joseph@codesourcery.com>
28277 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28280 2013-07-02 Andi Kleen <ak@linux.intel.com>
28282 * config.h.in (ENABLE_LOCK_ELISION): Add.
28283 * configure.in (--enable-lock-elision): Add option.
28284 * manual/install.texi: Document --enable lock elision.
28285 * configure: Regenerate
28286 * INSTALL: Regenerate.
28288 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
28290 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
28291 SSE4.2 strcasecmp for libc.a.
28292 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28294 2013-07-02 Joseph Myers <joseph@codesourcery.com>
28297 * soft-fp/op-common.h (_FP_FMA): New macro.
28298 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
28299 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
28300 (_FP_MUL_MEAT_1_imm): ... here.
28301 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
28302 (_FP_MUL_MEAT_1_wide): ... here.
28303 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
28304 (_FP_MUL_MEAT_1_hard): ... here.
28305 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
28306 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
28307 (_FP_MUL_MEAT_2_wide): ... here.
28308 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
28309 (_FP_MUL_MEAT_2_wide_3mul): ... here.
28310 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
28311 (_FP_MUL_MEAT_2_gmp): ... here.
28312 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
28313 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
28314 (_FP_MUL_MEAT_4_wide): ... here.
28315 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
28316 (_FP_MUL_MEAT_4_gmp): ... here.
28317 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
28318 (_FP_WFRACBITS_DW_S): Likewise.
28319 (_FP_WFRACXBITS_DW_S): Likewise.
28320 (_FP_HIGHBIT_DW_S): Likewise.
28321 (FP_FMA_S): Likewise.
28322 (_FP_FRAC_HIGH_DW_S): Likewise.
28323 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
28324 (_FP_WFRACBITS_DW_D): Likewise.
28325 (_FP_WFRACXBITS_DW_D): Likewise.
28326 (_FP_HIGHBIT_DW_D): Likewise.
28327 (FP_FMA_D): Likewise.
28328 (_FP_FRAC_HIGH_DW_D): Likewise.
28329 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
28330 (_FP_WFRACBITS_DW_E): Likewise.
28331 (_FP_WFRACXBITS_DW_E): Likewise.
28332 (_FP_HIGHBIT_DW_E): Likewise.
28333 (FP_FMA_E): Likewise.
28334 (_FP_FRAC_HIGH_DW_E): Likewise.
28335 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
28336 (_FP_WFRACBITS_DW_Q): Likewise.
28337 (_FP_WFRACXBITS_DW_Q): Likewise.
28338 (_FP_HIGHBIT_DW_Q): Likewise.
28339 (FP_FMA_Q): Likewise.
28340 (_FP_FRAC_HIGH_DW_Q): Likewise.
28341 * soft-fp/fmasf4.c: New file.
28342 * soft-fp/fmadf4.c: Likewise.
28343 * soft-fp/fmatf4.c: Likewise.
28345 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28347 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28348 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
28350 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
28352 (index_Slow_SSE4_2): Likewise.
28353 (index_Prefer_PMINUB_for_stringop): Likewise.
28354 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
28355 bit_Slow_SSE4_2 is set.
28356 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28357 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28359 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28361 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
28362 rtld_global._dl_hwcap2.
28363 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
28365 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
28366 POWER8 feature descriptions defined in _dl_hwcap2.
28367 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
28368 string handling for POWER8 feature bits.
28369 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
28370 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
28371 _dl_powerpc_cap_flags.
28372 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
28373 * sysdeps/powerpc/rtld-global-offsets.sym
28374 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
28375 _dl_hwcap2 in the rtld_global_ro structure.
28377 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28379 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
28380 hardware capabilities in support of AT_HWCAP2.
28381 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
28382 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
28384 (_dl_show_auxv): Add support for calling _dl_procinfo to display
28385 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
28386 explicitly the unknown a_type display mechanism is used.
28387 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
28388 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
28390 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
28391 to macro prototype for AT_HWCAP2 support.
28392 * sysdeps/i386/dl-procinfo.h: Likewise.
28393 * sysdeps/s390/dl-procinfo.h: Likewise.
28394 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
28395 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
28396 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
28397 return -1 for unknown a_type display fallback.
28398 * sysdeps/sparc/dl-procinfo.h: Likewise.
28399 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
28400 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
28402 2013-06-28 Joseph Myers <joseph@codesourcery.com>
28404 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
28405 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
28407 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
28410 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
28411 mprotect making __stack_prot writable.
28413 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
28414 Joseph Myers <joseph@codesourcery.com>
28416 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
28417 as being properly aligned.
28419 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
28421 * dlfcn/modstatic5.c: New file.
28422 * dlfcn/tststatic5.c: New file.
28423 * dlfcn/Makefile (tests): Add tststatic5.
28424 (tests-static): Likewise.
28425 (modules-names): Add modstatic5.
28426 (tststatic5-ENV): New variable.
28427 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
28430 * elf/dl-support.c (_dl_main_map): New variable.
28431 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
28432 (_dl_nns, _dl_load_adds): Set to 1.
28433 (_dl_initial_searchlist): Refer to _dl_main_map.
28434 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
28435 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
28436 call to _dl_get_origin.
28437 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
28439 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
28440 * dlfcn/modstatic3.c: New file.
28441 * dlfcn/tststatic3.c: New file.
28442 * dlfcn/tststatic4.c: New file.
28443 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
28444 (tests-static): Likewise.
28445 (modules-names): Add modstatic3.
28446 (tststatic3-ENV, tststatic4-ENV): New variables.
28447 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
28448 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
28450 2013-06-26 Joseph Myers <joseph@codesourcery.com>
28452 * configure.in (CC): Require GCC version 4.4 or later.
28453 * configure: Regenerated.
28454 * manual/install.texi (Tools for Compilation): Update GCC version
28456 * INSTALL: Regenerated.
28458 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28461 * string/test-memcmp.c (check2): New.
28462 (main): Call check2.
28464 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
28466 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
28469 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
28471 (dl_open_worker) [!SHARED]: ... here.
28473 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28475 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
28477 2013-06-25 Richard Henderson <rth@redhat.com>
28479 * locale/programs/locarchive.c: Include <libc-internal.h>
28481 2013-06-25 Joseph Myers <joseph@codesourcery.com>
28483 * manual/texinfo.tex: Update to version 2013-06-21.17, with
28484 trailing whitespace removed.
28486 2013-06-24 Mike Frysinger <vapier@gentoo.org>
28489 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
28490 * locale/programs/locarchive.c: Include libc-mmap.h.
28491 (prepare_address_space): Take two new outputs (the mmap base and len).
28492 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
28494 (create_archive): Declare new mmap base and len values for
28495 prepare_address_space, and store the result in ah.
28496 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
28497 (enlarge_archive): If ah->mmap_base is not NULL, use that and
28498 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28499 Declare new mmap base and len values for
28500 prepare_address_space, and store the result in new_ah.
28501 (open_archive): Declare new mmap base and len values for
28502 prepare_address_space, and store the result in ah.
28503 (close_archive): If ah->mmap_base is not NULL, use that and
28504 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28505 * sysdeps/generic/libc-mmap.h: New file.
28507 2013-06-24 Mike Frysinger <vapier@gentoo.org>
28509 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
28510 (ALIGN_UP): Likewise.
28511 (PTR_ALIGN_DOWN): Likewise.
28512 (PTR_ALIGN_UP): Likewise.
28514 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28516 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
28517 entry mapped to PPC_PLATFORM_POWER8.
28518 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
28520 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
28521 (_dl_string_platform): Add case for exporting platform position for
28523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
28524 search path to sysdeps/powerpc/powerpc32/power8 directory.
28525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
28526 search path to sysdeps/powerpc/powerpc64/power8 directory.
28527 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
28528 power7 directories.
28529 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
28530 power7 directories.
28532 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28534 * INSTALL: Regenerate.
28536 * nscd/connections.c (nscd_init): Fix comment.
28538 2013-06-22 Joseph Myers <joseph@codesourcery.com>
28540 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
28543 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
28544 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
28546 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
28548 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
28550 (DL_DST_REQ_STATIC): Remove macro.
28552 2013-06-21 Joseph Myers <joseph@codesourcery.com>
28555 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
28556 with a shift of 0 bits.
28558 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
28560 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
28563 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28566 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
28568 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28570 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
28571 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
28572 accepts -fno-tree-loop-distribute-patterns.
28573 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
28574 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
28576 * string/memset.c (memset): Likewise.
28577 * string/test-memmove.c (simple_memmove): Disable loop transformation
28579 * string/test-memset.c (simple_memset): Likewise.
28580 * benchtests/bench-memmove.c (simple_memmove): Likewise.
28581 * benchtests/bench-memset.c (simple_memset): Likewise.
28582 * configure: Regenerated.
28584 2013-06-20 Joseph Myers <joseph@codesourcery.com>
28586 * math/test-misc.c (main): Ignore fesetround failure when failures
28587 of subsequent rounding tests would be ignored.
28590 * math/fedisblxcpt.c (fedisableexcept): Return 0.
28591 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
28592 * math/fegetenv.c (__fegetenv): Return 0.
28593 * math/fegetexcept.c (fegetexcept): Return 0.
28594 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
28596 * math/feholdexcpt.c (feholdexcept): Return 0.
28597 * math/fesetenv.c (__fesetenv): Return 0.
28598 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
28599 argument FE_TONEAREST.
28600 * math/feupdateenv.c (__feupdateenv): Return 0.
28601 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
28603 2013-06-18 Roland McGrath <roland@hack.frob.com>
28605 * elf/rtld-Rules (rtld-compile-command.S): New variable.
28606 (rtld-compile-command.s, rtld-compile-command.c): New variables.
28607 ($(objpfx)rtld-%.os rules): Use them.
28609 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28611 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
28614 2013-06-17 Roland McGrath <roland@hack.frob.com>
28616 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
28617 length of target pattern, then descending length of dependency pattern.
28618 * configure.in (AWK): Require gawk 3.1.2 or newer.
28619 * manual/install.texi (Tools for Compilation): Say that we do.
28620 * configure: Regenerated.
28622 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
28623 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
28624 * scripts/sysd-rules.awk: ... this new script.
28625 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
28626 than a glob-style pattern.
28628 2013-06-17 Joseph Myers <joseph@codesourcery.com>
28630 * math/test-misc.c (main): Do not treat incorrectly rounded
28631 conversions as failure unless ROUNDING_TESTS passes.
28633 2013-06-15 Joseph Myers <joseph@codesourcery.com>
28636 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
28637 restore exception state around main square root computation, then
28638 check for inexactness explicitly.
28640 * math/libm-test.inc (fma_test_data): Add another test.
28642 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28644 * manual/threads.texi (Non-POSIX Extensions): New document
28645 node. Document pthread_getattr_default_np and
28646 pthread_setattr_default_np.
28648 * Versions.def (libpthread): Add GLIBC_2.18.
28649 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
28650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28658 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
28660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28662 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28666 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28669 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28671 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28672 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
28674 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28675 H.J. Lu <hjl.tools@gmail.com>
28678 * sysdeps/x86_64/rtld-memset.c: Remove file.
28679 * sysdeps/x86_64/rtld-memset.S: New file.
28681 2013-06-14 Joseph Myers <joseph@codesourcery.com>
28683 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
28684 (test_in_one_mode): Take arguments for whether the rounding mode
28685 is supported for each floating-point type.
28686 (do_test): Pass new arguments to test_in_one_mode using
28689 2013-06-13 Roland McGrath <roland@hack.frob.com>
28691 * posix/tst-waitid.c (do_test): Distinguish different instances of
28692 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
28693 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
28694 before entering the kernel for waitpid.
28696 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28698 * NEWS: Fix note on clock function precision. Text by Roland
28701 2013-06-13 Roland McGrath <roland@hack.frob.com>
28703 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
28704 it into place only when and if the sanity check passes.
28706 2013-06-13 Joseph Myers <joseph@codesourcery.com>
28708 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
28709 output for whether conversion result is exact. Take argument
28710 indicating whether type is IBM long double.
28711 (round_for_all): Change need_exact field to ibm_ld.
28712 * stdlib/tst-strtod-round.c (struct exactness): New type.
28713 (struct test): Change bool ld_ok field to struct exactness exact.
28714 (TEST): Update all definitions for change to field.
28715 (tests): Regenerate array contents.
28716 (test_in_one_mode): Take pointer to new field instead of old ld_ok
28717 field value. Check for IBM long double here.
28718 (do_test): Update calls to test_in_one_mode.
28720 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28723 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
28724 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
28726 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28729 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
28730 generated by the compiler on loop optimizations.
28731 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
28732 general definitions.
28734 2013-06-12 Joseph Myers <joseph@codesourcery.com>
28736 * math/bug-nextafter.c: Include <math-tests.h>.
28737 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28739 * math/bug-nexttoward.c: Include <math-tests.h>.
28740 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28742 * math/test-misc.c: Include <math-tests.h>.
28743 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28746 2013-06-12 Andreas Jaeger <aj@suse.de>
28748 * po/ia.po: Update Interlingua translation from translation
28751 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28753 * include/fenv.h: Include stdbool.h.
28754 (struct rm_ctx): New structure.
28755 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
28757 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
28758 (SET_RESTORE_ROUNDF): Likewise.
28759 (SET_RESTORE_ROUNDL): Likewise.
28760 (SET_RESTORE_ROUND_NOEX): Likewise.
28761 (SET_RESTORE_ROUND_NOEXF): Likewise.
28762 (SET_RESTORE_ROUND_NOEXL): Likewise.
28763 (SET_RESTORE_ROUND_53BIT): Likewise.
28764 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
28765 (libc_feresetround_noexf_ctx): Likewise.
28766 (libc_feresetround_noexl_ctx): Likewise.
28767 (libc_feholdsetround_53bit_ctx): Likewise.
28768 (libc_feresetround_53bit_ctx): Likewise.
28769 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
28770 (libc_feholdexcept_setround_sse_ctx): New function.
28771 (libc_fesetenv_sse_ctx): Likewise.
28772 (libc_feupdateenv_sse_ctx): Likewise.
28773 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
28774 (libc_feholdexcept_setround_387_ctx): Likewise.
28775 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
28776 (libc_feholdsetround_387_prec_ctx): Likewise.
28777 (libc_feholdsetround_387_ctx): Likewise.
28778 (libc_feholdsetround_387_53bit_ctx): Likewise.
28779 (libc_feholdsetround_sse_ctx): Likewise.
28780 (libc_feresetround_sse_ctx): Likewise.
28781 (libc_feresetround_387_ctx): Likewise.
28782 (libc_feupdateenv_387_ctx): Likewise.
28783 (libc_feholdexcept_setroundf_ctx): Define macro.
28784 (libc_fesetenvf_ctx): Likewise.
28785 (libc_feupdateenvf_ctx): Likewise.
28786 (libc_feholdsetroundf_ctx): Likewise.
28787 (libc_feresetroundf_ctx): Likewise.
28788 (libc_feholdexcept_setround_ctx): Likewise.
28789 (libc_fesetenv_ctx): Likewise.
28790 (libc_feupdateenv_ctx): Likewise.
28791 (libc_feholdsetround_ctx): Likewise.
28792 (libc_feresetround_ctx): Likewise.
28793 (libc_feholdexcept_setroundl_ctx): Likewise.
28794 (libc_feupdateenvl_ctx): Likewise.
28795 (libc_feholdsetroundl_ctx): Likewise.
28796 (libc_feresetroundl_ctx): Likewise.
28797 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
28798 (libc_feresetround_53bit_ctx): Likewise.
28800 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28802 * locale/iso-639.def: Convert to UTF-8.
28804 2013-06-11 Joseph Myers <joseph@codesourcery.com>
28806 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
28807 (EXCEPTION_TESTS_double): Likewise.
28808 (EXCEPTION_TESTS_long_double): Likewise.
28809 (EXCEPTION_TESTS): Likewise.
28810 * math/libm-test.inc (test_exceptions): Only test exceptions if
28811 EXCEPTION_TESTS (FLOAT).
28813 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28815 * benchtests/Makefile (string-bench): Add strcpy_chk and
28817 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
28818 * benchtests/bench-stpcpy_chk.c: New file.
28819 * benchtests/bench-strcpy_chk-ifunc.c: New file.
28820 * benchtests/bench-strcpy_chk.c: New file.
28821 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
28823 (do_test): Likewise.
28825 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28827 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
28828 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
28829 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
28830 with tabs where appropriate.
28831 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
28833 [PPC_PLATFORM_PPC440]: Likewise.
28834 [PPC_PLATFORM_PPC464]: Likewise.
28835 [PPC_PLATFORM_PPC476]: Likewise.
28836 (_dl_string_platform): Add support for detecting ppc405, ppc440,
28837 ppc464, and ppc476 platform strings merging from ports/
28840 2013-06-11 Andreas Schwab <schwab@suse.de>
28843 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
28844 (from_ucs4_idx): Regenerate.
28845 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
28846 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
28847 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
28848 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
28849 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
28850 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
28851 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
28852 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
28853 from FROM_LOOP and TO_LOOP specific macros.
28854 (BODY): Handle combining characters.
28855 * iconvdata/BIG5HKSCS.irreversible: Update.
28856 * iconvdata/BIG5HKSCS.precomposed: New file.
28857 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
28859 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
28861 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28863 * include/sys/time.h: Fix indentation and add copyright header.
28865 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
28866 (do_test): Likewise.
28867 * string/test-memchr.c (do_one_test): Likewise.
28868 (do_test): Likewise.
28869 * string/test-memcmp.c (do_one_test): Likewise.
28870 (do_test): Likewise.
28871 * string/test-memcpy.c (do_one_test): Likewise.
28872 (do_test): Likewise.
28873 * string/test-memmem.c (do_one_test): Likewise.
28874 (do_test): Likewise.
28875 (do_random_tests): Likewise.
28876 * string/test-memmove.c (do_one_test): Likewise.
28877 (do_test): Likewise.
28878 * string/test-memset.c (do_one_test): Likewise.
28879 (do_test): Likewise.
28880 * string/test-rawmemchr.c (do_one_test): Likewise.
28881 (do_test): Likewise.
28882 * string/test-strcasecmp.c (do_one_test): Likewise.
28883 (do_test): Likewise.
28884 * string/test-strcasestr.c (do_one_test): Likewise.
28885 (do_test): Likewise.
28886 * string/test-strcat.c (do_one_test): Likewise.
28887 (do_test): Likewise.
28888 * string/test-strchr.c (do_one_test): Likewise.
28889 (do_test): Likewise.
28890 * string/test-strcmp.c (do_one_test): Likewise.
28891 (do_test): Likewise.
28892 * string/test-strcpy.c (do_one_test): Likewise.
28893 (do_test): Likewise.
28894 * string/test-string.h: Likewise.
28895 (test_init): Likewise.
28896 * string/test-strlen.c (do_one_test): Likewise.
28897 (do_test): Likewise.
28898 * string/test-strncasecmp.c (do_one_test): Likewise.
28899 (do_test): Likewise.
28900 * string/test-strncat.c (do_one_test): Likewise.
28901 (do_test): Likewise.
28902 * string/test-strncmp.c (do_one_test): Likewise.
28903 (do_test_limit): Likewise.
28904 (do_test): Likewise.
28905 * string/test-strncpy.c (do_one_test): Likewise.
28906 (do_test): Likewise.
28907 * string/test-strnlen.c (do_one_test): Likewise.
28908 (do_test): Likewise.
28909 * string/test-strpbrk.c (do_one_test): Likewise.
28910 (do_test): Likewise.
28911 * string/test-strrchr.c (do_one_test): Likewise.
28912 (do_test): Likewise.
28913 * string/test-strspn.c (do_one_test): Likewise.
28914 (do_test): Likewise.
28915 * string/test-strstr.c (do_one_test): Likewise.
28916 (do_test): Likewise.
28918 * benchtests/Makefile (string-bench): Add string benchmarks.
28919 * benchtests/bench-bcopy-ifunc.c: New file.
28920 * benchtests/bench-bcopy.c: New file.
28921 * benchtests/bench-bzero-ifunc.c: New file.
28922 * benchtests/bench-bzero.c: New file.
28923 * benchtests/bench-memccpy-ifunc.c: New file.
28924 * benchtests/bench-memccpy.c: New file.
28925 * benchtests/bench-memchr-ifunc.c: New file.
28926 * benchtests/bench-memchr.c: New file.
28927 * benchtests/bench-memcmp-ifunc.c: New file.
28928 * benchtests/bench-memcmp.c: New file.
28929 * benchtests/bench-memmem-ifunc.c: New file.
28930 * benchtests/bench-memmem.c: New file.
28931 * benchtests/bench-memmove-ifunc.c: New file.
28932 * benchtests/bench-memmove.c: New file.
28933 * benchtests/bench-mempcpy-ifunc.c: New file.
28934 * benchtests/bench-mempcpy.c: New file.
28935 * benchtests/bench-memset-ifunc.c: New file.
28936 * benchtests/bench-memset.c: New file.
28937 * benchtests/bench-rawmemchr-ifunc.c: New file.
28938 * benchtests/bench-rawmemchr.c: New file.
28939 * benchtests/bench-stpcpy-ifunc.c: New file.
28940 * benchtests/bench-stpcpy.c: New file.
28941 * benchtests/bench-stpncpy-ifunc.c: New file.
28942 * benchtests/bench-stpncpy.c: New file.
28943 * benchtests/bench-strcasecmp-ifunc.c: New file.
28944 * benchtests/bench-strcasecmp.c: New file.
28945 * benchtests/bench-strcasestr-ifunc.c: New file.
28946 * benchtests/bench-strcasestr.c: New file.
28947 * benchtests/bench-strcat-ifunc.c: New file.
28948 * benchtests/bench-strcat.c: New file.
28949 * benchtests/bench-strchr-ifunc.c: New file.
28950 * benchtests/bench-strchr.c: New file.
28951 * benchtests/bench-strchrnul-ifunc.c: New file.
28952 * benchtests/bench-strchrnul.c: New file.
28953 * benchtests/bench-strcmp-ifunc.c: New file.
28954 * benchtests/bench-strcmp.c: New file.
28955 * benchtests/bench-strcpy-ifunc.c: New file.
28956 * benchtests/bench-strcpy.c: New file.
28957 * benchtests/bench-strcspn-ifunc.c: New file.
28958 * benchtests/bench-strcspn.c: New file.
28959 * benchtests/bench-strlen-ifunc.c: New file.
28960 * benchtests/bench-strlen.c: New file.
28961 * benchtests/bench-strncasecmp-ifunc.c: New file.
28962 * benchtests/bench-strncasecmp.c: New file.
28963 * benchtests/bench-strncat-ifunc.c: New file.
28964 * benchtests/bench-strncat.c: New file.
28965 * benchtests/bench-strncmp-ifunc.c: New file.
28966 * benchtests/bench-strncmp.c: New file.
28967 * benchtests/bench-strncpy-ifunc.c: New file.
28968 * benchtests/bench-strncpy.c: New file.
28969 * benchtests/bench-strnlen-ifunc.c: New file.
28970 * benchtests/bench-strnlen.c: New file.
28971 * benchtests/bench-strpbrk-ifunc.c: New file.
28972 * benchtests/bench-strpbrk.c: New file.
28973 * benchtests/bench-strrchr-ifunc.c: New file.
28974 * benchtests/bench-strrchr.c: New file.
28975 * benchtests/bench-strspn-ifunc.c: New file.
28976 * benchtests/bench-strspn.c: New file.
28977 * benchtests/bench-strstr-ifunc.c: New file.
28978 * benchtests/bench-strstr.c: New file.
28980 * benchtests/Makefile: Disable parallel execution of targets.
28981 (string-bench): Add memcpy.
28982 (benchset): New variable to store a list of benchmark sets.
28983 (bench-func): Renamed from bench.
28984 (bench-set): New target.
28985 (bench): Depend on bench-func and bench-set.
28986 * benchtests/README: Add section on benchmark sets.
28987 * benchtests/bench-memcpy-ifunc.c: New file.
28988 * benchtests/bench-memcpy.c: New file.
28989 * benchtests/bench-string.h: New file.
28991 2013-06-11 Andreas Schwab <schwab@suse.de>
28994 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
28995 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
28996 values in the triple.
28997 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
28998 terminator in the group key.
29000 2013-06-11 Andreas Jaeger <aj@suse.de>
29002 * po/zh_TW.po: Update Chinese (traditional) translation from
29003 translation project.
29005 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29007 * include/time.h (__clock_gettime): Add libc_hidden_proto.
29008 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
29009 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
29010 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29011 (clock_getcpuclockid): Likewise.
29012 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
29013 Add weak_alias and libc_hidden_def.
29014 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
29015 * rt/clock_gettime.c (clock_gettime): Rename to
29016 __clock_gettime. Add weak_alias and libc_hidden_def.
29017 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
29018 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
29019 __clock_nanosleep. Add weak_alias and libc_hidden_def.
29020 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
29021 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
29023 * rt/clock_settime.c (clock_settime): Rename to
29024 __clock_settime. Add weak_alias and libc_hidden_def.
29025 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
29027 2013-06-10 Joseph Myers <joseph@codesourcery.com>
29029 * mach/err_boot.sub: Remove trailing whitespace.
29030 * mach/err_ipc.sub: Likewise.
29031 * mach/err_mach.sub: Likewise.
29033 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
29034 (ROUNDING_TESTS_double): Likewise.
29035 (ROUNDING_TESTS_long_double): Likewise.
29036 (ROUNDING_TESTS): Likewise.
29037 * math/libm-test.inc: Include <math-tests.h>.
29038 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
29039 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29040 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29041 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29043 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29045 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
29048 2013-06-08 Joseph Myers <joseph@codesourcery.com>
29050 * sysdeps/gnu/errlist.awk: Do not generate space at end of
29051 otherwise empty TRANS lines.
29052 * sysdeps/gnu/errlist.c: Regenerated.
29054 * catgets/gencat.c (error_print): Use (void) in function
29056 * crypt/crypt_util.c (__init_des): Likewise.
29057 * crypt/speeds.c (Stop): Likewise.
29059 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
29060 * inet/ruserpass.c (token): Likewise.
29061 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
29062 * intl/localealias.c (extend_alias_table): Likewise.
29063 * intl/plural-exp.c (init_germanic_plural): Likewise.
29064 * libio/fcloseall.c (__fcloseall): Likewise.
29065 * libio/genops.c (_IO_flush_all): Likewise.
29066 (_IO_flush_all_linebuffered): Likewise.
29067 (_IO_cleanup): Likewise.
29068 (_IO_iter_begin): Likewise.
29069 (_IO_iter_end): Likewise.
29070 (_IO_list_lock): Likewise.
29071 (_IO_list_unlock): Likewise.
29072 (_IO_list_resetlock): Likewise.
29073 * libio/getchar.c (getchar): Likewise.
29074 * libio/getchar_u.c (getchar_unlocked): Likewise.
29075 * libio/getwchar.c (getwchar): Likewise.
29076 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
29077 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
29078 * login/getpt.c (__getpt): Likewise.
29079 * login/tst-utmp.c (main): Likewise.
29080 * malloc/hooks.c (__malloc_check_init): Likewise.
29081 * malloc/malloc.c (__malloc_stats): Likewise.
29082 * malloc/mtrace.c (tr_break): Likewise.
29083 (mtrace): Likewise.
29084 (muntrace): Likewise.
29085 * misc/fstab.c (endfsent): Likewise.
29086 * misc/getclktck.c (__getclktck): Likewise.
29087 * misc/getdtsz.c (__getdtablesize): Likewise.
29088 * misc/gethostid.c (gethostid): Likewise.
29089 * misc/getpagesize.c (__getpagesize): Likewise.
29090 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
29091 (__get_nprocs): Likewise.
29092 (__get_phys_pages): Likewise.
29093 (__get_avphys_pages): Likewise.
29094 * misc/getttyent.c (getttyent): Likewise.
29095 (setttyent): Likewise.
29096 (endttyent): Likewise.
29097 * misc/getusershell.c (getusershell): Likewise.
29098 (endusershell): Likewise.
29099 (setusershell): Likewise.
29100 (initshells): Likewise.
29101 * misc/hsearch.c (__hdestroy): Likewise.
29102 * misc/sync.c (sync): Likewise.
29103 * misc/syslog.c (closelog_internal): Likewise.
29104 (closelog): Likewise.
29105 * misc/ttyslot.c (ttyslot): Likewise.
29106 * misc/vhangup.c (vhangup): Likewise.
29107 * posix/fork.c (__fork): Likewise.
29108 * posix/getegid.c (__getegid): Likewise.
29109 * posix/geteuid.c (__geteuid): Likewise.
29110 * posix/getgid.c (__getgid): Likewise.
29111 * posix/getpid.c (__getpid): Likewise.
29112 * posix/getppid.c (__getppid): Likewise.
29113 * posix/getuid.c (__getuid): Likewise.
29114 * posix/pause.c (pause): Likewise.
29115 * posix/setpgrp.c (setpgrp): Likewise.
29116 * posix/setsid.c (__setsid): Likewise.
29117 * posix/test-vfork.c (noop): Likewise.
29118 * resolv/gethnamaddr.c (_endhtent): Likewise.
29119 (_gethtent): Likewise.
29120 (ht_endhostent): Likewise.
29121 (gethostent): Likewise.
29122 (dns_service): Likewise.
29123 * stdlib/drand48.c (drand48): Likewise.
29124 * stdlib/lrand48.c (lrand48): Likewise.
29125 * stdlib/mrand48.c (mrand48): Likewise.
29126 * stdlib/rand.c (rand): Likewise.
29127 * stdlib/random.c (__random): Likewise.
29128 * stdlib/setenv.c (clearenv): Likewise.
29129 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
29130 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
29131 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
29132 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
29133 (__get_nprocs): Likewise.
29134 (__get_phys_pages): Likewise.
29135 (__get_avphys_pages): Likewise.
29136 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
29137 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
29138 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
29139 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
29140 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
29141 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
29142 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
29143 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
29144 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
29145 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
29146 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
29147 * sysdeps/mach/hurd/sync.c (sync): Likewise.
29148 * sysdeps/posix/clock.c (clock): Likewise.
29149 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
29150 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
29151 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
29152 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
29153 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
29154 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29155 (__get_nprocs_conf): Likewise.
29156 (__get_phys_pages): Likewise.
29157 (__get_avphys_pages): Likewise.
29158 * time/clock.c (clock): Likewise.
29159 * time/tzset.c (__tzname_max): Likewise.
29161 2013-06-07 Joseph Myers <joseph@codesourcery.com>
29163 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
29164 (__bswap_32): Do not use "register".
29165 * crypt/crypt.c (_ufc_doit_r): Likewise.
29166 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
29167 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
29168 * gmon/gmon.c (__monstartup): Likewise.
29169 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
29170 * hurd/hurdmalloc.c (more_memory): Likewise.
29171 (malloc): Likewise.
29173 (realloc): Likewise.
29174 (malloc_fork_prepare): Likewise.
29175 (malloc_fork_parent): Likewise.
29176 (malloc_fork_child): Likewise.
29177 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
29178 (_svcauth_des): Likewise.
29179 * inet/inet_lnaof.c (inet_lnaof): Likewise.
29180 * inet/inet_net.c (inet_network): Likewise.
29181 * inet/inet_netof.c (inet_netof): Likewise.
29182 * inet/rcmd.c (__validuser2_sa): Likewise.
29183 * io/fts.c (fts_open): Likewise.
29184 (fts_load): Likewise.
29185 (fts_close): Likewise.
29186 (fts_read): Likewise.
29187 (fts_children): Likewise.
29188 (fts_build): Likewise.
29189 (fts_stat): Likewise.
29190 (fts_sort): Likewise.
29191 (fts_alloc): Likewise.
29192 (fts_lfree): Likewise.
29193 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
29194 (_IO_file_xsgetn): Likewise.
29195 (_IO_file_xsgetn_mmap): Likewise.
29196 * libio/iofopncook.c (_IO_cookie_read): Likewise.
29197 (_IO_cookie_write): Likewise.
29198 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
29199 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
29200 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
29201 * malloc/obstack.c (_obstack_begin): Likewise.
29202 (_obstack_begin_1): Likewise.
29203 (_obstack_newchunk): Likewise.
29204 (_obstack_allocated_p): Likewise.
29205 (obstack_free): Likewise.
29206 (_obstack_memory_used): Likewise.
29207 * misc/getttyent.c (getttynam): Likewise.
29208 (getttyent): Likewise.
29211 * misc/getusershell.c (initshells): Likewise.
29212 * misc/syslog.c (__vsyslog_chk): Likewise.
29213 * misc/ttyslot.c (ttyslot): Likewise.
29214 * nis/nis_hash.c (__nis_hash): Likewise.
29215 * posix/fnmatch_loop.c (FCT): Likewise.
29216 * posix/getconf.c (print_all): Likewise.
29218 * posix/getopt.c (exchange): Likewise.
29219 * posix/glob.c (globfree): Likewise.
29220 (prefix_array): Likewise.
29221 (__glob_pattern_type): Likewise.
29222 * resolv/arpa/nameser.h (NS_GET16): Likewise.
29223 (NS_GET32): Likewise.
29224 (NS_PUT16): Likewise.
29225 (NS_PUT32): Likewise.
29226 * resolv/gethnamaddr.c (getanswer): Likewise.
29227 (gethostbyname2): Likewise.
29228 (gethostbyaddr): Likewise.
29229 (_gethtent): Likewise.
29230 (_gethtbyname2): Likewise.
29231 (_gethtbyaddr): Likewise.
29232 * resolv/ns_print.c (dst_s_get_int16): Likewise.
29233 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
29234 * resolv/res_init.c (__res_vinit): Likewise.
29235 (net_mask): Likewise.
29236 * resolv/res_mkquery.c (outchar): Likewise.
29238 * stdio-common/printf_fp.c (outchar): Likewise.
29240 * stdio-common/printf_fphex.c (outchar): Likewise.
29242 * stdio-common/printf_size.c (outchar): Likewise.
29244 * stdio-common/test_rdwr.c (main): Likewise.
29245 * stdio-common/tfformat.c (matches): Likewise.
29246 * stdio-common/vfprintf.c (outchar): Likewise.
29247 (printf_unknown): Likewise.
29248 (buffered_vfprintf): Likewise.
29249 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
29250 * stdio-common/xbug.c (AppendToBuffer): Likewise.
29251 (ReadFile): Likewise.
29252 * stdlib/qsort.c (SWAP): Likewise.
29253 (_quicksort): Likewise.
29254 * stdlib/setenv.c (__add_to_environ): Likewise.
29255 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
29256 * stdlib/strtol_l.c (__strtol_l): Likewise.
29257 * stdlib/tst-strtod.c (main): Likewise.
29258 * stdlib/tst-strtol.c (main): Likewise.
29259 * stdlib/tst-strtoll.c (main): Likewise.
29260 * string/bits/string2.h (__strcmp_cc): Likewise.
29261 (__strcmp_cg): Likewise.
29262 (__strcspn_c1): Likewise.
29263 (__strcspn_c2): Likewise.
29264 (__strcspn_c3): Likewise.
29265 (__strspn_c1): Likewise.
29266 (__strspn_c2): Likewise.
29267 (__strspn_c3): Likewise.
29268 (__strsep_1c): Likewise.
29269 (__strsep_2c): Likewise.
29270 (__strsep_3c): Likewise.
29271 * string/memccpy.c (__memccpy): Likewise.
29272 * string/stpcpy.c (__stpcpy): Likewise.
29273 * string/strcmp.c (strcmp): Likewise.
29274 * string/strrchr.c (strrchr): Likewise.
29275 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
29277 * sysdeps/mach/hurd/getcwd.c
29278 (_hurd_canonicalize_directory_name_internal): Likewise.
29279 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
29280 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
29281 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
29282 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
29283 Likewise, in both definitions.
29284 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
29286 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
29287 64] (__bswap_64): Likewise.
29288 * time/test_time.c (main): Likewise.
29289 * time/tzfile.c (__tzfile_read): Likewise.
29290 (__tzfile_compute): Likewise.
29291 * time/tzset.c (__tzset_parse_tz): Likewise.
29292 (tzset_internal): Likewise.
29293 (compute_change): Likewise.
29294 * wcsmbs/wcscat.c (__wcscat): Likewise.
29295 * wcsmbs/wcschr.c (wcschr): Likewise.
29296 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
29297 * wcsmbs/wcscspn.c (wcscspn): Likewise.
29298 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
29299 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
29300 * wcsmbs/wcsspn.c (wcsspn): Likewise.
29301 * wcsmbs/wcsstr.c (wcsstr): Likewise.
29302 * wcsmbs/wmemchr.c (wmemchr): Likewise.
29303 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29304 * wcsmbs/wmemset.c (wmemset): Likewise.
29306 2013-06-06 Joseph Myers <joseph@codesourcery.com>
29308 * scripts/config.guess: Update to version 2013-05-16.
29309 * scripts/config.sub: Update to version 2013-04-24.
29310 * scripts/install-sh: Update to version 2011-11-20.07.
29311 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
29312 * scripts/move-if-change: Update to version 2012-01-06 07:23.
29314 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
29316 * debug/fgetws_u_chk.c: Fix leading whitespaces.
29317 * elf/sln.c: Likewise.
29318 * hurd/hurd/ioctl.h: Likewise.
29319 * hurd/hurdmalloc.c: Likewise.
29320 * hurd/xattr.c: Likewise.
29321 * include/shlib-compat.h: Likewise.
29322 * inet/ruserpass.c: Likewise.
29323 * libio/iofgets_u.c: Likewise.
29324 * libio/iofgetws_u.c: Likewise.
29325 * locale/programs/ld-identification.c: Likewise.
29326 * locale/programs/ld-time.c: Likewise.
29327 * mach/msg-destroy.c: Likewise.
29328 * nss/nss_files/files-netgrp.c: Likewise.
29329 * resolv/res_data.c: Likewise.
29330 * soft-fp/op-1.h: Likewise.
29331 * soft-fp/op-2.h: Likewise.
29332 * soft-fp/op-4.h: Likewise.
29333 * soft-fp/op-common.h: Likewise.
29334 * stdio-common/printf_fphex.c: Likewise.
29335 * stdlib/strtod_l.c: Likewise.
29336 * sunrpc/rpc/clnt.h: Likewise.
29337 * sysdeps/generic/framestate.c: Likewise.
29338 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29339 * sysdeps/i386/bsd-setjmp.S: Likewise.
29340 * sysdeps/i386/__longjmp.S: Likewise.
29341 * sysdeps/i386/setjmp.S: Likewise.
29342 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29343 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29344 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29345 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29346 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29347 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29348 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29349 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29350 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29351 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29352 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29353 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29354 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29355 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29356 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29357 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29358 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29359 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
29360 * sysdeps/ieee754/support.c: Likewise.
29361 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29362 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
29363 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
29364 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
29365 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
29366 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
29367 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
29368 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
29369 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
29370 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
29371 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
29372 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
29373 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
29374 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
29375 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
29376 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
29377 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29380 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
29382 * posix/transbug.c: Remove executable mode.
29384 2013-06-05 Joseph Myers <joseph@codesourcery.com>
29386 * crypt/speeds.c: Remove trailing whitespace.
29387 * dlfcn/default.c: Likewise.
29388 * elf/ifuncdep2.c: Likewise.
29389 * elf/ifuncmain1.c: Likewise.
29390 * elf/ifuncmain1vis.c: Likewise.
29391 * elf/testobj.h: Likewise.
29392 * elf/tst-stackguard1.c: Likewise.
29393 * gmon/sys/gmon.h: Likewise.
29394 * hurd/hurdmsg.c: Likewise.
29395 * hurd/new-fd.c: Likewise.
29396 * hurd/ports-get.c: Likewise.
29397 * iconvdata/ibm1008_420.c: Likewise.
29398 * inet/tst-getni1.c: Likewise.
29399 * inet/tst-getni2.c: Likewise.
29400 * libio/ioungetc.c: Likewise.
29401 * libio/wfiledoalloc.c: Likewise.
29402 * manual/libm-err-tab.pl: Likewise.
29403 * math/w_dremf.c: Likewise.
29404 * misc/ftruncate.c: Likewise.
29405 * posix/bug-glob2.c: Likewise.
29406 * posix/tst-pcre.c: Likewise.
29407 * posix/wait4.c: Likewise.
29408 * resolv/README: Likewise.
29409 * resolv/res_debug.h: Likewise.
29410 * resolv/tst-inet_ntop.c: Likewise.
29411 * setjmp/bug269-setjmp.c: Likewise.
29412 * soft-fp/extended.h: Likewise.
29413 * soft-fp/op-1.h: Likewise.
29414 * soft-fp/op-2.h: Likewise.
29415 * soft-fp/op-4.h: Likewise.
29416 * soft-fp/op-8.h: Likewise.
29417 * soft-fp/testit.c: Likewise.
29418 * stdio-common/bug16.c: Likewise.
29419 * stdlib/random.c: Likewise.
29420 * sunrpc/rpcsvc/rquota.x: Likewise.
29421 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
29422 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29423 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29424 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29425 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29426 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29427 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29428 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29429 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29430 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29431 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29432 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29433 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29434 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29435 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29436 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29437 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29438 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29439 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29440 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29441 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29442 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29443 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
29444 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29445 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29446 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29447 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29448 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29449 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29450 * sysdeps/ieee754/s_lib_version.c: Likewise.
29451 * sysdeps/mach/hurd/check_fds.c: Likewise.
29452 * sysdeps/mach/hurd/getsockname.c: Likewise.
29453 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
29454 * sysdeps/mach/hurd/recvfrom.c: Likewise.
29455 * sysdeps/powerpc/bits/link.h: Likewise.
29456 * sysdeps/powerpc/dl-procinfo.c: Likewise.
29457 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
29458 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
29459 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
29460 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29461 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29462 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
29463 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29464 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
29465 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29466 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
29467 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29468 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
29469 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29470 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29471 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29472 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29473 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29474 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29475 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29476 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29477 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
29478 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29479 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29480 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
29481 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29482 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29483 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29484 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29485 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29486 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29487 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29488 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29489 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
29490 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
29491 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29492 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
29493 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29494 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
29495 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
29496 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
29497 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
29498 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
29499 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
29500 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29501 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
29502 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
29503 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29504 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
29505 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
29506 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29507 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29508 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29509 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29510 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
29511 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
29512 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
29513 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29514 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
29515 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
29516 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
29517 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
29518 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
29519 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29520 * sysdeps/powerpc/sysdep.h: Likewise.
29521 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29522 * sysdeps/s390/s390-64/sub_n.S: Likewise.
29523 * sysdeps/sh/dl-trampoline.S: Likewise.
29524 * sysdeps/sh/memset.S: Likewise.
29525 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
29526 * sysdeps/sh/strlen.S: Likewise.
29527 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
29528 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
29529 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
29530 * sysdeps/sparc/sparc32/rem.S: Likewise.
29531 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
29532 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
29533 * sysdeps/sparc/sparc32/strchr.S: Likewise.
29534 * sysdeps/sparc/sparc32/udiv.S: Likewise.
29535 * sysdeps/sparc/sparc32/urem.S: Likewise.
29536 * sysdeps/sparc/sparc64/add_n.S: Likewise.
29537 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29538 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
29539 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
29540 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
29541 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
29542 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
29543 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
29544 * sysdeps/unix/bsd/times.c: Likewise.
29545 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
29546 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
29547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
29550 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
29551 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29552 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
29553 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
29554 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
29555 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
29556 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29557 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
29558 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29559 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29560 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
29561 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29562 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
29563 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
29564 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
29565 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
29566 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
29567 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29568 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
29569 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
29570 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
29571 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
29572 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29573 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
29574 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
29575 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
29576 * sysdeps/x86_64/strcspn.S: Likewise.
29578 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29580 * locale/C-translit.h: Revert #include <stdint.h> because this is a
29581 generated file. Regenerate properly from gen-translit.pl.
29582 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
29583 locale/C-translit.h.
29585 2013-06-05 Andreas Schwab <schwab@suse.de>
29588 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
29589 week as 6 instead of -1.
29590 * time/tst-strptime.c (day_tests): Add test case.
29592 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29594 * sysdeps/generic/math_private.h
29595 (libc_feholdexcept_setround_53bit): Replace with
29596 libc_feholdsetround_53bit.
29597 (libc_feupdateenv_53bit): Replace with
29598 libc_feresetround_53bit.
29599 (SET_RESTORE_ROUND_53BIT): Adjust.
29601 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29603 * string/test-strchrnul.c: Add copyright header.
29605 * posix/tst-getaddrinfo4.c: Increase test timeout.
29607 2013-06-03 Carlos O'Donell <carlos@redhat.com>
29610 * math/libm-test.inc (MAX_EXP): Remove
29612 (ulp): Use MIN_EXP - MANT_DIG.
29613 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
29615 2013-05-31 Carlos O'Donell <carlos@redhat.com>
29617 * po/be.po: Revert last change.
29618 * po/zh_CN.po: Likewise.
29619 * po/header.pot: Likewise.
29621 2013-05-31 Joseph Myers <joseph@codesourcery.com>
29623 * Makefile ($(common-objpfx)linkobj/libc.so): Define
29624 link-libc-deps to empty as target-specific variable.
29625 * Makerules (link-libc-args): New variable.
29626 (libc-for-link): Likewise.
29627 (link-libc-deps): Likewise.
29628 (lib%.so): Depend on $(link-libc-deps). Link with
29630 (build-module): Link with $(link-libc-args).
29631 (build-module-asneeded): Likewise.
29632 (build-module-helper-objlist): Filter out $(link-libc-deps) from
29634 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
29635 target-specific variable.
29636 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
29637 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
29638 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
29640 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
29642 ($(objpfx)libpcprofile.so): Likewise.
29643 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
29645 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
29646 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
29647 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
29649 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
29650 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
29651 * login/Makefile ($(objpfx)libutil.so): Likewise.
29652 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
29653 * math/Makefile ($(objpfx)libm.so): Likewise.
29654 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
29655 $(objpfx)libnsl.so): Define libc-for-link as target-specific
29656 variable instead of depending directly on libc.
29657 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
29658 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
29660 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
29662 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
29663 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
29664 ($(objpfx)libanl.so): Likewise.
29665 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
29667 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
29669 * sysdeps/i386/fpu/Makefile: Remove file.
29670 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
29671 ($(objpfx)libm.so): Remove dependency on ld.so.
29673 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
29676 * nis/yp_xdr.c (XDRMAXNAME): Define.
29677 (XDRMAXRECORD): Define.
29678 (xdr_domainname): Use XDRMAXNAME.
29679 (xdr_mapname): Likewise.
29680 (xdr_peername): Likewise.
29681 (xdr_keydat): Use XDRMAXRECORD.
29682 (xdr_valdat): Likewise.
29684 2013-05-30 Jeff Law <law@redhat.com>
29687 * manual/errno.texi (ESTALE): Update to account for more than
29688 just NFS file systems.
29689 * sysdeps/gnu/errlist.c: Regenerated.
29691 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29694 * elf/Makefile (tests): Add tst-null-argv.
29695 (modules-names): Add tst-null-argv-lib.
29696 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
29697 (tst-null-argv-ENV): Set environment for tst-null-argv.
29698 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
29699 (RTLD_PROGNAME): New macro.
29700 * elf/tst-null-argv.c: New test case.
29701 * elf/tst-null-argv-lib.c: Library for test case.
29702 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
29703 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
29704 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
29705 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
29706 * elf/dl-init.c (call_init): Likewise.
29707 (_dl_init): Likewise.
29708 * elf/dl-load.c (print_search_path): Likewise.
29709 (_dl_map_object): Likewise.
29710 * elf/dl-lookup.c (do_lookup_x): Likewise.
29711 (add_dependency): Likewise.
29712 (_dl_lookup_symbol_x): Likewise.
29713 (_dl_debug_bindings): Likewise.
29714 * elf/dl-open.c (_dl_show_scope): Likewise.
29715 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
29716 * elf/dl-version.c (match_symbol): Likewise.
29717 (_dl_check_map_versions): Likewise.
29718 * elf/rtld.c (dl_main): Likewise.
29719 (print_unresolved): Use RTLD_PROGNAME.
29720 (print_missing_version): Likewise.
29721 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
29722 (elf_machine_rela): Likewise.
29723 * sysdeps/powerpc/powerpc32/dl-machine.c
29724 (__process_machine_rela): Likewise.
29725 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29727 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29729 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29731 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29732 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
29734 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
29736 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29738 2013-05-28 Carlos O'Donell <carlos@redhat.com>
29740 * po/be.po: Add descriptive title.
29741 * po/zh_CN.po: Likewise.
29742 * po/header.pot: Likewise.
29744 2013-05-28 Mike Frysinger <vapier@gentoo.org>
29746 * locale/programs/locarchive.c (create_archive): Inlucde fname in
29748 (enlarge_archive): Likewise.
29750 2013-05-28 Ben North <ben@redfrontdoor.org>
29752 * manual/arith.texi (frexp): It is the magnitude of the return
29753 value which lies in [0.5, 1), not the return value itself.
29755 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29759 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
29761 * stdio-common/bug26.c (main): Correct fscanf template.
29763 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
29764 declare _dl_skip_args.
29766 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
29769 * manual/platform.texi: Add missing @end deftypefun.
29771 2013-05-24 Joseph Myers <joseph@codesourcery.com>
29774 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
29775 bit of mantissa of 2^16382.
29776 * math/libm-test.inc (hypot_test_data): Add more tests.
29778 * math/libm-test.inc: Add drem and pow10 to list of tested
29780 (pow10_test): New function.
29781 (drem_test): Likewise.
29782 (drem_test_tonearest): Likewise.
29783 (drem_test_towardzero): Likewise.
29784 (drem_test_downward): Likewise.
29785 (drem_test_upward): Likewise.
29786 (main): Call the new functions.
29788 * math/libm-test.inc (finite_test_data): Remove.
29789 (finite_test): Run tests from isfinite_test_data.
29790 (gamma_test_data): Remove.
29791 (gamma_test): Run tests from lgamma_test_data.
29792 * sysdeps/i386/fpu/libm-test-ulps: Update.
29793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29795 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29797 * manual/platform.texi: Add PowerPC PPR function set documentation.
29798 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
29801 2013-05-24 Carlos O'Donell <carlos@redhat.com>
29803 * math/libm-test.inc (MAX_EXP): Define.
29805 (ulp): New function.
29806 (check_float_internal): Use ULPDIFF.
29807 (cpow_test): Disable failing test.
29808 (check_ulp): Test ulp() implemetnation.
29809 (main): Call check_ulp before starting tests.
29811 2013-05-24 Joseph Myers <joseph@codesourcery.com>
29813 * math/gen-libm-test.pl (generate_testfile): Do not handle
29814 START_DATA and END_DATA.
29815 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
29817 (acos_tonearest_test_data): Likewise.
29818 (acos_towardzero_test_data): Likewise.
29819 (acos_downward_test_data): Likewise.
29820 (acos_upward_test_data): Likewise.
29821 (acosh_test_data): Likewise.
29822 (asin_test_data): Likewise.
29823 (asin_tonearest_test_data): Likewise.
29824 (asin_towardzero_test_data): Likewise.
29825 (asin_downward_test_data): Likewise.
29826 (asin_upward_test_data): Likewise.
29827 (asinh_test_data): Likewise.
29828 (atan_test_data): Likewise.
29829 (atanh_test_data): Likewise.
29830 (atan2_test_data): Likewise.
29831 (cabs_test_data): Likewise.
29832 (cacos_test_data): Likewise.
29833 (cacosh_test_data): Likewise.
29834 (carg_test_data): Likewise.
29835 (casin_test_data): Likewise.
29836 (casinh_test_data): Likewise.
29837 (catan_test_data): Likewise.
29838 (catanh_test_data): Likewise.
29839 (cbrt_test_data): Likewise.
29840 (ccos_test_data): Likewise.
29841 (ccosh_test_data): Likewise.
29842 (ceil_test_data): Likewise.
29843 (cexp_test_data): Likewise.
29844 (cimag_test_data): Likewise.
29845 (clog_test_data): Likewise.
29846 (clog10_test_data): Likewise.
29847 (conj_test_data): Likewise.
29848 (copysign_test_data): Likewise.
29849 (cos_test_data): Likewise.
29850 (cos_tonearest_test_data): Likewise.
29851 (cos_towardzero_test_data): Likewise.
29852 (cos_downward_test_data): Likewise.
29853 (cos_upward_test_data): Likewise.
29854 (cosh_test_data): Likewise.
29855 (cosh_tonearest_test_data): Likewise.
29856 (cosh_towardzero_test_data): Likewise.
29857 (cosh_downward_test_data): Likewise.
29858 (cosh_upward_test_data): Likewise.
29859 (cpow_test_data): Likewise.
29860 (cproj_test_data): Likewise.
29861 (creal_test_data): Likewise.
29862 (csin_test_data): Likewise.
29863 (csinh_test_data): Likewise.
29864 (csqrt_test_data): Likewise.
29865 (ctan_test_data): Likewise.
29866 (ctan_tonearest_test_data): Likewise.
29867 (ctan_towardzero_test_data): Likewise.
29868 (ctan_downward_test_data): Likewise.
29869 (ctan_upward_test_data): Likewise.
29870 (ctanh_test_data): Likewise.
29871 (ctanh_tonearest_test_data): Likewise.
29872 (ctanh_towardzero_test_data): Likewise.
29873 (ctanh_downward_test_data): Likewise.
29874 (ctanh_upward_test_data): Likewise.
29875 (erf_test_data): Likewise.
29876 (erfc_test_data): Likewise.
29877 (exp_test_data): Likewise.
29878 (exp_tonearest_test_data): Likewise.
29879 (exp_towardzero_test_data): Likewise.
29880 (exp_downward_test_data): Likewise.
29881 (exp_upward_test_data): Likewise.
29882 (exp10_test_data): Likewise.
29883 (exp2_test_data): Likewise.
29884 (expm1_test_data): Likewise.
29885 (fabs_test_data): Likewise.
29886 (fdim_test_data): Likewise.
29887 (finite_test_data): Likewise.
29888 (floor_test_data): Likewise.
29889 (fma_test_data): Likewise.
29890 (fma_towardzero_test_data): Likewise.
29891 (fma_downward_test_data): Likewise.
29892 (fma_upward_test_data): Likewise.
29893 (fmax_test_data): Likewise.
29894 (fmin_test_data): Likewise.
29895 (fmod_test_data): Likewise.
29896 (fpclassify_test_data): Likewise.
29897 (frexp_test_data): Likewise.
29898 (gamma_test_data): Likewise.
29899 (hypot_test_data): Likewise.
29900 (ilogb_test_data): Likewise.
29901 (isfinite_test_data): Likewise.
29902 (isgreater_test_data): Likewise.
29903 (isgreaterequal_test_data): Likewise.
29904 (isinf_test_data): Likewise.
29905 (isless_test_data): Likewise.
29906 (islessequal_test_data): Likewise.
29907 (islessgreater_test_data): Likewise.
29908 (isnan_test_data): Likewise.
29909 (isnormal_test_data): Likewise.
29910 (issignaling_test_data): Likewise.
29911 (isunordered_test_data): Likewise.
29912 (j0_test_data): Likewise.
29913 (j1_test_data): Likewise.
29914 (jn_test_data): Likewise.
29915 (ldexp_test_data): Likewise.
29916 (lgamma_test_data): Likewise.
29917 (lrint_test_data): Likewise.
29918 (lrint_tonearest_test_data): Likewise.
29919 (lrint_towardzero_test_data): Likewise.
29920 (lrint_downward_test_data): Likewise.
29921 (lrint_upward_test_data): Likewise.
29922 (llrint_test_data): Likewise.
29923 (llrint_tonearest_test_data): Likewise.
29924 (llrint_towardzero_test_data): Likewise.
29925 (llrint_downward_test_data): Likewise.
29926 (llrint_upward_test_data): Likewise.
29927 (log_test_data): Likewise.
29928 (log10_test_data): Likewise.
29929 (log1p_test_data): Likewise.
29930 (log2_test_data): Likewise.
29931 (logb_test_data): Likewise.
29932 (logb_downward_test_data): Likewise.
29933 (lround_test_data): Likewise.
29934 (llround_test_data): Likewise.
29935 (modf_test_data): Likewise.
29936 (nearbyint_test_data): Likewise.
29937 (nextafter_test_data): Likewise.
29938 (nexttoward_test_data): Likewise.
29939 (pow_test_data): Likewise.
29940 (pow_tonearest_test_data): Likewise.
29941 (pow_towardzero_test_data): Likewise.
29942 (pow_downward_test_data): Likewise.
29943 (pow_upward_test_data): Likewise.
29944 (remainder_test_data): Likewise.
29945 (remainder_tonearest_test_data): Likewise.
29946 (remainder_towardzero_test_data): Likewise.
29947 (remainder_downward_test_data): Likewise.
29948 (remainder_upward_test_data): Likewise.
29949 (remquo_test_data): Likewise.
29950 (rint_test_data): Likewise.
29951 (rint_tonearest_test_data): Likewise.
29952 (rint_towardzero_test_data): Likewise.
29953 (rint_downward_test_data): Likewise.
29954 (rint_upward_test_data): Likewise.
29955 (round_test_data): Likewise.
29956 (scalb_test_data): Likewise.
29957 (scalbn_test_data): Likewise.
29958 (scalbln_test_data): Likewise.
29959 (signbit_test_data): Likewise.
29960 (sin_test_data): Likewise.
29961 (sin_tonearest_test_data): Likewise.
29962 (sin_towardzero_test_data): Likewise.
29963 (sin_downward_test_data): Likewise.
29964 (sin_upward_test_data): Likewise.
29965 (sincos_test_data): Likewise.
29966 (sinh_test_data): Likewise.
29967 (sinh_tonearest_test_data): Likewise.
29968 (sinh_towardzero_test_data): Likewise.
29969 (sinh_downward_test_data): Likewise.
29970 (sinh_upward_test_data): Likewise.
29971 (sqrt_test_data): Likewise.
29972 (tan_test_data): Likewise.
29973 (tan_tonearest_test_data): Likewise.
29974 (tan_towardzero_test_data): Likewise.
29975 (tan_downward_test_data): Likewise.
29976 (tan_upward_test_data): Likewise.
29977 (tanh_test_data): Likewise.
29978 (tgamma_test_data): Likewise.
29979 (trunc_test_data): Likewise.
29980 (y0_test_data): Likewise.
29981 (y1_test_data): Likewise.
29982 (yn_test_data): Likewise.
29983 (significand_test_data): Likewise.
29985 * math/gen-libm-test.pl (@functions): Remove variable.
29986 (generate_testfile): Don't handle START and END lines.
29987 * math/libm-test.inc (START): New macro.
29989 (END_COMPLEX): Likewise.
29990 (acos_test): Use END macro without arguments.
29991 (acos_test_tonearest): Likewise.
29992 (acos_test_towardzero): Likewise.
29993 (acos_test_downward): Likewise.
29994 (acos_test_upward): Likewise.
29995 (acosh_test): Likewise.
29996 (asin_test): Likewise.
29997 (asin_test_tonearest): Likewise.
29998 (asin_test_towardzero): Likewise.
29999 (asin_test_downward): Likewise.
30000 (asin_test_upward): Likewise.
30001 (asinh_test): Likewise.
30002 (atan_test): Likewise.
30003 (atanh_test): Likewise.
30004 (atan2_test): Likewise.
30005 (cabs_test): Likewise.
30006 (cacos_test): Use END_COMPLEX macro without arguments.
30007 (cacosh_test): Likewise.
30008 (carg_test): Use END macro without arguments.
30009 (casin_test): Use END_COMPLEX macro without arguments.
30010 (casinh_test): Likewise.
30011 (catan_test): Likewise.
30012 (catanh_test): Likewise.
30013 (cbrt_test): Use END macro without arguments.
30014 (ccos_test): Use END_COMPLEX macro without arguments.
30015 (ccosh_test): Likewise.
30016 (ceil_test): Use END macro without arguments.
30017 (cexp_test): Use END_COMPLEX macro without arguments.
30018 (cimag_test): Use END macro without arguments.
30019 (clog_test): Use END_COMPLEX macro without arguments.
30020 (clog10_test): Likewise.
30021 (conj_test): Likewise.
30022 (copysign_test): Use END macro without arguments.
30023 (cos_test): Likewise.
30024 (cos_test_tonearest): Likewise.
30025 (cos_test_towardzero): Likewise.
30026 (cos_test_downward): Likewise.
30027 (cos_test_upward): Likewise.
30028 (cosh_test): Likewise.
30029 (cosh_test_tonearest): Likewise.
30030 (cosh_test_towardzero): Likewise.
30031 (cosh_test_downward): Likewise.
30032 (cosh_test_upward): Likewise.
30033 (cpow_test): Use END_COMPLEX macro without arguments.
30034 (cproj_test): Likewise.
30035 (creal_test): Use END macro without arguments.
30036 (csin_test): Use END_COMPLEX macro without arguments.
30037 (csinh_test): Likewise.
30038 (csqrt_test): Likewise.
30039 (ctan_test): Likewise.
30040 (ctan_test_tonearest): Likewise.
30041 (ctan_test_towardzero): Likewise.
30042 (ctan_test_downward): Likewise.
30043 (ctan_test_upward): Likewise.
30044 (ctanh_test): Likewise.
30045 (ctanh_test_tonearest): Likewise.
30046 (ctanh_test_towardzero): Likewise.
30047 (ctanh_test_downward): Likewise.
30048 (ctanh_test_upward): Likewise.
30049 (erf_test): Use END macro without arguments.
30050 (erfc_test): Likewise.
30051 (exp_test): Likewise.
30052 (exp_test_tonearest): Likewise.
30053 (exp_test_towardzero): Likewise.
30054 (exp_test_downward): Likewise.
30055 (exp_test_upward): Likewise.
30056 (exp10_test): Likewise.
30057 (exp2_test): Likewise.
30058 (expm1_test): Likewise.
30059 (fabs_test): Likewise.
30060 (fdim_test): Likewise.
30061 (finite_test): Likewise.
30062 (floor_test): Likewise.
30063 (fma_test): Likewise.
30064 (fma_test_towardzero): Likewise.
30065 (fma_test_downward): Likewise.
30066 (fma_test_upward): Likewise.
30067 (fmax_test): Likewise.
30068 (fmin_test): Likewise.
30069 (fmod_test): Likewise.
30070 (fpclassify_test): Likewise.
30071 (frexp_test): Likewise.
30072 (gamma_test): Likewise.
30073 (hypot_test): Likewise.
30074 (ilogb_test): Likewise.
30075 (isfinite_test): Likewise.
30076 (isgreater_test): Likewise.
30077 (isgreaterequal_test): Likewise.
30078 (isinf_test): Likewise.
30079 (isless_test): Likewise.
30080 (islessequal_test): Likewise.
30081 (islessgreater_test): Likewise.
30082 (isnan_test): Likewise.
30083 (isnormal_test): Likewise.
30084 (issignaling_test): Likewise.
30085 (isunordered_test): Likewise.
30086 (j0_test): Likewise.
30087 (j1_test): Likewise.
30088 (jn_test): Likewise.
30089 (ldexp_test): Likewise.
30090 (lgamma_test): Likewise.
30091 (lrint_test): Likewise.
30092 (lrint_test_tonearest): Likewise.
30093 (lrint_test_towardzero): Likewise.
30094 (lrint_test_downward): Likewise.
30095 (lrint_test_upward): Likewise.
30096 (llrint_test): Likewise.
30097 (llrint_test_tonearest): Likewise.
30098 (llrint_test_towardzero): Likewise.
30099 (llrint_test_downward): Likewise.
30100 (llrint_test_upward): Likewise.
30101 (log_test): Likewise.
30102 (log10_test): Likewise.
30103 (log1p_test): Likewise.
30104 (log2_test): Likewise.
30105 (logb_test): Likewise.
30106 (logb_test_downward): Likewise.
30107 (lround_test): Likewise.
30108 (llround_test): Likewise.
30109 (modf_test): Likewise.
30110 (nearbyint_test): Likewise.
30111 (nextafter_test): Likewise.
30112 (nexttoward_test): Likewise.
30113 (pow_test): Likewise.
30114 (pow_test_tonearest): Likewise.
30115 (pow_test_towardzero): Likewise.
30116 (pow_test_downward): Likewise.
30117 (pow_test_upward): Likewise.
30118 (remainder_test): Likewise.
30119 (remainder_test_tonearest): Likewise.
30120 (remainder_test_towardzero): Likewise.
30121 (remainder_test_downward): Likewise.
30122 (remainder_test_upward): Likewise.
30123 (remquo_test): Likewise.
30124 (rint_test): Likewise.
30125 (rint_test_tonearest): Likewise.
30126 (rint_test_towardzero): Likewise.
30127 (rint_test_downward): Likewise.
30128 (rint_test_upward): Likewise.
30129 (round_test): Likewise.
30130 (scalb_test): Likewise.
30131 (scalbn_test): Likewise.
30132 (scalbln_test): Likewise.
30133 (signbit_test): Likewise.
30134 (sin_test): Likewise.
30135 (sin_test_tonearest): Likewise.
30136 (sin_test_towardzero): Likewise.
30137 (sin_test_downward): Likewise.
30138 (sin_test_upward): Likewise.
30139 (sincos_test): Likewise.
30140 (sinh_test): Likewise.
30141 (sinh_test_tonearest): Likewise.
30142 (sinh_test_towardzero): Likewise.
30143 (sinh_test_downward): Likewise.
30144 (sinh_test_upward): Likewise.
30145 (sqrt_test): Likewise.
30146 (tan_test): Likewise.
30147 (tan_test_tonearest): Likewise.
30148 (tan_test_towardzero): Likewise.
30149 (tan_test_downward): Likewise.
30150 (tan_test_upward): Likewise.
30151 (tanh_test): Likewise.
30152 (tgamma_test): Likewise.
30153 (trunc_test): Likewise.
30154 (y0_test): Likewise.
30155 (y1_test): Likewise.
30156 (yn_test): Likewise.
30157 (significand_test): Likewise.
30159 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
30162 * libio/genops.c (_IO_no_init): Initialize wide struct info.
30164 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
30167 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
30168 __ppc_mdoio and __ppc_mdoom.
30169 * manual/platform.texi: Document new functions __ppc_yield,
30170 __ppc_mdoio and __ppc_mdoom.
30172 2013-05-22 Carlos O'Donell <carlos@redhat.com>
30174 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
30175 (main): Mention "tls" pseudo-hwcap is legacy.
30176 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
30178 2013-05-22 Joseph Myers <joseph@codesourcery.com>
30180 * math/gen-libm-test.pl (parse_args): Output only string of
30181 arguments as text for test name, not full call or descriptions of
30182 tests for extra outputs.
30183 (generate_testfile): Do not pass function name to parse_args.
30184 Generate this_func variable from START.
30185 * math/libm-test.inc (struct test_f_f_data): Rename test_name
30187 (struct test_ff_f_data): Likewise.
30188 (test_ff_f_data_nexttoward): Likewise.
30189 (struct test_fi_f_data): Likewise.
30190 (struct test_fl_f_data): Likewise.
30191 (struct test_if_f_data): Likewise.
30192 (struct test_fff_f_data): Likewise.
30193 (struct test_c_f_data): Likewise.
30194 (struct test_f_f1_data): Likewise. Remove field extra_name.
30195 (struct test_fF_f1_data): Likewise.
30196 (struct test_ffI_f1_data): Likewise.
30197 (struct test_c_c_data): Rename test_name field to arg_str.
30198 (struct test_cc_c_data): Likewise.
30199 (struct test_f_i_data): Likewise.
30200 (struct test_ff_i_data): Likewise.
30201 (struct test_f_l_data): Likewise.
30202 (struct test_f_L_data): Likewise.
30203 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
30205 (COMMON_TEST_SETUP): New macro.
30206 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
30207 (COMMON_TEST_CLEANUP): Likewise.
30208 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
30209 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
30211 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
30212 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
30214 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
30215 (RUN_TEST_fff_f): Take argument string. Call new setup and
30217 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
30218 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
30220 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
30221 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
30223 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30224 (RUN_TEST_fF_f1): Take argument string. Call new setup and
30226 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30227 (RUN_TEST_fI_f1): Take argument string. Call new setup and
30229 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30230 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
30232 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30233 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
30235 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
30236 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
30238 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
30239 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
30241 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
30242 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
30244 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
30245 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
30247 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
30248 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
30250 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
30251 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
30253 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
30254 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
30256 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
30257 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
30259 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
30260 (RUN_TEST_fFF_11): Take argument string. Call new setup and
30262 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
30264 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
30266 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
30267 to _sifields.sigfault.
30268 (si_addr_lsb): Define new macro.
30269 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
30270 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30271 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
30273 2013-05-03 Carlos O'Donell <carlos at redhat.com>
30276 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
30278 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
30280 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
30281 loading the domain.
30283 2013-05-22 Joseph Myers <joseph@codesourcery.com>
30285 * math/gen-libm-test.pl (parse_args): Do not include expected
30286 result in test name.
30287 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
30288 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30289 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30290 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30291 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30294 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30296 * benchtests/Makefile: Sort function entries.
30298 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
30299 tanh, asinh, acosh, atanh.
30300 * benchtests/acos-inputs: New file.
30301 * benchtests/acosh-inputs: New file.
30302 * benchtests/asin-inputs: New file.
30303 * benchtests/asinh-inputs: New file.
30304 * benchtests/atanh-inputs: New file.
30305 * benchtests/cosh-inputs: New file.
30306 * benchtests/log-inputs: New file.
30307 * benchtests/sinh-inputs: New file.
30308 * benchtests/tanh-inputs: New file.
30310 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
30313 * posix/tst-getaddrinfo4.c: New test.
30314 * posix/Makefile (tests): Add it.
30316 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30319 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
30320 when no services were used.
30321 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
30322 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
30324 2013-05-21 Andreas Schwab <schwab@suse.de>
30327 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
30328 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
30330 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
30331 redundant variable declarations and reallocation of buffer when
30332 parsing as IPv6 address. Always set NSS status when called from
30333 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
30334 buffer too small. Correct computation of needed size.
30335 * nss/Makefile (tests): Add test-digits-dots.
30336 * nss/test-digits-dots.c: New test.
30338 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30340 * benchtests/Makefile: Remove instructions for adding
30342 * benchtests/README: New file to explain how to execute and
30343 enhance the benchmark tests.
30345 2013-05-21 Andreas Schwab <schwab@suse.de>
30348 * setjmp/Makefile (tests): Add tst-sigsetjmp.
30349 * setjmp/tst-sigsetjmp.c: New test.
30351 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
30353 * sysdeps/x86_64/memset.S (memset): New implementation.
30354 (__bzero): Likewise.
30355 (__memset_tail): New function.
30357 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
30359 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
30360 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
30361 __memcpy_sse2_unaligned ifunc selection.
30362 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30363 Add memcpy-sse2-unaligned.S.
30364 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30365 Add: __memcpy_sse2_unaligned.
30367 2013-05-19 Joseph Myers <joseph@codesourcery.com>
30370 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30371 math_force_eval before restoring floating-point envrionment.
30372 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
30373 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30375 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
30377 (__nearbyintl): Use math_force_eval before restoring
30378 floating-point environment.
30379 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
30381 * math/gen-libm-test.pl (special_functions): Remove.
30382 (parse_args): Don't handle TEST_extra. Handle functions with no
30384 * math/libm-test.inc (struct test_sincos_data): Replace with
30385 struct test_fFF_11_data.
30386 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
30387 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
30388 (sincos_test_data): Change element type to struct
30389 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
30390 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
30391 RUN_TEST_LOOP_sincos.
30392 * math/README.libm-test: Don't mention special handling of
30393 individual functions.
30394 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
30395 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30396 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30397 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30398 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30401 * math/gen-libm-test.pl (get_variable): Remove function.
30402 (parse_args): Don't show pointer parameters to call in test
30403 names. Use "extra output N" in test names for extra outputs
30404 rather than naming variables.
30406 2013-05-18 Joseph Myers <joseph@codesourcery.com>
30409 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
30410 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
30411 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
30413 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
30415 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
30418 * math/gen-libm-test.pl (@tests): Remove variable.
30419 ($count): Likewise.
30420 (new_test): Remove function.
30421 (show_exceptions): New function.
30422 (special_functions): Use show_exceptions instead of new_test.
30423 (parse_args): Likewise.
30424 (generate_testfile): Pass only function name in generated call to
30425 print_max_error or print_complex_max_error.
30426 (get_ulps): Do not handle complex tests specially.
30427 (output_test): Rename to ...
30428 (get_all_ulps_for_test): ... this. Return a string rather than
30429 printing to a file. Require ulps to be present.
30430 (output_ulps): Generate arrays rather than #defines.
30431 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
30432 (struct ulp_data): New type.
30433 (BUILD_COMPLEX_ULP): Remove macro.
30434 (compare_ulp_data): New function.
30435 (find_ulps): Likewise.
30436 (find_test_ulps): Likewise.
30437 (find_function_ulps): Likewise.
30438 (find_complex_function_ulps): Likewise.
30439 (print_max_error): Determine allowed ulps using
30440 find_function_ulps.
30441 (print_complex_max_error): Determine allowed ulps using
30442 find_complex_function_ulps.
30443 (check_float_internal): Determine max ulps using find_test_ulps.
30444 (check_float): Do not take max_ulp parameter. Update call to
30445 check_float_internal.
30446 (check_complex): Likewise.
30447 (check_int): Do not take max_ulp parameter.
30448 (check_long): Likewise.
30449 (check_bool): Likewise.
30450 (check_longlong): Likewise.
30451 (struct test_f_f_data): Remove max_ulp field.
30452 (struct test_ff_f_data): Likewise.
30453 (struct test_ff_f_data_nexttoward): Likewise.
30454 (struct test_fi_f_data): Likewise.
30455 (struct test_fl_f_data): Likewise.
30456 (struct test_if_f_data): Likewise.
30457 (struct test_fff_f_data): Likewise.
30458 (struct test_c_f_data): Likewise.
30459 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
30460 (struct test_fF_f1_data): Likewise.
30461 (struct test_ffI_f1_data): Likewise.
30462 (struct test_c_c_data): Remove max_ulp field.
30463 (struct test_cc_c_data): Likewise.
30464 (struct test_f_i_data): Likewise.
30465 (struct test_ff_i_data): Likewise.
30466 (struct test_f_l_data): Likewise.
30467 (struct test_f_L_data): Likewise.
30468 (struct test_sincos_data): Likewise.
30469 (RUN_TEST_f_f): Do not handle ulps.
30470 (RUN_TEST_LOOP_f_f): Likewise.
30471 (RUN_TEST_2_f): Likewise.
30472 (RUN_TEST_LOOP_2_f): Likewise.
30473 (RUN_TEST_fff_f): Likewise.
30474 (RUN_TEST_LOOP_fff_f): Likewise.
30475 (RUN_TEST_c_f): Likewise.
30476 (RUN_TEST_LOOP_c_f): Likewise.
30477 (RUN_TEST_f_f1): Likewise.
30478 (RUN_TEST_LOOP_f_f1): Likewise.
30479 (RUN_TEST_fF_f1): Likewise.
30480 (RUN_TEST_LOOP_fF_f1): Likewise.
30481 (RUN_TEST_fI_f1): Likewise.
30482 (RUN_TEST_LOOP_fI_f1): Likewise.
30483 (RUN_TEST_ffI_f1): Likewise.
30484 (RUN_TEST_LOOP_ffI_f1): Likewise.
30485 (RUN_TEST_c_c): Likewise.
30486 (RUN_TEST_LOOP_c_c): Likewise.
30487 (RUN_TEST_cc_c): Likewise.
30488 (RUN_TEST_LOOP_cc_c): Likewise.
30489 (RUN_TEST_f_i): Likewise.
30490 (RUN_TEST_LOOP_f_i): Likewise.
30491 (RUN_TEST_f_i_tg): Likewise.
30492 (RUN_TEST_LOOP_f_i_tg): Likewise.
30493 (RUN_TEST_ff_i_tg): Likewise.
30494 (RUN_TEST_LOOP_ff_i_tg): Likewise.
30495 (RUN_TEST_f_b): Likewise.
30496 (RUN_TEST_LOOP_f_b): Likewise.
30497 (RUN_TEST_f_b_tg): Likewise.
30498 (RUN_TEST_LOOP_f_b_tg): Likewise.
30499 (RUN_TEST_f_l): Likewise.
30500 (RUN_TEST_LOOP_f_l): Likewise.
30501 (RUN_TEST_f_L): Likewise.
30502 (RUN_TEST_LOOP_f_L): Likewise.
30503 (RUN_TEST_sincos): Likewise.
30504 (RUN_TEST_LOOP_sincos): Likewise.
30506 2013-05-17 Joseph Myers <joseph@codesourcery.com>
30510 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
30511 main case of finite arguments, set rounding mode to FE_TONEAREST
30512 and discard exceptions.
30513 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
30515 (remainder_tonearest_test_data): New variable.
30516 (remainder_test_tonearest): New function.
30517 (remainder_towardzero_test_data): New variable.
30518 (remainder_test_towardzero): New function.
30519 (remainder_downward_test_data): New variable.
30520 (remainder_test_downward): New function.
30521 (remainder_upward_test_data): New variable.
30522 (remainder_test_upward): New function.
30523 (main): Call the new test functions.
30525 * math/libm-test.inc (struct test_f_f1_data): Remove field
30527 (struct test_fF_f1_data): Likewise.
30528 (struct test_ffI_f1_data): Likewise.
30529 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
30530 based on value of EXTRA_EXPECTED.
30531 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30532 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
30533 EXTRA_VAR based on value of EXTRA_EXPECTED.
30534 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30535 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
30536 EXTRA_VAR based on value of EXTRA_EXPECTED.
30537 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30538 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
30539 EXTRA_VAR based on value of EXTRA_EXPECTED.
30540 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30541 * math/gen-libm-test.pl (parse_args): Don't output initializers
30542 for extra output values.
30544 * math/libm-test.inc (check_int): Expect result to be exactly
30545 equal to expected value and do not handle ulps.
30546 (check_long): Likewise.
30547 (check_longlong): Likewise.
30549 * math/libm-test.inc (ceil_test_data): Test for "inexact"
30551 (cimag_test_data): Likewise.
30552 (conj_test_data): Likewise.
30553 (copysign_test_data): Likewise.
30554 (cproj_test_data): Likewise.
30555 (creal_test_data): Likewise.
30556 (fabs_test_data): Likewise.
30557 (fdim_test_data): Likewise.
30558 (finite_test_data): Likewise.
30559 (floor_test_data): Likewise.
30560 (fmax_test_data): Likewise.
30561 (fmin_test_data): Likewise.
30562 (fmod_test_data): Likewise.
30563 (fpclassify_test_data): Likewise.
30564 (frexp_test_data): Likewise.
30565 (ilogb_test_data): Likewise.
30566 (isfinite_test_data): Likewise.
30567 (isgreater_test_data): Likewise.
30568 (isgreaterequal_test_data): Likewise.
30569 (isinf_test_data): Likewise.
30570 (isless_test_data): Likewise.
30571 (islessequal_test_data): Likewise.
30572 (islessgreater_test_data): Likewise.
30573 (isnan_test_data): Likewise.
30574 (isnormal_test_data): Likewise.
30575 (issignaling_test_data): Likewise.
30576 (isunordered_test_data): Likewise.
30577 (ldexp_test_data): Likewise.
30578 (lrint_test_data): Likewise.
30579 (lrint_test_data) [TEST_FLOAT]: Disable one test.
30580 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
30581 (lrint_tonearest_test_data): Test for "inexact" exceptions.
30582 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30583 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
30584 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30586 (lrint_towardzero_test_data): Test for "inexact" exceptions.
30587 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30588 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
30589 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
30591 (lrint_downward_test_data): Test for "inexact" exceptions.
30592 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30593 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
30594 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30596 (lrint_upward_test_data): Test for "inexact" exceptions.
30597 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
30599 (llrint_test_data): Test for "inexact" exceptions.
30600 (llrint_test_data) [TEST_FLOAT]: Disable one test.
30601 (llrint_tonearest_test_data): Test for "inexact" exceptions.
30602 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30603 (llrint_towardzero_test_data): Test for "inexact" exceptions.
30604 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30605 (llrint_downward_test_data): Test for "inexact" exceptions.
30606 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30607 (llrint_upward_test_data): Test for "inexact" exceptions.
30608 (logb_test_data): Likewise.
30609 (logb_downward_test_data): Likewise.
30610 (nextafter_test_data): Likewise.
30611 (nexttoward_test_data): Likewise.
30612 (remainder_test_data): Likewise.
30613 (remquo_test_data): Likewise.
30614 (scalbn_test_data): Likewise.
30615 (scalbln_test_data): Likewise.
30616 (signbit_test_data): Likewise.
30617 (sqrt_test_data): Likewise.
30618 (significand_test_data): Likewise.
30620 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30623 * benchtests/bench-modf.c (struct args): Mark arg0 as
30625 * scripts/bench.pl: Mark members of struct args as volatile.
30627 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30630 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
30631 negative infinity on POWER6 or lower.
30632 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
30634 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
30637 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
30638 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
30639 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
30640 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
30641 (_FP_SETQNAN): New macro.
30642 (_FP_SETQNAN_SEMIRAW): Likewise.
30643 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
30644 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
30645 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
30646 (FP_EXTEND): Use _FP_FRAC_SNANP.
30647 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
30648 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
30650 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30652 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30655 2013-05-16 Joseph Myers <joseph@codesourcery.com>
30657 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
30658 with DIVIDE_BY_ZERO_EXCEPTION.
30659 (gamma_test_data): Likewise.
30660 (lgamma_test_data): Likewise.
30661 (log_test_data): Likewise.
30662 (log10_test_data): Likewise.
30663 (log2_test_data): Likewise.
30664 (tgamma_test_data): Likewise.
30666 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
30667 (acos_test_tonearest): Likewise.
30668 (acos_test_towardzero): Likewise.
30669 (acos_test_downward): Likewise.
30670 (acos_test_upward): Likewise.
30671 (acosh_test): Likewise.
30672 (asin_test): Likewise.
30673 (asin_test_tonearest): Likewise.
30674 (asin_test_towardzero): Likewise.
30675 (asin_test_downward): Likewise.
30676 (asin_test_upward): Likewise.
30677 (asinh_test): Likewise.
30678 (atan_test): Likewise.
30679 (atanh_test): Likewise.
30680 (atan2_test): Likewise.
30681 (cabs_test): Likewise.
30682 (cacos_test): Likewise.
30683 (cacosh_test): Likewise.
30684 (casin_test): Likewise.
30685 (casinh_test): Likewise.
30686 (catan_test): Likewise.
30687 (catanh_test): Likewise.
30688 (cbrt_test): Likewise.
30689 (ccos_test): Likewise.
30690 (ccosh_test): Likewise.
30691 (cexp_test): Likewise.
30692 (clog_test): Likewise.
30693 (clog10_test): Likewise.
30694 (cos_test): Likewise.
30695 (cos_test_tonearest): Likewise.
30696 (cos_test_towardzero): Likewise.
30697 (cos_test_downward): Likewise.
30698 (cos_test_upward): Likewise.
30699 (cosh_test): Likewise.
30700 (cosh_test_tonearest): Likewise.
30701 (cosh_test_towardzero): Likewise.
30702 (cosh_test_downward): Likewise.
30703 (cosh_test_upward): Likewise.
30704 (cpow_test): Likewise.
30705 (csin_test): Likewise.
30706 (csinh_test): Likewise.
30707 (csqrt_test): Likewise.
30708 (ctan_test): Likewise.
30709 (ctan_test_tonearest): Likewise.
30710 (ctan_test_towardzero): Likewise.
30711 (ctan_test_downward): Likewise.
30712 (ctan_test_upward): Likewise.
30713 (ctanh_test): Likewise.
30714 (ctanh_test_tonearest): Likewise.
30715 (ctanh_test_towardzero): Likewise.
30716 (ctanh_test_downward): Likewise.
30717 (ctanh_test_upward): Likewise.
30718 (erf_test): Likewise.
30719 (erfc_test): Likewise.
30720 (exp_test): Likewise.
30721 (exp_test_tonearest): Likewise.
30722 (exp_test_towardzero): Likewise.
30723 (exp_test_downward): Likewise.
30724 (exp_test_upward): Likewise.
30725 (exp10_test): Likewise.
30726 (exp2_test): Likewise.
30727 (expm1_test): Likewise.
30728 (fmod_test): Likewise.
30729 (gamma_test): Likewise.
30730 (hypot_test): Likewise.
30731 (j0_test): Likewise.
30732 (j1_test): Likewise.
30733 (jn_test): Likewise.
30734 (lgamma_test): Likewise.
30735 (log_test): Likewise.
30736 (log10_test): Likewise.
30737 (log1p_test): Likewise.
30738 (log2_test): Likewise.
30739 (logb_test_downward): Likewise.
30740 (pow_test): Likewise.
30741 (pow_test_tonearest): Likewise.
30742 (pow_test_towardzero): Likewise.
30743 (pow_test_downward): Likewise.
30744 (pow_test_upward): Likewise.
30745 (remainder_test): Likewise.
30746 (remquo_test): Likewise.
30747 (sin_test): Likewise.
30748 (sin_test_tonearest): Likewise.
30749 (sin_test_towardzero): Likewise.
30750 (sin_test_downward): Likewise.
30751 (sin_test_upward): Likewise.
30752 (sincos_test): Likewise.
30753 (sinh_test): Likewise.
30754 (sinh_test_tonearest): Likewise.
30755 (sinh_test_towardzero): Likewise.
30756 (sinh_test_downward): Likewise.
30757 (sinh_test_upward): Likewise.
30758 (sqrt_test): Likewise.
30759 (tan_test): Likewise.
30760 (tan_test_tonearest): Likewise.
30761 (tan_test_towardzero): Likewise.
30762 (tan_test_downward): Likewise.
30763 (tan_test_upward): Likewise.
30764 (tanh_test): Likewise.
30765 (tgamma_test): Likewise.
30766 (y0_test): Likewise.
30767 (y1_test): Likewise.
30768 (yn_test): Likewise.
30770 * math/gen-libm-test.pl (adjust_arg): Remove function.
30771 (special_function): Remove argument $in_func. Only handle
30772 generating output for tables of tests, not inside functions.
30773 (parse_args): Likewise.
30774 (generate_testfile): Remove variable $in_func. Update call to
30776 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
30777 (MINUS_ZERO_INIT): Rename macro to minus_zero.
30778 (PLUS_INFTY_INIT): Rename macro to plus_infty.
30779 (MINUS_INFTY_INIT): Rename macro to minus_infty.
30780 (QNAN_VALUE_INIT): Rename macro to qnan_value.
30781 (MAX_VALUE_INIT): Rename macro to max_value.
30782 (MIN_VALUE_INIT): Rename macro to min_value.
30783 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
30784 (plus_zero): Remove variable.
30785 (minus_zero): Likewise.
30786 (plus_infty): Likewise.
30787 (minus_infty): Likewise.
30788 (qnan_value): Likewise.
30789 (max_value): Likewise.
30790 (min_value): Likewise.
30791 (min_subnorm_value): Likewise.
30793 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30795 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
30796 uint64_t or uint32_t usage.
30797 * crypt/sha256-block.c: Likewise.
30798 * crypt/sha256-crypt.c: Likewise.
30799 * crypt/sha256.c: Likewise.
30800 * crypt/sha512-block.c: Likewise.
30801 * crypt/sha512-crypt.c: Likewise.
30802 * crypt/sha512.c: Likewise.
30803 * debug/backtrace-tst.c: Likewise.
30804 * debug/pcprofiledump.c: Likewise.
30805 * elf/cache.c: Likewise.
30806 * elf/dl-cache.c: Likewise.
30807 * elf/dl-misc.c: Likewise.
30808 * elf/dl-profile.c: Likewise.
30809 * elf/dl-support.c: Likewise.
30810 * elf/ldconfig.c: Likewise.
30811 * elf/sprof.c: Likewise.
30812 * iconv/dummy-repertoire.c: Likewise.
30813 * iconv/iconv_charmap.c: Likewise.
30814 * iconv/skeleton.c: Likewise.
30815 * iconvdata/8bit-generic.c: Likewise.
30816 * iconvdata/cp737.h: Likewise.
30817 * iconvdata/cp775.h: Likewise.
30818 * iconvdata/ibm1008.h: Likewise.
30819 * iconvdata/ibm1025.h: Likewise.
30820 * iconvdata/ibm1046.h: Likewise.
30821 * iconvdata/ibm1097.h: Likewise.
30822 * iconvdata/ibm1112.h: Likewise.
30823 * iconvdata/ibm1122.h: Likewise.
30824 * iconvdata/ibm1123.h: Likewise.
30825 * iconvdata/ibm1124.h: Likewise.
30826 * iconvdata/ibm1129.h: Likewise.
30827 * iconvdata/ibm1130.h: Likewise.
30828 * iconvdata/ibm1132.h: Likewise.
30829 * iconvdata/ibm1133.h: Likewise.
30830 * iconvdata/ibm1137.h: Likewise.
30831 * iconvdata/ibm1140.h: Likewise.
30832 * iconvdata/ibm1141.h: Likewise.
30833 * iconvdata/ibm1142.h: Likewise.
30834 * iconvdata/ibm1143.h: Likewise.
30835 * iconvdata/ibm1144.h: Likewise.
30836 * iconvdata/ibm1145.h: Likewise.
30837 * iconvdata/ibm1146.h: Likewise.
30838 * iconvdata/ibm1147.h: Likewise.
30839 * iconvdata/ibm1148.h: Likewise.
30840 * iconvdata/ibm1149.h: Likewise.
30841 * iconvdata/ibm1153.h: Likewise.
30842 * iconvdata/ibm1154.h: Likewise.
30843 * iconvdata/ibm1155.h: Likewise.
30844 * iconvdata/ibm1156.h: Likewise.
30845 * iconvdata/ibm1157.h: Likewise.
30846 * iconvdata/ibm1158.h: Likewise.
30847 * iconvdata/ibm1160.h: Likewise.
30848 * iconvdata/ibm1161.h: Likewise.
30849 * iconvdata/ibm1162.h: Likewise.
30850 * iconvdata/ibm1163.h: Likewise.
30851 * iconvdata/ibm1164.h: Likewise.
30852 * iconvdata/ibm1166.h: Likewise.
30853 * iconvdata/ibm1167.h: Likewise.
30854 * iconvdata/ibm12712.h: Likewise.
30855 * iconvdata/ibm1390.h: Likewise.
30856 * iconvdata/ibm1399.h: Likewise.
30857 * iconvdata/ibm16804.h: Likewise.
30858 * iconvdata/ibm4517.h: Likewise.
30859 * iconvdata/ibm4899.h: Likewise.
30860 * iconvdata/ibm4909.h: Likewise.
30861 * iconvdata/ibm4971.h: Likewise.
30862 * iconvdata/ibm5347.h: Likewise.
30863 * iconvdata/ibm803.h: Likewise.
30864 * iconvdata/ibm856.h: Likewise.
30865 * iconvdata/ibm901.h: Likewise.
30866 * iconvdata/ibm902.h: Likewise.
30867 * iconvdata/ibm9030.h: Likewise.
30868 * iconvdata/ibm9066.h: Likewise.
30869 * iconvdata/ibm921.h: Likewise.
30870 * iconvdata/ibm922.h: Likewise.
30871 * iconvdata/ibm9448.h: Likewise.
30872 * iconvdata/isiri-3342.h: Likewise.
30873 * iconvdata/jis0201.h: Likewise.
30874 * include/link.h: Likewise.
30875 * include/netdb.h: Likewise.
30876 * inet/check_native.c: Likewise.
30877 * inet/check_pf.c: Likewise.
30878 * inet/getipv4sourcefilter.c: Likewise.
30879 * inet/getnameinfo.c: Likewise.
30880 * inet/getsourcefilter.c: Likewise.
30881 * inet/htonl.c: Likewise.
30882 * inet/setipv4sourcefilter.c: Likewise.
30883 * inet/setsourcefilter.c: Likewise.
30884 * inet/test-inet6_opt.c: Likewise.
30885 * inet/tst-network.c: Likewise.
30886 * locale/C-collate.c: Likewise.
30887 * locale/C-ctype.c: Likewise.
30888 * locale/C-time.c: Likewise.
30889 * locale/C-translit.h: Likewise.
30890 * locale/loadarchive.c: Likewise.
30891 * locale/programs/3level.h: Likewise.
30892 * locale/programs/charmap.c: Likewise.
30893 * locale/programs/charmap.h: Likewise.
30894 * locale/programs/ld-address.c: Likewise.
30895 * locale/programs/ld-collate.c: Likewise.
30896 * locale/programs/ld-ctype.c: Likewise.
30897 * locale/programs/ld-identification.c: Likewise.
30898 * locale/programs/ld-measurement.c: Likewise.
30899 * locale/programs/ld-messages.c: Likewise.
30900 * locale/programs/ld-monetary.c: Likewise.
30901 * locale/programs/ld-name.c: Likewise.
30902 * locale/programs/ld-numeric.c: Likewise.
30903 * locale/programs/ld-paper.c: Likewise.
30904 * locale/programs/ld-telephone.c: Likewise.
30905 * locale/programs/ld-time.c: Likewise.
30906 * locale/programs/linereader.c: Likewise.
30907 * locale/programs/locale.c: Likewise.
30908 * locale/programs/locarchive.c: Likewise.
30909 * locale/programs/locfile.h: Likewise.
30910 * locale/programs/repertoire.c: Likewise.
30911 * locale/programs/simple-hash.c: Likewise.
30912 * locale/programs/simple-hash.h: Likewise.
30913 * malloc/memusage.c: Likewise.
30914 * malloc/memusagestat.c: Likewise.
30915 * nis/nis_defaults.c: Likewise.
30916 * nis/nis_hash.c: Likewise.
30917 * nis/nis_print.c: Likewise.
30918 * nis/nis_xdr.c: Likewise.
30919 * nscd/connections.c: Likewise.
30920 * nscd/hstcache.c: Likewise.
30921 * nscd/nscd_gethst_r.c: Likewise.
30922 * nscd/nscd_getserv_r.c: Likewise.
30923 * nscd/nscd_helper.c: Likewise.
30924 * nscd/servicescache.c: Likewise.
30925 * nss/makedb.c: Likewise.
30926 * nss/nss_db/db-XXX.c: Likewise.
30927 * nss/nss_db/db-initgroups.c: Likewise.
30928 * nss/nss_db/db-netgrp.c: Likewise.
30929 * nss/nss_files/files-network.c: Likewise.
30930 * nss/nss_files/files-parse.c: Likewise.
30931 * posix/bug-regex5.c: Likewise.
30932 * posix/fnmatch_loop.c: Likewise.
30933 * posix/regcomp.c: Likewise.
30934 * posix/regexec.c: Likewise.
30935 * posix/tst-rfc3484-2.c: Likewise.
30936 * posix/tst-rfc3484-3.c: Likewise.
30937 * posix/tst-rfc3484.c: Likewise.
30938 * resolv/nss_dns/dns-canon.c: Likewise.
30939 * resolv/nss_dns/dns-network.c: Likewise.
30940 * resolv/res_init.c: Likewise.
30941 * resolv/res_mkquery.c: Likewise.
30942 * resolv/tst-aton.c: Likewise.
30943 * stdlib/cxa_atexit.c: Likewise.
30944 * stdlib/cxa_finalize.c: Likewise.
30945 * stdlib/gen-fpioconst.c: Likewise.
30946 * stdlib/strtol_l.c: Likewise.
30947 * string/tst-endian.c: Likewise.
30948 * sunrpc/auth_des.c: Likewise.
30949 * sunrpc/clnt_udp.c: Likewise.
30950 * sunrpc/rtime.c: Likewise.
30951 * sunrpc/svcauth_des.c: Likewise.
30952 * sunrpc/xdr.c: Likewise.
30953 * sunrpc/xdr_intXX_t.c: Likewise.
30954 * sunrpc/xdr_rec.c: Likewise.
30955 * sysdeps/generic/ldconfig.h: Likewise.
30956 * sysdeps/generic/ldsodefs.h: Likewise.
30957 * sysdeps/generic/memusage.h: Likewise.
30958 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30959 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
30960 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
30961 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30962 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30963 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30964 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30965 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30966 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30967 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30968 * sysdeps/posix/getaddrinfo.c: Likewise.
30969 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30970 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30971 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30972 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30973 * sysdeps/powerpc/test-gettimebase.c: Likewise.
30974 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30975 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
30976 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
30977 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
30978 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
30979 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30980 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30981 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
30982 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
30983 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
30984 * sysdeps/x86_64/dl-tls.h: Likewise.
30985 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
30986 * time/alt_digit.c: Likewise.
30987 * time/era.c: Likewise.
30988 * wcsmbs/tst-c16c32-1.c: Likewise.
30990 2013-05-16 Joseph Myers <joseph@codesourcery.com>
30992 * math/libm-test.inc (struct test_sincos_data): New type.
30993 (RUN_TEST_LOOP_sincos): New macro.
30994 (sincos_test_data): New variable.
30995 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
30997 2013-05-16 Richard Henderson <rth@redhat.com>
30999 * math/atest-exp2.c (LIMB64): New macro.
31000 (CONSTSZ): New macro.
31001 (mp_exp1, mp_exp_m1, mp_log2): New variables.
31003 (print_mpn_fp): ... to function scope.
31004 (read_mpn_hex): Remove.
31005 (get_log2): Remove.
31006 (exp2_mpn): Use mp_log2.
31007 (main): Use mp_exp1.
31009 2013-05-16 Joseph Myers <joseph@codesourcery.com>
31011 * math/libm-test.inc: Remove comment about not testing "inexact"
31013 (INEXACT_EXCEPTION): New macro.
31014 (NO_INEXACT_EXCEPTION): Likewise.
31015 (INVALID_EXCEPTION_OK): Update value.
31016 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31017 (OVERFLOW_EXCEPTION_OK): Likewise.
31018 (UNDERFLOW_EXCEPTION_OK): Likewise.
31019 (IGNORE_ZERO_INF_SIGN): Likewise.
31020 (ERRNO_UNCHANGED): Likewise.
31021 (ERRNO_EDOM): Likewise.
31022 (ERRNO_ERANGE): Likewise.
31023 (test_exceptions): Handle testing "inexact" exceptions.
31024 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
31025 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
31026 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
31027 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
31029 (rint_towardzero_test_data): Likewise.
31030 (rint_downward_test_data): Likewise.
31031 (rint_upward_test_data): Likewise.
31033 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
31034 with OVERFLOW_EXCEPTION.
31035 (exp10_test_data): Likewise.
31036 (exp2_test_data): Likewise.
31037 (expm1_test_data): Likewise.
31038 (lgamma_test_data): Likewise.
31039 (pow_test_data): Likewise.
31040 (tgamma_test_data): Likewise.
31041 (yn_test_data): Remove duplicate test of overflow.
31043 * math/libm-test.inc (struct test_cc_c_data): New type.
31044 (RUN_TEST_LOOP_cc_c): New macro.
31045 (cpow_test_data): New variable.
31046 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
31048 * math/libm-test.inc (struct test_f_L_data): New type.
31049 (RUN_TEST_LOOP_f_L): New macro.
31050 (llrint_test_data): New variable.
31051 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
31052 (llrint_tonearest_test_data): New variable.
31053 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
31054 (llrint_towardzero_test_data): New variable.
31055 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
31056 (llrint_downward_test_data): New variable.
31057 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
31058 (llrint_upward_test_data): New variable.
31059 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
31060 (llround_test_data): New variable.
31061 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
31063 2013-05-13 Peter Collingbourne <pcc@google.com>
31065 * math/atest-exp2.c (get_log2): Remove const attribute.
31067 2013-05-15 Joseph Myers <joseph@codesourcery.com>
31069 * math/libm-test.inc (struct test_f_l_data): New type.
31070 (RUN_TEST_LOOP_f_l): New macro.
31071 (lrint_test_data): New variable.
31072 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
31073 (lrint_tonearest_test_data): New variable.
31074 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
31075 (lrint_towardzero_test_data): New variable.
31076 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
31077 (lrint_downward_test_data): New variable.
31078 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
31079 (lrint_upward_test_data): New variable.
31080 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
31081 (lround_test_data): New variable.
31082 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
31084 2013-05-15 Peter Collingbourne <pcc@google.com>
31086 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
31087 (EXTRACT_WORDS64) Use where appropriate.
31088 (INSERT_WORDS64) Likewise.
31090 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
31091 constraints with x constraints.
31092 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
31094 * malloc/obstack.c (_obstack_compat): Add initializer.
31096 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
31098 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
31099 si_trapno and add si_addr_lsb to _sifields.sigfault.
31100 (si_trapno): Remove macro.
31101 (si_addr_lsb): Define new macro.
31102 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31104 2013-05-15 Joseph Myers <joseph@codesourcery.com>
31106 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
31107 instead of TEST_f_l.
31108 (llrint_test_tonearest): Likewise.
31109 (llrint_test_towardzero): Likewise.
31110 (llrint_test_downward): Likewise.
31111 (llrint_test_upward): Likewise.
31112 (llround_test): Likewise.
31114 * math/libm-test.inc (struct test_f_i_data): Add comment.
31115 (RUN_TEST_LOOP_f_b): New macro.
31116 (RUN_TEST_LOOP_f_b_tg): Likewise.
31117 (finite_test_data): New variable.
31118 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
31119 (isfinite_test_data): New variable.
31120 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31121 (isinf_test_data): New variable.
31122 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31123 (isnan_test_data): New variable.
31124 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31125 (isnormal_test_data): New variable.
31126 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31127 (issignaling_test_data): New variable.
31128 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31129 (signbit_test_data): New variable.
31130 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31132 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
31133 with INVALID_EXCEPTION.
31134 (acosh_test_data): Likewise.
31135 (asin_test_data): Likewise.
31136 (atanh_test_data): Likewise.
31137 (fmod_test_data): Likewise.
31138 (log_test_data): Likewise.
31139 (log10_test_data): Likewise.
31140 (log2_test_data): Likewise.
31141 (pow_test_data): Likewise.
31142 (sqrt_test_data): Likewise.
31143 (y0_test_data): Likewise.
31144 (y1_test_data): Likewise.
31145 (yn_test_data): Likewise.
31147 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
31150 * math/libm-test.inc (struct test_ff_i_data): New type.
31151 (RUN_TEST_LOOP_ff_i_tg): New macro.
31152 (isgreater_test_data): New variable.
31153 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31154 (isgreaterequal_test_data): New variable.
31155 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31156 (isless_test_data): New variable.
31157 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31158 (islessequal_test_data): New variable.
31159 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31160 (islessgreater_test_data): New variable.
31161 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31162 (isunordered_test_data): New variable.
31163 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31165 2013-05-14 David S. Miller <davem@davemloft.net>
31167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31169 2013-05-14 Joseph Myers <joseph@codesourcery.com>
31171 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
31173 * math/libm-test.inc (struct test_fF_f1_data): Change type of
31175 (struct test_f_i_data): Change type of max_ulp to int.
31177 * math/libm-test.inc (test_ffI_f1_data): New type.
31178 (RUN_TEST_LOOP_ffI_f1): New macro.
31179 (remquo_test_data): New variable.
31180 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
31182 * setjmp/tst-setjmp-fp.c: New file.
31183 * setjmp/Makefile (tests): Add tst-setjmp-fp.
31184 (link-libm): New variable.
31185 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
31187 * math/libm-test.inc (struct test_f_i_data): New type.
31188 (RUN_TEST_LOOP_f_i): New macro.
31189 (RUN_TEST_LOOP_f_i_tg): Likewise.
31190 (fpclassify_test_data): New variable.
31191 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
31192 (ilogb_test_data): New variable.
31193 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
31195 * math/libm-test.inc (scalbln_test): Correct function name in END
31198 * math/libm-test.inc (struct test_f_f1_data): Add comment.
31199 (RUN_TEST_LOOP_fI_f1): New macro.
31200 (frexp_test_data): New variable.
31201 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
31203 * math/libm-test.inc (struct test_fF_f1_data): New type.
31204 (RUN_TEST_LOOP_fF_f1): New macro.
31205 (modf_test_data): New variable.
31206 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
31208 * math/libm-test.inc (struct test_f_f1_data): New type.
31209 (RUN_TEST_LOOP_f_f1): New macro.
31210 (gamma_test_data): New variable.
31211 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31212 (lgamma_test_data): New variable.
31213 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31215 2013-05-13 Carlos O'Donell <carlos@redhat.com>
31217 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
31218 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
31219 (main): Comment "tls" pseudo-hwcap.
31221 2013-05-13 Joseph Myers <joseph@codesourcery.com>
31223 * math/libm-test.inc (struct test_fl_f_data): New type.
31224 (RUN_TEST_LOOP_fl_f): New variable.
31225 (scalbln_test_data): New variable.
31226 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
31228 * math/libm-test.inc (struct test_fi_f_data): New type.
31229 (RUN_TEST_LOOP_fi_f): New macro.
31230 (ldexp_test_data): New variable.
31231 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
31232 (scalbn_test_data): New variable.
31233 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
31235 * math/libm-test.inc (struct test_c_f_data): New type.
31236 (RUN_TEST_LOOP_c_f): New macro.
31237 (cabs_test_data): New variable.
31238 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
31239 (carg_test_data): New variable.
31240 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
31241 (cimag_test_data): New variable.
31242 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
31243 (creal_test_data): New variable.
31244 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
31246 * math/libm-test.inc (struct test_if_f_data): New type.
31247 (RUN_TEST_LOOP_if_f): New macro.
31248 (jn_test_data): New variable.
31249 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
31250 (yn_test_data): New variable.
31251 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
31253 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
31255 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31257 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
31258 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
31260 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31262 * benchtests/Makefile (CPPFLAGS-nonlib): Add
31263 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
31264 (bench-deps): Add bench-timing.h.
31265 * benchtests-bench-skeleton.c: Include bench-timing.h.
31266 (main): Use TIMING_* macros instead of clock_gettime.
31267 * benchtests/bench-timing.h: New file.
31270 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
31271 Renamed from _LIB_VERSION.
31272 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
31274 2013-05-12 Joseph Myers <joseph@codesourcery.com>
31276 * math/libm-test.inc (struct test_fff_f_data): New type.
31277 (RUN_TEST_LOOP_fff_f): New macro.
31278 (fma_test_data): New variable.
31279 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
31280 (fma_towardzero_test_data): New variable.
31281 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
31282 (fma_downward_test_data): New variable.
31283 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
31284 (fma_upward_test_data): New variable.
31285 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
31287 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
31288 (struct test_c_c_data): New type.
31289 (RUN_TEST_LOOP_c_c): New macro.
31290 (cacos_test_data): New variable.
31291 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
31292 (cacosh_test_data): New variable.
31293 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
31294 (casin_test_data): New variable.
31295 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
31296 (casinh_test_data): New variable.
31297 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
31298 (catan_test_data): New variable.
31299 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
31300 (catanh_test_data): New variable.
31301 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
31302 (ccos_test_data): New variable.
31303 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
31304 (ccosh_test_data): New variable.
31305 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
31306 (cexp_test_data): New variable.
31307 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
31308 (clog_test_data): New variable.
31309 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
31310 (clog10_test_data): New variable.
31311 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
31312 (conj_test_data): New variable.
31313 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
31314 (cproj_test_data): New variable.
31315 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
31316 (csin_test_data): New variable.
31317 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
31318 (csinh_test_data): New variable.
31319 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
31320 (csqrt_test_data): New variable.
31321 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
31322 (ctan_test_data): New variable.
31323 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
31324 (ctan_tonearest_test_data): New variable.
31325 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31326 (ctan_towardzero_test_data): New variable.
31327 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31328 (ctan_downward_test_data): New variable.
31329 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31330 (ctan_upward_test_data): New variable.
31331 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31332 (ctanh_test_data): New variable.
31333 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
31334 (ctanh_tonearest_test_data): New variable.
31335 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31336 (ctanh_towardzero_test_data): New variable.
31337 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31338 (ctanh_downward_test_data): New variable.
31339 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31340 (ctanh_upward_test_data): New variable.
31341 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31342 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
31345 * math/libm-test.inc (struct test_ff_f_data): New type.
31346 (struct test_ff_f_data_nexttoward): Likewise.
31347 (RUN_TEST_LOOP_2_f): New macro.
31348 (RUN_TEST_LOOP_ff_f): Likewise.
31349 (atan2_test_data): New variable.
31350 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
31351 (copysign_test_data): New variable.
31352 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
31353 (fdim_test_data): New variable.
31354 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
31355 (fmax_test_data): New variable.
31356 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
31357 (fmin_test_data): New variable.
31358 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
31359 (fmod_test_data): New variable.
31360 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
31361 (hypot_test_data): New variable.
31362 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
31363 (nextafter_test_data): New variable.
31364 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
31365 (nexttoward_test_data): New variable.
31366 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
31367 (pow_test_data): New variable.
31368 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
31369 (pow_tonearest_test_data): New variable.
31370 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
31371 (pow_towardzero_test_data): New variable.
31372 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
31373 (pow_downward_test_data): New variable.
31374 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
31375 (pow_upward_test_data): New variable.
31376 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
31377 (remainder_test_data): New variable.
31378 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
31379 (scalb_test_data): New variable.
31380 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
31381 * sysdeps/i386/fpu/libm-test-ulps: Update.
31383 2013-05-11 Joseph Myers <joseph@codesourcery.com>
31385 * math/libm-test.inc (fma_test): Use max_value instead of local
31387 (nextafter_test): Likewise.
31389 * math/libm-test.inc (acos_towardzero_test_data): New variable.
31390 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31391 (acos_downward_test_data): New variable.
31392 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31393 (acos_upward_test_data): New variable.
31394 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31395 (acosh_test_data): New variable.
31396 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
31397 (asin_test_data): New variable.
31398 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
31399 (asin_tonearest_test_data): New variable.
31400 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31401 (asin_towardzero_test_data): New variable.
31402 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31403 (asin_downward_test_data): New variable.
31404 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31405 (asin_upward_test_data): New variable.
31406 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31407 (asinh_test_data): New variable.
31408 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
31409 (atan_test_data): New variable.
31410 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
31411 (atanh_test_data): New variable.
31412 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
31413 (cbrt_test_data): New variable.
31414 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
31415 (ceil_test_data): New variable.
31416 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
31417 (cos_test_data): New variable.
31418 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
31419 (cos_tonearest_test_data): New variable.
31420 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31421 (cos_towardzero_test_data): New variable.
31422 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31423 (cos_downward_test_data): New variable.
31424 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31425 (cos_upward_test_data): New variable.
31426 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31427 (cosh_test_data): New variable.
31428 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
31429 (cosh_tonearest_test_data): New variable.
31430 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31431 (cosh_towardzero_test_data): New variable.
31432 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31433 (cosh_downward_test_data): New variable.
31434 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31435 (cosh_upward_test_data): New variable.
31436 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31437 (erf_test_data): New variable.
31438 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
31439 (erfc_test_data): New variable.
31440 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
31441 (exp_test_data): New variable.
31442 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
31443 (exp_tonearest_test_data): New variable.
31444 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31445 (exp_towardzero_test_data): New variable.
31446 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31447 (exp_downward_test_data): New variable.
31448 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31449 (exp_upward_test_data): New variable.
31450 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31451 (exp10_test_data): New variable.
31452 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
31453 (exp2_test_data): New variable.
31454 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
31455 (expm1_test_data): New variable.
31456 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
31457 (fabs_test_data): New variable.
31458 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
31459 (floor_test_data): New variable.
31460 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
31461 (j0_test_data): New variable.
31462 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
31463 (j1_test_data): New variable.
31464 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
31465 (log_test_data): New variable.
31466 (log_test): Run tests with RUN_TEST_LOOP_f_f.
31467 (log10_test_data): New variable.
31468 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
31469 (log1p_test_data): New variable.
31470 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
31471 (log2_test_data): New variable.
31472 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
31473 (logb_test_data): New variable.
31474 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
31475 (logb_downward_test_data): New variable.
31476 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31477 (nearbyint_test_data): New variable.
31478 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
31479 (rint_test_data): New variable.
31480 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
31481 (rint_tonearest_test_data): New variable.
31482 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31483 (rint_towardzero_test_data): New variable.
31484 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31485 (rint_downward_test_data): New variable.
31486 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31487 (rint_upward_test_data): New variable.
31488 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31489 (round_test_data): New variable.
31490 (round_test): Run tests with RUN_TEST_LOOP_f_f.
31491 (sin_test_data): New variable.
31492 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
31493 (sin_tonearest_test_data): New variable.
31494 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31495 (sin_towardzero_test_data): New variable.
31496 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31497 (sin_downward_test_data): New variable.
31498 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31499 (sin_upward_test_data): New variable.
31500 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31501 (sinh_test_data): New variable.
31502 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
31503 (sinh_tonearest_test_data): New variable.
31504 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31505 (sinh_towardzero_test_data): New variable.
31506 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31507 (sinh_downward_test_data): New variable.
31508 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31509 (sinh_upward_test_data): New variable.
31510 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31511 (sqrt_test_data): New variable.
31512 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
31513 (tan_test_data): New variable.
31514 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
31515 (tan_tonearest_test_data): New variable.
31516 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31517 (tan_towardzero_test_data): New variable.
31518 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31519 (tan_downward_test_data): New variable.
31520 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31521 (tan_upward_test_data): New variable.
31522 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31523 (tanh_test_data): New variable.
31524 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
31525 (tgamma_test_data): New variable.
31526 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
31527 (trunc_test_data): New variable.
31528 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
31529 (y0_test_data): New variable.
31530 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
31531 (y1_test_data): New variable.
31532 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
31533 (significand_test_data): New variable.
31534 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
31536 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
31539 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
31541 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
31543 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
31545 2013-05-10 Andreas Jaeger <aj@suse.de>
31548 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
31549 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
31551 2013-05-10 Joseph Myers <joseph@codesourcery.com>
31553 * math/gen-libm-test.pl (adjust_arg): New function.
31554 (special_functions): Handle generating output in both functions
31556 (parse_args): Likewise.
31557 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
31558 $in_func argument to parse_args.
31559 * math/libm-test.inc (struct test_f_f_data): New type.
31560 (IF_ROUND_INIT_): New macro.
31561 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
31562 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31563 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31564 (IF_ROUND_INIT_FE_UPWARD): Likewise.
31565 (ROUND_RESTORE_): Likewise.
31566 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
31567 (ROUND_RESTORE_FE_TONEAREST): Likewise.
31568 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
31569 (ROUND_RESTORE_FE_UPWARD): Likewise.
31570 (RUN_TEST_LOOP_f_f): New macro.
31571 (acos_test_data): New variable.
31572 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
31573 (acos_tonearest_test_data): New variable.
31574 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31576 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31578 * benchtests/bench-skeleton.c (startup): Fix coding style.
31580 2013-05-10 Joseph Myers <joseph@codesourcery.com>
31583 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
31584 negative infinity argument.
31585 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
31586 negative infinity argument.
31587 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
31588 negative infinity argument.
31589 * math/libm-test.inc (tgamma_test): Expect errno to be set for
31592 2013-05-10 Florian Weimer <fweimer@redhat.com>
31594 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
31595 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
31596 * iconv/iconv_prog.c (main): Likewise.
31597 * locale/programs/charmap-dir.c (charmap_readdir)
31598 (fopen_uncompressed): Likewise.
31599 * locale/programs/locfile.c (siblings_uncached)
31600 (write_locale_data): Use lstat64 instead of lstat.
31601 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
31604 2013-05-10 Andreas Jaeger <aj@suse.de>
31607 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
31609 Include <locale.h>.
31611 2013-05-09 Carlos O'Donell <carlos@redhat.com>
31613 * elf/dl-close.c (_dl_close_worker): Add comments.
31615 2013-05-09 Joseph Myers <joseph@codesourcery.com>
31618 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
31620 (__ieee754_rem_pio2l): Update comments.
31623 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
31625 (__ieee754_rem_pio2l): Update comments.
31627 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
31628 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
31630 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
31633 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
31634 (M_PI_34_LOG10El): Likewise.
31635 (M_PI2_LOG10El): Likewise.
31636 (M_PI4_LOG10El): Likewise.
31637 (M_PI_LOG10El): Likewise.
31639 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31643 2013-05-08 Joseph Myers <joseph@codesourcery.com>
31645 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
31646 (MINUS_ZERO_INIT): Likewise.
31647 (PLUS_INFTY_INIT): Likewise.
31648 (MINUS_INFTY_INIT): Likewise.
31649 (QNAN_VALUE_INIT): Likewise.
31650 (MAX_VALUE_INIT): Likewise.
31651 (MIN_VALUE_INIT): Likewise.
31652 (MIN_SUBNORM_VALUE_INIT): Likewise.
31653 (plus_zero): Initialize with PLUS_ZERO_INIT.
31654 (minus_zero): Initialize with MINUS_ZERO_INIT.
31655 (plus_infty): Initialize with PLUS_INFTY_INIT.
31656 (minus_infty): Initialize with MINUS_INFTY_INIT.
31657 (qnan_value): Initialize with QNAN_VALUE_INIT.
31658 (max_value): Initialize with MAX_VALUE_INIT.
31659 (min_value): Initialize with MIN_VALUE_INIT.
31660 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
31662 * math/libm-test.inc (RUN_TEST_if_f): New macro.
31663 (jn_test): Use TEST_if_f instead of TEST_ff_f.
31664 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
31665 (yn_test): Use TEST_if_f instead of TEST_ff_f.
31667 * math/libm-test.inc (RUN_TEST_f_f): New macro.
31668 (RUN_TEST_2_f): Likewise.
31669 (RUN_TEST_ff_f): Likewise.
31670 (RUN_TEST_fi_f): Likewise.
31671 (RUN_TEST_fl_f): Likewise.
31672 (RUN_TEST_fff_f): Likewise.
31673 (RUN_TEST_c_f): Likewise.
31674 (RUN_TEST_f_f1): Likewise.
31675 (RUN_TEST_fF_f1): Likewise.
31676 (RUN_TEST_fI_f1): Likewise.
31677 (RUN_TEST_ffI_f1): Likewise.
31678 (RUN_TEST_c_c): Likewise.
31679 (RUN_TEST_cc_c): Likewise.
31680 (RUN_TEST_f_i): Likewise.
31681 (RUN_TEST_f_i_tg): Likewise.
31682 (RUN_TEST_ff_i_tg): Likewise.
31683 (RUN_TEST_f_b): Likewise.
31684 (RUN_TEST_f_b_tg): Likewise.
31685 (RUN_TEST_f_l): Likewise.
31686 (RUN_TEST_f_L): Likewise.
31687 (RUN_TEST_sincos): Likewise.
31688 * math/gen-libm-test.pl (new_test): Take new argument to indicate
31689 whether to show exceptions. Do not include ");\n" in return
31691 (special_functions): Output call to RUN_TEST_sincos instead of
31692 check_float calls. Update calls to new_test.
31693 (parse_args): Output call to single RUN_TEST_* macro instead of
31694 check_* calls and other assignments. Update calls to new_test.
31700 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
31701 input to result for tgamma overflow.
31702 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
31703 (gamma_coeff): New variable.
31704 (NCOEFF): New macro.
31705 (gamma_positive): New function.
31706 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
31707 underflow here. Use gamma_positive instead of exp (lgamma) for
31709 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
31710 (gamma_coeff): New variable.
31711 (NCOEFF): New macro.
31712 (gammaf_positive): New function.
31713 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
31714 underflow here. Use gamma_positive instead of exp (lgamma) for
31716 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
31717 (gamma_coeff): New variable.
31718 (NCOEFF): New macro.
31719 (gammal_positive): New function.
31720 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
31721 underflow here. Use gamma_positive instead of exp (lgamma) for
31723 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
31724 (gamma_coeff): New variable.
31725 (NCOEFF): New macro.
31726 (gammal_positive): New function.
31727 (__ieee754_gammal_r): Handle positive infinity, overflow and
31728 underflow here. Handle NaN the same as positive infinity. Remove
31729 check x < 0xffffffff for negative integers. Use gamma_positive
31730 instead of exp (lgamma) for other arguments.
31731 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
31732 (gamma_coeff): New variable.
31733 (NCOEFF): New macro.
31734 (gammal_positive): New function.
31735 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
31736 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
31737 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
31738 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
31739 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
31740 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
31741 * sysdeps/generic/math_private.h (__gamma_productf): New
31743 (__gamma_product): Likewise.
31744 (__gamma_productl): Likewise.
31745 * math/Makefile (libm-calls): Add gamma_product.
31746 * math/libm-test.inc (tgamma_test): Add more tests.
31747 * sysdeps/i386/fpu/libm-test-ulps: Update.
31748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31750 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
31752 * benchtests/bench-skeleton.c (main): Preheat CPU.
31754 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
31756 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
31758 2013-05-07 Roland McGrath <roland@hack.frob.com>
31760 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
31761 and _dl_skip_args_internal.
31763 2013-05-07 Carlos O'Donell <carlos@redhat.com>
31765 * manual/message.texi (Message Translation): Talk about users.
31766 Message to key mapping impacts design.
31768 2013-05-06 Roland McGrath <roland@hack.frob.com>
31770 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
31772 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
31774 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
31775 * sysdeps/wordsize-64/glob64.c: ... here.
31777 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
31778 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
31781 * debug/getlogin_r_chk.c: Moved to ...
31782 * login/getlogin_r_chk.c: ... here.
31783 * debug/Makefile (routines): Move getlogin_r_chk to ...
31784 * login/Makefile (routines): ... here.
31785 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
31786 * login/Versions (libc: GLIBC_2.4): ... here.
31788 * io/poll.c (__poll): Renamed from poll.
31789 Add libc_hidden_def.
31790 (poll): Define as weak alias.
31792 * debug/ptsname_r_chk.c: Moved to ...
31793 * login/ptsname_r_chk.c: ... here.
31794 * debug/Makefile (routines): Move ptsname_r_chk to ...
31795 * login/Makefile (routines): ... here.
31796 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
31797 * login/Versions (libc: GLIBC_2.4): ... here.
31799 * posix/getlogin.c: Moved to ...
31800 * login/getlogin.c: ... here.
31801 * posix/getlogin_r.c: Moved to ...
31802 * login/getlogin_r.c: ... here.
31803 * posix/getlogin_r.c: Moved to ...
31804 * login/getlogin_r.c: ... here.
31805 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
31806 * login/Makefile (routines): ... here.
31807 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
31808 * login/Versions (libc: GLIBC_2.0): ... here.
31810 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
31811 (setrlimit): Define as weak alias.
31813 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
31814 Call __ names for open, ftruncate, and close.
31815 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
31816 (truncate): Define as weak alias.
31818 2013-05-06 Joseph Myers <joseph@codesourcery.com>
31820 * math/gen-libm-test.pl (parse_args): Initialize x before each
31821 test of frexp, modf and remquo.
31823 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
31824 test signgam value.
31826 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31830 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
31832 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31834 2013-05-06 Roland McGrath <roland@hack.frob.com>
31836 * elf/dl-writev.h: New file.
31837 * elf/dl-misc.c: Include it.
31838 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
31839 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
31841 2013-05-04 Joseph Myers <joseph@codesourcery.com>
31843 * math/libm-test.inc (noXFails): Remove variable.
31844 (noXPasses): Likewise.
31845 (BUILD_COMPLEX_INT): Remove macro.
31846 (print_screen): Remove xfail argument.
31847 (print_screen_max_error): Likewise.
31848 (update_stats): Likewise.
31849 (print_max_error): Likewise. Update calls to other affected
31851 (print_complex_max_error): Likewise.
31852 (test_single_exception): Update calls to print_screen.
31853 (test_single_errno): Likewise.
31854 (check_float_internal): Remove xfail argument. Update calls to
31855 other affected functions.
31856 (check_float): Likewise.
31857 (check_complex): Likewise.
31858 (check_int): Likewise.
31859 (check_long): Likewise.
31860 (check_bool): Likewise.
31861 (check_longlong): Likewise.
31862 (main): Don't print noXFails and noXPasses.
31863 * math/gen-libm-test.pl (top level): Don't mention expected
31864 failure handling in comment.
31865 (new_test): Don't handle expected failures.
31866 (parse_args): Don't mention expected failure handling in comment.
31867 (generate_testfile): Don't handle expected failures.
31868 (parse_ulps): Likewise.
31869 (print_ulps_file): Likewise.
31870 (get_failure): Remove function.
31871 (output_test): Don't handle expected failures.
31872 * make/README.libm-test: Don't mention expected failure handling.
31874 * math/libm-test.inc (plus_zero): Make const. Add initializer.
31875 (minus_zero): Likewise.
31876 (plus_infty): Likewise.
31877 (minus_infty): Likewise.
31878 (qnan_value): Likewise.
31879 (max_value): Likewise.
31880 (min_value): Likewise.
31881 (min_subnorm_value): Likewise.
31882 (initialize): Do not initialize those variables dynamically.
31884 2013-05-03 Roland McGrath <roland@hack.frob.com>
31886 * io/open.c (__open_2): Moved to ...
31887 * io/open_2.c: ... this new file.
31888 * io/open64.c (__open64_2): Moved to ...
31889 * io/open64_2.c: ... this new file.
31890 * io/openat.c (__openat_2): Moved to ...
31891 * io/openat_2.c: ... this new file.
31892 * io/openat64.c (__openat64_2): Moved to ...
31893 * io/openat64_2.c: ... this new file.
31894 * io/Makefile (routines): Add them.
31895 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
31896 * sysdeps/unix/sysv/linux/open_2.c: File removed.
31897 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
31898 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
31899 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
31900 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
31901 (__openat64): Add hidden_ver.
31902 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
31903 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
31905 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
31906 Separately conditionalize setting of GLRO(dl_sysinfo) so
31907 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
31908 as well, but the actual setting is only under [NEED_DL_SYSINFO].
31910 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31912 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
31913 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
31915 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
31916 * sysdeps/unix/sysv/linux/powerpc/init-first.c
31917 (_libc_vdso_platform_setup): Add __vdso_time initialization.
31918 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
31919 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
31921 2013-05-03 Joseph Myers <joseph@codesourcery.com>
31923 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
31924 test signgam value.
31926 * math/libm-test.inc (hypot_test): Do not use
31927 IGNORE_ZERO_INF_SIGN.
31929 2013-05-03 Andreas Jaeger <aj@suse.de>
31931 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
31933 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
31934 (PF_MAX): Adjust for VSOCK change.
31936 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31940 2013-05-02 Carlos O'Donell <carlos@redhat.com>
31943 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
31944 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
31945 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
31947 2013-05-02 David S. Miller <davem@davemloft.net>
31949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31951 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
31953 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
31955 2013-05-01 Roland McGrath <roland@hack.frob.com>
31957 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
31959 2013-05-01 Richard Smith <richard@metafoo.co.uk>
31962 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
31963 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
31964 Use __attribute__ ((__gnu_inline__)).
31965 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
31966 Don't use __attribute__ ((__gnu_inline__)).
31968 2013-05-01 Joseph Myers <joseph@codesourcery.com>
31971 * math/s_catan.c (__catan): Handle small real or imaginary part of
31972 input specially to avoid spurious underflow.
31973 * math/s_catanf.c (__catanf): Likewise.
31974 * math/s_catanh.c (__catanh): Likewise.
31975 * math/s_catanhf.c (__catanhf): Likewise.
31976 * math/s_catanhl.c (__catanhl): Likewise.
31977 * math/s_catanl.c (__catanl): Likewise.
31978 * math/libm-test.inc (catan_test): Add more tests.
31979 (catanh_test): Likewise.
31980 * sysdeps/i386/fpu/libm-test-ulps: Update.
31981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31983 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31987 2013-04-30 Joseph Myers <joseph@codesourcery.com>
31990 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
31991 accurately for denominator in atan2.
31992 * math/s_catanf.c (__catanf): Likewise.
31993 * math/s_catanh.c (__catanh): Likewise.
31994 * math/s_catanhf.c (__catanhf): Likewise.
31995 * math/s_catanhl.c (__catanhl): Likewise.
31996 * math/s_catanl.c (__catanl): Likewise.
31997 * math/libm-test.inc (catan_test): Add more tests.
31998 (catanh_test): Likewise.
31999 * sysdeps/i386/fpu/libm-test-ulps: Update.
32000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32002 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32004 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
32006 * benchtests/Makefile (bench): Remove slow benchmarks.
32007 * benchtests/atan-inputs: Add slow benchmark inputs.
32008 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
32009 (BENCH_FUNC): Accept variant offset.
32011 * benchtests/bench-skeleton.c (main): Run benchmark for each
32013 * benchtests/cos-inputs: Add slow benchmark inputs.
32014 * benchtests/exp-inputs: Likewise.
32015 * benchtests/pow-inputs: Likewise.
32016 * benchtests/sin-inputs: Likewise.
32017 * benchtests/slowatan-inputs: Remove.
32018 * benchtests/slowatan.c: Remove.
32019 * benchtests/slowcos-inputs: Remove.
32020 * benchtests/slowcos.c: Remove.
32021 * benchtests/slowexp-inputs: Remove.
32022 * benchtests/slowexp.c: Remove.
32023 * benchtests/slowpow-inputs: Remove.
32024 * benchtests/slowpow.c: Remove.
32025 * benchtests/slowsin-inputs: Remove.
32026 * benchtests/slowsin.c: Remove.
32027 * benchtests/slowtan-inputs: Remove.
32028 * benchtests/slowtan.c: Remove.
32029 * benchtests/tan-inputs: Add slow benchmark inputs.
32030 * scripts/bench.pl: Parse comments and directives.
32032 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
32034 ($(objpfx)bench-%.c): Remove *-ITER.
32035 * benchtests/bench-modf.c: Remove definition of ITER.
32036 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
32037 (main): Loop for DURATION seconds instead of fixed number of
32039 * scripts/bench.pl: Don't expect iterations in parameters.
32041 2013-04-29 Roland McGrath <roland@hack.frob.com>
32043 * io/fchdir.c (__fchdir): Renamed from fchdir.
32044 (fchdir): Define as weak alias.
32046 2013-04-29 Joseph Myers <joseph@codesourcery.com>
32048 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
32049 (ERRNO_EDOM): Likewise.
32050 (ERRNO_ERANGE): Likewise.
32051 (noErrnoTests): New variable.
32052 (init_max_error): Set errno to 0.
32053 (test_single_errno): New function.
32054 (test_errno): Likewise.
32055 (check_float_internal): Call test_errno. Set errno to 0.
32056 (check_complex): Refer to errno tests in comment.
32057 (check_int): Call test_errno. Set errno to 0.
32058 (check_long): Likewise.
32059 (check_bool): Likewise.
32060 (check_longlong): Likewise.
32061 (cos_test): Use ERRNO_* flags for errno tests instead of
32063 (expm1_test): Likewise.
32064 (fmod_test): Likewise.
32065 (ilogb_test): Likewise.
32066 (lgamma_test): Likewise.
32067 (pow_test): Likewise.
32068 (remainder_test): Likewise.
32069 (sin_test): Likewise.
32070 (tan_test): Likewise.
32071 (yn_test): Likewise.
32072 (initialize): Set errno to 0.
32073 (main): Print number of errno tests.
32074 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
32076 2013-04-29 Andreas Jaeger <aj@suse.de>
32079 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
32083 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
32084 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
32088 * stdlib/random.c (__initstate): Return NULL if
32092 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
32093 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
32096 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32100 2013-04-29 Joseph Myers <joseph@codesourcery.com>
32102 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
32103 of individual tests.
32104 (casin_test): Likewise.
32105 (casinh_test): Likewise.
32107 2013-04-27 Joseph Myers <joseph@codesourcery.com>
32110 * math/s_catan.c (__catan): Handle arguments with large real or
32111 imaginary part separately without squaring.
32112 * math/s_catanf.c (__catanf): Likewise.
32113 * math/s_catanh.c (__catanh): Likewise.
32114 * math/s_catanhf.c (__catanhf): Likewise.
32115 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32117 (__catanhl): Handle arguments with large real or imaginary part
32118 separately without squaring.
32119 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32121 (__catanl): Handle arguments with large real or imaginary part
32122 separately without squaring.
32123 * math/libm-test.inc (catan_test): Add more tests.
32124 (catanh_test): Likewise.
32125 * sysdeps/i386/fpu/libm-test-ulps: Update.
32126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32128 2013-04-27 Andreas Jaeger <aj@suse.de>
32131 * stdlib/stdlib.h: Update guards for qecvt.
32132 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
32135 2013-04-27 Allan McRae <allan@archlinux.org>
32137 * sysdeps/i386/fpu/libm-test-ulps: Update.
32139 2013-04-26 Joseph Myers <joseph@codesourcery.com>
32142 * math/s_catan.c: Include <float.h>.
32143 (__catan): Ensure underflow exception occurs for underflowed
32145 * math/s_catanf.c: Include <float.h>.
32146 (__catanf): Ensure underflow exception occurs for underflowed
32148 * math/s_catanh.c: Include <float.h>.
32149 (__catanh): Ensure underflow exception occurs for underflowed
32151 * math/s_catanhf.c: Include <float.h>.
32152 (__catanhf): Ensure underflow exception occurs for underflowed
32154 * math/s_catanhl.c: Include <float.h>.
32155 (__catanhl): Ensure underflow exception occurs for underflowed
32157 * math/s_catanl.c: Include <float.h>.
32158 (__catanl): Ensure underflow exception occurs for underflowed
32160 * math/libm-test.inc (catan_test): Add more tests.
32161 (catanh_test): Likewise.
32164 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
32165 underflowed result.
32166 * math/s_ccoshf.c (__ccoshf): Likewise.
32167 * math/s_ccoshl.c (__ccoshl): Likewise.
32168 * math/s_csin.c (__csin): Likewise.
32169 * math/s_csinf.c (__csinf): Likewise.
32170 * math/s_csinh.c (__csinh): Likewise.
32171 * math/s_csinhf.c (__csinhf): Likewise.
32172 * math/s_csinhl.c (__csinhl): Likewise.
32173 * math/s_csinl.c (__csinl): Likewise.
32174 * math/libm-test.inc (ccos_test): Add more tests.
32175 (ccosh_test): Likewise.
32176 (csin_test): Likewise.
32177 (csinh_test): Likewise.
32179 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32181 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
32182 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
32183 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
32184 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
32185 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
32186 powerpc/power5+/fpu folders.
32187 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
32190 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32192 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32194 2013-04-25 Joseph Myers <joseph@codesourcery.com>
32196 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
32197 additions to variable.
32198 [$(config-machine) = x86_64] (modules-names): Likewise.
32199 ($(objpfx)tst-audit3): Remove dependency.
32200 ($(objpfx)tst-audit3.out): Likewise.
32201 ($(objpfx)tst-audit4): Likewise.
32202 ($(objpfx)tst-audit4.out): Likewise.
32203 ($(objpfx)tst-audit5): Likewise.
32204 ($(objpfx)tst-audit5.out): Likewise.
32205 ($(objpfx)tst-audit6): Likewise.
32206 ($(objpfx)tst-audit6.out): Likewise.
32207 ($(objpfx)tst-audit7): Likewise.
32208 ($(objpfx)tst-audit7.out): Likewise.
32209 (tst-audit3-ENV): Remove variable.
32210 (tst-audit4-ENV): Likewise.
32211 (tst-audit5-ENV): Likewise.
32212 (tst-audit6-ENV): Likewise.
32213 (tst-audit7-ENV): Likewise.
32214 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
32215 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
32216 addition to variable.
32217 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
32218 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
32219 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
32220 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
32221 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
32222 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
32223 tst-audit3, tst-audit4 and tst-audit5.
32224 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
32225 tst-audit6 and tst-audit7.
32226 [$(subdir) = elf] (modules-names): Add audit modules for those
32228 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
32229 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
32230 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
32231 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
32232 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
32233 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
32234 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
32235 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
32236 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
32237 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
32238 [$(subdir) = elf] (tst-audit3-ENV): New variable.
32239 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
32240 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
32241 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
32242 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
32243 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
32245 [$(subdir) = elf && $(config-cflags-avx) = yes]
32246 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
32247 [$(subdir) = elf && $(config-cflags-avx) = yes]
32248 (CFLAGS-tst-auditmod4a.c): Likewise.
32249 [$(subdir) = elf && $(config-cflags-avx) = yes]
32250 (CFLAGS-tst-auditmod4b.c): Likewise.
32251 [$(subdir) = elf && $(config-cflags-avx) = yes]
32252 (CFLAGS-tst-auditmod6b.c): Likewise.
32253 [$(subdir) = elf && $(config-cflags-avx) = yes]
32254 (CFLAGS-tst-auditmod6c.c): Likewise.
32255 [$(subdir) = elf && $(config-cflags-avx) = yes]
32256 (CFLAGS-tst-auditmod7b.c): Likewise.
32257 * elf/tst-audit3.c: Move to ...
32258 * sysdeps/x86_64/tst-audit3.c: ... here.
32259 * elf/tst-audit4.c: Move to ...
32260 * sysdeps/x86_64/tst-audit4.c: ... here.
32261 * elf/tst-audit5.c: Move to ...
32262 * sysdeps/x86_64/tst-audit5.c: ... here.
32263 * elf/tst-audit6.c: Move to ...
32264 * sysdeps/x86_64/tst-audit6.c: ... here.
32265 * elf/tst-audit7.c: Move to ...
32266 * sysdeps/x86_64/tst-audit7.c: ... here.
32267 * elf/tst-auditmod3a.c: Move to ...
32268 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
32269 * elf/tst-auditmod3b.c: Move to ...
32270 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
32271 * elf/tst-auditmod4a.c: Move to ...
32272 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
32273 * elf/tst-auditmod4b.c: Move to ...
32274 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
32275 * elf/tst-auditmod5a.c: Move to ...
32276 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
32277 * elf/tst-auditmod5b.c: Move to ...
32278 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
32279 * elf/tst-auditmod6a.c: Move to ...
32280 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
32281 * elf/tst-auditmod6b.c: Move to ...
32282 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
32283 * elf/tst-auditmod6c.c: Move to ...
32284 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
32285 * elf/tst-auditmod7a.c: Move to ...
32286 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
32287 * elf/tst-auditmod7b.c: Move to ...
32288 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
32290 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
32293 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
32294 define unconditionally.
32295 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
32296 define unconditionally.
32297 (INT8_C, INT16_C, etc.): Likewise.
32299 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
32301 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
32302 __ehdr_start with hidden visibility.
32304 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
32306 2013-04-24 Carlos O'Donell <carlos@redhat.com>
32308 * math/libm-test.inc (cos_test): Use accurate hex constants.
32309 (sincost_test): Likewise.
32311 2013-04-24 Joseph Myers <joseph@codesourcery.com>
32313 * math/libm-test.inc (catan_test): Add more tests.
32314 (catanh_test): Likewise.
32316 * math/s_catanf.c (__catanf): Use suffixed floating-point
32318 * math/s_catanhf.c (__catanhf): Likewise.
32319 * math/s_catanhl.c (__catanhl): Likewise.
32320 * math/s_catanl.c (__catanl): Likewise.
32323 * math/s_catan.c (__catan): Calculate imaginary part of result
32324 with log1p not log unless computing log of number close to 0.
32325 * math/s_catanf.c (__catanf): Likewise.
32326 * math/s_catanl.c (__catanl): Likewise.
32327 * math/s_catanh.c (__catanh): Calculate real part of result with
32328 log1p not log unless computing log of number close to 0.
32329 * math/s_catanhf.c (__catanhf): Likewise.
32330 * math/s_catanhl.c (__catanhl): Likewise.
32331 * math/libm-test.inc (catan_test): Add more tests.
32332 (catanh_test): Likewise.
32333 * sysdeps/i386/fpu/libm-test-ulps: Update.
32334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32336 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32338 * benchtests/Makefile: Mention files in which fast and slow
32339 paths of math functions are implemented.
32341 2013-04-23 Roland McGrath <roland@hack.frob.com>
32343 * sysdeps/posix/timespec_get.c: New file.
32345 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32347 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
32349 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
32351 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
32352 powerpc/power5/fpu folders.
32353 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
32354 * benchtests/Makefile: Add modf testcase.
32355 * benchtests/bench-modf.c: New file: Benchmark test for mo
32357 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
32360 * time/Makefile (tests): Add tst-strptime-whitespace.
32361 * time/strptime_l.c (get_number): Use ISSPACE.
32362 (__strptime_internal): Likewise.
32363 * time/tst-strptime-whitespace.c: New test case.
32365 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
32367 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
32369 (_nss_files_init): Set it here.
32371 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
32373 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
32374 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
32377 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
32379 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
32381 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32383 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
32386 2013-04-21 David S. Miller <davem@davemloft.net>
32388 * po/ru.po: Update Russion translation from translation project.
32390 2013-04-17 Adam Conrad <adconrad@0c3.net>
32392 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
32395 2013-04-17 Carlos O'Donell <carlos@redhat.com>
32397 * configure.in: Remove i386 configure warning. Remove i386 case.
32398 * configure: Regenerate.
32399 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
32400 Add example to error message.
32401 * sysdeps/i386/configure: Regenerate.
32403 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32405 * benchtests/Makefile (bench): Add cos, tan, slowcos and
32407 * benchtests/cos-inputs: New file.
32408 * benchtests/slowcos-inputs: New file.
32409 * benchtests/slowcos.c: New file.
32410 * benchtests/slowtan-inputs: New file.
32411 * benchtests/slowtan.c: New file.
32412 * benchtests/tan-inputs: New file.
32414 2013-04-16 Roland McGrath <roland@hack.frob.com>
32416 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
32419 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32421 * benchtests/Makefile: Include cppflags-iterator.mk to add
32422 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
32424 * Makefile.in (bench-clean): New target.
32425 * benchtests/Makefile (bench-clean): Likewise.
32427 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
32429 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
32431 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
32433 * stdio-common/tstdiomisc.c: Fix coding-style violation.
32435 2013-04-15 Andreas Schwab <schwab@suse.de>
32437 * nscd/grpcache.c (cache_addgr): Properly check for short write.
32438 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32439 * nscd/pwdcache.c (cache_addpw): Likewise.
32440 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
32443 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32445 * benchtests/Makefile (bench): Write all output to
32446 bench-out.tmp together.
32448 2013-04-15 Andreas Schwab <schwab@suse.de>
32450 * nscd/nscd.c (main): Don't fork again after closing files.
32452 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32454 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
32456 * benchtests/Rules (bench-deps): Collect dependencies into a
32457 single variable. Add Makefile to dependencies.
32458 ($(objpfx)bench-%.c): Depend on bench-deps.
32460 2013-04-12 Roland McGrath <roland@hack.frob.com>
32461 Xavier Roche <roche+kml2@exalead.com>
32464 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
32465 just that it's a file descriptor.
32466 * manual/llio.texi (Synchronizing AIO Operations): Update description
32467 for EBADF error from aio_fsync.
32469 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
32471 * Rules (bench): Move target definition...
32472 * benchtests/Makefile: ... here.
32474 2013-04-11 Carlos O'Donell <carlos@redhat.com>
32476 * math/libm-test.inc (cos_test): Fix PI/2 test.
32477 (sincos_test): Likewise.
32478 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
32479 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
32481 2013-04-11 Andreas Schwab <schwab@suse.de>
32484 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
32485 accept exponent character only when digits were seen.
32486 * stdio-common/Makefile (tests): Add bug26.
32487 * stdio-common/bug26.c: New file.
32490 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
32493 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32495 * Makeconfig (rtld-prefix): Define built linker prefix.
32496 * Rules (run-bench): Use it.
32497 * math/Makefile (run-regen-ulps): Likewise.
32499 * Rules (bench): Remove eval.
32501 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32502 Roland McGrath <roland@hack.frob.com>
32503 Ondrej Bilka <neleai@seznam.cz>
32506 * time/getdate.c: Include ctype.h and alloca.h.
32507 (__getdate_r): Trim leading and trailing spaces of input.
32508 * time/tst-getdate.c (tests): Add tests with leading and
32511 2013-04-08 Roland McGrath <roland@hack.frob.com>
32514 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
32515 when computing value.
32517 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32519 * math/README.libm-test (How can I generate "libm-test-ulps"?):
32520 Use testrun.sh to run libm tests.
32523 * elf/dl-open.c (dl_open_worker): memset all of seen array.
32525 2013-04-06 Marko Myllynen <myllynen@redhat.com>
32528 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
32530 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32532 * Makefile.in (regen-ulps): New target.
32533 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
32534 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
32535 [ifneq (no,$(PERL)] (regen-ulps): New target.
32536 [ifeq (no,$(PERL)] (regen-ulps): New target.
32537 * math/libm-test.inc (ulps_file_name): Define.
32538 (output_dir): New variable.
32539 (options): Add "output-dir" option.
32540 (parse_opt): Handle 'o' case.
32541 (main): If output_dir is non-NULL use it as a prefix
32543 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
32545 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32547 [BZ #10060, #10062]
32548 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
32549 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
32550 fail configure if __sync_val_compare_and_swap is not inlined.
32551 * sysdeps/i386/configure: Regenerate.
32552 * configure.in: Build for i686 when configured for i386.
32553 * configure: Regenerate.
32554 * README: Remove i386 reference.
32556 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32558 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
32559 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32561 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
32563 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
32564 (lmsnanval): New variables.
32565 (F): Add conversion tests.
32566 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
32567 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
32569 * stdio-common/tstdiomisc.c (F): Properly collect individual
32572 [BZ #14686, #15336]
32573 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
32574 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
32575 Instead, use input NaN values or generate a qNaN by arithmetic
32576 operation. Also fix bugs to comply with the standard.
32577 * math/libm-test.inc (remainder_test): Add more tests.
32579 [BZ #15335, #15342]
32580 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
32581 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
32582 input NaN values or generate a qNaN by arithmetic operation.
32584 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
32587 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
32590 2013-04-03 Joseph Myers <joseph@codesourcery.com>
32593 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
32594 underflowed result.
32595 * math/s_cexpf.c (__cexpf): Likewise.
32596 * math/s_cexpl.c (__cexpl): Likewise.
32597 * math/libm-test.inc (cexp_test): Add more tests.
32599 2013-04-03 Andreas Schwab <schwab@suse.de>
32602 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
32603 order arrays from heap if bigger than alloca cutoff.
32605 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
32607 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
32608 (SNAN_TESTS_double): Refer to GCC PR56831.
32609 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
32612 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
32614 * Rules (bench): Move bench.out after the run is complete.
32616 * Rules (bench): Echo currently running benchmark.
32618 * benchtests/Makefile (bench): Add atan and slowatan.
32619 * benchtests/atan-inputs: New file.
32620 * benchtests/slowatan-inputs: New file.
32621 * benchtests/slowatan.c: New file.
32623 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
32624 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
32628 * sysdeps/unix/sysv/linux/kernel-features.h
32629 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
32630 __ASSUME_XFS_RESTRICTED_CHOWN.
32631 * sysdeps/unix/sysv/linux/pathconf.c
32632 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32633 Save and restore errno.
32635 2013-04-02 Joseph Myers <joseph@codesourcery.com>
32638 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
32639 arguments using __kernel_casinh.
32640 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
32641 arguments using __kernel_casinhf.
32642 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
32643 arguments using __kernel_casinhl.
32644 * math/libm-test.inc (cacosh_test): Add more tests.
32645 * sysdeps/i386/fpu/libm-test-ulps: Update.
32646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32648 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32650 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
32651 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
32653 * bench/Makefile (bench): Add sin and slowsin.
32654 * benchtests/sin-inputs: New file.
32655 * benchtests/slowsin-inputs: New file.
32656 * benchtests/slowsin.c: New file.
32658 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
32659 (bench): Add slowexp and slowpow.
32660 (exp-ITER): Increase iterations.
32661 (pow-ITER): Likewise.
32662 * benchtests/exp-inputs: Change input.
32663 * benchtests/pow-inputs: Likewise.
32664 * benchtests/slowexp-inputs: New file.
32665 * benchtests/slowexp.c: New file.
32666 * benchtests/slowpow-inputs: New file.
32667 * benchtests/slowpow.c: New file.
32669 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32671 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
32673 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32674 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
32675 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32676 * benchtests/Makefile: Add rint benchtest.
32677 * benchtests/rint-inputs: Input for rint benchtest.
32679 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
32681 * Versions.def (libm): Add GLIBC_2.18.
32682 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
32683 hidden libm prototypes.
32684 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
32685 * math/Makefile (libm-calls): Add s_issignaling.
32686 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
32687 __issignalingf, __issignalingl. Adjust all libm.abilist files.
32688 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
32690 * math/math.h [__USE_GNU] (issignaling): New macro.
32691 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
32692 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
32693 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
32694 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
32695 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
32696 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
32697 * manual/arith.texi (issignaling): New section.
32698 * manual/libm-err-tab.pl (@all_functions): Update comment.
32699 * math/gen-libm-test.pl (parse_args): Apply special handling for
32701 * math/libm-test.inc (print_float, issignaling_test): New
32703 (check_float_internal): Add issignaling checks.
32704 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
32705 default definition.
32706 * sysdeps/powerpc/math-tests.h: New file.
32707 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
32709 * math/test-snan.c (TEST_FUNC): Likewise.
32711 2013-03-30 David S. Miller <davem@davemloft.net>
32713 * po/de.po: Update from translation team.
32715 2013-03-30 Joseph Myers <joseph@codesourcery.com>
32718 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32719 imaginary part less than 1.0 and real part less than 0.5
32721 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32722 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32723 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
32724 (cacos_test): Add more tests.
32725 (casin_test): Likewise.
32726 (casinh_test): Likewise.
32727 * sysdeps/i386/fpu/libm-test-ulps: Update.
32728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32730 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32732 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
32733 ONE with its value.
32735 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
32736 (__pow_mp): Replace ONE and MONE with their values.
32737 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32738 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
32739 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32740 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
32741 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32742 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32744 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
32746 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
32747 (__pow_mp): Replace ZERO and MZERO with their values.
32748 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32749 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32750 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32751 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32752 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32753 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
32756 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
32758 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
32760 2013-03-28 Roland McGrath <roland@hack.frob.com>
32762 * include/stdlib.h [!SHARED] (__call_tls_dtors):
32763 Declare with __attribute__ ((weak)).
32764 * stdlib/exit.c (__libc_atexit) [!SHARED]:
32765 Call __call_tls_dtors only if it's not NULL.
32767 2013-03-28 Roland McGrath <roland@hack.frob.com>
32769 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
32770 didn't do it already, then set _dl_phdr and _dl_phnum based on the
32771 magic __ehdr_start linker symbol if it's defined.
32772 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
32773 them up here if it was already done.
32775 * elf/dl-support.c (_dl_phdr): Make pointer to const.
32776 (_dl_aux_init): Use const in cast when setting it.
32777 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
32778 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
32779 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
32781 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
32783 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
32784 * csu/libc-tls.c: Nor here.
32785 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
32787 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
32788 (__libc_message): Never call vsyslog.
32790 2013-03-28 Alan Modra <amodra@gmail.com>
32792 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
32794 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
32797 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32800 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
32802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32804 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32807 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32808 Don't add gid passed as argument.
32810 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
32812 2013-03-27 Joseph Myers <joseph@codesourcery.com>
32815 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32816 imaginary part between 1.0 and 1.5 and real part less than 0.5
32818 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32819 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32820 * math/libm-test.inc (cacos_test): Add more tests.
32821 (casin_test): Likewise.
32822 (casinh_test): Likewise.
32823 * sysdeps/i386/fpu/libm-test-ulps: Update.
32824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32826 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32828 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
32831 (denorm): Likewise.
32832 (__dbl_mp): Likewise.
32833 (add_magnitudes): Likewise.
32834 (sub_magnitudes): Likewise.
32842 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
32844 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
32845 (__dubcos): Likewise.
32846 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
32847 (__ieee754_acos): Likewise.
32848 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32849 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
32850 (__exp1): Likewise.
32851 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32852 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32854 (my_log2): Likewise.
32855 (checkint): Likewise.
32856 * sysdeps/ieee754/dbl-64/e_remainder.c
32857 (__ieee754_remainder): Likewise.
32858 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32859 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
32860 (bsloww): Likewise.
32861 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32863 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
32864 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
32865 MANTISSA_STORE_T to store computations on mantissa. Use
32866 macros for rounding and division.
32867 (denorm): Likewise.
32868 (__dbl_mp): Likewise.
32869 (add_magnitudes): Likewise.
32870 (sub_magnitudes): Likewise.
32873 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
32874 powers of two in terms of TWOPOW macro.
32875 (mp_no): Make type of mantissa as MANTISSA_T.
32876 [!RADIXI]: Define RADIXI.
32877 [!TWO52]: Define TWO52.
32878 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
32880 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32882 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
32883 llroundl symbol when building for PPC32.
32885 2013-03-24 Mark H Weaver <mhw@netris.org>
32887 * manual/arith.texi (Normalization Functions): Fix prototypes for
32888 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
32890 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32893 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
32894 high value to check if expl overflow.
32895 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
32896 to check for underflow and overflow.
32897 * math/libm-test.inc: Add exp test.
32899 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
32902 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
32905 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32907 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
32910 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
32912 * math/gen-libm-test.pl (parse_args, special_functions): Properly
32913 wrap blocks consisting of several statements.
32915 * sysdeps/generic/math-tests.h: New file.
32916 * sysdeps/i386/fpu/math-tests.h: Likewise.
32917 * math/test-snan.c: Include it.
32918 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
32920 2013-03-21 Joseph Myers <joseph@codesourcery.com>
32923 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
32924 (__ieee754_j0l): Do not improve calculations using cos of twice
32925 input for inputs above LDBL_MAX / 2.0L.
32926 (__ieee754_y0l): Likewise.
32927 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
32928 (__ieee754_j1l): Do not improve calculations using cos of twice
32929 input for inputs above LDBL_MAX / 2.0L.
32930 (__ieee754_y1l): Likewise.
32931 * math/libm-test.inc (j0_test): Add another test.
32932 (j1_test): Likewise.
32933 (y0_test): Likewise.
32934 (y1_test): Likewise.
32935 * sysdeps/i386/fpu/libm-test-ulps: Update.
32937 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32939 * Rules ($(objpfx)bench-%.c): Include code from a C source
32942 2013-03-21 Joseph Myers <joseph@codesourcery.com>
32945 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32946 imaginary part 1.0 and real part less than 0.5 specially.
32947 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32948 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32949 * math/libm-test.inc (cacos_test): Add more tests.
32950 (casin_test): Likewise.
32951 (casinh_test): Likewise.
32952 * sysdeps/i386/fpu/libm-test-ulps: Update.
32953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32955 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32957 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
32958 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
32960 2013-03-20 Joseph Myers <joseph@codesourcery.com>
32962 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
32963 * config.make.in (config-cflags-sse4): Remove variable.
32964 (config-cflags-avx): Likewise.
32965 (config-cflags-sse2avx): Likewise.
32966 (config-cflags-novzeroupper): Likewise.
32967 (config-asflags-i686): Likewise.
32968 (have-mfma4): Likewise.
32969 (have-as-vis3): Likewise.
32971 * configure.in (MIG): Do not AC_SUBST.
32972 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
32973 (libc_cv_cc_sse4): Do not AC_SUBST.
32974 (libc_cv_cc_avx): Likewise.
32975 (libc_cv_cc_sse2avx): Likewise.
32976 (libc_cv_cc_novzeroupper): Likewise.
32977 (libc_cv_cc_fma4): Likewise.
32978 (libc_cv_as_i686): Likewise.
32979 (libc_cv_sparc_as_vis3): Likewise.
32980 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
32982 (config-asflags-i686): Likewise.
32983 (config-cflags-avx): Likewise.
32984 (config-cflags-sse2avx): Likewise.
32985 (have-mfma4): Likewise.
32986 (config-cflags-novzeroupper): Likewise.
32987 * sysdeps/mach/configure.in (MIG): Likewise.
32988 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
32989 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
32991 (config-cflags-avx): Likewise.
32992 (config-cflags-sse2avx): Likewise.
32993 (have-mfma4): Likewise.
32994 (config-cflags-novzeroupper): Likewise.
32995 * configure: Regenerated.
32996 * sysdeps/i386/configure: Likewise.
32997 * sysdeps/mach/configure: Likewise.
32998 * sysdeps/sparc/configure: Likewise.
32999 * sysdeps/x86_64/configure: Likewise.
33001 2013-03-20 Roland McGrath <roland@hack.frob.com>
33004 * locale/programs/localedef.c (options): Put N_ translation marker
33005 on argument names, not just descriptions.
33007 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33009 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
33011 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
33014 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
33016 2013-03-19 Roland McGrath <roland@hack.frob.com>
33018 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
33019 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
33020 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
33021 [!BEFORE_ABORT] (before_abort): New function.
33022 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
33023 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
33024 (writev_for_fatal): New function.
33025 (WRITEV_FOR_FATAL): New macro; call that.
33026 (backtrace_and_maps): New function.
33027 (BEFORE_ABORT): New macro; call that.
33028 (struct str_list): Type removed.
33029 (__libc_message, __libc_fatal): Functions removed.
33030 Include <sysdeps/posix/libc_fatal.c> instead.
33032 2013-03-19 Joseph Myers <joseph@codesourcery.com>
33034 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
33036 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
33039 2013-03-19 Andreas Schwab <schwab@suse.de>
33041 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
33042 * sysdeps/gnu/configure: Regenerate.
33044 * configure.in: Substitute libc_cv_rtlddir.
33045 * configure: Regenerate.
33046 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
33047 * Makeconfig (rtlddir, inst_rtlddir): New variables.
33048 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
33049 * elf/Makefile (install-others, CFLAGS-interp.c)
33050 (ldso_install, common-ldd-rewrite): Likewise.
33051 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
33052 $(inst_slibdir)/$(rtld-installed-name).
33053 * scripts/rellns-sh: Add -p option.
33054 * Makerules (make-shlib-link): Use rellns-sh to get relative name
33057 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33059 * manual/nptl.texi: Renamed to ...
33060 * manual/threads.texi: ... this.
33061 * manual/Makefile (chapters): Update.
33063 2013-03-18 Roland McGrath <roland@hack.frob.com>
33066 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
33067 on argument names, not just descriptions.
33068 * malloc/memusagestat.c (options): Likewise.
33069 * nss/getent.c (options): Likewise.
33071 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
33074 * iconv/iconv_prog.c (options): Put N_ translation marker
33075 on argument names, not just descriptions.
33076 * iconv/iconvconfig.c (options): Likewise.
33078 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
33080 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
33081 implementation which is faster on all x86_64 architectures.
33082 Tested on AMD, Intel Nehalem, SNB, IVB.
33083 * sysdeps/x86_64/strnlen.S: Likewise.
33085 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33086 Remove all multiarch strlen and strnlen versions.
33087 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33088 Remove strlen and strnlen related parts.
33090 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
33091 Inline strlen part.
33092 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
33094 * sysdeps/x86_64/multiarch/strlen.S: Remove.
33095 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
33096 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
33097 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
33098 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33099 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
33101 2013-03-17 Carlos O'Donell <carlos@redhat.com>
33103 * manual/memory.texi (Malloc Tunable Parameters):
33104 Sort parameters alphabetically. Add comments for missing entries.
33106 2013-03-17 David S. Miller <davem@davemloft.net>
33108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33110 2013-03-16 Joseph Myers <joseph@codesourcery.com>
33113 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
33114 for arguments at most half maximum finite value.
33115 * math/libm-test.inc (j0_test): Add more tests.
33116 (j1_test): Likewise.
33117 (y0_test): Likewise.
33118 (y1_test): Likewise.
33119 * sysdeps/i386/fpu/libm-test-ulps: Update.
33120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33123 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
33124 1 / x and functions P and Q for arguments above 0x1p256L.
33125 (__ieee754_y0l): Likewise.
33126 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
33127 (__ieee754_y1l): Likewise.
33128 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
33129 (j1_test): Likewise.
33130 (y0_test): Likewise.
33131 (y1_test): Likewise.
33133 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
33135 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
33138 2013-03-15 Roland McGrath <roland@hack.frob.com>
33140 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
33141 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
33142 zero since it's initialized to EXEC_PAGESIZE.
33144 * sysdeps/unix/sysv/linux/ldsodefs.h
33145 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
33146 * sysdeps/generic/ldsodefs.h: ... here.
33148 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
33150 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
33152 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
33154 * math/test-snan.c: Renamed from
33155 sysdeps/powerpc/fpu/test-powerpc-snan.c.
33156 * math/Makefile (tests): Add test-snan.
33157 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
33160 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
33161 SUFFIX. Initialize qNaN_var with __builtin_nan family of
33163 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
33164 __builtin_nan family of functions.
33165 * math/libm-test.inc (initialize): Initialize qnan_value with
33166 __builtin_nan family of functions.
33167 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
33169 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
33171 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
33172 storage class. Initialize qNaN_var and sNaN_var with
33173 __builtin_nan and __builtin_nans families of functions,
33176 * math/libm-test.inc (acosh_test): Also test with qNaN input.
33177 (sqrt_test): Remove duplicate test with qNaN input.
33178 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
33179 (round_test, signbit_test, significand_test): Note missing +/-Inf
33180 as well as qNaN tests.
33182 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
33183 qNaN_var. Fix a few strings, too.
33184 * math/libm-test.inc (nan_value): Rename to qnan_value.
33185 * math/gen-libm-test.pl (%beautify): Adjust to that.
33186 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
33187 * math/test-misc.c (main): Likewise.
33188 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
33189 to __qnan_bytes, and __qnan_union, respectively.
33190 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
33192 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
33193 and lqnanval, respectively.
33194 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
33195 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
33196 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
33197 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
33199 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
33200 * math/test-misc.c (main) [__x86_64__]: Enable test for long
33203 * math/test-misc.c (main): Fix copy'n'pastos.
33204 * misc/tst-efgcvt.c (special): Likewise.
33206 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
33207 Remove declarations.
33209 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33211 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
33212 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
33213 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
33214 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
33216 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33218 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
33219 macro to return vdso values correctly in IFUNC implementations.
33220 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33221 Optimization by using IFUNC.
33223 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33224 Richard Henderson <rth@redhat.com>
33225 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33227 * Makefile.in (bench): New target.
33228 * NEWS: Mention the benchmark framework.
33229 * Rules (bench): Likewise.
33230 (binaries-bench): Generate binaries for functions to
33232 * benchtests/Makefile: New makefile for benchmark tests.
33233 * benchtests/bench-skeleton.c: New skeleton file for benchmark
33235 * benchtests/exp-inputs: New input file for EXP function.
33236 * benchtests/pow-inputs: New input file for POW function.
33237 * scripts/bench.pl: New script to generate source files for
33238 benchmark programs.
33240 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33242 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33243 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
33244 computations on mantissa. Use macros for rounding and
33246 (denorm): Likewise.
33247 (__dbl_mp): Likewise.
33248 (add_magnitudes): Likewise.
33249 (sub_magnitudes): Likewise.
33252 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
33253 powers of two in terms of TWOPOW macro.
33254 (mp_no): Make type of mantissa as MANTISSA_T.
33255 [!RADIXI]: Define RADIXI.
33256 [!TWO52]: Define TWO52.
33257 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33259 * manual/nptl.texi (cindex): Modify threads to pthreads.
33261 2013-03-15 Joseph Myers <joseph@codesourcery.com>
33263 * sysdeps/x86_64/preconfigure: Regenerated.
33265 2013-03-14 Joseph Myers <joseph@codesourcery.com>
33268 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
33270 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
33271 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
33273 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
33274 * math/libm-test.inc (j0_test): Do not allow one spurious
33275 underflow exception.
33276 (y1_test): Likewise.
33278 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33280 * manual/Makefile (chapters): Add nptl.
33281 * manual/debug.texi (Debugging Support): Add link to Threads
33283 * manual/nptl.texi: New file.
33285 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
33287 2013-03-14 Petr Baudis <pasky@ucw.cz>
33289 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
33290 for non-NULL pointer before the memory validity test. Pointed
33291 out by Holger Brunck <holger.brunck@keymile.com>.
33293 2013-03-13 Andreas Schwab <schwab@suse.de>
33295 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
33298 2013-03-13 Joseph Myers <joseph@codesourcery.com>
33300 * timezone/zic.c: Update from tzcode 2013b.
33302 2013-03-12 Carlos O'Donell <carlos@redhat.com>
33304 * manual/install.texi (Configuring and compiling):
33305 Mention i686 and i586.
33306 * INSTALL: Regenerate.
33308 2013-03-12 Roland McGrath <roland@hack.frob.com>
33310 * sysdeps/init_array/elf-init.c: New file.
33312 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
33313 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
33315 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
33316 __gmon_start__ as global, but as static with a .preinit_array pointer.
33317 * sysdeps/init_array/gmon-start.c: New file. Use that.
33318 * sysdeps/init_array/crti.S: New file, empty except for comments.
33319 * sysdeps/init_array/crtn.S: Likewise.
33321 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
33323 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
33325 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33326 Remove Prefer_SSE_for_memop.
33327 * sysdeps/x86_64/multiarch/init-arch.h: Remove
33328 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
33329 HAS_PREFER_SSE_FOR_MEMOP.
33330 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
33332 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33333 Remove bzero, memset ifunc support.
33334 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
33335 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
33336 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33337 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33339 2013-03-11 Andreas Schwab <schwab@suse.de>
33342 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
33344 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
33345 (GLIBC_2.16): Remove pthread_atfork.
33347 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33349 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
33350 (ptestcases.h): Likewise.
33352 2013-03-08 Roland McGrath <roland@hack.frob.com>
33354 * Makeconfig ($(common-objpfx)config.status): Depend on
33355 sysdeps/*/preconfigure{,.in} too.
33357 2013-03-08 Joseph Myers <joseph@codesourcery.com>
33359 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
33360 (__free_hook): Use void * instead of __malloc_ptr_t.
33361 (__malloc_hook): Likewise.
33362 (__realloc_hook): Likewise.
33363 (__memalign_hook): Likewise.
33364 (__after_morecore_hook): Likewise.
33365 * malloc/arena.c (save_malloc_hook): Likewise.
33366 (save_free_hook): Likewise.
33367 * malloc/hooks.c (malloc_hook_ini): Likewise.
33368 (realloc_hook_ini): Likewise.
33369 (memalign_hook_ini): Likewise.
33370 * malloc/malloc.c (malloc_hook_ini): Likewise.
33371 (realloc_hook_ini): Likewise.
33372 (memalign_hook_ini): Likewise.
33373 (__free_hook): Likewise.
33374 (__malloc_hook): Likewise.
33375 (__realloc_hook): Likewise.
33376 (__memalign_hook): Likewise.
33377 (__libc_malloc): Likewise.
33378 (__libc_free): Likewise.
33379 (__libc_realloc): Likewise.
33380 (__libc_memalign): Likewise.
33381 (__libc_valloc): Likewise.
33382 (__libc_pvalloc): Likewise.
33383 (__libc_calloc): Likewise.
33384 (__posix_memalign): Likewise.
33385 * malloc/morecore.c (__sbrk): Likewise.
33386 (__default_morecore): Likewise.
33388 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
33390 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
33391 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
33392 __malloc_ptrdiff_t.
33394 * malloc/malloc.h (__malloc_size_t): Remove macro.
33395 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
33397 (old_memalign_hook): Likewise.
33398 (old_realloc_hook): Likewise.
33399 (struct hdr): Likewise.
33401 (mallochook): Likewise.
33402 (memalignhook): Likewise.
33403 (reallochook): Likewise.
33404 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
33405 (tr_old_realloc_hook): Likewise.
33406 (tr_old_memalign_hook): Likewise.
33407 (tr_mallochook): Likewise.
33408 (tr_reallochook): Likewise.
33409 (tr_memalignhook): Likewise.
33411 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33413 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
33414 default_ldbl_pack and using as default implementation.
33415 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
33417 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
33418 redundant definition.
33419 (ldbl_insert_mantissa): Likewise.
33420 (ldbl_canonicalize): Likewise.
33421 (ldbl_nearbyint): Likewise.
33422 (ldbl_pack): Rename to ldbl_pack_ppc.
33423 (ldbl_unpack): Rename to ldbl_unpack_ppc.
33424 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
33425 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
33427 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33429 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
33430 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
33431 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
33432 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
33433 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
33434 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
33435 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
33436 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
33438 2013-03-07 Andreas Jaeger <aj@suse.de>
33440 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33443 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33445 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
33446 Include mpa.h and declare __MPEXP.
33447 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
33448 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33449 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33450 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
33451 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33452 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33453 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
33455 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
33456 (__slowpow): Use long double EXPL and LOGL functions to
33458 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33459 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33460 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
33461 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33462 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33463 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
33465 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
33466 intermediate variable to calculate exponent.
33468 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
33472 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
33473 [!NO__SQR]: Define __sqr.
33474 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
33475 and NO__SQR. Remove all code except __mul and __sqr. Include
33476 sysdeps/ieee754/dbl-64/mpa.c.
33477 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33480 * posix/Makefile (tests): Add tst-pathconf.
33481 * posix/tst-pathconf.c: New test case.
33482 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
33484 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
33486 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
33488 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
33490 2013-03-06 Andreas Jaeger <aj@suse.de>
33492 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
33493 definition via __MAP_ANONYMOUS.
33495 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
33496 it's not part of Linux headers.
33498 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
33499 (MAP_HUGE_MASK): Define.
33501 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33503 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33504 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33506 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33507 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33509 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33510 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
33512 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33514 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
33515 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
33516 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
33517 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
33518 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
33519 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
33521 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33524 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33525 Handle f2fs and efivarfs.
33527 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
33530 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
33531 (EFIVARFS_MAGIC): Add.
33532 (F2FS_LINK_MAX): Add.
33534 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33536 * stdio-common/vfprintf.c: Replace __builtin_expect with
33539 2013-03-06 Joseph Myers <joseph@codesourcery.com>
33542 * sysdeps/generic/bp-sym.h: Remove file.
33543 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
33544 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
33545 <bp-sym.h> and <bp-asm.h>.
33546 (__longjmp): Don't use BP_SYM.
33547 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
33549 (memcpy): Don't use BP_SYM.
33550 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
33551 <bp-sym.h> and <bp-asm.h>.
33552 (memcpy): Don't use BP_SYM.
33553 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
33555 (memcpy): Don't use BP_SYM.
33556 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
33558 (memset): Don't use BP_SYM.
33559 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33560 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33561 (__bzero): Don't use BP_SYM.
33562 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33563 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33564 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
33565 <bp-sym.h> and <bp-asm.h>.
33566 (memcmp): Don't use BP_SYM. Remove comment about bounded
33568 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
33569 <bp-sym.h> and <bp-asm.h>.
33570 (memcpy): Don't use BP_SYM.
33571 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
33572 <bp-sym.h> and <bp-asm.h>.
33573 (memset): Don't use BP_SYM.
33574 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33575 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33576 (__bzero): Don't use BP_SYM.
33577 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33578 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33579 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
33580 <bp-sym.h> and <bp-asm.h>.
33581 (strncmp): Don't use BP_SYM. Remove comment about bounded
33583 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
33584 <bp-sym.h> and <bp-asm.h>.
33585 (memcpy): Don't use BP_SYM.
33586 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
33587 <bp-sym.h> and <bp-asm.h>.
33588 (memset): Don't use BP_SYM.
33589 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33590 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33591 (__bzero): Don't use BP_SYM.
33592 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33593 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33594 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
33595 <bp-sym.h> and <bp-asm.h>.
33596 (__memchr): Don't use BP_SYM.
33597 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
33598 <bp-sym.h> and <bp-asm.h>.
33599 (memcmp): Don't use BP_SYM. Remove comment about bounded
33601 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
33602 <bp-sym.h> and <bp-asm.h>.
33603 (memcpy): Don't use BP_SYM.
33604 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
33605 <bp-sym.h> and <bp-asm.h>.
33606 (__mempcpy): Don't use BP_SYM.
33607 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
33608 <bp-sym.h> and <bp-asm.h>.
33609 (__memrchr): Don't use BP_SYM.
33610 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
33611 <bp-sym.h> and <bp-asm.h>.
33612 (memset): Don't use BP_SYM.
33613 (__bzero): Likewise.
33614 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
33615 <bp-sym.h> and <bp-asm.h>.
33616 (__rawmemchr): Don't use BP_SYM.
33617 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
33618 <bp-sym.h> and <bp-asm.h>.
33619 (__STRCMP): Don't use BP_SYM.
33620 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
33621 <bp-sym.h> and <bp-asm.h>.
33622 (strchr): Don't use BP_SYM.
33623 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
33624 <bp-sym.h> and <bp-asm.h>.
33625 (__strchrnul): Don't use BP_SYM.
33626 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
33627 <bp-sym.h> and <bp-asm.h>.
33628 (strlen): Don't use BP_SYM.
33629 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
33630 <bp-sym.h> and <bp-asm.h>.
33631 (strncmp): Don't use BP_SYM. Remove comment about bounded
33633 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
33634 <bp-sym.h> and <bp-asm.h>.
33635 (__strnlen): Don't use BP_SYM.
33636 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
33637 <bp-sym.h> and <bp-asm.h>.
33638 (__GI__setjmp): Don't use BP_SYM.
33639 (_setjmp): Likewise.
33640 (__sigsetjmp): Likewise.
33641 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
33642 (L(start_addresses)): Don't use BP_SYM.
33643 (_start): Likewise.
33644 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
33646 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
33647 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
33648 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33649 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33650 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
33652 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
33653 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
33654 about bounded pointers.
33655 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33656 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33657 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
33659 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
33660 about bounded pointers. Remove GKM FIXME comments.
33661 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33662 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
33664 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
33665 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
33666 Remove GKM FIXME comments.
33667 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33668 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33669 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
33671 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
33672 about bounded pointers. Remove GKM FIXME comment.
33673 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
33675 (strncmp): Don't use BP_SYM. Remove comment about bounded
33677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
33678 <bp-sym.h> and <bp-asm.h>.
33679 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
33681 <bp-sym.h> and <bp-asm.h>.
33682 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
33685 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33687 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
33690 2013-03-05 David S. Miller <davem@davemloft.net>
33692 * po/es.po: Update from translation team.
33694 2013-03-05 Andreas Jaeger <aj@suse.de>
33696 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
33697 <bits/mman-linux.h>.
33698 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33700 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
33701 <bits/mman-linux.h> to end of file.
33702 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33704 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
33705 <bits/mman-linux.h> to end of file.
33706 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33708 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
33709 <bits/mman-linux.h> to end of file.
33711 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
33712 (MCL_CURRENT, MCL_FUTURE): Define here.
33714 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33717 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
33719 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33721 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33723 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
33724 fourth parameter needed for rt_sigprocmask syscall.
33725 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33726 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33727 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
33728 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33729 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33730 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
33732 2013-03-04 Joseph Myers <joseph@codesourcery.com>
33735 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
33736 comment about bounded pointers.
33737 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
33738 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
33740 2013-03-04 Andreas Jaeger <aj@suse.de>
33742 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
33743 common definitions.
33745 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
33746 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
33747 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
33748 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33749 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33750 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33752 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33755 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33756 __ieee754_sqrl instead of __sqrl.
33758 2013-03-01 Joseph Myers <joseph@codesourcery.com>
33760 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
33761 * sysdeps/powerpc/fpu_control.h: ... here.
33762 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
33763 * sysdeps/powerpc/bits/fenvinline.h: ... here.
33764 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
33765 * sysdeps/powerpc/bits/mathinline.h: ... here.
33767 2013-03-01 Roland McGrath <roland@hack.frob.com>
33769 * elf/dl-hwcaps.c (_dl_important_hwcaps):
33770 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
33771 to just [NEED_DL_SYSINFO_DSO].
33772 * elf/dl-support.c: Likewise.
33773 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
33774 * elf/rtld.c (dl_main): Likewise.
33775 * elf/setup-vdso.h (setup_vdso): Likewise.
33776 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
33777 * sysdeps/unix/sysv/linux/dl-sysdep.c
33778 (_dl_discover_osversion): Likewise.
33780 2013-03-01 Carlos O'Donell <carlos@redhat.com>
33782 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
33783 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33785 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
33787 * NEWS: Mention libm performance improvements and non-x86 PI
33790 * csu/libc-start.c (__pthread_initialize_minimal): Change
33791 function arguments.
33792 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33794 2013-02-28 Joseph Myers <joseph@codesourcery.com>
33797 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
33798 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
33799 <bp-sym.h> and <bp-asm.h>.
33800 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33801 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
33803 (memcpy): Don't use BP_SYM.
33804 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
33806 (__mpn_add_n): Don't use BP_SYM.
33807 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
33808 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
33810 (__mpn_addmul_1): Don't use BP_SYM.
33811 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33812 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
33814 (_setjmp): Don't use BP_SYM.
33815 (__novmx_setjmp): Likewise.
33816 (__GI__setjmp): Likewise.
33817 (__vmx_setjmp): Likewise.
33818 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
33820 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
33821 (__bzero): Don't use BP_SYM.
33822 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33823 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33824 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
33825 <bp-sym.h> and <bp-asm.h>.
33826 (memcpy): Don't use BP_SYM.
33827 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
33828 <bp-sym.h> and <bp-asm.h>.
33829 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33830 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
33831 <bp-sym.h> and <bp-asm.h>.
33832 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33833 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
33835 (__mpn_lshift): Don't use BP_SYM.
33836 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33837 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
33839 (memset): Don't use BP_SYM.
33840 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33841 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33842 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
33844 (__mpn_mul_1): Don't use BP_SYM.
33845 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33846 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
33847 <bp-sym.h> and <bp-asm.h>.
33848 (memcmp): Don't use BP_SYM.
33849 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
33850 <bp-sym.h> and <bp-asm.h>.
33851 (memcpy): Don't use BP_SYM.
33852 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
33853 <bp-sym.h> and <bp-asm.h>.
33854 (memset): Don't use BP_SYM.
33855 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
33856 <bp-sym.h> and <bp-asm.h>.
33857 (strncmp): Don't use BP_SYM.
33858 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
33859 <bp-sym.h> and <bp-asm.h>.
33860 (memcpy): Don't use BP_SYM.
33861 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
33862 <bp-sym.h> and <bp-asm.h>.
33863 (memset): Don't use BP_SYM.
33864 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
33865 <bp-sym.h> and <bp-asm.h>.
33866 (__memchr): Don't use BP_SYM.
33867 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
33868 <bp-sym.h> and <bp-asm.h>.
33869 (memcmp): Don't use BP_SYM.
33870 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
33871 <bp-sym.h> and <bp-asm.h>.
33872 (memcpy): Don't use BP_SYM.
33873 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
33874 <bp-sym.h> and <bp-asm.h>.
33875 (__mempcpy): Don't use BP_SYM.
33876 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
33877 <bp-sym.h> and <bp-asm.h>.
33878 (__memrchr): Don't use BP_SYM.
33879 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
33880 <bp-sym.h> and <bp-asm.h>.
33881 (memset): Don't use BP_SYM.
33882 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
33883 <bp-sym.h> and <bp-asm.h>.
33884 (__rawmemchr): Don't use BP_SYM.
33885 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
33886 <bp-sym.h> and <bp-asm.h>.
33887 (__STRCMP): Don't use BP_SYM.
33888 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
33889 <bp-sym.h> and <bp-asm.h>.
33890 (strchr): Don't use BP_SYM.
33891 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
33892 <bp-sym.h> and <bp-asm.h>.
33893 (__strchrnul): Don't use BP_SYM.
33894 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
33895 <bp-sym.h> and <bp-asm.h>.
33896 (strlen): Don't use BP_SYM.
33897 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
33898 <bp-sym.h> and <bp-asm.h>.
33899 (strncmp): Don't use BP_SYM.
33900 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
33901 <bp-sym.h> and <bp-asm.h>.
33902 (__strnlen): Don't use BP_SYM.
33903 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
33905 (__mpn_rshift): Don't use BP_SYM.
33906 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33907 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
33908 <bp-sym.h> and <bp-asm.h>.
33909 (__sigsetjmp): Don't use BP_SYM.
33910 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
33911 (L(start_addresses)): Don't use BP_SYM.
33912 (_start): Likewise.
33913 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
33915 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
33916 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33917 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33918 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
33920 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
33921 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33922 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33923 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
33925 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
33927 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33928 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
33930 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
33932 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33933 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33934 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
33936 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
33938 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
33940 (strncmp): Don't use BP_SYM,
33941 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
33943 (__mpn_sub_n): Don't use BP_SYM.
33944 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33945 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
33947 (__mpn_submul_1): Don't use BP_SYM.
33948 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
33950 <bp-sym.h> and <bp-asm.h>.
33951 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
33953 <bp-sym.h> and <bp-asm.h>.
33954 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
33957 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33959 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
33960 Use ZK to minimize writes to Z.
33961 (sub_magnitudes): Simplify code a bit.
33962 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
33963 Use ZK to minimize writes to Z.
33964 (sub_magnitudes): Simplify code a bit.
33966 2013-02-27 Roland McGrath <roland@hack.frob.com>
33968 * csu/gmon-start.c: Add special exception to license text.
33970 2013-02-27 Richard Henderson <rth@redhat.com>
33972 * scripts/config.guess: Update from config.git.
33973 * scripts/config.sub: Likewise.
33975 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33977 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
33979 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
33981 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
33983 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
33985 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
33987 2013-02-26 Roland McGrath <roland@hack.frob.com>
33989 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
33990 [$(build-shared = yes].
33992 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33994 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
33995 (__mul): Reduce iterations for calculating mantissa.
33997 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
33999 (__mpranred): Likewise.
34002 * malloc/memusagestat.c (main): Draw graphs for heap and stack
34003 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
34005 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
34007 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
34008 Define __attribute__.
34010 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34012 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
34014 * posix/regex_internal.h (__attribute): Remove.
34015 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
34016 (re_string_context_at): Likewise.
34017 (bitset_not): Use __attribute__ and mark function as possibly
34019 (bitset_merge): Likewise.
34020 (bitset_mask): Likewise.
34021 (re_string_char_size_at): Likewise.
34022 (re_string_wchar_at): Likewise.
34023 (re_string_elem_size_at): Likewise.
34025 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34027 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
34031 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
34035 (denorm): Likewise.
34036 (__dbl_mp): Likewise.
34037 (add_magnitudes): Likewise.
34038 (sub_magnitudes): Likewise.
34042 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
34045 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
34048 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
34051 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
34052 up changes with default code.
34053 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
34056 2013-02-24 Allan McRae <allan@archlinux.org>
34058 * manual/socket.texi (The Internet Namespace): Order menu items
34059 to match that in the file.
34061 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
34062 node listing of the info page menu.
34064 2013-02-21 Joseph Myers <joseph@codesourcery.com>
34067 * sysdeps/i386/bp-asm.h: Remove file.
34068 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34069 (PARMS): Do not use macros from bp-asm.h.
34073 (__mpn_add_n): Do not use BP_SYM
34074 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
34076 (PARMS): Do not use macros from bp-asm.h.
34079 (__mpn_addmul_1): Do not use BP_SYM
34080 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
34082 (PARMS): Do not use macros from bp-asm.h.
34083 (SIGMSK): Likewise.
34084 (_setjmp): Likewise. Do not use BP_SYM.
34085 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
34087 (PARMS): Do not use macros from bp-asm.h.
34088 (SIGMSK): Likewise.
34089 (setjmp): Likewise. Do not use BP_SYM.
34090 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
34092 (PARMS): Do not use macros from bp-asm.h.
34093 (__frexp): Do not use BP_SYM.
34095 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
34097 (PARMS): Do not use macros from bp-asm.h.
34098 (__frexpf): Do not use BP_SYM.
34099 (frexpf): Likewise.
34100 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
34102 (PARMS): Do not use macros from bp-asm.h.
34103 (__frexpl): Do not use BP_SYM.
34104 (frexpl): Likewise.
34105 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
34107 (PARMS): Do not use macros from bp-asm.h.
34108 (__remquo): Do not use BP_SYM.
34109 (remquo): Likewise.
34110 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
34112 (PARMS): Do not use macros from bp-asm.h.
34113 (__remquof): Do not use BP_SYM.
34114 (remquof): Likewise.
34115 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
34117 (PARMS): Do not use macros from bp-asm.h.
34118 (__remquol): Do not use BP_SYM.
34119 (remquol): Likewise.
34120 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
34122 (PARMS): Do not use macros from bp-asm.h.
34125 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
34126 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
34128 (PARMS): Do not use macros from bp-asm.h.
34129 (strlen): Do not use BP_SYM.
34130 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
34132 (PARMS): Do not use macros from bp-asm.h.
34136 (__mpn_add_n): Do not use BP_SYM.
34137 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
34139 (PARMS): Do not use macros from bp-asm.h.
34142 (__mpn_addmul_1): Do not use BP_SYM.
34143 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
34146 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
34148 (PARMS): Do not use macros from bp-asm.h.
34151 (__mpn_lshift): Do not use BP_SYM.
34152 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
34154 (PARMS): Do not use macros from bp-asm.h.
34158 (memcpy): Likewise. Do not use BP_SYM.
34159 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
34160 libc_hidden_def and weak_alias.
34161 (mempcpy): Do not use BP_SYM in weak_alias.
34162 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
34164 (PARMS): Do not use macros from bp-asm.h.
34167 [!BZERO_P] (CHR): Likewise.
34168 (memset): Likewise. Do not use BP_SYM.
34169 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
34171 (PARMS): Do not use macros from bp-asm.h.
34174 (__mpn_mul_1): Do not use BP_SYM.
34175 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
34177 (PARMS): Do not use macros from bp-asm.h.
34180 (__mpn_rshift): Do not use BP_SYM.
34181 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
34183 (PARMS): Do not use macros from bp-asm.h.
34186 (strchr): Likewise. Do not use BP_SYM.
34187 (index): Do not use BP_SYM in weak_alias.
34188 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
34190 (PARMS): Do not use macros from bp-asm.h.
34193 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
34194 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
34196 (PARMS): Do not use macros from bp-asm.h.
34197 (strlen): Do not use BP_SYM.
34198 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
34200 (PARMS): Do not use macros from bp-asm.h.
34204 (__mpn_sub_n): Do not use BP_SYM.
34205 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
34207 (PARMS): Do not use macros from bp-asm.h.
34210 (__mpn_submul_1): Do not use BP_SYM.
34211 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
34213 (PARMS): Do not use macros from bp-asm.h.
34217 (__mpn_add_n): Do not use BP_SYM.
34218 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
34221 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
34223 (PARMS): Do not use macros from bp-asm.h.
34226 (memcmp): Do not use BP_SYM.
34227 (bcmp): Do not use BP_SYM in weak_alias.
34228 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
34230 (PARMS): Do not use macros from bp-asm.h.
34234 (memcpy): Likewise. Do not use BP_SYM.
34235 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
34237 (PARMS): Do not use macros from bp-asm.h.
34241 (memmove): Likewise. Do not use BP_SYM.
34242 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
34244 (PARMS): Do not use macros from bp-asm.h.
34248 (__mempcpy): Likewise. Do not use BP_SYM.
34249 (mempcpy): Do not use BP_SYM in weak_alias.
34250 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
34252 (PARMS): Do not use macros from bp-asm.h.
34255 [!BZERO_P] (CHR): Likewise.
34256 (memset): Likewise. Do not use BP_SYM.
34257 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
34259 (PARMS): Do not use macros from bp-asm.h.
34261 (strcmp): Do not use BP_SYM.
34262 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
34264 (PARMS): Do not use macros from bp-asm.h.
34267 [USE_AS_STRTOK_R] (SAVE): Likewise.
34268 (FUNCTION): Likewise. Do not use BP_SYM.
34269 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
34271 (strtok_r): Likewise.
34272 (__GI___strtok_r): Likewise.
34273 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34274 (PARMS): Do not use macros from bp-asm.h.
34277 (__mpn_lshift): Do not use BP_SYM.
34278 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34279 (PARMS): Do not use macros from bp-asm.h.
34282 (__memchr): Do not use BP_SYM.
34283 (memchr): Do not use BP_SYM in weak_alias.
34284 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34285 (PARMS): Do not use macros from bp-asm.h.
34288 (memcmp): Do not use BP_SYM.
34289 (bcmp): Do not use BP_SYM in weak_alias.
34290 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
34291 (PARMS): Do not use macros from bp-asm.h.
34294 (__mpn_mul_1): Do not use BP_SYM.
34295 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
34297 (PARMS): Do not use macros from bp-asm.h.
34300 (__rawmemchr): Do not use BP_SYM.
34301 (rawmemchr): Do not use BP_SYM in weak_alias.
34302 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34303 (PARMS): Do not use macros from bp-asm.h.
34306 (__mpn_rshift): Do not use BP_SYM.
34307 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34308 (PARMS): Do not use macros from bp-asm.h.
34309 (SIGMSK): Likewise.
34310 (__sigsetjmp): Likewise. Do not use BP_SYM.
34311 * sysdeps/i386/start.S: Do not include "bp-sym.h".
34312 (_start): Do not use BP_SYM.
34313 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
34314 (PARMS): Do not use macros from bp-asm.h.
34317 (__stpcpy): Likewise. Do not use BP_SYM.
34318 (stpcpy): Do not use BP_SYM in weak_alias.
34319 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
34321 (PARMS): Do not use macros from bp-asm.h.
34325 (__stpncpy): Likewise. Do not use BP_SYM.
34326 (stpncpy): Do not use BP_SYM in weak_alias.
34327 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34328 (PARMS): Do not use macros from bp-asm.h.
34331 (strchr): Likewise. Do not use BP_SYM.
34332 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
34334 (PARMS): Do not use macros from bp-asm.h.
34337 (__strchrnul): Likewise. Do not use BP_SYM.
34338 (strchrnul): Do not use BP_SYM in weak_alias.
34339 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
34341 (PARMS): Do not use macros from bp-asm.h.
34343 (strcspn): Do not use BP_SYM.
34344 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
34346 (PARMS): Do not use macros from bp-asm.h.
34349 (strpbrk): Likewise. Do not use BP_SYM.
34350 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
34352 (PARMS): Do not use macros from bp-asm.h.
34355 (strrchr): Likewise. Do not use BP_SYM.
34356 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
34357 (PARMS): Do not use macros from bp-asm.h.
34359 (strspn): Do not use BP_SYM.
34360 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
34361 (PARMS): Do not use macros from bp-asm.h.
34365 (FUNCTION): Likewise. Do not use BP_SYM.
34366 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
34368 (strtok_r): Likewise.
34369 (__GI___strtok_r): Likewise.
34370 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34371 (PARMS): Do not use macros from bp-asm.h.
34375 (__mpn_sub_n): Do not use BP_SYM.
34376 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
34378 (PARMS): Do not use macros from bp-asm.h.
34381 (__mpn_submul_1): Do not use BP_SYM.
34382 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
34384 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
34386 (PARMS): Do not use macros from bp-asm.h.
34391 (__clone): Do not use BP_SYM.
34392 (clone): Do not use BP_SYM in weak_alias.
34393 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
34395 (PARMS): Do not use macros from bp-asm.h.
34397 (__mmap64): Do not use BP_SYM.
34398 (mmap64): Do not use BP_SYM in weak_alias.
34399 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34400 <bp-sym.h> and <bp-asm.h>.
34401 (PARMS): Do not use macros from bp-asm.h.
34402 (__posix_fadvise64_l64): Do not use BP_SYM.
34403 * sysdeps/unix/sysv/linux/i386/semtimedop.S
34404 (PARMS): Do not use macros from bp-asm.h.
34406 (semtimedop): Do not use BP_SYM.
34407 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
34410 2013-02-21 Allan McRae <allan@archlinux.org>
34412 * manual/message.texi (Charset conversion in gettext):
34413 Move @end statement to beginning of line.
34415 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34417 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
34419 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34422 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
34423 (denorm): Likewise.
34424 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
34425 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
34427 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34429 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
34430 tail-call to the resolved function if pltexit isn't needed.
34432 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34434 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
34435 or Y being zero as being unlikely.
34436 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34439 2013-02-20 Carlos O'Donell <carlos@redhat.com>
34441 * manual/nss.texi (System Databases and Name Service Switch):
34442 Remove frobnicate @pxref.
34444 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
34446 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34447 __attribute__ ((unused)) to __attribute__ ((__unused__)).
34449 2013-02-20 Petr Machata <pmachata@redhat.com>
34451 * elf/elf.h (R_ARM_TARGET1): New macro.
34452 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
34453 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
34454 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
34455 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
34456 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
34457 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
34458 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
34459 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
34460 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
34461 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
34462 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
34463 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
34464 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
34465 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
34466 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
34467 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
34468 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
34469 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
34470 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
34471 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
34472 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
34473 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
34474 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
34475 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
34476 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
34477 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
34478 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
34479 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
34480 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
34481 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
34482 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
34483 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
34484 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
34485 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
34486 (R_ARM_THM_GOT_BREL12): Likewise.
34487 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
34488 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
34489 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
34490 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
34491 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
34492 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
34493 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
34494 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
34495 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
34497 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
34499 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34500 __attribute_used__ to __attribute__ ((unused)).
34502 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34504 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
34506 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
34507 comment formatting.
34508 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
34510 2013-02-19 Joseph Myers <joseph@codesourcery.com>
34513 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
34515 (ENTER): Remove both macro definitions.
34517 (CHECK_BOUNDS_LOW): Likewise.
34518 (CHECK_BOUNDS_HIGH): Likewise.
34519 (CHECK_BOUNDS_BOTH): Likewise.
34520 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
34521 (RETURN_BOUNDED_POINTER): Likewise.
34522 (RETURN_NULL_BOUNDED_POINTER): Likewise.
34523 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
34524 (POP_ERRNO_LOCATION_RETURN): Likewise.
34525 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
34526 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34527 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
34529 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34530 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
34531 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
34532 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
34533 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
34534 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
34535 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
34536 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
34537 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
34538 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
34539 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
34540 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
34541 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34542 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
34544 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34545 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
34547 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34548 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
34549 * sysdeps/i386/i586/memset.S (memset): Likewise.
34550 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
34551 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34552 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
34554 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34555 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
34556 Change uses of L(2) to L(out).
34557 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
34558 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
34559 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
34560 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34561 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
34563 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34564 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
34566 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34567 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
34568 (RETURN): Do not use macro LEAVE.
34569 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
34570 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
34571 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
34572 * sysdeps/i386/i686/memset.S (memset): Likewise.
34573 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
34574 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
34575 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34576 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
34578 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34579 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
34580 L(1_2) and L(1_3) into L(1).
34581 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34582 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
34583 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34584 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
34585 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34586 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
34587 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
34588 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34589 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
34591 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
34592 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34593 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
34594 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
34595 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
34596 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34597 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
34598 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
34599 * sysdeps/i386/strcspn.S (strcspn): Likewise.
34600 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
34601 * sysdeps/i386/strrchr.S (strrchr): Likewise.
34602 * sysdeps/i386/strspn.S (strspn): Likewise.
34603 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
34605 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34606 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
34607 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34608 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
34609 L(1_3) into L(1_1).
34610 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
34611 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34612 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
34614 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34616 2013-02-19 Jakub Jelinek <jakub@redhat.com>
34618 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
34621 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34623 * math/atest-exp.c (exp_mpn): Remove ROUND.
34624 * math/atest-exp2.c (exp_mpn): Likewise.
34625 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
34627 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
34628 * stdlib/tst-tls-atexit-lib.c: Likewise.
34629 * stdlib/tst-tls-atexit.c: Likewise.
34631 2013-02-18 Mike Frysinger <vapier@gentoo.org>
34633 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
34634 and __attribute_alloc_size__.
34636 2013-02-18 Mike Frysinger <vapier@gentoo.org>
34638 * include/programs/xmalloc.h: Change __attribute_alloc_size to
34639 __attribute_alloc_size__.
34640 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
34641 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
34643 2013-02-18 Mike Frysinger <vapier@gentoo.org>
34645 * include/programs/xmalloc.h: New file.
34646 * catgets/gencat.c: Include it.
34647 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
34648 * elf/pldd.c: Likewise.
34649 * iconv/iconv_charmap.c: Likewise.
34650 * iconv/iconvconfig.c: Likewise.
34651 * iconv/strtab.c: Likewise.
34652 * locale/programs/locale.c: Likewise.
34653 * locale/programs/localedef.h: Likewise.
34654 * locale/programs/simple-hash.c: Likewise.
34655 * nscd/nscd.h: Likewise.
34656 * nss/makedb.c: Likewise.
34657 * sysdeps/generic/ldconfig.h: Likewise.
34659 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34661 * Versions.def: Add GLIBC_2.18.
34662 * include/link.h (struct link_map): New member l_tls_dtor_count.
34663 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
34664 (__call_tls_dtors): Likewise.
34665 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
34666 __cxa_thread_atexit_impl.
34667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34675 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34676 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
34678 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
34680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34681 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34683 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
34684 (tests): Add test case tst-tls-atexit.
34685 (modules-names): Add shared library for tst-tls-atexit.
34686 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
34687 (GLIBC_PRIVATE): Add __call_tls_dtors.
34688 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
34690 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
34691 * stdlib/tst-tls-atexit.c: New test case.
34692 * stdlib/tst-tls-atexit-lib.c: New test case.
34694 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
34696 * elf/Versions (ld): Add _dl_find_dso_for_object.
34697 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
34698 * elf/dl-open.c (_dl_find_dso_for_object): New function.
34699 (dl_open_worker): Use _dl_find_dso_for_object.
34700 * elf/dl-sym.c (do_sym): Likewise.
34701 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
34703 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34705 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
34706 Syntactic changes only.
34707 (_dl_runtime_profile): Do a tail-call to the resolved function.
34709 2013-02-17 Joseph Myers <joseph@codesourcery.com>
34712 * sysdeps/x86_64/bp-asm.h: Remove file.
34713 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
34714 <bp-sym.h> and <bp-asm.h>.
34715 (__clone): Do not use BP_SYM.
34716 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
34717 <bp-sym.h> and <bp-asm.h>.
34718 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34719 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
34721 (_setjmp): Do not use BP_SYM.
34722 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
34724 (setjmp): Do not use BP_SYM.
34725 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
34727 (mempcpy): Do not use BP_SYM in weak_alias.
34728 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
34730 (strchr): Do not use BP_SYM.
34731 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
34733 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
34734 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
34735 (_start): Do not use BP_SYM.
34736 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
34738 (strcat): Do not use BP_SYM.
34739 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
34741 (STRCMP): Do not use BP_SYM.
34742 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
34744 (STRCPY): Do not use BP_SYM.
34745 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
34747 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
34749 (FUNCTION): Do not use BP_SYM.
34750 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
34752 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
34754 2013-02-17 Andreas Jaeger <aj@suse.de>
34756 * time/Versions: Sort entries.
34757 * string/Versions: Likewise.
34758 * resolv/Versions: Likewise.
34759 * posix/Versions: Likewise.
34760 * iconv/Versions: Likewise.
34761 * elf/Versions: Likewise.
34762 * wcsmbs/Versions: Likewise.
34764 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34766 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
34767 loop termination condition.
34769 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
34770 variable to calculate EZ.
34773 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
34774 the lower precision input.
34776 2013-02-15 Joseph Myers <joseph@codesourcery.com>
34779 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
34780 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
34781 (run-via-rtld-prefix): Do not handle %-bp tests.
34782 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
34783 (all-object-suffixes): Remove .ob.
34784 (bppfx): Remove variable.
34785 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
34786 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
34787 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
34788 [$(build-bounded) = yes] (libtype.ob): Likewise.
34789 * Makerules (elide-routines.ob): Remove variable.
34790 (do-tests-clean): Do not handle *-bp.out.
34791 (common-mostlyclean): Do not handle *-bp and *-bp.out.
34792 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
34793 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
34794 (tests): Do not include $(tests-bp.out).
34795 (xtests): Do not include $(xtests-bp.out).
34796 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
34797 [$(build-bounded) = yes] ($(addprefix
34798 $(objpfx),$(binaries-bounded))): Remove rule.
34799 ($(objpfx)%-bp.out): Remove rule.
34800 * config.make.in (build-bounded): Remove variable.
34801 * crypt/Makefile [$(build-bounded) = yes]
34802 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
34803 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
34804 append to variable.
34805 [$(build-bounded) = yes] (install-lib): Likewise.
34806 [$(build-bounded) = yes] (generated): Likewise.
34807 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
34809 * intl/Makefile [$(build-bounded) = yes]
34810 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
34811 * math/Makefile [$(build-bounded) = yes]
34812 ($(tests:%=$(objpfx)%-bp): Likewise.
34813 * misc/Makefile [$(build-bounded) = yes]
34814 ($(objpfx)tst-tsearch-bp): Likewise.
34815 * nptl/Makeconfig (bounded-thread-library): Remove variable.
34816 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
34818 * string/Makefile (o-objects.ob): Remove variable.
34819 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
34820 (CFLAGS-.ob): Remove variable.
34821 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
34822 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
34823 both definitions of variable.
34824 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
34825 (ASFLAGS-.ob): Remove variable.
34827 2013-02-14 Joseph Myers <joseph@codesourcery.com>
34830 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
34831 Remove __BOUNDED_POINTERS__ from condition.
34832 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
34833 * string/bits/string2.h [!__NO_STRING_INLINES &&
34834 !__BOUNDED_POINTERS__]: Likewise.
34835 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
34837 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
34838 Remove conditional code.
34839 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
34840 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
34841 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
34845 * csu/libc-start.c: Do not include <bp-sym.h>.
34846 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
34847 * elf/dl-open.c: Do not include <bp-sym.h>.
34848 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
34849 * math/fegetenv.c: Do not include <bp-sym.h>.
34850 (fegetenv): Do not use BP_SYM in versioned symbols.
34851 * nptl/sysdeps/pthread/bits/libc-lockP.h
34852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
34854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34855 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
34856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34857 (__pthread_mutex_destroy): Likewise.
34858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34859 (__pthread_mutex_lock): Likewise.
34860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34861 (__pthread_mutex_trylock): Likewise.
34862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34863 (__pthread_mutex_unlock): Likewise.
34864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34865 (__pthread_mutexattr_init): Likewise.
34866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34867 (__pthread_mutexattr_destroy): Likewise.
34868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34869 (__pthread_mutexattr_settype): Likewise.
34870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34871 (__pthread_rwlock_init): Likewise.
34872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34873 (__pthread_rwlock_destroy): Likewise.
34874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34875 (__pthread_rwlock_rdlock): Likewise.
34876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34877 (__pthread_rwlock_tryrdlock): Likewise.
34878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34879 (__pthread_rwlock_wrlock): Likewise.
34880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34881 (__pthread_rwlock_trywrlock): Likewise.
34882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34883 (__pthread_rwlock_unlock): Likewise.
34884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34885 (__pthread_key_create): Likewise.
34886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34887 (__pthread_setspecific): Likewise.
34888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34889 (__pthread_getspecific): Likewise.
34890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
34892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34893 (_pthread_cleanup_push_defer): Likewise.
34894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34895 (_pthread_cleanup_pop_restore): Likewise.
34896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34897 (pthread_setcancelstate): Likewise.
34898 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
34900 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
34901 (memchr): Do not use BP_SYM in weak_alias.
34902 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
34903 (fegetenv): Do not use BP_SYM in versioned symbols.
34904 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
34905 (fesetenv): Do not use BP_SYM in versioned symbols.
34906 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34907 (feupdateenv): Do not use BP_SYM in versioned symbols.
34908 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34909 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34910 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
34911 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
34912 (open64): Do not use BP_SYM in weak_alias.
34913 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
34914 (fegetenv): Do not use BP_SYM in versioned symbols.
34915 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
34916 (fesetenv): Do not use BP_SYM in versioned symbols.
34917 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34918 (feupdateenv): Do not use BP_SYM in versioned symbols.
34919 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
34920 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
34921 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
34922 (feraiseexcept): Do not use BP_SYM in versioned symbols.
34923 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34924 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34925 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
34927 (__libc_start_main): Do not use BP_SYM.
34929 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34931 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
34932 redundant return line.
34934 (denorm): Likewise.
34935 (dbl_mp): Likewise.
34936 (sub_magnitudes): Likewise.
34942 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
34944 (denorm): Likewise.
34945 (dbl_mp): Likewise.
34946 (sub_magnitudes): Likewise.
34953 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
34955 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34956 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
34959 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
34960 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
34961 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
34962 of __mul for squares.
34963 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
34965 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
34967 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
34968 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34970 2013-02-13 Joseph Myers <joseph@codesourcery.com>
34973 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
34975 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
34976 prototype or function definition. Rename ubp_* variables and
34977 parameters. Remove argv definitions conditional on
34978 [__BOUNDED_POINTERS__].
34979 * debug/backtrace.c (__backtrace): Do not use __unbounded.
34980 * elf/dl-runtime.c (_dl_fixup): Likewise.
34981 * include/set-hooks.h (RUN_HOOK): Likewise.
34982 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
34984 * string/strcpy.c (strcpy): Do not use __unbounded.
34985 * sysdeps/generic/frame.h (struct layout): Likewise.
34986 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
34987 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
34988 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
34989 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
34990 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
34991 (__backtrace): Likewise.
34992 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
34994 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
34995 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
34996 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
34998 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
34999 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
35000 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
35001 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35002 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
35003 Do not use __unbounded.
35004 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
35005 Rename __unboundedrlimits parameter to rlimits in prototype.
35006 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
35007 Do not use __unbounded.
35008 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
35009 not use __ptrvalue.
35010 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35011 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
35012 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35013 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
35014 __ptrvalue or __unbounded.
35015 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
35016 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
35018 (__new_msgctl): Do not use __ptrvalue.
35019 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
35021 (__libc_msgrcv): Do not use __ptrvalue.
35022 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
35023 startup_info): Do not use __unbounded.
35024 (__libc_start_main): Likewise. Rename ubp_* variables and
35025 parameters. Remove argv definitions conditional on
35026 [__BOUNDED_POINTERS__].
35027 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
35029 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
35031 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
35033 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
35035 (__new_shmctl): Do not use __ptrvalue.
35036 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
35037 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
35039 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
35040 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
35041 (__libc_sigaction): Likewise.
35042 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
35043 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
35045 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35047 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
35049 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
35051 * string/mempcpy.c: Implement by calling memcpy.
35053 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
35055 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
35057 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
35060 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
35061 values in the mantissa.
35063 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
35064 minimize writes to Z.
35065 (sub_magnitudes): Simplify code a bit.
35067 2013-02-12 Roland McGrath <roland@hack.frob.com>
35069 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
35070 from the message. The linker prefixes all warnings with that already.
35072 2013-02-12 Andreas Schwab <schwab@suse.de>
35075 * posix/regexec.c (extend_buffers): Add parameter min_len.
35076 (check_matching): Pass minimum needed length.
35077 (clean_state_log_if_needed): Likewise.
35078 (get_subexp): Likewise.
35079 * posix/Makefile (tests): Add bug-regex34.
35080 (bug-regex34-ENV): Define.
35081 * posix/bug-regex34.c: New file.
35084 * posix/regcomp.c (parse_bracket_exp): When looking up collating
35085 elements compare against the byte sequence of it, not its name.
35086 * posix/Makefile (tests): Add bug-regex35.
35087 (bug-regex35-ENV): Define.
35088 * posix/bug-regex35.c: New file.
35090 2013-02-11 Tom de Vries <tom@codesourcery.com>
35092 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
35094 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
35095 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
35096 (CHECK_EOL): Add undef.
35098 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
35100 * bits/stdlib-bsearch.h: New file.
35101 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
35102 * stdlib/stdlib.h: Likewise.
35104 2013-02-11 Roland McGrath <roland@hack.frob.com>
35106 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
35107 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
35109 * manual/search.texi (Array Search Function): Add missing const in
35111 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
35112 declaration to use rlim_t.
35113 (Basic Scheduling Functions): Remove erroneous const from
35114 sched_getparam prototype. Remove erroneous * from
35115 sched_get_priority_max and sched_get_priority_min prototypes.
35116 (Resource Usage): Fix summary @comment on vtimes to refer to
35117 sys/vtimes.h rather than vtimes.h.
35118 Add missing *s in vtimes prototype.
35119 (Limits on Resources): Fix ulimit prototype to return long int.
35120 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
35121 prototypes to use long int rather than double.
35122 (BSD Random): Fix initstate and setstate to use char *, not void *.
35123 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
35124 prototype to make second argument 'struct aiocb64 *const[]'.
35125 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
35126 (Status of AIO Operations): Remove erroneous const in aio_return and
35127 aio_return64 prototypes.
35128 (Synchronizing I/O): Fix sync prototype to return void.
35129 * manual/startup.texi (Suboptions): Remove an erroneous const in
35130 getsubopt prototype.
35131 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
35132 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
35133 use size_t rather than int.
35134 (Scanning All Users): Likewise for getpwent_r.
35135 (Setting Groups): Add missing const to setgroups prototype.
35136 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
35137 * manual/socket.texi (Host Names): Fix gethostbyaddr and
35138 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
35139 'const void *' rather than 'const char *'.
35140 (Host Address Functions): Likewise for inet_ntop.
35141 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
35142 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
35143 ssize_t for return value.
35144 (Sending Data): Likewise for send, sendto, sendmsg.
35145 (Socket Option Functions): Add a missing const in setsockopt prototype.
35146 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
35147 use wchar_t for the argument.
35148 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
35149 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
35151 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
35152 double/float/long double for second argument.
35153 Fix return types of significand, significandf, significandl.
35154 * manual/filesys.texi (Setting Permissions): Use mode_t for second
35155 argument in fchmod prototype.
35156 (File Owner): Use uid_t and gid_t in fchown prototype.
35157 (File Times): Add const to utimes, futimes, and lutimes prototypes.
35158 (Making Special Files): Use mode_t and dev_t in mknod prototype.
35159 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
35160 use 'const struct dirent **' as argument types to CMP function pointer
35162 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
35163 (File Times): Fix summary magic @comment for struct utimbuf and utime
35164 to refer to utime.h, not time.h.
35165 * manual/string.texi (Argz Functions): Add missing const in
35166 argz_extract and argz_next prototypes.
35167 (Finding Tokens in a String): Likewise for basename.
35168 (String/Array Comparison): Fix typo in wcscasecmp prototype.
35169 (Copying and Concatenation): Fix typo in wmemmove prototype.
35170 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
35171 (Signal Stack): Remove erroneous const in sigstack prototype.
35172 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
35174 (Simple Calendar Time): Likewise for stime.
35175 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
35177 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
35178 say sys/sysctl.h instead.
35179 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
35180 and vsyslog prototypes.
35182 2013-02-11 Tom de Vries <tom@codesourcery.com>
35184 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
35187 2013-02-11 Roland McGrath <roland@hack.frob.com>
35189 * misc/sys/mman.h: Fix typo in mremap comment.
35191 2013-02-08 Roland McGrath <roland@hack.frob.com>
35193 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
35194 the '\0' terminator.
35196 2013-02-08 Joseph Myers <joseph@codesourcery.com>
35199 * debug/segfault.c: Don't include <bp-checks.h>.
35200 * sysdeps/generic/bp-checks.h: Remove file.
35201 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
35202 (__GETDENTS): Don't use CHECK_N.
35203 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
35204 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
35205 (__getgroups): Don't use CHECK_N.
35206 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
35207 (setgroups): Don't use CHECK_N.
35208 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
35209 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
35210 (__libc_msgrcv): Don't use CHECK_N.
35211 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
35212 (__libc_msgsnd): Don't use CHECK_N.
35213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
35215 (__libc_pread): Don't use CHECK_N.
35216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
35217 include <bp-checks.h>.
35218 (__libc_pread64): Don't use CHECK_N.
35219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
35220 include <bp-checks.h>.
35221 (__libc_pwrite): Don't use CHECK_N.
35222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
35223 include <bp-checks.h>.
35224 (__libc_pwrite64): Don't use CHECK_N.
35225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
35227 (__libc_pread): Don't use CHECK_N.
35228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
35229 include <bp-checks.h>.
35230 (__libc_pread64): Don't use CHECK_N.
35231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
35232 include <bp-checks.h>.
35233 (__libc_pwrite): Don't use CHECK_N.
35234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
35235 include <bp-checks.h>.
35236 (__libc_pwrite64): Don't use CHECK_N.
35237 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
35238 (do_pread): Don't use CHECK_N.
35239 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
35240 (do_pread64): Don't use CHECK_N.
35241 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
35242 (do_pwrite): Don't use CHECK_N.
35243 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
35244 (do_pwrite64): Don't use CHECK_N.
35245 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
35246 (__libc_readv): Don't use CHECK_N.
35247 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
35248 (semop): Don't use CHECK_N.
35249 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
35251 (semtimedop): Don't use CHECK_N.
35252 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
35253 (__libc_pread): Don't use CHECK_N.
35254 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
35256 (__libc_pread64): Don't use CHECK_N.
35257 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
35259 (__libc_pwrite): Don't use CHECK_N.
35260 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
35262 (__libc_pwrite64): Don't use CHECK_N.
35263 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
35265 (__libc_msgrcv): Don't use CHECK_N.
35266 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
35267 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
35268 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
35269 (__libc_writev): Don't use CHECK_N.
35271 2013-02-08 Roland McGrath <roland@hack.frob.com>
35273 * string/strcpy.c: Removed unused variable.
35275 * Makeconfig (+sysdep-includes): Define with := rather than =.
35276 Use an existing include/ subdir of each sysdeps dir before it.
35278 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35280 * nscd/connection.c (register_traced_file): Comment function.
35281 [HAVE_INOTIFY] (union __inev): Define.
35282 [HAVE_INOTIFY] (inotify_check_files): New function.
35283 [HAVE_INOTIFY] (clear_db_cache): Likewise.
35284 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
35286 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
35288 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35290 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
35291 loaded if not already and that a failure is permanent.
35293 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35296 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
35297 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
35299 2013-02-08 Joseph Myers <joseph@codesourcery.com>
35302 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
35303 (CHECK_1_NULL_OK): Likewise.
35304 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
35305 (__fxstat): Do not use CHECK_1.
35306 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
35308 (___fxstat64): Do not use CHECK_1.
35309 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
35311 (__fxstatat): Do not use CHECK_1.
35312 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
35314 (__fxstatat64): Do not use CHECK_1.
35315 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
35317 (__fxstat): Do not use CHECK_1.
35318 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
35320 (__fxstatat): Do not use CHECK_1.
35321 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35323 (__getresgid): Do not use CHECK_1.
35324 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35326 (__getresuid): Do not use CHECK_1.
35327 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
35329 (__lxstat): Do not use CHECK_1.
35330 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35332 (__old_msgctl): Do not use CHECK_1.
35333 (__new_msgctl): Likewise.
35334 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
35336 (__new_setrlimit): Do not use CHECK_1.
35337 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35339 (__old_shmctl): Do not use CHECK_1.
35340 (__new_shmctl): Likewise.
35341 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
35343 (__xstat): Do not use CHECK_1.
35344 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
35345 (__lxstat): Do not use CHECK_1.
35346 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
35348 (___lxstat64): Do not use CHECK_1.
35349 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
35350 (__old_msgctl): Do not use CHECK_1.
35351 (__new_msgctl): Likewise.
35352 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
35354 (__gettimeofday): Do not use CHECK_1.
35355 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
35356 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
35357 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
35359 (__gettimeofday): Do not use CHECK_1.
35360 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
35361 (__old_shmctl): Do not use CHECK_1_NULL_OK.
35362 (__new_shmctl): Do not use CHECK_1.
35363 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
35365 (do_sigtimedwait): Do not use CHECK_1.
35366 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
35368 (do_sigwaitinfo): Do not use CHECK_1.
35369 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
35371 (msgctl): Do not use CHECK_1.
35372 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
35374 (shmctl): Do not use CHECK_1.
35375 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
35376 (ustat): Do not use CHECK_1.
35377 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
35379 (__fxstat): Do not use CHECK_1.
35380 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
35382 (__fxstatat): Do not use CHECK_1.
35383 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
35385 (__lxstat): Do not use CHECK_1.
35386 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
35388 (__xstat): Do not use CHECK_1.
35389 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
35390 (__xstat): Do not use CHECK_1.
35391 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
35392 (___xstat64): Do not use CHECK_1.
35395 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
35397 (CHECK_BOUNDS_HIGH): Likewise.
35398 * string/strcpy.c: Do not include <bp-checks.h>.
35399 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
35401 2013-02-07 Roland McGrath <roland@hack.frob.com>
35403 * nscd/nscd-client.h (__nscd_drop_map_ref):
35404 Add __attribute__ ((unused)).
35405 * nis/nss-nisplus.h (niserr2nss): Likewise.
35407 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
35408 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
35410 * csu/libc-tls.c (init_static_tls, init_slotinfo):
35411 Remove inline keyword.
35412 * include/rounding-mode.h (round_away): Likewise.
35413 * libio/wfileops.c (adjust_wide_data): Likewise.
35414 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
35415 (__m128i_strloadu_tolower): Likewise.
35416 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
35417 (__m128i_strloadu_tolower): Likewise.
35418 * time/mktime.c (ydhms_diff): Likewise.
35419 * locale/elem-hash.h (elem_hash): Likewise.
35420 * locale/setlocale.c (setdata): Likewise.
35421 * posix/regex_internal.h (re_string_char_size_at): Likewise.
35422 (re_string_wchar_at): Likewise.
35423 (bitset_not, bitset_merge, bitset_mask): Likewise.
35424 [!(__GNUC__ > 3)] (inline): Remove macro.
35425 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
35426 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
35427 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
35428 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
35429 * string/memcmp.c (memcmp_bytes): Likewise.
35430 * locale/programs/locarchive.c (compute_hashval): Likewise.
35431 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
35432 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
35433 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
35434 * nss/getent.c (print_rpc, print_protocols): Likewise.
35435 (print_passwd, print_group, print_aliases): Likewise.
35436 * nis/nss-nisplus.h (niserr2nss): Likewise.
35437 * nscd/connections.c (restart_p): Likewise.
35438 Change return type to bool.
35440 2013-02-05 Roland McGrath <roland@hack.frob.com>
35442 * Makeconfig (all-Depend-files): Add existing
35443 $(sorted-subdirs:=/Depend) files.
35444 (all-subdirs): Remove nss.
35445 * sysdeps/unix/inet/Subdirs: Add it here instead.
35446 * hesiod/Depend: New file.
35448 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
35449 instead of calling alloca.
35451 * io/lseek.c (__lseek): Rename to __libc_lseek.
35452 Define __lseek as an alias.
35454 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
35456 2013-02-04 Carlos O'Donell <carlos@redhat.com>
35458 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
35459 else clause and remove check for non-standard endianness.
35461 2013-02-04 David S. Miller <davem@davemloft.net>
35463 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35465 2013-02-04 Joseph Myers <joseph@codesourcery.com>
35468 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
35469 (__ubp_memchr): Remove prototype.
35470 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
35471 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35472 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
35473 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35474 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
35476 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
35477 (__ubp_memchr): Likewise.
35478 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
35479 (__ubp_memchr): Likewise.
35480 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
35481 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
35482 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
35483 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
35485 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
35486 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
35487 (__getcwd): Do not use CHECK_STRING.
35488 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35490 (__real_chown): Do not use CHECK_STRING.
35491 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
35493 (fchownat): Do not use CHECK_STRING.
35494 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
35496 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35498 (__lchown): Do not use CHECK_STRING.
35499 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35500 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35501 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35502 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
35503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35504 include <bp-checks.h>.
35505 (truncate64): Do not use CHECK_STRING.
35506 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35508 (__real_chown): Do not use CHECK_STRING.
35509 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35511 (__lchown): Do not use CHECK_STRING.
35512 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35514 (__chown): Do not use CHECK_STRING.
35515 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
35517 (truncate64): Do not use CHECK_STRING.
35518 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
35520 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
35521 (__xmknod): Do not use CHECK_STRING.
35522 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
35524 (__xmknodat): Do not use CHECK_STRING.
35525 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35526 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
35528 2013-02-04 Andreas Schwab <schwab@suse.de>
35531 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
35532 * include/netdb.h: Likewise for h_errno.
35533 * elf/tst-stackguard1.c: Include <tls.h>.
35535 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
35537 * elf/link.h (struct link_map): Extend the l_addr comment.
35538 * include/link.h (struct link_map): Likewise.
35540 2013-02-01 Joseph Myers <joseph@codesourcery.com>
35543 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
35544 (BOUNDED_1): Remove macro.
35545 * debug/backtrace.c: Don't include <bp-checks.h>.
35546 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
35547 (__backtrace): Likewise.
35548 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
35550 (__backtrace): Don't use BOUNDED_1.
35551 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
35553 (__backtrace): Don't use BOUNDED_1.
35554 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
35555 (__backtrace): Don't use BOUNDED_1.
35556 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
35557 (shmat): Don't use BOUNDED_N.
35559 2013-01-31 Joseph Myers <joseph@codesourcery.com>
35562 * sysdeps/generic/bp-start.h: Remove file.
35563 * csu/libc-start.c: Don't include <bp-start.h>.
35564 (LIBC_START_MAIN): Set up __environ directly instead of using
35565 INIT_ARGV_and_ENVIRON.
35566 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
35570 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
35572 (CHECK_FCNTL): Likewise.
35573 (CHECK_N_PAGES): Likewise.
35576 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
35578 (CHECK_SIGSET_NULL_OK): Likewise.
35579 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
35581 (sigpending): Don't use CHECK_SIGSET.
35582 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
35584 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35585 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
35587 (do_sigsuspend): Don't use CHECK_SIGSET.
35588 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
35590 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
35591 (do_sigwait): Don't use CHECK_SIGSET.
35592 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
35594 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
35595 include <bp-checks.h>.
35596 (sigpending): Don't use CHECK_SIGSET.
35597 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
35598 include <bp-checks.h>.
35599 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35600 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
35602 (sigpending): Don't use CHECK_SIGSET.
35603 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
35605 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35608 * sysdeps/generic/bp-semctl.h: Remove file.
35609 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
35610 <bp-checks.h> and <bp-semctl.h>.
35611 (__old_semctl): Don't use CHECK_SEMCTL.
35612 (__new_semctl): Likewise.
35613 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
35615 (__old_semctl): Don't use CHECK_SEMCTL.
35616 (__new_semctl): Likewise.
35617 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
35618 <bp-checks.h> and <bp-semctl.h>.
35619 (__old_semctl): Don't use CHECK_SEMCTL.
35620 (__new_semctl): Likewise.
35621 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
35622 <bp-checks.h> and <bp-semctl.h>.
35623 (semctl): Don't use CHECK_SEMCTL.
35626 * Makerules (elide-bp-thunks): Remove variable.
35627 (elide-routines.oS): Don't use $(elide-bp-thunks).
35628 (elide-routines.os): Likewise.
35629 (elide-routines.o): Likewise.
35630 (elide-routines.op): Likewise.
35631 (elide-routines.og): Likewise.
35632 (objects): Don't use $(bp-thunks).
35633 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
35635 (common-generated): Do not add s-proto-bp.d.
35636 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
35639 Do not generate makefile rules for bounded-pointer thunks.
35640 * sysdeps/generic/bp-thunks.h: Remove file.
35641 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
35642 * sysdeps/unix/s-proto-bp.S: Likewise.
35645 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
35646 parts of result separately when argument is not close to line from
35647 -i to i and one part of argument is small.
35648 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35649 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35650 * math/libm-test.inc (cacos_test): Add more tests.
35651 (casin_test): Likewise.
35652 (casinh_test): Likewise.
35653 * sysdeps/i386/fpu/libm-test-ulps: Update.
35654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35656 2013-01-31 David S. Miller <davem@davemloft.net>
35658 * po/de.po: Update from translation team.
35660 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
35662 * time/tzfile.c: Include stdint.h for SIZE_MAX.
35664 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
35666 * configure.in (_AC_PROG_CC_C89): New definition.
35667 * configure: Regenerate.
35669 * configure.in (AC_PROG_CPP): New definition.
35670 * configure: Regenerate.
35672 2013-01-23 Joseph Myers <joseph@codesourcery.com>
35674 * debug/tst-backtrace.h: New file.
35675 * debug/tst-backtrace2.c: Include tst-backtrace.h.
35676 (ret): Remove variable.
35678 (FAIL): Remove macro.
35679 (NO_INLINE): Likewise.
35680 (fn1): Use match function instead of strstr.
35681 * debug/tst-backtrace3.c: Include tst-backtrace.h.
35682 (ret): Remove variable.
35684 (FAIL): Remove macro.
35685 (NO_INLINE): Likewise.
35686 (fn): Use match function instead of strstr.
35687 * debug/tst-backtrace4.c: Include tst-backtrace.h.
35688 (ret): Remove variable.
35690 (FAIL): Remove macro.
35691 (NO_INLINE): Likewise.
35692 (handle_signal): Use match function instead of strstr.
35693 * debug/tst-backtrace5.c: Include tst-backtrace.h.
35694 (ret): Remove variable.
35696 (FAIL): Remove macro.
35697 (NO_INLINE): Likewise.
35698 (handle_signal): Use match function instead of strstr.
35700 2013-01-23 Roland McGrath <roland@hack.frob.com>
35702 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
35704 2013-01-23 David S. Miller <davem@davemloft.net>
35706 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
35707 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
35708 argument of CAS if possible.
35709 * sysdeps/sparc/sparc64/bits/atomic.h
35710 (__arch_compare_and_exchange_val_32_acq): Likewise.
35711 (__arch_compare_and_exchange_val_64_acq): Likewise.
35713 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
35715 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
35716 * sysdeps/posix/ulimit.c: ... this.
35717 Include <limits.h>.
35718 * sysdeps/unix/bsd/ulimit.c: Remove file.
35720 2013-01-23 Adam Conrad <adconrad@0c3.net>
35722 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
35723 (LDFLAGS-tst-array5): Likewise.
35725 2013-01-23 Joseph Myers <joseph@codesourcery.com>
35728 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
35729 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
35730 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
35731 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
35733 2013-01-21 David S. Miller <davem@davemloft.net>
35735 * sysdeps/sparc/backtrace.c: New file.
35736 * sysdeps/sparc/sparc32/backtrace.h: New file.
35737 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
35738 * sysdeps/sparc/sparc64/backtrace.h: New file.
35739 * sysdeps/sparc/sparc64/backtrace.c: Delete.
35740 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
35743 2013-01-21 Andreas Schwab <schwab@suse.de>
35746 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
35749 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
35751 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
35753 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35755 2013-01-18 Joseph Myers <joseph@codesourcery.com>
35756 Mark Mitchell <mark@codesourcery.com>
35757 Tom de Vries <tom@codesourcery.com>
35758 Paul Pluzhnikov <ppluzhnikov@google.com>
35760 * debug/tst-backtrace2.c: New file.
35761 * debug/tst-backtrace3.c: Likewise.
35762 * debug/tst-backtrace4.c: Likewise.
35763 * debug/tst-backtrace5.c: Likewise.
35764 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
35765 (CFLAGS-tst-backtrace3.c): Likewise.
35766 (CFLAGS-tst-backtrace4.c): Likewise.
35767 (CFLAGS-tst-backtrace5.c): Likewise.
35768 (LDFLAGS-tst-backtrace2): Likewise.
35769 (LDFLAGS-tst-backtrace3): Likewise.
35770 (LDFLAGS-tst-backtrace4): Likewise.
35771 (LDFLAGS-tst-backtrace5): Likewise.
35772 (tests): Add new tests tst-backtrace2, tst-backtrace3,
35773 tst-backtrace4 and tst-backtrace5.
35775 2013-01-18 Anton Blanchard <anton@samba.org>
35776 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35778 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
35779 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
35780 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
35781 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
35782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35783 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
35784 "+r" and remove output regs list as redundant. Add explicit inline
35785 asm to specify register of return val to work around compiler codegen
35786 bug. Remove (int) cast on return value. Add return type parameter to
35787 use in macro so that this macro does not truncate return value for
35789 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
35790 pass to INTERNAL_VSYSCALL_NCS.
35791 (INLINE_VSYSCALL): Add 'long int' as return type to
35792 INTERNAL_VSYSCALL_NCS macro invocation.
35793 (INTERNAL_VSYSCALL): Add 'long int' as return type to
35794 INTERNAL_VSYSCALL_NCS macro invocation.
35795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35797 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35800 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
35801 Fix application of SIMD FP exception mask.
35803 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
35804 mp_no from a power of two.
35805 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
35806 __mpexp_twomm1. Use __pow_mp.
35808 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
35811 2013-01-17 David S. Miller <davem@davemloft.net>
35813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35815 2013-01-17 Joseph Myers <joseph@codesourcery.com>
35818 * include/complex.h: Condition contents on [!_COMPLEX_H].
35819 (__kernel_casinhf): New prototype.
35820 (__kernel_casinh): Likewise.
35821 (__kernel_casinhl): Likewise.
35822 * math/Makefile (libm_calls): Add k_casinh.
35823 * math/k_casinh.c: New file.
35824 * math/k_casinhf.c: Likewise.
35825 * math/k_casinhl.c: Likewise.
35826 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
35827 finite nonzero arguments.
35828 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
35829 finite nonzero arguments.
35830 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
35831 finite nonzero arguments.
35832 * math/s_casinh.c: Do not include <float.h>.
35833 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
35834 * math/s_casinhf.c: Do not include <float.h>.
35835 (__casinhf): Move code for finite nonzero arguments to
35837 * math/s_casinhl.c: Do not include <float.h>.
35838 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
35840 (__casinhl): Move code for finite nonzero arguments to
35842 * math/libm-test.inc (cacos_test): Add more tests.
35843 * sysdeps/i386/fpu/libm-test-ulps: Update.
35844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35846 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
35848 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
35849 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
35850 [!HAVE_MREMAP]: Remove [defined linux] case.
35851 * malloc/arena.c: Do not include <malloc-sysdep.h>.
35853 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35855 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
35857 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
35859 * elf/elf.h (R_386_SIZE32): New relocation.
35860 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
35862 (elf_machine_rela): Likewise.
35863 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35864 R_X86_64_SIZE64 and R_X86_64_SIZE32.
35866 2013-01-17 Joseph Myers <joseph@codesourcery.com>
35868 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
35869 (FP_FAST_FMA): Do not define.
35870 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
35871 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
35872 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
35873 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
35874 !_SOFT_FLOAT]: Likewise.
35875 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
35876 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
35878 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
35879 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
35880 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
35881 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
35882 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
35883 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
35886 2013-01-16 Andreas Schwab <schwab@suse.de>
35889 * include/stdlib.h (__mktemp): Add declaration.
35890 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
35891 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
35893 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35895 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
35897 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
35898 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
35899 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
35901 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
35902 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
35904 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
35906 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
35907 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
35908 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
35910 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
35911 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
35913 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
35915 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
35917 2013-01-15 David S. Miller <davem@davemloft.net>
35919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35920 trunc{,f} to libm-sysdep_routes.
35921 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
35924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
35925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
35927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
35929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
35930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
35931 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
35932 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
35933 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
35934 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
35935 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
35936 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
35938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35939 nearbyint{,f} to libm-sysdep_routes.
35940 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
35943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
35945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
35947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
35949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
35950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
35951 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
35953 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
35954 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
35956 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
35957 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
35958 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
35960 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35961 libc_feholdexcept and libc_fesetenv.
35963 2013-01-15 Mike Frysinger <vapier@gentoo.org>
35965 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
35967 2013-01-14 David S. Miller <davem@davemloft.net>
35969 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
35970 (SPARC_ASM_VIS2_IFUNC): Likewise.
35971 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
35972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
35973 use of 'siam' instruction.
35974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
35976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
35978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
35980 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
35981 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
35982 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
35983 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
35984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
35986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
35988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
35990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
35992 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
35993 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
35994 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
35995 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
35996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
35998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36002 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36003 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36004 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36005 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
36007 routines to libm-sysdep_routines.
36008 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36011 fdim/fdimf to libm-sysdep_routines.
36012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
36014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
36015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
36017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
36018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
36019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
36020 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
36021 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
36022 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
36023 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
36025 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36027 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
36028 to optimize copies.
36030 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
36031 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36032 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36034 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
36035 local variable MPTWO.
36036 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36039 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36041 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
36044 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36046 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
36048 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36050 * manual/pattern.texi (glob_t): Document gl_flags.
36051 (glob64_t): Likewise.
36053 2013-01-11 David S. Miller <davem@davemloft.net>
36055 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
36056 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
36057 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
36058 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
36059 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
36060 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
36061 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
36062 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
36063 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
36064 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
36065 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
36066 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
36067 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
36069 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36070 sparc V9 rather than using V8 code.
36071 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36072 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36074 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36076 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
36079 2013-01-11 Roland McGrath <roland@hack.frob.com>
36081 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
36082 not in the main loop.
36083 * configure: Regenerated.
36085 2013-01-11 Joseph Myers <joseph@codesourcery.com>
36087 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
36088 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
36090 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
36091 [!__GLIBC_HAVE_LONG_LONG] case.
36092 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
36093 condition to just #else.
36094 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
36095 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
36096 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
36097 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
36099 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
36100 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36101 #elif condition to just #else.
36102 * sysdeps/unix/sysv/linux/sys/sysmacros.h
36103 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
36104 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36105 #elif condition to just #else.
36107 2013-01-11 Steve Ellcey <sellcey@mips.com>
36109 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
36110 (EF_MIPS_ARCH_64): Fix value.
36111 (EF_MIPS_ARCH_32R2): New.
36112 (EF_MIPS_ARCH_64R2): New.
36114 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
36116 * Makeconfig (+link-pie-before-libc): New.
36117 (+link-pie-after-libc): Likewise.
36118 (+link-pie-tests): Likewise.
36119 (+link-pie): Rewritten.
36120 (link-before-libc): Remove $(config-LDFLAGS).
36121 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
36122 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
36123 (config-LDFLAGS): Renamed to ...
36124 (rtld-LDFLAGS): This.
36125 (rtld-tests-LDFLAGS): New macro.
36126 (link-libc-rpath-link): Likewise.
36127 (link-libc-tests-rpath-link): Likewise.
36128 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
36129 (link-libc): Prepand $(link-libc-rpath-link).
36130 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
36131 (test-program-prefix): New macro.
36132 (test-via-rtld-prefix): Likewise.
36133 (test-program-cmd): Likewise.
36134 (host-test-program-cmd): Likewise.
36135 * Makefile ($(common-objpfx)testrun.sh): Replace
36136 $(run-program-prefix) with $(test-program-prefix).
36137 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
36139 ($(common-objpfx)shlib.lds): Likewise.
36140 (build-module-helper): Likewise.
36141 ($(common-objpfx)format.lds): Likewise.
36142 * Rules (binaries-pie-tests): New.
36143 (binaries-pie-notests): Likewise.
36144 (binaries-pie): Rewritten.
36145 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
36146 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
36147 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
36148 (make-test-out): Replace $(host-built-program-cmd) with
36149 $(host-test-program-cmd).
36150 * config.make.in (build-hardcoded-path-in-tests): New variable.
36151 * configure.in (--enable-hardcoded-path-in-tests): New configure
36153 (hardcoded_path_in_tests): New AC_SUBST.
36154 * configure: Regenerated.
36155 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
36156 $(built-program-cmd) with $(test-program-cmd).
36157 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
36158 (test_program_cmd): This.
36159 * elf/Makefile ($(objpfx)order.out): Run test with
36160 $(test-program-prefix).
36161 ($(objpfx)order2.out): Likewise.
36162 ($(objpfx)tst-initorder.out): Likewise.
36163 ($(objpfx)tst-initorder2.out): Likewise.
36164 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
36165 $(test-program-cmd).
36166 ($(objpfx)tst-array1-static.out): Likewise.
36167 ($(objpfx)tst-array2.out): Likewise.
36168 ($(objpfx)tst-array3.out): Likewise.
36169 ($(objpfx)tst-array4.out): Likewise.
36170 ($(objpfx)tst-array5.out): Likewise.
36171 ($(objpfx)tst-array5-static.out): Likewise.
36172 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
36173 $(test-program-cmd).
36174 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
36175 $(run-program-prefix) with $(test-program-prefix).
36176 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
36177 (test_program_prefix): This.
36178 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
36179 $(run-program-prefix) with $(test-program-prefix).
36180 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
36181 (test_program_prefix): This.
36182 * iconvdata/tst-tables.sh: Likewise.
36183 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
36184 $(run-program-prefix) with $(test-program-prefix).
36185 ($(objpfx)tst-translit.out): Likewise.
36186 ($(objpfx)tst-gettext2.out): Likewise.
36187 ($(objpfx)tst-gettext4.out): Likewise.
36188 ($(objpfx)tst-gettext6.out): Likewise.
36189 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
36190 (test_program_prefix): This.
36191 * intl/tst-gettext2.sh: Likewise.
36192 * intl/tst-gettext4.sh Likewise.
36193 * intl/tst-gettext6.sh: Likewise.
36194 * intl/tst-translit.sh: Likewise.
36195 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
36196 with $(test-program-cmd).
36197 * libio/Makefile ($(objpfx)test-freopen.out): Replace
36198 $(run-program-prefix) with $(test-program-prefix).
36199 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
36200 (test_program_prefix): This.
36201 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
36202 $(run-program-prefix) with $(test-program-prefix).
36203 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
36204 (test_program_prefix): This.
36205 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
36206 * posix/Makefile ($(objpfx)globtest.out): Replace
36207 $(run-via-rtld-prefix) and $(test-wrapper) with
36208 $(test-program-prefix) and $(test-via-rtld-prefix).
36209 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
36210 $(test-program-prefix).
36211 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
36212 $(host-test-program-cmd).
36213 (tst-spawn-ARGS): Likewise.
36214 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
36215 $(test-program-prefix).
36216 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
36217 (test_via_rtld_prefix): This.
36218 (test_wrapper): Renamed to ...
36219 (test_program_prefix): This.
36220 (run_program_prefix): Replaced by test_program_prefix.
36221 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
36222 (test_program_prefix): This.
36223 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
36224 with $(host-test-program-cmd).
36225 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
36226 $(run-program-prefix) with $(test-program-prefix).
36227 ($(objpfx)tst-printf.out): Likewise.
36228 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
36229 $(test-program-cmd).
36230 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
36231 (test_program_prefix): This.
36232 * stdio-common/tst-unbputc.sh: Likewise.
36233 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
36234 $(run-program-prefix) with $(test-program-prefix).
36235 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
36236 (test_program_prefix): This.
36237 * string/Makefile ($(objpfx)tst-svc.out): Replace
36238 $(built-program-cmd) with $(test-program-cmd).
36240 2013-01-11 Andreas Jaeger <aj@suse.de>
36243 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
36244 value. Sync with Linux 3.7.
36246 2013-01-10 David S. Miller <davem@davemloft.net>
36248 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
36249 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36250 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36252 2013-01-10 Roland McGrath <roland@hack.frob.com>
36254 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
36256 * configure: Regenerated.
36258 2013-01-10 David S. Miller <davem@davemloft.net>
36260 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36261 sparc V9 rather than using V8 code.
36262 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36263 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36265 2013-01-10 Roland McGrath <roland@hack.frob.com>
36267 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
36268 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
36269 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
36270 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
36271 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
36272 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
36273 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
36274 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
36275 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
36276 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
36277 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
36278 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
36279 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
36280 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
36281 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
36282 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
36283 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
36284 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
36285 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
36286 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
36287 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
36288 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
36289 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
36290 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
36291 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
36292 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
36293 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
36295 2013-01-10 David S. Miller <davem@davemloft.net>
36297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36299 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
36301 * posix/Makefile (tests-static): New variable.
36302 (tests): Add $(tests-static).
36303 (tst-exec-static-ARGS): New variable.
36304 (tst-spawn-static-ARGS): Likewise.
36305 * posix/tst-exec-static.c: New file.
36306 * posix/tst-spawn-static.c: Likewise.
36307 * posix/tst-exec.c: Support run directly.
36308 * posix/tst-spawn.c: Likewise.
36310 2013-01-10 Joseph Myers <joseph@codesourcery.com>
36312 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
36314 * math/bits/mathcalls.h (llrint): Likewise.
36315 (llround): Likewise.
36316 * stdlib/stdlib.h (struct drand48_data): Likewise.
36317 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
36318 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
36319 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
36321 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
36323 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
36324 (elf_greg_t): Likewise.
36325 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
36326 (__jmp_buf): Likewise.
36327 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
36329 (llrint): Likewise, for all definitions.
36330 (llrintl): Likewise.
36332 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
36333 Remove [__GNUC__] condition.
36334 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
36335 condition to just [__USE_ISOC99].
36336 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
36338 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
36341 * sysdeps/unix/sysv/linux/x86/bits/environments.h
36342 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
36344 (_POSIX_V6_ILP32_OFF32): Likewise.
36345 (_XBS5_ILP32_OFF32): Likewise.
36346 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
36347 (__ILP32_OFFBIG_LDFLAGS): Likewise.
36349 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36351 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
36353 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
36354 doubles __mpexp_twomm1. Adjust usage.
36355 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
36358 2013-01-10 Andreas Schwab <schwab@suse.de>
36361 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
36362 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
36364 2013-01-09 David S. Miller <davem@davemloft.net>
36367 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
36368 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
36369 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
36370 (TCP_FASTOPEN): Define.
36371 (tcp_repair_opt): New structure.
36372 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
36374 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
36375 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
36376 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
36377 (tcp_cookie_transactions): New structure.
36379 2013-01-09 Anton Blanchard <anton@samba.org>
36381 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
36382 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
36383 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
36384 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
36386 2013-01-09 Joseph Myers <joseph@codesourcery.com>
36388 * include/features.h (__USE_ANSI): Remove.
36390 2013-01-09 Roland McGrath <roland@hack.frob.com>
36392 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
36394 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
36396 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
36398 * sysdeps/s390/fpu/libm-test-ulps: Update.
36400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36402 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
36406 (denorm): Likewise.
36407 (__mp_dbl): Likewise.
36408 (__dbl_mp): Likewise.
36409 (add_magnitudes): Likewise.
36410 (sub_magnitudes): Likewise.
36416 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
36420 (denorm): Likewise.
36421 (__mp_dbl): Likewise.
36422 (__dbl_mp): Likewise.
36423 (add_magnitudes): Likewise.
36424 (sub_magnitudes): Likewise.
36430 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
36434 (denorm): Likewise.
36435 (__mp_dbl): Likewise.
36436 (__dbl_mp): Likewise.
36437 (add_magnitudes): Likewise.
36438 (sub_magnitudes): Likewise.
36445 2013-01-08 Joseph Myers <joseph@codesourcery.com>
36447 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
36448 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
36449 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
36450 2 && __USE_EXTERN_INLINES]: Likewise.
36452 2013-01-08 Andreas Jaeger <aj@suse.de>
36455 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
36457 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36458 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36460 2013-01-07 Anton Blanchard <anton@samba.org>
36462 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
36463 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
36464 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
36465 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
36466 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
36467 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36468 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
36469 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36470 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36471 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36472 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36473 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36474 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36475 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36476 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
36477 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36478 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36479 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36480 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
36481 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
36482 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
36483 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
36484 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36485 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
36486 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
36487 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
36488 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36489 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
36490 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
36491 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36492 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
36493 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36494 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36495 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36496 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36497 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36498 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36499 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36500 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
36501 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
36502 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
36503 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36504 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36506 2013-01-07 Joseph Myers <joseph@codesourcery.com>
36508 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
36509 (__MALLOC_PMT): Likewise.
36510 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
36511 [__GNUC__], only on [_LIBC].
36512 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36513 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
36514 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36515 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
36516 forward declaration.
36517 (realloc_hook_ini): Likewise.
36518 (memalign_hook_ini): Likewise.
36519 (__libc_memalign): Do not use __MALLOC_PMT in variable
36521 (__libc_valloc): Likewise.
36522 (__libc_pvalloc): Likewise.
36523 (__libc_calloc): Likewise.
36524 (__posix_memalign): Likewise.
36527 * math/s_casinh.c: Include <float.h>.
36528 (__casinh): Do not do computation with squaring and square root
36529 for large arguments.
36530 * math/s_casinhf.c: Include <float.h>.
36531 (__casinhf): Do not do computation with squaring and square root
36532 for large arguments.
36533 * math/s_casinhl.c: Include <float.h>.
36534 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
36535 (__casinhl): Do not do computation with squaring and square root
36536 for large arguments.
36537 * math/libm-test.inc (casin_test): Add more tests.
36538 (casinh_test): Likewise.
36539 * sysdeps/i386/fpu/libm-test-ulps: Update.
36540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36542 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
36544 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
36545 (__x86_64_raw_data_cache_size): Likewise.
36546 (__x86_64_data_cache_size_half): Likewise.
36547 (__x86_64_raw_data_cache_size_half): Likewise.
36548 (__x86_64_shared_cache_size): Likewise.
36549 (__x86_64_raw_shared_cache_size): Likewise.
36550 (__x86_64_shared_cache_size_half): Likewise.
36551 (__x86_64_raw_shared_cache_size_half): Likewise.
36552 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
36554 (__x86_data_cache_size): This.
36555 (__x86_64_raw_data_cache_size): Renamed to ...
36556 (__x86_raw_data_cache_size): This.
36557 (__x86_64_data_cache_size_half): Renamed to ...
36558 (__x86_data_cache_size_half): This.
36559 (__x86_64_raw_data_cache_size_half): Renamed to ...
36560 (__x86_raw_data_cache_size_half): This.
36561 (__x86_64_shared_cache_size): Renamed to ...
36562 (__x86_shared_cache_size): This.
36563 (__x86_64_raw_shared_cache_size): Renamed to ...
36564 (__x86_raw_shared_cache_size): This.
36565 (__x86_64_shared_cache_size_half): Renamed to ...
36566 (__x86_shared_cache_size_half): This.
36567 (__x86_64_raw_shared_cache_size_half): Renamed to ...
36568 (__x86_raw_shared_cache_size_half): This.
36569 * sysdeps/x86_64/memcpy.S: Updated.
36570 * sysdeps/x86_64/memset.S: Likewise.
36571 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36572 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36573 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36575 2013-01-04 David S. Miller <davem@davemloft.net>
36577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36579 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
36581 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
36582 1 to avoid redefinition warning.
36583 (__USE_GNU): Don't define.
36584 (init_signaling_nan): Protoize.
36586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36588 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36590 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
36591 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
36592 (__cpymn): Likewise.
36593 (norm): Remove commented code.
36594 (denorm): Likewise.
36595 (__mp_dbl): Likewise.
36597 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
36598 (__cpymn): Likewise.
36599 (norm): Remove commented code.
36600 (denorm): Likewise.
36601 (__mp_dbl): Likewise.
36604 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
36605 mp_no value for 1.0 and 2.0.
36606 (norm): Use RADIXI instead of radixi.d.
36607 (denorm): Likewise.
36608 (__mul): Use 0.0 instead of zero.d.
36609 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
36610 mp_no value for 1.0 and 2.0.
36611 (norm): Use RADIXI instead of radixi.d.
36612 (denorm): Likewise.
36613 (__mul): Use 0.0 instead of zero.d.
36615 2013-01-04 Joseph Myers <joseph@codesourcery.com>
36618 * math/s_casinh.c (__casinh): Reduce finite argument to first
36619 quadrant then set signs of results at the end.
36620 * math/s_casinhf.c (__casinhf): Likewise.
36621 * math/s_casinhl.c (__casinhl): Likewise.
36622 * math/libm-test.inc (casin_test): Add more tests.
36623 (casinh_test): Likewise.
36624 * sysdeps/i386/fpu/libm-test-ulps: Update.
36625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36627 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36629 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
36631 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
36633 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
36635 (denorm): Likewise.
36636 (__mp_dbl): Likewise.
36639 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
36640 and adjust the header comment.
36642 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
36643 variable name from declaration.
36645 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
36647 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36648 Initialize COMMON_CPUID_INDEX_7 element.
36649 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
36650 (CPUID_RTM): Likewise.
36651 (HAS_RTM): Likewise.
36652 (COMMON_CPUID_INDEX_7): New enum.
36654 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
36657 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
36658 size is zero, record memory as freed.
36660 2013-01-03 Andreas Jaeger <aj@suse.de>
36662 * po/ia.po: Add new Interlingua translation.
36664 2012-01-03 Allan McRae <allan@archlinux.org>
36666 * locale/programs/localedef.c: Fix description of '--posix' flag.
36668 2013-01-02 Joseph Myers <joseph@codesourcery.com>
36670 * NEWS: Update dates in second copyright notice.
36671 * README: Update copyright dates in example.
36672 * manual/libc.texinfo: Update copyright dates.
36673 * scripts/test-installation.pl: Update copyright date in --version
36676 * hurd/ctty-input.c: Fix copyright notice formatting.
36677 * hurd/ctty-output.c: Likewise.
36678 * hurd/dtable.c: Likewise.
36679 * hurd/hurd-raise.c: Likewise.
36680 * hurd/hurdprio.c: Likewise.
36681 * hurd/msgportdemux.c: Likewise.
36682 * misc/sys/file.h: Likewise.
36683 * misc/sys/ioctl.h: Likewise.
36684 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36685 * sysdeps/mach/hurd/chdir.c: Likewise.
36686 * sysdeps/mach/hurd/fchdir.c: Likewise.
36687 * sysdeps/mach/hurd/rename.c: Likewise.
36688 * sysdeps/mach/hurd/rmdir.c: Likewise.
36689 * sysdeps/mach/hurd/seekdir.c: Likewise.
36690 * sysdeps/mach/hurd/setsid.c: Likewise.
36691 * sysdeps/posix/wait3.c: Likewise.
36693 * All files with FSF copyright notices: Update copyright dates
36694 using scripts/update-copyrights.
36695 * intl/plural.c: Regenerated.
36696 * locale/programs/charmap-kw.h: Likewise.
36697 * locale/programs/locfile-kw.h: Likewise.
36699 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36701 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
36704 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
36705 calculation loop and add branch prediction.
36707 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
36708 check access beyond bounds of m1np.
36710 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36712 (__inv): Remove local variable MPTWO to use the global
36714 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
36715 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36717 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
36718 MP3HALFS static const.
36720 2013-01-01 David S. Miller <davem@davemloft.net>
36722 * po/ca.po: Update from translation team.
36724 2013-01-01 Joseph Myers <joseph@codesourcery.com>
36726 * scripts/update-copyrights: New file.
36727 * Makeconfig: Reformat copyright notice.
36728 * ctype/ctype.h: Likewise.
36729 * debug/swprintf_chk.c: Likewise.
36730 * elf/dl-cache.c: Likewise.
36731 * elf/dl-debug.c: Likewise.
36732 * elf/dl-object.c: Likewise.
36733 * grp/initgroups.c: Likewise.
36734 * hurd/Makefile: Likewise.
36735 * hurd/hurd/signal.h: Likewise.
36736 * hurd/hurdfault.c: Likewise.
36737 * hurd/hurdioctl.c: Likewise.
36738 * hurd/hurdlookup.c: Likewise.
36739 * hurd/intr-msg.c: Likewise.
36740 * iconv/gconv_open.c: Likewise.
36741 * libio/swprintf.c: Likewise.
36742 * locale/lc-ctype.c: Likewise.
36743 * locale/nl_langinfo.c: Likewise.
36744 * mach/Machrules: Likewise.
36745 * mach/Makefile: Likewise.
36746 * malloc/obstack.h: Likewise.
36747 * manual/Makefile: Likewise.
36748 * manual/tsort.awk: Likewise.
36749 * misc/bits/stab.def: Likewise.
36750 * nis/nis_print_group_entry.c: Likewise.
36751 * nis/nis_table.c: Likewise.
36752 * nis/nss_compat/compat-pwd.c: Likewise.
36753 * nis/nss_compat/compat-spwd.c: Likewise.
36754 * po/Makefile: Likewise.
36755 * posix/fnmatch.c: Likewise.
36756 * posix/regex.h: Likewise.
36757 * resolv/Makefile: Likewise.
36758 * resolv/nss_dns/dns-network.c: Likewise.
36759 * resolv/res_hconf.c: Likewise.
36760 * scripts/gen-sorted.awk: Likewise.
36761 * soft-fp/soft-fp.h: Likewise.
36762 * stdio-common/printf.h: Likewise.
36763 * stdlib/monetary.h: Likewise.
36764 * stdlib/random.c: Likewise.
36765 * stdlib/random_r.c: Likewise.
36766 * sysdeps/generic/Makefile: Likewise.
36767 * sysdeps/gnu/Makefile: Likewise.
36768 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36769 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36770 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36771 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36772 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36773 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36774 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36775 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36776 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36777 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36778 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36779 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36780 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36781 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36782 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
36783 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36784 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36785 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36786 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36787 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36788 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36789 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36790 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36791 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
36792 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
36793 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
36794 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
36795 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
36796 * sysdeps/mach/hurd/errnos.awk: Likewise.
36797 * sysdeps/mach/hurd/fork.c: Likewise.
36798 * sysdeps/mach/hurd/getcwd.c: Likewise.
36799 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
36800 * sysdeps/mach/hurd/mmap.c: Likewise.
36801 * sysdeps/mach/hurd/utimes.c: Likewise.
36802 * sysdeps/mach/hurd/xmknod.c: Likewise.
36803 * sysdeps/posix/profil.c: Likewise.
36804 * sysdeps/posix/readdir_r.c: Likewise.
36805 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36806 * sysdeps/powerpc/bits/setjmp.h: Likewise.
36807 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
36808 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36809 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36810 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36811 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36812 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36813 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36814 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36815 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36816 * sysdeps/pthread/lio_listio.c: Likewise.
36817 * sysdeps/sparc/dl-procinfo.h: Likewise.
36818 * sysdeps/unix/i386/sysdep.S: Likewise.
36819 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
36820 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
36821 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
36822 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
36823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36824 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
36825 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
36826 * sysdeps/unix/sysv/linux/speed.c: Likewise.
36827 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
36828 * sysdeps/wordsize-32/divdi3.c: Likewise.
36829 * time/sys/time.h: Likewise.
36830 * wcsmbs/Makefile: Likewise.
36832 2013-01-01 David S. Miller <davem@davemloft.net>
36834 * po/fr.po: Update from translation team.
36836 * catgets/gencat.c: Update copyright year.
36837 * csu/version.c: Likewise.
36838 * debug/catchsegv.sh: Likewise.
36839 * debug/pcprofiledump.c: Likewise.
36840 * debug/xtrace.sh: Likewise.
36841 * elf/ldconfig.c: Likewise.
36842 * elf/ldd.bash.in: Likewise.
36843 * elf/pldd.c: Likewise.
36844 * elf/sotruss.ksh: Likewise.
36845 * elf/sprof.c: Likewise.
36846 * iconv/iconv_prog.c: Likewise.
36847 * iconv/iconvconfig.c: Likewise.
36848 * locale/programs/locale.c: Likewise.
36849 * locale/programs/localedef.c: Likewise.
36850 * login/programs/pt_chown.c: Likewise.
36851 * malloc/memusage.sh: Likewise.
36852 * malloc/memusagestat.c: Likewise.
36853 * malloc/mtrace.pl: Likewise.
36854 * nscd/nscd.c: Likewise.
36855 * nss/getent.c: Likewise.
36856 * nss/makedb.c: Likewise.
36857 * posix/getconf.c: Likewise.
36859 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36861 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
36864 2012-12-30 Mike Frysinger <vapier@gentoo.org>
36866 * math/bits/mathcalls.h (modf): Use __nonnull.
36868 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36870 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
36871 (split): Use macro CN instead of the bare value.
36872 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
36874 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
36875 instead of the bare value.
36876 (power1): Likewise.
36878 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36880 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
36882 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36884 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
36886 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36887 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36888 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
36889 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36891 2012-12-28 Andreas Jaeger <aj@suse.de>
36893 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
36894 values are from Linux 3.7.
36896 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
36897 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
36899 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36901 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
36904 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
36906 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
36907 variables with preprocessor constants.
36908 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36909 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36910 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36912 2012-12-27 Bruno Haible <bruno@clisp.org>
36915 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
36918 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36920 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
36921 and use variable directly.
36922 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
36924 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36926 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
36927 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36929 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36930 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36931 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
36932 include directive. Remove local variable MPONE.
36933 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
36934 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
36935 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36937 2012-12-25 David S. Miller <davem@davemloft.net>
36939 * version.h (RELEASE): Set to "development".
36940 (VERSION): Set to "2.17.90".
36941 * NEWS: Add 2.18 section.
36943 2012-12-21 David S. Miller <davem@davemloft.net>
36945 * po/hr.po: Update from translation team.
36947 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36949 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
36951 2012-12-19 Steve Ellcey <sellcey@mips.com>
36953 * NEWS: Mention new memcpy for MIPS.
36955 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36957 * manual/contrib.texi (Contributors): Spelling correction.
36959 2012-12-15 David S. Miller <davem@davemloft.net>
36961 * po/ru.po: Update from translation team.
36963 2012-12-13 David S. Miller <davem@davemloft.net>
36965 * NEWS: Mention IFUNC testsuite enhancements.
36967 * po/pl.po: Update from translation team.
36968 * po/bg.po: Likewise.
36970 * manual/contrib.texi (Contributors): Update entries for Hongjiu
36971 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
36973 2012-12-11 David S. Miller <davem@davemloft.net>
36975 * po/sv.po: Update from translation team.
36977 * po/vi.po: Update from translation team.
36979 * po/cs.po: Update from translation team.
36981 * po/de.po: Update from translation team.
36982 * po/eo.po: Likewise.
36983 * po/nl.po: Likewise.
36985 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
36988 * manual/argp.texi (Argp Helper Functions): Move node to follow
36989 Argp Parsing State.
36992 * manual/conf.texi (Limits on File System Capacity): Mention if
36993 terminating null is included in the max size.
36995 2012-12-10 Andreas Jaeger <aj@suse.de>
36997 * po/cs.po: Update from translation team.
36999 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
37001 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
37002 void pointer and cast to uintptr_t.
37003 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
37005 * sysdeps/s390/s390-64/memcpy.S: Likewise.
37006 * sysdeps/s390/s390-64/memset.S: Likewise.
37008 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
37011 * menual/message.texi (Message Translation): Fix typos.
37012 (Helper programs for gettext): Likewise.
37014 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
37017 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
37020 2012-12-07 David S. Miller <davem@davemloft.net>
37022 * po/libc.pot: Update.
37024 2012-12-07 Richard Henderson <rth@redhat.com>
37027 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
37028 normal/normal case to before the switch.
37029 (_FP_DIV): Likewise.
37031 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
37032 Mike Frysinger <vapier@gentoo.org>
37034 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
37035 check for __NR_fadvise64_64.
37037 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
37039 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
37040 0, not just to plain "0" as a statement.
37041 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
37044 2012-12-06 Joseph Myers <joseph@codesourcery.com>
37046 * NEWS: Use sourceware.org in Bugzilla URL.
37048 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37051 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37053 * stdio-common/tst-put-error.c (do_test): Add newline to the
37054 padded test to ensure flush.
37056 2012-12-05 Jeff Law <law@redhat.com>
37058 * sunrpc/etc.rpc (fedfs_admin): Add entry.
37060 2012-12-05 Joseph Myers <joseph@codesourcery.com>
37062 * README: Don't refer to ports add-on as distributed separately.
37063 Mention AArch64 in list of systems supported in the ports add-on.
37065 * LICENSES: Add more non-FSF copyright and license notices.
37067 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
37070 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
37072 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
37073 10000 as width of padded output.
37075 2012-12-04 Joseph Myers <joseph@codesourcery.com>
37077 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
37079 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
37080 variable LX with __attribute__ ((unused)).
37081 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37083 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37084 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37085 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
37086 with __attribute__ ((unused)).
37088 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
37090 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
37092 2012-12-04 Joseph Myers <joseph@codesourcery.com>
37094 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
37095 (CFLAGS-nldbl-acos.c): New variable.
37096 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
37097 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
37098 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
37099 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
37100 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
37101 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
37102 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
37103 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
37104 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
37105 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
37106 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
37107 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
37108 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
37109 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
37110 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
37111 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
37112 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
37113 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
37114 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
37115 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
37116 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
37117 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
37118 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
37119 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
37120 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
37121 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
37122 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
37123 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
37124 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
37125 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
37126 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
37127 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
37128 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
37129 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
37130 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
37131 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
37132 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
37133 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
37134 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
37135 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
37136 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
37137 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
37138 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
37139 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
37140 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
37141 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
37142 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
37143 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
37144 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
37145 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
37146 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
37147 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
37148 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
37149 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
37150 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
37151 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
37152 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
37153 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
37154 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
37155 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
37156 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
37157 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
37158 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
37159 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
37160 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
37161 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
37162 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
37163 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
37164 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
37165 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
37166 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
37167 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
37168 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
37169 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
37170 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
37171 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
37172 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
37173 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
37174 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
37175 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
37176 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
37177 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
37178 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
37179 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
37180 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
37181 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
37182 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
37183 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
37184 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
37185 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
37186 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
37187 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
37188 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
37189 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
37190 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
37191 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
37192 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
37194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37195 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37198 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
37199 whole low double instead of just low 47 bits when splitting values
37202 2012-12-03 Allan McRae <allan@archlinux.org>
37204 * manual/stdio.texi (Predefined Printf Handlers): Remove
37205 @hsep and @vsep usage.
37207 2012-12-03 Mike Frysinger <vapier@gentoo.org>
37209 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
37210 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
37212 2012-12-03 Jeff Law <law@redhat.com>
37214 * time/sys/time.h (settimeofday): Do not mark TV argument
37217 2012-12-01 Mike Frysinger <vapier@gentoo.org>
37219 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
37220 when currently writing and seek to current position when not.
37221 * libio/Makefile (tests): Remove bug-fclose1.
37222 * libio/bug-fclose1.c: Delete.
37224 2012-12-01 Joseph Myers <joseph@codesourcery.com>
37226 * manual/arith.texi (feenableexcept): Fix typo.
37227 (fedisableexcept): Likewise.
37229 2012-11-30 Roland McGrath <roland@hack.frob.com>
37231 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
37232 second, differently-typed declaration, rather than a cast.
37234 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37236 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
37237 * include/rpc/svc.h: ... here.
37239 2012-11-30 Aurelien Jarno <aurel32@debian.org>
37242 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
37243 depending n and resplen2 to catch cases where answer
37246 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
37248 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
37249 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
37251 2012-11-29 Mike Frysinger <vapier@gentoo.org>
37253 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
37255 2012-11-29 Roland McGrath <roland@hack.frob.com>
37257 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
37259 2012-11-28 Jeff Law <law@redhat.com>
37262 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
37263 dataset_temporary. Track alloca usage into alloca_used.
37264 If dataset is large allocate and release it via malloc/free.
37266 2012-06-04 Florian Weimer <fweimer@redhat.com>
37269 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
37271 2012-11-28 David S. Miller <davem@davemloft.net>
37273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37275 2012-11-28 Joseph Myers <joseph@codesourcery.com>
37278 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
37279 of pi/2 rounded to nearest to 64 bits.
37280 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
37281 nearest to 64 bits.
37282 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
37285 2012-11-28 Jeff Law <law@redhat.com>
37286 Martin Osvald <mosvald@redhat.com>
37289 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
37290 * sunrpc/svc.c: Include time.h.
37291 (__svc_accept_failed): New function.
37292 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
37293 any reason other than EINTR, call __svc_accept_failed.
37294 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
37295 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
37297 2012-11-28 Andreas Schwab <schwab@suse.de>
37299 * scripts/abilist.awk: Also handle indirect functions in .opd
37302 2012-11-28 Joseph Myers <joseph@codesourcery.com>
37305 * sysdeps/x86/fpu/powl_helper.c: New file.
37306 * sysdeps/x86/fpu/Makefile: Likewise.
37307 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
37309 (__ieee754_powl): Use __powl_helper for finite arguments except
37310 integer exponents below 8.
37311 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
37313 (__ieee754_powl): Use __powl_helper for finite arguments except
37314 integer exponents below 8.
37315 * math/libm-test.inc (pow_test): Add more tests and enable some
37316 previously disabled tests.
37317 * sysdeps/i386/fpu/libm-test-ulps: Update.
37318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37320 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37321 Carlos O'Donell <carlos_odonell@mentor.com>
37323 * nss/makedb.c (is_prime): Assert that input is odd and greater
37324 than 4. Note that fact in a comment too.
37325 (next_prime): Add 4 to input.
37327 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37330 * libio/Makefile (tests): Add test case tst-fwrite-error.
37331 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
37332 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
37333 * libio/tst-fwrite-error.c: New test case.
37335 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
37337 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
37338 before casting to void *.
37339 * include/libc-internal.h (__pointer_type): New macro.
37340 (__integer_if_pointer_type_sub): Likewise.
37341 (__integer_if_pointer_type): Likewise.
37342 (cast_to_integer): Likewise.
37343 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
37344 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
37345 before casting to atomic64_t.
37346 (atomic_exchange_acq): Likewise.
37347 (__arch_exchange_and_add_body): Likewise.
37348 (__arch_add_body): Likewise.
37349 (atomic_add_negative): Likewise.
37350 (atomic_add_zero): Likewise.
37352 2012-11-26 Joseph Myers <joseph@codesourcery.com>
37354 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
37355 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
37356 (add_fdes): Likewise.
37357 (linear_search_fdes): Likewise.
37358 (binary_search_unencoded_fdes): Likewise.
37360 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
37362 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
37364 2012-11-24 Adam Conrad <adconrad@0c3.net>
37366 * configure.in: Autodetect C++ header directories.
37367 * configure: Regenerated.
37369 2012-11-23 Mike Frysinger <vapier@gentoo.org>
37371 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
37373 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
37375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37377 2012-11-22 Joseph Myers <joseph@codesourcery.com>
37379 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
37380 LDBL_MANT_DIG == 106]: Disable some tests.
37381 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37383 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37387 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
37388 input for small inputs. Return +/- pi/2 for large inputs.
37389 * math/libm-test.inc (atan_test): Add more tests.
37391 * sysdeps/generic/unwind-dw2-fde-glibc.c
37392 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
37393 __attribute__ ((unused)).
37396 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
37397 x * y if x and y are nonzero and z is zero.
37400 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
37401 nonzero exponents with absolute value below 0x1p-117 to +/-
37405 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
37406 up arguments below 2**-450, not just those below 2**-500.
37407 * math/libm-test.inc (hypot_test): Add another test.
37410 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
37411 Return a+b for ratio over 2**120, not 2**60.
37412 * math/libm-test.inc (hypot_test): Add another test.
37414 * math/libm-test.inc (clog_test): Use
37415 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
37416 (clog10_test): Likewise.
37419 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
37421 2012-11-22 Andreas Schwab <schwab@suse.de>
37423 * sysdeps/i386/fpu/libm-test-ulps: Update.
37425 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
37427 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
37428 printf output with newline.
37430 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
37433 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
37434 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
37435 -z nodlopen, -z initfirst and -z execstack support.
37436 * configure: Regenerated.
37438 * elf/elf.h (DF_1_NODIRECT): New macro.
37439 (DF_1_IGNMULDEF): Likewise.
37440 (DF_1_NOKSYMS): Likewise.
37441 (DF_1_NOHDR): Likewise.
37442 (DF_1_EDITED): Likewise.
37443 (DF_1_NORELOC): Likewise.
37444 (DF_1_SYMINTPOSE): Likewise.
37445 (DF_1_GLOBAUDIT): Likewise.
37446 (DF_1_SINGLETON): Likewise.
37447 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
37448 DT_1_SUPPORTED_MASK bits.
37449 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
37451 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
37453 * sysdeps/unix/make-syscalls.sh: Document prefixes.
37455 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
37457 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
37460 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
37461 (sendmmsg): Move declarations...
37462 * socket/sys/socket.h: ... here.
37463 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
37464 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
37466 * socket/recvmmsg.c: ... this new file.
37467 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
37468 (sendmmsg): Rename to __sendmmsg, create weak alias and make
37469 definition of __sendmmsg hidden.
37470 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
37471 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
37472 Move ENOSYS stub into and include it from...
37473 * socket/sendmmsg.c: ... this new file.
37474 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
37475 (sysdep_routines): Move recvmmsg and sendmmsg...
37476 * socket/Makefile (routines): ... here.
37477 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
37478 (GLIBC_PRIVATE): Add __sendmmsg.
37479 * include/sys/socket.h (__sendmmsg): Add declarations.
37480 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
37483 2012-11-20 Joseph Myers <joseph@codesourcery.com>
37485 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
37486 variable I1 with __attribute__ ((unused)).
37487 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37489 2012-11-19 Joseph Myers <joseph@codesourcery.com>
37491 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
37492 DUMMY variables with __attribute__ ((unused)).
37494 * bits/byteswap.h: Include <bits/types.h>.
37495 (__bswap_64): Use __uint64_t instead of unsigned long long int.
37497 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
37499 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
37500 string_t. Do not manually set errno.
37501 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
37502 length with __strnlen. Make sure to both set errno and return it on
37505 2012-11-19 David S. Miller <davem@davemloft.net>
37507 With help from Joseph Myers.
37508 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
37509 very large arguments properly.
37510 * math/libm-test.inc (atan_test): New tests.
37511 (atan2_test): New tests.
37512 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37513 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37515 2012-11-19 Joseph Myers <joseph@codesourcery.com>
37518 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
37521 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
37522 [POSIX] (EADDRNOTAVAIL): Likewise.
37523 [POSIX] (EAFNOSUPPORT): Likewise.
37524 [POSIX] (EALREADY): Likewise.
37525 [POSIX] (ECONNABORTED): Likewise.
37526 [POSIX] (ECONNREFUSED): Likewise.
37527 [POSIX] (ECONNRESET): Likewise.
37528 [POSIX] (EDESTADDRREQ): Likewise.
37529 [POSIX] (EDQUOT): Likewise.
37530 [POSIX] (EHOSTUNREACH): Likewise.
37531 [POSIX] (EIDRM): Likewise.
37532 [POSIX] (EISCONN): Likewise.
37533 [POSIX] (ELOOP): Likewise.
37534 [POSIX] (EMULTIHOP): Likewise.
37535 [POSIX] (ENETDOWN): Likewise.
37536 [POSIX] (ENETUNREACH): Likewise.
37537 [POSIX] (ENOBUFS): Likewise.
37538 [POSIX] (ENODATA): Likewise.
37539 [POSIX] (ENOLINK): Likewise.
37540 [POSIX] (ENOMSG): Likewise.
37541 [POSIX] (ENOPROTOOPT): Likewise.
37542 [POSIX] (ENOSR): Likewise.
37543 [POSIX] (ENOSTR): Likewise.
37544 [POSIX] (ENOTCONN): Likewise.
37545 [POSIX] (ENOTSOCK): Likewise.
37546 [POSIX] (EOPNOTSUPP): Likewise.
37547 [POSIX] (EOVERFLOW): Likewise.
37548 [POSIX] (EPROTO): Likewise.
37549 [POSIX] (EPROTONOSUPPORT): Likewise.
37550 [POSIX] (EPROTOTYPE): Likewise.
37551 [POSIX] (ESTALE): Likewise.
37552 [POSIX] (ETIME): Likewise.
37553 [POSIX] (ETXTBSY): Likewise.
37554 [POSIX] (EWOULDBLOCK): Likewise.
37555 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
37556 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
37557 [POSIX] (SEEK_CUR): Likewise.
37558 [POSIX] (SEEK_END): Likewise.
37559 [POSIX || UNIX98] (mode_t): Do not require.
37560 [POSIX] (off_t): Likewise.
37561 [POSIX] (pid_t): Likewise.
37562 [POSIX] (sys/stat.h): Do not allow header.
37563 [POSIX] (unistd.h): Likewise.
37564 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
37565 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
37566 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
37567 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
37569 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
37570 sigevent): Specify elements.
37571 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
37573 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
37574 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
37576 * conform/data/cpio.h-data [POSIX]: Disable whole file.
37577 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
37578 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
37579 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
37580 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
37581 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
37582 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
37583 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
37584 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
37585 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
37586 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
37587 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
37588 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
37589 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
37591 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
37593 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
37595 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
37597 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
37598 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
37599 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
37600 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
37601 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
37602 Specify lower bound on value.
37603 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
37604 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
37605 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
37606 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
37607 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
37608 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
37609 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
37610 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
37612 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
37614 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
37615 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
37616 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
37617 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
37618 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
37619 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
37620 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
37621 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
37622 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
37623 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
37624 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
37625 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
37626 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
37627 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
37628 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
37629 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
37631 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
37633 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
37634 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
37635 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
37636 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
37637 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
37638 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
37640 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
37641 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
37642 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
37643 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
37644 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
37645 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
37646 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
37648 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
37649 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
37650 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
37651 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
37652 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
37653 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
37654 specify as optional.
37655 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
37656 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
37657 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
37658 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
37659 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
37660 [XPG3] (NL_LANGMAX): Likewise.
37661 [POSIX || XPG3] (NL_MSGMAX): Likewise.
37662 [POSIX || XPG3] (NL_NMAX): Likewise.
37663 [POSIX || XPG3] (NL_SETMAX): Likewise.
37664 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
37665 [XPG3] (NZERO): Likewise.
37666 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
37667 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
37668 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
37669 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
37670 (REG_ERANGE): Expect.
37671 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
37673 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
37674 Use (void) in prototype.
37675 [POSIX] (*_t): Allow.
37676 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
37677 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
37678 (WRDE_BADVAL): Expect.
37680 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
37682 [XPG3 || XPG4] (O_RSYNC): Likewise.
37683 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
37685 [XPG3 || XPG4] (pthread_sigmask): Likewise.
37686 [XPG3 || XPG4] (sigqueue): Likewise.
37687 [XPG3 || XPG4] (sigtimedwait): Likewise.
37688 [XPG3 || XPG4] (sigwaitinfo): Likewise.
37689 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
37690 [XPG3 || XPG4] (vsnprintf): Likewise.
37691 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
37693 [XPG3 || XPG4] (blksize_t): Likewise.
37694 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
37696 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
37697 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37698 [XPG3 || XPG4] (struct itimerspec): Likewise.
37699 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
37700 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
37701 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
37702 [XPG3 || XPG4] (clockid_t): Likewise.
37703 [XPG3 || XPG4] (timer_t): Likewise.
37704 [XPG3 || XPG4] (clock_getres): Likewise.
37705 [XPG3 || XPG4] (clock_gettime): Likewise.
37706 [XPG3 || XPG4] (clock_settime): Likewise.
37707 [XPG3 || XPG4] (nanosleep): Likewise.
37708 [XPG3 || XPG4] (timer_create): Likewise.
37709 [XPG3 || XPG4] (timer_delete): Likewise.
37710 [XPG3 || XPG4] (timer_gettime): Likewise.
37711 [XPG3 || XPG4] (timer_getoverrun): Likewise.
37712 [XPG3 || XPG4] (timer_settime): Likewise.
37713 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
37714 [XPG3 || XPG4] (getlogin_r): Likewise.
37715 [XPG3 || XPG4] (pread): Likewise.
37716 [XPG3 || XPG4] (pthread_atfork): Likewise.
37717 [XPG3 || XPG4] (pwrite): Likewise.
37720 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
37723 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
37725 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
37726 finalizing MALLSTREAM.
37728 * sysdeps/mach/hurd/syncfs.c: New file.
37730 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37733 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
37734 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
37735 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
37736 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
37737 (_nss_dns_gethostbyname4_r): Likewise.
37738 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
37739 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
37741 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
37744 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
37746 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
37748 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
37749 * elf/cache.c (print_entry): Print ",AArch64" for
37752 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
37753 * elf/cache.c (print_entry): Print ",hard-float" for
37756 2012-11-18 David S. Miller <davem@davemloft.net>
37758 With help from Joseph Myers.
37759 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
37761 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
37763 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
37764 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
37766 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
37767 * math/libm-test.inc (y0_test): New tests.
37768 (y1_test): New tests.
37769 * sysdeps/i386/fpu/libm-test-ulps: Update.
37770 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37773 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
37775 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
37777 * configure: Regenerated.
37779 2012-11-17 David S. Miller <davem@davemloft.net>
37782 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
37783 nonzero exponents with absolute value below 0x1p-128 to +/-
37786 2012-11-17 Joseph Myers <joseph@codesourcery.com>
37788 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
37790 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
37792 * posix/getconf-speclist.c: New file.
37793 * posix/posix-envs.def: Likewise.
37794 * posix/confstr.c (START_ENV_GROUP): New macro.
37795 (END_ENV_GROUP): Likewise.
37796 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37797 (KNOWN_PRESENT_ENV_STRING): Likewise.
37798 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37799 (UNKNOWN_ENVIRONMENT): Likewise.
37800 (confstr): Include posix-envs.def instead of handling
37801 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
37802 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
37803 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
37804 (END_ENV_GROUP): Likewise.
37805 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37806 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37807 (UNKNOWN_ENVIRONMENT): Likewise.
37808 (__sysconf): Include posix-envs.def instead of handling associated
37809 cases directly here.
37810 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
37811 preprocessing getconf-speclist.c rather than running getconf or
37812 generating empty file.
37814 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
37816 * scripts/check-local-headers.sh: Ignore 'mach' headers.
37818 2012-11-16 Andrej Lajovic <natrij@gmail.com>
37821 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
37823 2012-11-16 David S. Miller <davem@davemloft.net>
37825 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
37826 smaller than LDBL_EPSILON/2.0L, just return xm1.
37828 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
37830 * elf/tst-array1.c (init): Set constructor priority to 1000.
37831 (fini): Set destructor priority to 1000.
37832 * elf/tst-array2dep.c: Likewise.
37834 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37837 * libio/fileops.c (_IO_new_file_write): Correctly return error.
37838 (_IO_new_file_xsputn): Also return EOF if none of the input
37839 data was written when overflow failed.
37840 * libio/iopadn.c (_IO_padn): Likewise.
37841 * libio/iowpadn.c (_IO_wpadn): Likewise.
37842 * stdio-common/tst-put-error.c: Add copyright notice.
37843 (do_test): Add case for printing padded string.
37844 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
37845 _IO_padn returned error.
37846 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
37847 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
37850 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37852 * libio/libioP.h: Add comment note that the references to C++
37853 bits are now obsolete.
37855 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37857 * math/libm-test.inc (check_complex): Use asprintf.
37859 2012-11-14 Joseph Myers <joseph@codesourcery.com>
37861 * debug/pcprofiledump.c (print_version): Update copyright year.
37862 * malloc/memusagestat.c (print_version): Likewise.
37864 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
37867 * elf/Makefile (tests): Add tst-audit8.
37868 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
37869 ($(objpfx)tst-audit8.out): New target.
37870 (tst-audit8-ENV): New variable.
37871 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
37872 audit if l_reloc_result is NULL.
37873 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
37874 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
37875 * elf/tst-audit8.c: New file.
37877 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37879 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
37880 * misc/Makefile (CFLAGS-select.c): Define.
37881 * posix/Makefile (CFLAGS-pause.c): Define.
37883 2012-11-13 David S. Miller <davem@davemloft.net>
37885 * crypt/Makefile: Move test targets after toplevel Rules
37886 inclusion. Grab any necessary sysdep routines when linking.
37887 * crypt/md5.c (md5_process_block): Remove define, we will always
37888 name it __md5_process_block.
37889 (md5_finish_ctx): Update md5_process_block call.
37890 (md5_stream): Likewise.
37891 (md5_process_bytes): Likewise.
37892 (md5_process_block): Rename to __md5_process_block and move to ...
37893 * crypt/md5-block.c: ... here.
37894 * crypt/sha256.c (sha256_process_block): Move to ...
37895 * crypt/sha256-block.c: ... here.
37896 * crypt/sha512.c (sha512_process_block): Move to ...
37897 * crypt/sha512-block.c: ... here.
37898 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
37900 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
37901 * sysdeps/sparc/sparc64/multiarch/Makefile
37902 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
37904 (localedef-aux): Add md5 crypto assembler when in locale subdir.
37905 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
37907 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
37908 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
37909 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
37910 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
37911 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
37912 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
37913 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
37914 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
37915 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
37917 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
37918 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
37920 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
37922 2012-11-13 Joseph Myers <joseph@codesourcery.com>
37924 * timezone/tzselect.ksh: Update from tzcode git revision
37925 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
37926 * timezone/zdump.c: Likewise.
37927 * timezone/zic.c: Likewise.
37928 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
37929 in TZVERSION setting, not $(PKGVERSION).
37930 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
37931 REPORT_BUGS_TO settings.
37934 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
37937 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37939 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
37940 detection to immediately after _FP_ROUND().
37941 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
37944 2012-11-11 David S. Miller <davem@davemloft.net>
37946 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
37948 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
37949 __close rather than their public counterparts.
37951 2012-11-10 Joseph Myers <joseph@codesourcery.com>
37953 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
37955 [UNIX98] (sem_timedwait): Do not expect.
37956 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
37957 [XPG4 || UNIX98] (sockatmark): Do not expect.
37958 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
37959 (clock_getcpuclockid): Do not expect.
37960 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
37961 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
37963 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
37964 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
37965 [UNIX98] (vwscanf): Likewise.
37966 [UNIX98] (vswscanf): Likewise.
37968 2012-11-09 Joseph Myers <joseph@codesourcery.com>
37970 * timezone/version.h: Remove file.
37971 * timezone/README: Do not refer to version.h.
37972 * timezone/Makefile ($(objpfx)zic.o): New dependency on
37973 $(objpfx)version.h.
37974 ($(objpfx)zdump.o): Likewise.
37975 ($(objpfx)version.h): New target.
37977 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
37979 * timezone/README: Don't mention modification to tzselect.ksh.
37980 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
37981 work on unmodified tzselect.ksh. Substitute version numbers in
37984 * Makefile (format-me): Remove.
37985 (INSTALL): Adjust indentation. Use commands directly instead of
37986 using $(format-me).
37988 * aclocal.m4 (ACX_PKGVERSION): New macro.
37989 (ACX_BUGURL): Likewise.
37990 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
37991 (PKGVERSION): New AC_DEFINE_UNQUOTED.
37992 (REPORT_BUGS_TO): Likewise.
37993 * configure: Regenerated.
37994 * config.h.in (PKGVERSION): New macro.
37995 (REPORT_BUGS_TO): Likewise.
37996 * config.make.in (PKGVERSION): New variable.
37997 (PKGVERSION_TEXI): Likewise.
37998 (REPORT_BUGS_TO): Likewise.
37999 (REPORT_BUGS_TEXI): Likewise.
38000 * Makefile (format-me): Use -I$(common-objpfx)manual.
38001 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
38002 ($(common-objpfx)manual/%): New target.
38003 (manual/%): Remove target.
38004 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
38005 (print_version): Use PKGVERSION.
38006 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
38007 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
38008 and REPORT_BUGS_TO.
38009 ($(objpfx)xtrace): Likewise.
38010 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
38011 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
38012 (print_version): Use PKGVERSION.
38013 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
38014 (do_version): Use PKGVERSION.
38015 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
38017 (common-ldd-rewrite): Likewise.
38018 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
38019 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
38020 (print_version): Use PKGVERSION.
38021 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
38022 * elf/pldd.c (argp_program_bug_address): Remove variable.
38023 (more_help): New function.
38024 (argp): Use more_help.
38025 (print_version): Use PKGVERSION.
38026 * elf/sln.c (main): Use PKGVERSION.
38027 (usage): Use REPORT_BUGS_TO.
38028 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
38029 (top level): Use PKGVERSION.
38030 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
38031 (print_version): Use PKGVERSION.
38032 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
38033 (print_version): Use PKGVERSION.
38034 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
38035 (print_version): Use PKGVERSION.
38036 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
38037 (print_version): Use PKGVERSION.
38038 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
38039 (print_version): Use PKGVERSION.
38040 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
38041 (print_version): Use PKGVERSION.
38042 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
38044 ($(objpfx)memusage): Likewise.
38045 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
38046 (do_version): Use PKGVERSION.
38047 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
38048 (print_version): Use PKGVERSION.
38049 * malloc/mtrace.pl ($PACKAGE): Remove variable.
38050 ($PKGVERSION): New variable.
38051 ($REPORT_BUGS_TO): Likewise.
38052 (usage): Use $REPORT_BUGS_TO.
38053 (top level): Use $PKGVERSION.
38054 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
38055 ($(objpfx)pkgvers.texi): New rule.
38056 ($(objpfx)stamp-pkgvers): Likewise.
38057 * manual/install.texi: Include pkgvers.texi.
38058 (--with-pkgversion): Document new configure option.
38059 (--with-bugurl): Likewise.
38060 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
38061 than necessarily for this particular distribution. Use
38062 REPORT_BUGS_TO for where to report bugs.
38063 * INSTALL: Regenerated.
38064 * manual/libc.texinfo: Include pkgvers.texi.
38065 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
38066 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
38067 (print_version): Use PKGVERSION.
38068 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
38069 (print_version): Use PKGVERSION.
38070 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
38071 (print_version): Use PKGVERSION.
38072 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
38073 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
38075 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
38076 (print_version): Use PKGVERSION.
38077 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
38078 (print_version): Use PKGVERSION.
38079 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
38082 * timezone/checktab.awk: Update from tzcode 2012i.
38083 * timezone/ialloc.c: Likewise.
38084 * timezone/private.h: Likewise.
38085 * timezone/scheck.c: Likewise.
38086 * timezone/tzfile.h: Likewise.
38087 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
38088 (TZVERSION): Hardcode tzcode version number.
38089 * timezone/zdump.c: Update from tzcode 2012i.
38090 * timezone/zic.c: Likewise.
38091 * timezone/version.h: New file.
38092 * timezone/README: Describe version.h. Update upstream location.
38095 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
38096 (mktemp): Enable declaration.
38097 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
38098 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
38099 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
38100 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
38102 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
38104 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
38106 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
38108 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
38110 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
38114 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
38115 offset in buffer as u_int32_t not u_long. Consistently use memcpy
38116 for copies of such integer values.
38117 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38118 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38120 2012-11-09 Andreas Jaeger <aj@suse.de>
38122 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
38123 definitions and declarations that are provided by
38124 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38126 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38128 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
38129 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
38130 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
38133 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38135 * elf/elf.h: Update comment before AArch64 relocations.
38137 2012-11-07 David S. Miller <davem@davemloft.net>
38139 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
38140 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38141 (__start_context): Declare.
38142 (__makecontext_ret): Delete.
38143 (__makecontext): Hook up __start_context instead of
38145 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
38146 (sysdep_routines): Add __start_context when in stdlib.
38148 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38150 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
38151 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
38152 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
38154 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
38155 (READELF): New variable. Use it instead of hardcoded "readelf".
38157 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
38159 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
38160 * sysdeps/x86/Makefile: Here.
38161 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
38162 * sysdeps/x86/tst-xmmymm.sh: This.
38164 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38166 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
38168 [UNIX98] (pthread_barrier_t): Do not expect.
38169 [UNIX98] (pthread_barrierattr_t): Likewise.
38170 [UNIX98] (pthread_spinlock_t): Likewise.
38171 [UNIX98] (pthread_barrier_destroy): Likewise.
38172 [UNIX98] (pthread_barrier_init): Likewise.
38173 [UNIX98] (pthread_barrier_wait): Likewise.
38174 [UNIX98] (pthread_barrierattr_destroy): Likewise.
38175 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
38176 [UNIX98] (pthread_barrierattr_init): Likewise.
38177 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
38178 [UNIX98] (pthread_getcpuclockid): Likewise.
38179 [UNIX98] (pthread_mutex_timedlock): Likewise.
38180 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
38181 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
38182 [UNIX98] (pthread_sigmask): Likewise.
38183 [UNIX98] (pthread_spin_destroy): Likewise.
38184 [UNIX98] (pthread_spin_init): Likewise.
38185 [UNIX98] (pthread_spin_lock): Likewise.
38186 [UNIX98] (pthread_spin_trylock): Likewise.
38187 [UNIX98] (pthread_spin_unlock): Likewise.
38188 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
38190 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
38191 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
38192 [XPG3 || XPG4] (pthread_cond_t): Likewise.
38193 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
38194 [XPG3 || XPG4] (pthread_key_t): Likewise.
38195 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
38196 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
38197 [XPG3 || XPG4] (pthread_once_t): Likewise.
38198 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
38199 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
38200 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
38201 [XPG3 || XPG4] (pthread_t): Likewise.
38203 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
38205 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
38207 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
38208 Change function return type to int.
38210 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
38211 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
38212 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
38213 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
38214 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
38215 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
38216 [!POSIX] (posix_madvise): Likewise.
38217 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
38219 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
38220 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
38221 (mode_t): Likewise.
38222 (posix_mem_offset): Likewise.
38223 (posix_typed_mem_get_info): Likewise.
38224 (posix_typed_mem_open): Likewise.
38226 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
38227 Change condition to [XOPEN2K8].
38229 * conform/conformtest.pl: Preprocess allow-header data with -x c
38230 instead of from stdin.
38231 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
38232 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
38233 [C99-based standards] (cerfc): Likewise.
38234 [C99-based standards] (cexp2): Likewise.
38235 [C99-based standards] (cexpm1): Likewise.
38236 [C99-based standards] (clog10): Likewise.
38237 [C99-based standards] (clog1p): Likewise.
38238 [C99-based standards] (clog2): Likewise.
38239 [C99-based standards] (clgamma): Likewise.
38240 [C99-based standards] (ctgamma): Likewise.
38241 [C99-based standards] (cerff): Likewise.
38242 [C99-based standards] (cerfcf): Likewise.
38243 [C99-based standards] (cexp2f): Likewise.
38244 [C99-based standards] (cexpm1f): Likewise.
38245 [C99-based standards] (clog10f): Likewise.
38246 [C99-based standards] (clog1pf): Likewise.
38247 [C99-based standards] (clog2f): Likewise.
38248 [C99-based standards] (clgammaf): Likewise.
38249 [C99-based standards] (ctgammaf): Likewise.
38250 [C99-based standards] (cerfl): Likewise.
38251 [C99-based standards] (cerfcl): Likewise.
38252 [C99-based standards] (cexp2l): Likewise.
38253 [C99-based standards] (cexpm1l): Likewise.
38254 [C99-based standards] (clog10l): Likewise.
38255 [C99-based standards] (clog1pl): Likewise.
38256 [C99-based standards] (clog2l): Likewise.
38257 [C99-based standards] (clgammal): Likewise.
38258 [C99-based standards] (ctgammal): Likewise.
38259 * conform/data/inttypes.h-data [C99-based standards]: Include
38260 stdint.h-data. Remove all expectations for stdint.h contents.
38261 [C99-based standards] (PRI*): Do not allow.
38262 [C99-based standards] (SCN*): Likewise.
38263 [C99-based standards] (*_t): Likewise.
38264 [C99-based-standards] (PRId8): Expect macro.
38265 [C99-based-standards] (PRIi8): Likewise.
38266 [C99-based-standards] (PRIo8): Likewise.
38267 [C99-based-standards] (PRIu8): Likewise.
38268 [C99-based-standards] (PRIx8): Likewise.
38269 [C99-based-standards] (PRIX8): Likewise.
38270 [C99-based-standards] (SCNd8): Likewise.
38271 [C99-based-standards] (SCNi8): Likewise.
38272 [C99-based-standards] (SCNo8): Likewise.
38273 [C99-based-standards] (SCNu8): Likewise.
38274 [C99-based-standards] (SCNx8): Likewise.
38275 [C99-based-standards] (PRIdLEAST8): Likewise.
38276 [C99-based-standards] (PRIiLEAST8): Likewise.
38277 [C99-based-standards] (PRIoLEAST8): Likewise.
38278 [C99-based-standards] (PRIuLEAST8): Likewise.
38279 [C99-based-standards] (PRIxLEAST8): Likewise.
38280 [C99-based-standards] (PRIXLEAST8): Likewise.
38281 [C99-based-standards] (SCNdLEAST8): Likewise.
38282 [C99-based-standards] (SCNiLEAST8): Likewise.
38283 [C99-based-standards] (SCNoLEAST8): Likewise.
38284 [C99-based-standards] (SCNuLEAST8): Likewise.
38285 [C99-based-standards] (SCNxLEAST8): Likewise.
38286 [C99-based-standards] (PRIdFAST8): Likewise.
38287 [C99-based-standards] (PRIiFAST8): Likewise.
38288 [C99-based-standards] (PRIoFAST8): Likewise.
38289 [C99-based-standards] (PRIuFAST8): Likewise.
38290 [C99-based-standards] (PRIxFAST8): Likewise.
38291 [C99-based-standards] (PRIXFAST8): Likewise.
38292 [C99-based-standards] (SCNdFAST8): Likewise.
38293 [C99-based-standards] (SCNiFAST8): Likewise.
38294 [C99-based-standards] (SCNoFAST8): Likewise.
38295 [C99-based-standards] (SCNuFAST8): Likewise.
38296 [C99-based-standards] (SCNxFAST8): Likewise.
38297 [C99-based-standards] (PRId16): Likewise.
38298 [C99-based-standards] (PRIi16): Likewise.
38299 [C99-based-standards] (PRIo16): Likewise.
38300 [C99-based-standards] (PRIu16): Likewise.
38301 [C99-based-standards] (PRIx16): Likewise.
38302 [C99-based-standards] (PRIX16): Likewise.
38303 [C99-based-standards] (SCNd16): Likewise.
38304 [C99-based-standards] (SCNi16): Likewise.
38305 [C99-based-standards] (SCNo16): Likewise.
38306 [C99-based-standards] (SCNu16): Likewise.
38307 [C99-based-standards] (SCNx16): Likewise.
38308 [C99-based-standards] (PRIdLEAST16): Likewise.
38309 [C99-based-standards] (PRIiLEAST16): Likewise.
38310 [C99-based-standards] (PRIoLEAST16): Likewise.
38311 [C99-based-standards] (PRIuLEAST16): Likewise.
38312 [C99-based-standards] (PRIxLEAST16): Likewise.
38313 [C99-based-standards] (PRIXLEAST16): Likewise.
38314 [C99-based-standards] (SCNdLEAST16): Likewise.
38315 [C99-based-standards] (SCNiLEAST16): Likewise.
38316 [C99-based-standards] (SCNoLEAST16): Likewise.
38317 [C99-based-standards] (SCNuLEAST16): Likewise.
38318 [C99-based-standards] (SCNxLEAST16): Likewise.
38319 [C99-based-standards] (PRIdFAST16): Likewise.
38320 [C99-based-standards] (PRIiFAST16): Likewise.
38321 [C99-based-standards] (PRIoFAST16): Likewise.
38322 [C99-based-standards] (PRIuFAST16): Likewise.
38323 [C99-based-standards] (PRIxFAST16): Likewise.
38324 [C99-based-standards] (PRIXFAST16): Likewise.
38325 [C99-based-standards] (SCNdFAST16): Likewise.
38326 [C99-based-standards] (SCNiFAST16): Likewise.
38327 [C99-based-standards] (SCNoFAST16): Likewise.
38328 [C99-based-standards] (SCNuFAST16): Likewise.
38329 [C99-based-standards] (SCNxFAST16): Likewise.
38330 [C99-based-standards] (PRId32): Likewise.
38331 [C99-based-standards] (PRIi32): Likewise.
38332 [C99-based-standards] (PRIo32): Likewise.
38333 [C99-based-standards] (PRIu32): Likewise.
38334 [C99-based-standards] (PRIx32): Likewise.
38335 [C99-based-standards] (PRIX32): Likewise.
38336 [C99-based-standards] (SCNd32): Likewise.
38337 [C99-based-standards] (SCNi32): Likewise.
38338 [C99-based-standards] (SCNo32): Likewise.
38339 [C99-based-standards] (SCNu32): Likewise.
38340 [C99-based-standards] (SCNx32): Likewise.
38341 [C99-based-standards] (PRIdLEAST32): Likewise.
38342 [C99-based-standards] (PRIiLEAST32): Likewise.
38343 [C99-based-standards] (PRIoLEAST32): Likewise.
38344 [C99-based-standards] (PRIuLEAST32): Likewise.
38345 [C99-based-standards] (PRIxLEAST32): Likewise.
38346 [C99-based-standards] (PRIXLEAST32): Likewise.
38347 [C99-based-standards] (SCNdLEAST32): Likewise.
38348 [C99-based-standards] (SCNiLEAST32): Likewise.
38349 [C99-based-standards] (SCNoLEAST32): Likewise.
38350 [C99-based-standards] (SCNuLEAST32): Likewise.
38351 [C99-based-standards] (SCNxLEAST32): Likewise.
38352 [C99-based-standards] (PRIdFAST32): Likewise.
38353 [C99-based-standards] (PRIiFAST32): Likewise.
38354 [C99-based-standards] (PRIoFAST32): Likewise.
38355 [C99-based-standards] (PRIuFAST32): Likewise.
38356 [C99-based-standards] (PRIxFAST32): Likewise.
38357 [C99-based-standards] (PRIXFAST32): Likewise.
38358 [C99-based-standards] (SCNdFAST32): Likewise.
38359 [C99-based-standards] (SCNiFAST32): Likewise.
38360 [C99-based-standards] (SCNoFAST32): Likewise.
38361 [C99-based-standards] (SCNuFAST32): Likewise.
38362 [C99-based-standards] (SCNxFAST32): Likewise.
38363 [C99-based-standards] (PRId64): Likewise.
38364 [C99-based-standards] (PRIi64): Likewise.
38365 [C99-based-standards] (PRIo64): Likewise.
38366 [C99-based-standards] (PRIu64): Likewise.
38367 [C99-based-standards] (PRIx64): Likewise.
38368 [C99-based-standards] (PRIX64): Likewise.
38369 [C99-based-standards] (SCNd64): Likewise.
38370 [C99-based-standards] (SCNi64): Likewise.
38371 [C99-based-standards] (SCNo64): Likewise.
38372 [C99-based-standards] (SCNu64): Likewise.
38373 [C99-based-standards] (SCNx64): Likewise.
38374 [C99-based-standards] (PRIdLEAST64): Likewise.
38375 [C99-based-standards] (PRIiLEAST64): Likewise.
38376 [C99-based-standards] (PRIoLEAST64): Likewise.
38377 [C99-based-standards] (PRIuLEAST64): Likewise.
38378 [C99-based-standards] (PRIxLEAST64): Likewise.
38379 [C99-based-standards] (PRIXLEAST64): Likewise.
38380 [C99-based-standards] (SCNdLEAST64): Likewise.
38381 [C99-based-standards] (SCNiLEAST64): Likewise.
38382 [C99-based-standards] (SCNoLEAST64): Likewise.
38383 [C99-based-standards] (SCNuLEAST64): Likewise.
38384 [C99-based-standards] (SCNxLEAST64): Likewise.
38385 [C99-based-standards] (PRIdFAST64): Likewise.
38386 [C99-based-standards] (PRIiFAST64): Likewise.
38387 [C99-based-standards] (PRIoFAST64): Likewise.
38388 [C99-based-standards] (PRIuFAST64): Likewise.
38389 [C99-based-standards] (PRIxFAST64): Likewise.
38390 [C99-based-standards] (PRIXFAST64): Likewise.
38391 [C99-based-standards] (SCNdFAST64): Likewise.
38392 [C99-based-standards] (SCNiFAST64): Likewise.
38393 [C99-based-standards] (SCNoFAST64): Likewise.
38394 [C99-based-standards] (SCNuFAST64): Likewise.
38395 [C99-based-standards] (SCNxFAST64): Likewise.
38396 [C99-based-standards] (PRIdMAX): Likewise.
38397 [C99-based-standards] (PRIiMAX): Likewise.
38398 [C99-based-standards] (PRIoMAX): Likewise.
38399 [C99-based-standards] (PRIuMAX): Likewise.
38400 [C99-based-standards] (PRIxMAX): Likewise.
38401 [C99-based-standards] (PRIXMAX): Likewise.
38402 [C99-based-standards] (SCNdMAX): Likewise.
38403 [C99-based-standards] (SCNiMAX): Likewise.
38404 [C99-based-standards] (SCNoMAX): Likewise.
38405 [C99-based-standards] (SCNuMAX): Likewise.
38406 [C99-based-standards] (SCNxMAX): Likewise.
38407 [C99-based-standards] (PRIdPTR): Likewise.
38408 [C99-based-standards] (PRIiPTR): Likewise.
38409 [C99-based-standards] (PRIoPTR): Likewise.
38410 [C99-based-standards] (PRIuPTR): Likewise.
38411 [C99-based-standards] (PRIxPTR): Likewise.
38412 [C99-based-standards] (PRIXPTR): Likewise.
38413 [C99-based-standards] (SCNdPTR): Likewise.
38414 [C99-based-standards] (SCNiPTR): Likewise.
38415 [C99-based-standards] (SCNoPTR): Likewise.
38416 [C99-based-standards] (SCNuPTR): Likewise.
38417 [C99-based-standards] (SCNxPTR): Likewise.
38418 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
38420 * conform/data/stdint.h-data: Update comments to clarify
38422 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
38424 [C99-based standards] (INT8_MAX): Likewise.
38425 [C99-based standards] (INT16_MIN): Likewise.
38426 [C99-based standards] (INT16_MAX): Likewise.
38427 [C99-based standards] (INT32_MIN): Likewise.
38428 [C99-based standards] (INT32_MAX): Likewise.
38429 [C99-based standards] (INT64_MIN): Likewise.
38430 [C99-based standards] (INT64_MAX): Likewise.
38431 [C99-based standards] (UINT8_MAX): Likewise.
38432 [C99-based standards] (UINT16_MAX): Likewise.
38433 [C99-based standards] (UINT32_MAX): Likewise.
38434 [C99-based standards] (UINT64_MAX): Likewise.
38435 [C99-based standards] (INT_LEAST8_MIN): Likewise.
38436 [C99-based standards] (INT_LEAST8_MAX): Likewise.
38437 [C99-based standards] (INT_LEAST16_MIN): Likewise.
38438 [C99-based standards] (INT_LEAST16_MAX): Likewise.
38439 [C99-based standards] (INT_LEAST32_MIN): Likewise.
38440 [C99-based standards] (INT_LEAST32_MAX): Likewise.
38441 [C99-based standards] (INT_LEAST64_MIN): Likewise.
38442 [C99-based standards] (INT_LEAST64_MAX): Likewise.
38443 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
38444 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
38445 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
38446 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
38447 [C99-based standards] (INT_FAST8_MIN): Likewise.
38448 [C99-based standards] (INT_FAST8_MAX): Likewise.
38449 [C99-based standards] (INT_FAST16_MIN): Likewise.
38450 [C99-based standards] (INT_FAST16_MAX): Likewise.
38451 [C99-based standards] (INT_FAST32_MIN): Likewise.
38452 [C99-based standards] (INT_FAST32_MAX): Likewise.
38453 [C99-based standards] (INT_FAST64_MIN): Likewise.
38454 [C99-based standards] (INT_FAST64_MAX): Likewise.
38455 [C99-based standards] (UINT_FAST8_MAX): Likewise.
38456 [C99-based standards] (UINT_FAST16_MAX): Likewise.
38457 [C99-based standards] (UINT_FAST32_MAX): Likewise.
38458 [C99-based standards] (UINT_FAST64_MAX): Likewise.
38459 [C99-based standards] (INTPTR_MIN): Likewise.
38460 [C99-based standards] (INTPTR_MAX): Likewise.
38461 [C99-based standards] (UINTPTR_MAX): Likewise.
38462 [C99-based standards] (INTMAX_MIN): Likewise.
38463 [C99-based standards] (INTMAX_MAX): Likewise.
38464 [C99-based standards] (UINTMAX_MAX): Likewise.
38465 [C99-based standards] (PTRDIFF_MIN): Likewise.
38466 [C99-based standards] (PTRDIFF_MAX): Likewise.
38467 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
38468 [C99-based standards] (SIZE_MAX): Likewise.
38469 [C99-based standards] (WCHAR_MAX): Likewise.
38470 [C99-based standards] (WINT_MAX): Likewise.
38471 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
38472 constraint on value.
38473 [C99-based standards] (WCHAR_MIN): Likewise.
38474 [C99-based standards] (WINT_MIN): Likewise.
38475 [C99-based standards] (*_t): Allow.
38476 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
38477 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
38478 Include math.h-data and complex.h-data. Remove all expectations
38479 of math.h and complex.h contents.
38480 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
38482 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
38483 (struct tm): Expect tag.
38484 [C99-based-standards] (wcstof): Expect function.
38485 [C99-based-standards] (wcstold): Likewise.
38486 [C99-based-standards] (wcstoll): Likewise.
38487 [C99-based-standards] (wcstoull): Likewise.
38488 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
38489 macro-int-constant. Specify type.
38490 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
38491 constraint on value.
38492 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38494 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
38496 [ISO C standards]: Do not allow headers.
38497 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
38498 wcs[abcdefghijklmnopqrstuvwxyz]*.
38499 [ISO C standards] (*_t): Do not allow.
38500 * conform/data/wctype.h-data [C99-based standards] (iswblank):
38502 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
38503 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38505 [ISO C standards]: Do not allow headers.
38506 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
38507 is[abcdefghijklmnopqrstuvwxyz]*.
38508 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
38509 to[abcdefghijklmnopqrstuvwxyz]*.
38510 [ISO C standards] (*_t): Do not allow.
38511 * conform/data/stdalign.h-data: New file.
38512 * conform/data/stdbool.h-data: Likewise.
38513 * conform/data/stdnoreturn.h-data: Likewise.
38515 2012-11-07 Roland McGrath <roland@hack.frob.com>
38518 * manual/filesys.texi (Directory Entries): Typo fix.
38519 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
38521 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38523 * elf/elf.h (EM_AARCH64): New macro.
38524 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
38525 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
38526 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
38527 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
38528 (R_AARCH64_TLSDESC): Likewise.
38529 (NT_ARM_TLS): Likewise.
38530 (NT_ARM_HW_BREAK): Likewise.
38531 (NT_ARM_HW_WATCH): Likewise.
38533 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38536 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
38537 (__ieee754_powl): Saturate nonzero exponents with absolute value
38538 below 0x1p-79 to +/- 0x1p-79.
38539 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
38540 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
38541 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
38542 nonzero exponents with absolute value below 0x1p-32 to +/-
38544 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
38545 (__ieee754_powl): Saturate nonzero exponents with absolute value
38546 below 0x1p-79 to +/- 0x1p-79.
38547 * math/libm-test.inc (pow_test): Add more tests.
38549 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38551 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
38552 _dl_s390_cap_flags with kernel. Increase string length.
38553 (_dl_s390_platforms): Add z196 and zEC12.
38555 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38557 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
38558 Change XOPEN21K to XOPEN2K.
38560 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
38562 * string/memmove.c: Use memcpy when possible.
38564 2012-11-06 Andreas Jaeger <aj@suse.de>
38566 * po/eo.po: Update from translation team.
38568 2012-11-06 Joseph Myers <joseph@codesourcery.com>
38571 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
38572 exponent and small x and y exponents, scale x or y up. Increase
38573 by 2 the exponent used in scaling up.
38574 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38575 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38576 * math/libm-test.inc (fma_test): Add more tests.
38577 (fma_test_towardzero): Likewise.
38578 (fma_test_downward): Likewise.
38579 (fma_test_upward): Likewise.
38581 2012-11-05 Joseph Myers <joseph@codesourcery.com>
38584 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
38588 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
38589 namespace for names of struct fields.
38590 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
38592 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
38593 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
38595 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
38598 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
38600 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
38602 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
38606 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
38609 2012-11-04 Joseph Myers <joseph@codesourcery.com>
38612 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
38613 definitely overflow as x * y not x * y + z.
38614 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38615 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38616 * math/libm-test.inc (fma_test): Add more tests.
38617 (fma_test_towardzero): Likewise.
38618 (fma_test_downward): Likewise.
38619 (fma_test_upward): Likewise.
38621 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
38625 * include/stub-tag.h: Remove file.
38626 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
38628 * manual/maint.texi (Porting): Don't reference it.
38629 * Makerules ($(objpfx)stubs): Likewise.
38630 * dirent/closedir.c: Don't include <stub-tag.h>.
38631 * dirent/dirfd.c: Likewise.
38632 * dirent/fdopendir.c: Likewise.
38633 * dirent/getdents.c: Likewise.
38634 * dirent/getdents64.c: Likewise.
38635 * dirent/opendir.c: Likewise.
38636 * dirent/readdir.c: Likewise.
38637 * dirent/readdir64.c: Likewise.
38638 * dirent/readdir64_r.c: Likewise.
38639 * dirent/readdir_r.c: Likewise.
38640 * dirent/rewinddir.c: Likewise.
38641 * dirent/seekdir.c: Likewise.
38642 * dirent/telldir.c: Likewise.
38643 * gmon/profil.c: Likewise.
38644 * grp/setgroups.c: Likewise.
38645 * inet/if_index.c: Likewise.
38646 * io/access.c: Likewise.
38647 * io/chdir.c: Likewise.
38648 * io/chmod.c: Likewise.
38649 * io/chown.c: Likewise.
38650 * io/close.c: Likewise.
38651 * io/dup.c: Likewise.
38652 * io/dup2.c: Likewise.
38653 * io/dup3.c: Likewise.
38654 * io/euidaccess.c: Likewise.
38655 * io/faccessat.c: Likewise.
38656 * io/fchdir.c: Likewise.
38657 * io/fchmod.c: Likewise.
38658 * io/fchmodat.c: Likewise.
38659 * io/fchown.c: Likewise.
38660 * io/fchownat.c: Likewise.
38661 * io/fcntl.c: Likewise.
38662 * io/flock.c: Likewise.
38663 * io/fstatfs.c: Likewise.
38664 * io/fstatfs64.c: Likewise.
38665 * io/fstatvfs.c: Likewise.
38666 * io/fstatvfs64.c: Likewise.
38667 * io/futimens.c: Likewise.
38668 * io/fxstat.c: Likewise.
38669 * io/fxstat64.c: Likewise.
38670 * io/fxstatat.c: Likewise.
38671 * io/fxstatat64.c: Likewise.
38672 * io/getcwd.c: Likewise.
38673 * io/isatty.c: Likewise.
38674 * io/lchmod.c: Likewise.
38675 * io/lchown.c: Likewise.
38676 * io/link.c: Likewise.
38677 * io/linkat.c: Likewise.
38678 * io/lseek.c: Likewise.
38679 * io/lseek64.c: Likewise.
38680 * io/lxstat64.c: Likewise.
38681 * io/mkdir.c: Likewise.
38682 * io/mkdirat.c: Likewise.
38683 * io/mkfifo.c: Likewise.
38684 * io/mkfifoat.c: Likewise.
38685 * io/open.c: Likewise.
38686 * io/open64.c: Likewise.
38687 * io/openat.c: Likewise.
38688 * io/openat64.c: Likewise.
38689 * io/pipe.c: Likewise.
38690 * io/pipe2.c: Likewise.
38691 * io/poll.c: Likewise.
38692 * io/posix_fadvise.c: Likewise.
38693 * io/posix_fadvise64.c: Likewise.
38694 * io/posix_fallocate.c: Likewise.
38695 * io/posix_fallocate64.c: Likewise.
38696 * io/read.c: Likewise.
38697 * io/readlink.c: Likewise.
38698 * io/readlinkat.c: Likewise.
38699 * io/rmdir.c: Likewise.
38700 * io/sendfile.c: Likewise.
38701 * io/sendfile64.c: Likewise.
38702 * io/statfs.c: Likewise.
38703 * io/statfs64.c: Likewise.
38704 * io/statvfs.c: Likewise.
38705 * io/statvfs64.c: Likewise.
38706 * io/symlink.c: Likewise.
38707 * io/symlinkat.c: Likewise.
38708 * io/ttyname.c: Likewise.
38709 * io/ttyname_r.c: Likewise.
38710 * io/umask.c: Likewise.
38711 * io/unlink.c: Likewise.
38712 * io/unlinkat.c: Likewise.
38713 * io/utime.c: Likewise.
38714 * io/utimensat.c: Likewise.
38715 * io/write.c: Likewise.
38716 * io/xmknod.c: Likewise.
38717 * io/xmknodat.c: Likewise.
38718 * io/xstat.c: Likewise.
38719 * io/xstat64.c: Likewise.
38720 * login/getpt.c: Likewise.
38721 * login/grantpt.c: Likewise.
38722 * login/unlockpt.c: Likewise.
38723 * math/e_acoshl.c: Likewise.
38724 * math/e_acosl.c: Likewise.
38725 * math/e_asinl.c: Likewise.
38726 * math/e_atan2l.c: Likewise.
38727 * math/e_atanhl.c: Likewise.
38728 * math/e_coshl.c: Likewise.
38729 * math/e_expl.c: Likewise.
38730 * math/e_fmodl.c: Likewise.
38731 * math/e_gammal_r.c: Likewise.
38732 * math/e_hypotl.c: Likewise.
38733 * math/e_j0l.c: Likewise.
38734 * math/e_j1l.c: Likewise.
38735 * math/e_jnl.c: Likewise.
38736 * math/e_lgammal_r.c: Likewise.
38737 * math/e_log10l.c: Likewise.
38738 * math/e_log2l.c: Likewise.
38739 * math/e_logl.c: Likewise.
38740 * math/e_powl.c: Likewise.
38741 * math/e_rem_pio2l.c: Likewise.
38742 * math/e_sinhl.c: Likewise.
38743 * math/e_sqrtl.c: Likewise.
38744 * math/fclrexcpt.c: Likewise.
38745 * math/fedisblxcpt.c: Likewise.
38746 * math/feenablxcpt.c: Likewise.
38747 * math/fegetenv.c: Likewise.
38748 * math/fegetexcept.c: Likewise.
38749 * math/fegetround.c: Likewise.
38750 * math/feholdexcpt.c: Likewise.
38751 * math/fesetenv.c: Likewise.
38752 * math/fesetround.c: Likewise.
38753 * math/feupdateenv.c: Likewise.
38754 * math/fgetexcptflg.c: Likewise.
38755 * math/fraiseexcpt.c: Likewise.
38756 * math/fsetexcptflg.c: Likewise.
38757 * math/ftestexcept.c: Likewise.
38758 * math/k_cosl.c: Likewise.
38759 * math/k_rem_pio2l.c: Likewise.
38760 * math/k_sinl.c: Likewise.
38761 * math/k_tanl.c: Likewise.
38762 * math/s_asinhl.c: Likewise.
38763 * math/s_atanl.c: Likewise.
38764 * math/s_cbrtl.c: Likewise.
38765 * math/s_erfl.c: Likewise.
38766 * math/s_expm1l.c: Likewise.
38767 * math/s_log1pl.c: Likewise.
38768 * math/s_tanhl.c: Likewise.
38769 * misc/acct.c: Likewise.
38770 * misc/brk.c: Likewise.
38771 * misc/chflags.c: Likewise.
38772 * misc/chroot.c: Likewise.
38773 * misc/fchflags.c: Likewise.
38774 * misc/fgetxattr.c: Likewise.
38775 * misc/flistxattr.c: Likewise.
38776 * misc/fremovexattr.c: Likewise.
38777 * misc/fsetxattr.c: Likewise.
38778 * misc/fsync.c: Likewise.
38779 * misc/ftruncate.c: Likewise.
38780 * misc/futimes.c: Likewise.
38781 * misc/futimesat.c: Likewise.
38782 * misc/getdomain.c: Likewise.
38783 * misc/getdtsz.c: Likewise.
38784 * misc/gethostid.c: Likewise.
38785 * misc/gethostname.c: Likewise.
38786 * misc/getloadavg.c: Likewise.
38787 * misc/getpagesize.c: Likewise.
38788 * misc/getsysstats.c: Likewise.
38789 * misc/getxattr.c: Likewise.
38790 * misc/gtty.c: Likewise.
38791 * misc/ioctl.c: Likewise.
38792 * misc/lgetxattr.c: Likewise.
38793 * misc/listxattr.c: Likewise.
38794 * misc/llistxattr.c: Likewise.
38795 * misc/lremovexattr.c: Likewise.
38796 * misc/lsetxattr.c: Likewise.
38797 * misc/lutimes.c: Likewise.
38798 * misc/madvise.c: Likewise.
38799 * misc/mincore.c: Likewise.
38800 * misc/mlock.c: Likewise.
38801 * misc/mlockall.c: Likewise.
38802 * misc/mmap.c: Likewise.
38803 * misc/mprotect.c: Likewise.
38804 * misc/msync.c: Likewise.
38805 * misc/munlock.c: Likewise.
38806 * misc/munlockall.c: Likewise.
38807 * misc/munmap.c: Likewise.
38808 * misc/preadv.c: Likewise.
38809 * misc/preadv64.c: Likewise.
38810 * misc/ptrace.c: Likewise.
38811 * misc/pwritev.c: Likewise.
38812 * misc/pwritev64.c: Likewise.
38813 * misc/readv.c: Likewise.
38814 * misc/reboot.c: Likewise.
38815 * misc/remap_file_pages.c: Likewise.
38816 * misc/removexattr.c: Likewise.
38817 * misc/revoke.c: Likewise.
38818 * misc/select.c: Likewise.
38819 * misc/setdomain.c: Likewise.
38820 * misc/setegid.c: Likewise.
38821 * misc/seteuid.c: Likewise.
38822 * misc/sethostid.c: Likewise.
38823 * misc/sethostname.c: Likewise.
38824 * misc/setregid.c: Likewise.
38825 * misc/setreuid.c: Likewise.
38826 * misc/setxattr.c: Likewise.
38827 * misc/sstk.c: Likewise.
38828 * misc/stty.c: Likewise.
38829 * misc/swapoff.c: Likewise.
38830 * misc/swapon.c: Likewise.
38831 * misc/sync.c: Likewise.
38832 * misc/syncfs.c: Likewise.
38833 * misc/syscall.c: Likewise.
38834 * misc/truncate.c: Likewise.
38835 * misc/ualarm.c: Likewise.
38836 * misc/usleep.c: Likewise.
38837 * misc/ustat.c: Likewise.
38838 * misc/utimes.c: Likewise.
38839 * misc/vhangup.c: Likewise.
38840 * misc/writev.c: Likewise.
38841 * posix/_exit.c: Likewise.
38842 * posix/alarm.c: Likewise.
38843 * posix/execve.c: Likewise.
38844 * posix/fexecve.c: Likewise.
38845 * posix/fork.c: Likewise.
38846 * posix/fpathconf.c: Likewise.
38847 * posix/getaddrinfo.c: Likewise.
38848 * posix/getegid.c: Likewise.
38849 * posix/geteuid.c: Likewise.
38850 * posix/getgid.c: Likewise.
38851 * posix/getgroups.c: Likewise.
38852 * posix/getlogin.c: Likewise.
38853 * posix/getlogin_r.c: Likewise.
38854 * posix/getpgid.c: Likewise.
38855 * posix/getpid.c: Likewise.
38856 * posix/getppid.c: Likewise.
38857 * posix/getresgid.c: Likewise.
38858 * posix/getresuid.c: Likewise.
38859 * posix/getsid.c: Likewise.
38860 * posix/getuid.c: Likewise.
38861 * posix/glob64.c: Likewise.
38862 * posix/nanosleep.c: Likewise.
38863 * posix/pathconf.c: Likewise.
38864 * posix/pause.c: Likewise.
38865 * posix/posix_madvise.c: Likewise.
38866 * posix/pread.c: Likewise.
38867 * posix/pread64.c: Likewise.
38868 * posix/pwrite.c: Likewise.
38869 * posix/pwrite64.c: Likewise.
38870 * posix/sched_getaffinity.c: Likewise.
38871 * posix/sched_getp.c: Likewise.
38872 * posix/sched_gets.c: Likewise.
38873 * posix/sched_primax.c: Likewise.
38874 * posix/sched_primin.c: Likewise.
38875 * posix/sched_rr_gi.c: Likewise.
38876 * posix/sched_setaffinity.c: Likewise.
38877 * posix/sched_setp.c: Likewise.
38878 * posix/sched_sets.c: Likewise.
38879 * posix/sched_yield.c: Likewise.
38880 * posix/setgid.c: Likewise.
38881 * posix/setlogin.c: Likewise.
38882 * posix/setpgid.c: Likewise.
38883 * posix/setresgid.c: Likewise.
38884 * posix/setresuid.c: Likewise.
38885 * posix/setsid.c: Likewise.
38886 * posix/setuid.c: Likewise.
38887 * posix/sleep.c: Likewise.
38888 * posix/spawni.c: Likewise.
38889 * posix/sysconf.c: Likewise.
38890 * posix/times.c: Likewise.
38891 * posix/wait.c: Likewise.
38892 * posix/wait3.c: Likewise.
38893 * posix/wait4.c: Likewise.
38894 * posix/waitpid.c: Likewise.
38895 * resolv/gai_sigqueue.c: Likewise.
38896 * resource/getpriority.c: Likewise.
38897 * resource/getrlimit.c: Likewise.
38898 * resource/getrusage.c: Likewise.
38899 * resource/nice.c: Likewise.
38900 * resource/setpriority.c: Likewise.
38901 * resource/setrlimit.c: Likewise.
38902 * resource/ulimit.c: Likewise.
38903 * rt/aio_cancel.c: Likewise.
38904 * rt/aio_fsync.c: Likewise.
38905 * rt/aio_read.c: Likewise.
38906 * rt/aio_sigqueue.c: Likewise.
38907 * rt/aio_suspend.c: Likewise.
38908 * rt/aio_write.c: Likewise.
38909 * rt/clock_getres.c: Likewise.
38910 * rt/clock_gettime.c: Likewise.
38911 * rt/clock_nanosleep.c: Likewise.
38912 * rt/clock_settime.c: Likewise.
38913 * rt/lio_listio.c: Likewise.
38914 * rt/mq_close.c: Likewise.
38915 * rt/mq_getattr.c: Likewise.
38916 * rt/mq_notify.c: Likewise.
38917 * rt/mq_open.c: Likewise.
38918 * rt/mq_receive.c: Likewise.
38919 * rt/mq_send.c: Likewise.
38920 * rt/mq_setattr.c: Likewise.
38921 * rt/mq_timedreceive.c: Likewise.
38922 * rt/mq_timedsend.c: Likewise.
38923 * rt/mq_unlink.c: Likewise.
38924 * rt/shm_open.c: Likewise.
38925 * rt/shm_unlink.c: Likewise.
38926 * rt/timer_create.c: Likewise.
38927 * rt/timer_delete.c: Likewise.
38928 * rt/timer_getoverr.c: Likewise.
38929 * rt/timer_gettime.c: Likewise.
38930 * rt/timer_settime.c: Likewise.
38931 * setjmp/__longjmp.c: Likewise.
38932 * setjmp/setjmp.c: Likewise.
38933 * signal/kill.c: Likewise.
38934 * signal/killpg.c: Likewise.
38935 * signal/raise.c: Likewise.
38936 * signal/sigaction.c: Likewise.
38937 * signal/sigaltstack.c: Likewise.
38938 * signal/sigblock.c: Likewise.
38939 * signal/sigignore.c: Likewise.
38940 * signal/sigintr.c: Likewise.
38941 * signal/signal.c: Likewise.
38942 * signal/sigpause.c: Likewise.
38943 * signal/sigpending.c: Likewise.
38944 * signal/sigqueue.c: Likewise.
38945 * signal/sigreturn.c: Likewise.
38946 * signal/sigset.c: Likewise.
38947 * signal/sigsetmask.c: Likewise.
38948 * signal/sigstack.c: Likewise.
38949 * signal/sigsuspend.c: Likewise.
38950 * signal/sigtimedwait.c: Likewise.
38951 * signal/sigvec.c: Likewise.
38952 * signal/sigwait.c: Likewise.
38953 * signal/sigwaitinfo.c: Likewise.
38954 * signal/sysv_signal.c: Likewise.
38955 * socket/accept.c: Likewise.
38956 * socket/accept4.c: Likewise.
38957 * socket/bind.c: Likewise.
38958 * socket/connect.c: Likewise.
38959 * socket/getpeername.c: Likewise.
38960 * socket/getsockname.c: Likewise.
38961 * socket/getsockopt.c: Likewise.
38962 * socket/isfdtype.c: Likewise.
38963 * socket/listen.c: Likewise.
38964 * socket/recv.c: Likewise.
38965 * socket/recvfrom.c: Likewise.
38966 * socket/recvmsg.c: Likewise.
38967 * socket/send.c: Likewise.
38968 * socket/sendmsg.c: Likewise.
38969 * socket/sendto.c: Likewise.
38970 * socket/setsockopt.c: Likewise.
38971 * socket/shutdown.c: Likewise.
38972 * socket/sockatmark.c: Likewise.
38973 * socket/socket.c: Likewise.
38974 * socket/socketpair.c: Likewise.
38975 * stdio-common/ctermid.c: Likewise.
38976 * stdio-common/cuserid.c: Likewise.
38977 * stdio-common/remove.c: Likewise.
38978 * stdio-common/rename.c: Likewise.
38979 * stdio-common/renameat.c: Likewise.
38980 * stdio-common/tempname.c: Likewise.
38981 * stdlib/getcontext.c: Likewise.
38982 * stdlib/makecontext.c: Likewise.
38983 * stdlib/setcontext.c: Likewise.
38984 * stdlib/swapcontext.c: Likewise.
38985 * stdlib/system.c: Likewise.
38986 * streams/fattach.c: Likewise.
38987 * streams/fdetach.c: Likewise.
38988 * streams/getmsg.c: Likewise.
38989 * streams/getpmsg.c: Likewise.
38990 * streams/putmsg.c: Likewise.
38991 * streams/putpmsg.c: Likewise.
38992 * sysdeps/unix/bsd/getpt.c: Likewise.
38993 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
38994 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
38995 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38998 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
38999 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
39000 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
39001 * sysvipc/msgctl.c: Likewise.
39002 * sysvipc/msgget.c: Likewise.
39003 * sysvipc/msgrcv.c: Likewise.
39004 * sysvipc/msgsnd.c: Likewise.
39005 * sysvipc/semctl.c: Likewise.
39006 * sysvipc/semget.c: Likewise.
39007 * sysvipc/semop.c: Likewise.
39008 * sysvipc/semtimedop.c: Likewise.
39009 * sysvipc/shmat.c: Likewise.
39010 * sysvipc/shmctl.c: Likewise.
39011 * sysvipc/shmdt.c: Likewise.
39012 * sysvipc/shmget.c: Likewise.
39013 * termios/tcdrain.c: Likewise.
39014 * termios/tcflow.c: Likewise.
39015 * termios/tcflush.c: Likewise.
39016 * termios/tcgetattr.c: Likewise.
39017 * termios/tcgetpgrp.c: Likewise.
39018 * termios/tcsendbrk.c: Likewise.
39019 * termios/tcsetattr.c: Likewise.
39020 * termios/tcsetpgrp.c: Likewise.
39021 * time/adjtime.c: Likewise.
39022 * time/clock.c: Likewise.
39023 * time/getitimer.c: Likewise.
39024 * time/gettimeofday.c: Likewise.
39025 * time/setitimer.c: Likewise.
39026 * time/settimeofday.c: Likewise.
39027 * time/stime.c: Likewise.
39028 * time/time.c: Likewise.
39030 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
39032 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
39035 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
39037 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
39039 2012-11-03 Joseph Myers <joseph@codesourcery.com>
39042 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
39043 FE_TONEAREST before applying Dekker multiplication and Knuth
39044 addition. Clear inexact exceptions and check for exact zero
39045 results afterwards.
39046 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39047 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39048 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39049 * math/libm-test.inc (fma_test): Add more tests.
39050 (fma_test_towardzero): Likewise.
39051 (fma_test_downward): Likewise.
39052 (fma_test_upward): Likewise.
39053 * sysdeps/generic/math_private.h (default_libc_fesetround): New
39055 (libc_fesetround): New macro.
39056 (libc_fesetroundf): Likewise.
39057 (libc_fesetroundl): Likewise.
39058 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
39060 (libc_fesetround_387): Likewise.
39061 (libc_fesetroundf): New macro.
39062 (libc_fesetround): Likewise.
39063 (libc_fesetroundl): Likewise.
39064 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
39066 (libc_fesetroundf): New macro.
39067 (libc_fesetround): Likewise.
39068 (libc_fesetroundl): Likewise.
39069 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
39070 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
39071 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
39073 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
39074 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
39076 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
39077 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
39079 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
39083 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
39084 integer constant usable in #if and use that to give value to enum
39086 (FE_DIVBYZERO): Likewise.
39087 (FE_UNDERFLOW): Likewise.
39088 (FE_OVERFLOW): Likewise.
39089 (FE_INVALID): Likewise.
39090 (FE_INVALID_SNAN): Likewise.
39091 (FE_INVALID_ISI): Likewise.
39092 (FE_INVALID_IDI): Likewise.
39093 (FE_INVALID_ZDZ): Likewise.
39094 (FE_INVALID_IMZ): Likewise.
39095 (FE_INVALID_COMPARE): Likewise.
39096 (FE_INVALID_SOFTWARE): Likewise.
39097 (FE_INVALID_SQRT): Likewise.
39098 (FE_INVALID_INTEGER_CONVERSION): Likewise.
39099 (FE_TONEAREST): Likewise.
39100 (FE_TOWARDZERO): Likewise.
39101 (FE_UPWARD): Likewise.
39102 (FE_DOWNWARD): Likewise.
39103 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
39104 (FE_DIVBYZERO): Likewise.
39105 (FE_OVERFLOW): Likewise.
39106 (FE_UNDERFLOW): Likewise.
39107 (FE_INEXACT): Likewise.
39108 (FE_TONEAREST): Likewise.
39109 (FE_DOWNWARD): Likewise.
39110 (FE_UPWARD): Likewise.
39111 (FE_TOWARDZERO): Likewise.
39112 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
39113 (FE_UNDERFLOW): Likewise.
39114 (FE_OVERFLOW): Likewise.
39115 (FE_DIVBYZERO): Likewise.
39116 (FE_INVALID): Likewise.
39117 (FE_TONEAREST): Likewise.
39118 (FE_TOWARDZERO): Likewise.
39119 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
39120 (FE_OVERFLOW): Likewise.
39121 (FE_UNDERFLOW): Likewise.
39122 (FE_DIVBYZERO): Likewise.
39123 (FE_INEXACT): Likewise.
39124 (FE_TONEAREST): Likewise.
39125 (FE_TOWARDZERO): Likewise.
39126 (FE_UPWARD): Likewise.
39127 (FE_DOWNWARD): Likewise.
39128 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
39129 (FE_DIVBYZERO): Likewise.
39130 (FE_OVERFLOW): Likewise.
39131 (FE_UNDERFLOW): Likewise.
39132 (FE_INEXACT): Likewise.
39133 (FE_TONEAREST): Likewise.
39134 (FE_DOWNWARD): Likewise.
39135 (FE_UPWARD): Likewise.
39136 (FE_TOWARDZERO): Likewise.
39138 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
39140 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
39142 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
39144 * scripts/cross-test-ssh.sh (command): Use newlines to separate
39145 commands. Quote $PWD.
39146 (blacklist_exports): Don't use remove_newlines. Replace "declare
39148 (remove_newlines): Remove.
39150 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
39152 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
39153 * stdlib/stdlib.h (atof): Moved to ...
39154 * include/bits/stdlib-float.h: Here. New file.
39155 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
39156 * stdlib/bits/stdlib-float.h: New file.
39157 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
39159 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
39162 2012-11-02 Joseph Myers <joseph@codesourcery.com>
39164 * conform/conformtest.pl (@headers): Add fenv.h.
39165 * conform/data/fenv.h-data: New file.
39166 * include/fenv.h [_ISOMAC]: Disable all contents of file except
39167 include of <math/fenv.h>.
39169 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
39170 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
39171 && !UNIX98]. Enables tests for XOPEN2K8.
39172 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
39173 POSIX2008]: Likewise.
39175 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
39176 (struct rusage): Do not expect type or its members.
39179 * math/math.h (FP_NAN): Define macro to integer constant usable in
39180 #if and use that to give value to enum constant.
39181 (FP_INFINITE): Likewise.
39182 (FP_ZERO): Likewise.
39183 (FP_SUBNORMAL): Likewise.
39184 (FP_NORMAL): Likewise.
39186 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
39188 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
39189 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
39192 2012-11-02 Roland McGrath <roland@hack.frob.com>
39194 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
39195 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
39196 autoconf-time if not.
39197 * configure.in: Remove AC_PREREQ.
39199 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39201 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
39202 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
39203 of the internal implementation.
39205 2012-11-02 Joseph Myers <joseph@codesourcery.com>
39207 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
39208 except include of <misc/sys/syslog.h>.
39210 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
39212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
39213 function returns with a NULL context exit with zero.
39215 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39217 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
39219 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
39221 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
39222 (run_program_cmd): This.
39223 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
39224 (tst_langinfo): New variable. Use it.
39226 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
39228 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
39229 floating point opcodes.
39231 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39233 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
39236 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
39238 * sysdeps/mach/hurd/powerpc: Remove directory.
39239 * sysdeps/mach/powerpc: Likewise.
39241 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
39243 * scripts/check-local-headers.sh: Ignore c++ headers.
39245 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39247 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
39248 __libc_cleanup_region_start argument.
39250 2012-11-01 Joseph Myers <joseph@codesourcery.com>
39254 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
39255 x * y using scaling, not as x * y + z.
39256 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39257 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39258 * math/libm-test.inc (fma_test): Add more tests.
39259 (fma_test_towardzero): Likewise.
39260 (fma_test_downward): Likewise.
39261 (fma_test_upward): Likewise.
39263 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39265 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
39267 2012-10-31 Joseph Myers <joseph@codesourcery.com>
39269 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
39272 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
39274 * rt/tst-shm.c (worker): Correct checking for mmap failure.
39276 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
39278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39283 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39286 Fix the order of the list for glibc 2.17.
39287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39290 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
39292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39294 2012-10-31 Joseph Myers <joseph@codesourcery.com>
39297 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
39298 for low part of x being zero before using __atanl (y).
39299 * math/libm-test.inc (atan2_test): Add another test.
39301 * manual/install.texi (Configuring and compiling): Document
39302 general use of test-wrapper and test-wrapper-env.
39303 * INSTALL: Regenerated.
39305 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
39306 (__fma): Do not extract and scale down low bits on after-rounding
39307 systems when result rounded to normal precision would have normal
39309 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
39310 (__fmal): Do not extract and scale down low bits on after-rounding
39311 systems when result rounded to normal precision would have normal
39313 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
39314 (__fmal): Do not extract and scale down low bits on after-rounding
39315 systems when result rounded to normal precision would have normal
39317 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
39319 (fma_test): Add more tests.
39320 (fma_test_towardzero): Likewise.
39321 (fma_test_downward): Likewise.
39322 (fma_test_upward): Likewise.
39324 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
39326 * sysdeps/i386/tininess.h: Renamed to ...
39327 * sysdeps/x86/tininess.h: This.
39328 * sysdeps/x86_64/tininess.h: Removed.
39330 2012-10-30 Joseph Myers <joseph@codesourcery.com>
39332 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
39333 input. Use $(build-program-cmd).
39334 ($(objpfx)tst-array1-static.out): Likewise.
39335 ($(objpfx)tst-array2.out): Likewise.
39336 ($(objpfx)tst-array3.out): Likewise.
39337 ($(objpfx)tst-array4.out): Likewise.
39338 ($(objpfx)tst-array5.out): Likewise.
39339 ($(objpfx)tst-array5-static.out): Likewise.
39341 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
39343 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
39346 * nss/nsswitch.h (nss_interface_function): Provide new
39347 macro for use with NSS functions.
39348 * grp/initgroups.c: Use new macro.
39349 * nss/getXXbyYY.c: Likewise.
39350 * nss/getXXbyYY_r.c: Likewise.
39351 * nss/getXXent.c: Likewise.
39352 * nss/getXXent_r.c: Likewise.
39353 * sysdeps/posix/getaddrinfo.c: Likewise.
39355 2012-10-30 Andreas Jaeger <aj@suse.de>
39357 * po/ru.po: Update Russion translation from translation project.
39359 2012-10-30 Joseph Myers <joseph@codesourcery.com>
39363 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
39364 result and shift together with sticky bit instead of replicating
39365 round-to-nearest rounding.
39366 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39367 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39368 * math/libm-test.inc (fma_test): Add more tests. Do not permit
39369 missing underflow exceptions.
39370 (fma_test_towardzero): Add more tests.
39371 (fma_test_downward): Likewise.
39372 (fma_test_upward): Likewise.
39375 * sysdeps/generic/tininess.h: New file.
39376 * sysdeps/i386/tininess.h: Likewise.
39377 * sysdeps/sh/tininess.h: Likewise.
39378 * sysdeps/x86_64/tininess.h: Likewise.
39379 * stdlib/tst-strtod-underflow.c: Likewise.
39380 * stdlib/tst-tininess.c: Likewise.
39381 * stdlib/strtod_l.c: Include <tininess.h>.
39382 (round_and_return): Do not set errno for exact underflow cases.
39383 Force an underflow exception when setting errno for underflow.
39384 Determine underflow based on rounding to normal precision if
39385 TININESS_AFTER_ROUNDING.
39386 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
39387 ERANGE for exact underflow cases.
39388 * stdlib/Makefile (tests): Add tst-tininess and
39389 tst-strtod-underflow.
39390 ($(objpfx)tst-tininess): Use $(link-libm).
39391 ($(objpfx)tst-strtod-underflow): Likewise.
39393 2012-10-30 Andreas Jaeger <aj@suse.de>
39396 * elf/Makefile (tests): Remove conditional for have-initfini-array
39397 since this is now always required and the variable does not exist
39399 (tests-static): Likewise.
39400 (modules-names): Likewise.
39402 * po/eo.po: Add Esperanto translation from translation project.
39404 * elf/tst-array1.c (fini_array): Make writeable so that it can be
39405 merged with constructor/destructor.
39406 (init_array): Likewise.
39407 * elf/tst-array2dep.c (fini_array): Likewise.
39408 (init_array): Likewise.
39410 2012-10-29 Mike Frysinger <vapier@gentoo.org>
39412 * manual/message.texi: Delete @cartouche tags.
39414 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
39416 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
39418 * sysdeps/mach/hurd/fsync.c: Likewise.
39420 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
39421 [_POSIX_REALTIME_SIGNALS]: Change condition to
39422 [_POSIX_REALTIME_SIGNALS > 0].
39424 2012-10-27 Andreas Jaeger <aj@suse.de>
39426 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
39427 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
39428 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
39429 [__WORDSIZE != 64]: Likewise.
39431 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
39433 * iconvdata/tst-table.sh: Remove ${SHELL}.
39434 * iconvdata/tst-tables.sh: Likewise.
39436 2012-10-25 David S. Miller <davem@davemloft.net>
39438 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39439 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
39442 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
39444 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39445 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
39446 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
39449 2012-10-25 Roland McGrath <roland@hack.frob.com>
39451 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39452 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
39455 2012-10-25 Joseph Myers <joseph@codesourcery.com>
39456 Jim Blandy <jimb@codesourcery.com>
39458 * scripts/cross-test-ssh.sh: New file.
39459 * manual/install.texi (Configuring and compiling): Document use of
39461 * INSTALL: Regenerated.
39463 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
39465 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
39468 2012-10-25 Joseph Myers <joseph@codesourcery.com>
39470 * Makeconfig (run-program-prefix): Fix comment.
39472 2012-10-24 Joseph Myers <joseph@codesourcery.com>
39473 Jim Blandy <jimb@codesourcery.com>
39475 * Makeconfig (test-wrapper): New variable,
39476 (test-wrapper-env): Likewise.
39477 [$(cross-compiling) = yes && $(test-wrapper) != ""]
39478 (run-built-tests): Define to yes.
39479 (run-program-prefix): Use $(test-wrapper).
39480 (built-program-cmd): Likewise.
39481 * Rules (make-test-out): Use $(test-wrapper-env) and
39482 $(host-built-program-cmd).
39483 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
39484 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
39486 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
39487 $(test-wrapper-env) to tst-rtld-load-self.sh.
39488 ($(objpfx)order2.out): Use $(test-wrapper).
39489 ($(objpfx)tst-initorder.out): Likewise.
39490 ($(objpfx)tst-initorder2.out): Likewise.
39491 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
39492 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
39493 (test_wrapper_env): New variable. Use it to run ld.so.
39494 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
39495 Use it to run ld.so.
39496 (test_wrapper_env): Likewise.
39497 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
39498 $(test-wrapper) to run-iconv-test.sh.
39499 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
39500 (ICONV): Use $test_wrapper.
39501 * posix/Makefile ($(objpfx)globtest.out): Pass
39502 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
39503 globtest.sh, not $(run-program-prefix).
39504 * posix/globtest.sh (run_via_rtld_prefix): New variable.
39505 (test_wrapper): Likewise.
39506 (test_wrapper_env): Likewise. Use it to run globtest with HOME
39507 set together with run_via_rtld_prefix.
39508 (run_program_prefix): Define in terms of test_wrapper and
39509 run_via_rtld_prefix.
39511 2012-10-24 Roland McGrath <roland@hack.frob.com>
39513 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
39514 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
39518 * include/time.h: Remove librt_hidden_proto (clock_gettime).
39519 Declare __clock_getres, __clock_gettime, __clock_settime,
39520 __clock_nanosleep, and __clock_getcpuclockid.
39521 * rt/clock_gettime.c: Define __clock_gettime as an alias.
39522 Remove librt_hidden_def (clock_gettime).
39523 * sysdeps/unix/clock_gettime.c: Likewise.
39524 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
39525 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
39526 * rt/clock_getres.c: Define __clock_getres as an alias.
39527 * sysdeps/posix/clock_getres.c: Likewise.
39528 * rt/clock_settime.c: Define __clock_settime as an alias.
39529 * sysdeps/unix/clock_settime.c: Likewise.
39530 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
39531 * sysdeps/unix/clock_nanosleep.c: Likewise.
39532 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
39533 * rt/clock-compat.c: New file.
39534 * rt/Makefile (librt-routines): Add clock-compat and move
39535 $(clock-routines) to ...
39536 (routines): ... here, new variable.
39537 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
39538 Don't add get_clockfreq here.
39539 * rt/Versions (libc: GLIBC_2.17): New version set.
39540 Add clock_* symbols here.
39541 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
39542 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
39543 (GLIBC_2.17): Add clock_* symbols.
39544 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39546 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39552 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39555 * NEWS: Mention the move.
39557 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39558 Use __open, __read, __close rather than their public counterparts.
39559 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39560 (__get_clockfreq_via_cpuinfo): Likewise.
39561 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
39562 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
39564 * config.h.in (HAVE_IFUNC): New #undef.
39565 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
39567 * configure: Regenerated.
39569 2012-10-24 Mike Frysinger <vapier@gentoo.org>
39571 * configure.in: Move READELF check to start of file.
39572 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
39573 libc_cv_asm_gnu_indirect_function in the process.
39574 * configure: Regenerated.
39576 2012-10-24 Mike Frysinger <vapier@gentoo.org>
39578 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
39579 send the output to /dev/null.
39580 (libc_cv_cc_with_libunwind): Likewise.
39581 (libc_cv_as_noexecstack): Likewise.
39582 * configure: Regenerate.
39584 2012-10-24 Joseph Myers <joseph@codesourcery.com>
39586 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
39588 * posix/globtest.sh (TMPDIR): Do not set.
39589 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
39590 (testout): Likewise.
39592 2012-10-24 Andreas Jaeger <aj@suse.de>
39594 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
39595 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
39596 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
39597 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
39598 posix_fadvise64, posix_fallocate64.
39600 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
39601 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
39602 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
39604 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
39606 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
39608 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
39609 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
39610 <bits/fcntl-linux.h>.
39611 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
39613 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
39614 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
39615 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
39616 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
39617 [__WORDSIZE != 64]: Likewise.
39619 2012-10-23 Joseph Myers <joseph@codesourcery.com>
39621 * Makeconfig (run-built-tests): New variable.
39622 * Rules [$(cross-compiling) = yes]: Change condition to
39623 [$(run-built-tests) = no].
39624 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
39625 to [$(run-built-tests) = yes].
39626 * elf/Makefile [$(cross-compiling) = no]: Likewise
39627 * grp/Makefile [$(cross-compiling) = no]: Likewise.
39628 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
39629 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
39630 * intl/Makefile [$(cross-compiling) = no]: Likewise.
39631 * io/Makefile [$(cross-compiling) = no]: Likewise.
39632 * libio/Makefile [$(cross-compiling) = no]: Likewise.
39633 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
39634 * misc/Makefile [$(cross-compiling) = no]: Likewise.
39635 * posix/Makefile [$(cross-compiling) = no]: Likewise.
39636 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
39637 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
39638 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
39639 * string/Makefile [$(cross-compiling) = no]: Likewise.
39641 * posix/Makefile ($(objpfx)globtest.out): Pass
39642 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
39643 $(rtld-installed-name).
39644 * posix/globtest.sh (elf_objpfx): Remove variable.
39645 (rtld_installed_name): Likewise.
39646 (library_path): Likewise.
39647 (run_program_prefix): New variable. Use for running globtest
39650 2012-10-23 Jim Blandy <jimb@codesourcery.com>
39651 Joseph Myers <joseph@codesourcery.com>
39653 * Makeconfig (host-built-program-cmd): New variable.
39654 * elf/Makefile (tst-stackguard1-ARGS): Use
39655 $(host-built-program-cmd).
39656 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
39657 (tst-spawn-ARGS): Likewise.
39658 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
39660 2012-10-23 Joseph Myers <joseph@codesourcery.com>
39661 Jim Blandy <jimb@codesourcery.com>
39663 * Makeconfig (run-via-rtld-prefix): New variable.
39664 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
39665 (built-program-cmd): Likewise.
39667 2012-10-22 Andreas Jaeger <aj@suse.de>
39669 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
39670 __O_RSYNC if it exists, otherwise to O_SYNC.
39672 2012-10-22 Jim Blandy <jimb@codesourcery.com>
39673 Joseph Myers <joseph@codesourcery.com>
39675 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
39677 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
39679 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
39682 2012-10-22 Andreas Jaeger <aj@suse.de>
39684 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
39686 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
39688 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39689 bits/fcntl-linux.h.
39691 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
39692 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
39694 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
39696 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
39699 2012-10-21 Jim Blandy <jimb@codesourcery.com>
39700 Joseph Myers <joseph@codesourcery.com>
39702 * config.make.in (NM): New variable.
39704 2012-10-21 Andreas Jaeger <aj@suse.de>
39706 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
39707 definitions and declarations that are provided by
39708 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39710 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
39713 * elf/Makefile (tests-static): Add tst-leaks1-static.
39714 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
39715 ($(objpfx)tst-leaks1-static): New rule.
39716 ($(objpfx)tst-leaks1-static-mem): Likewise.
39717 (tst-leaks1-static-ENV): New macro.
39718 * elf/dl-open.c (dl_open_worker): Check the main application
39719 only if SHARED is defined.
39720 * elf/tst-leaks1-static.c: New file.
39722 2012-10-20 Andreas Jaeger <aj@suse.de>
39724 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
39725 generic values for Linux.
39726 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
39727 and declarations that are provided by <bits/fcntl-linux.h> and
39728 include <bits/fcntl-linux.h>.
39729 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39730 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39732 2012-10-20 Roland McGrath <roland@hack.frob.com>
39734 * io/fcntl.h: Move include of <bits/types.h> to the top and
39735 include it unconditionally.
39737 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
39739 * wcsmbs/Makefile (tests-ifunc): New variable.
39740 (tests): Add $(tests-ifunc).
39741 * wcsmbs/test-wcschr-ifunc.c: New file.
39742 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
39743 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
39744 * wcsmbs/test-wcslen-ifunc.c: Likewise.
39745 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
39746 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
39748 * string/Makefile (tests-ifunc): New variable.
39749 (tests): Add $(tests-ifunc).
39750 * string/test-memccpy.c (TEST_NAME): New macro.
39751 * string/test-memchr.c (TEST_NAME): Likewise.
39752 * string/test-memcmp.c (TEST_NAME): Likewise.
39753 * string/test-memcpy.c (TEST_NAME): Likewise.
39754 * string/test-memmem.c (TEST_NAME): Likewise.
39755 * string/test-memmove.c (TEST_NAME): Likewise.
39756 * string/test-memset.c (TEST_NAME): Likewise.
39757 * string/test-rawmemchr.c (TEST_NAME): Likewise.
39758 * string/test-stpcpy.c (TEST_NAME): Likewise.
39759 * string/test-stpncpy.c (TEST_NAME): Likewise.
39760 * string/test-strcasecmp.c (TEST_NAME): Likewise.
39761 * string/test-strcasestr.c (TEST_NAME): Likewise.
39762 * string/test-strcat.c (TEST_NAME): Likewise.
39763 * string/test-strchr.c (TEST_NAME): Likewise.
39764 * string/test-strcmp.c(TEST_NAME): Likewise.
39765 * string/test-strcpy.c (TEST_NAME): Likewise.
39766 * string/test-strcspn.c (TEST_NAME): Likewise.
39767 * string/test-strlen.c (TEST_NAME): Likewise.
39768 * string/test-strncasecmp.c (TEST_NAME): Likewise.
39769 * string/test-strncmp.c (TEST_NAME): Likewise.
39770 * string/test-strncpy.c (TEST_NAME): Likewise.
39771 * string/test-strnlen.c (TEST_NAME): Likewise.
39772 * string/test-strpbrk.c (TEST_NAME): Likewise.
39773 * string/test-strrchr.c (TEST_NAME): Likewise.
39774 * string/test-strspn.c (TEST_NAME): Likewise.
39775 * string/test-strstr.c (TEST_NAME): Likewise.
39776 * string/test-bcopy-ifunc.c: New file.
39777 * string/test-bzero-ifunc.c: Likewise.
39778 * string/test-memccpy-ifunc.c: Likewise.
39779 * string/test-memchr-ifunc.c: Likewise.
39780 * string/test-memcmp-ifunc.c: Likewise.
39781 * string/test-memcpy-ifunc.c: Likewise.
39782 * string/test-memmem-ifunc.c: Likewise.
39783 * string/test-memmove-ifunc.c: Likewise.
39784 * string/test-mempcpy-ifunc.c: Likewise.
39785 * string/test-memset-ifunc.c: Likewise.
39786 * string/test-rawmemchr-ifunc.c: Likewise.
39787 * string/test-stpcpy-ifunc.c: Likewise.
39788 * string/test-stpncpy-ifunc.c: Likewise.
39789 * string/test-strcasecmp-ifunc.c: Likewise.
39790 * string/test-strcasestr-ifunc.c: Likewise.
39791 * string/test-strcat-ifunc.c: Likewise.
39792 * string/test-strchr-ifunc.c: Likewise.
39793 * string/test-strchrnul-ifunc.c: Likewise.
39794 * string/test-strcmp-ifunc.c: Likewise.
39795 * string/test-strcpy-ifunc.c: Likewise.
39796 * string/test-strcspn-ifunc.c: Likewise.
39797 * string/test-strlen-ifunc.c: Likewise.
39798 * string/test-strncasecmp-ifunc.c: Likewise.
39799 * string/test-strncat-ifunc.c: Likewise.
39800 * string/test-strncmp-ifunc.c: Likewise.
39801 * string/test-strncpy-ifunc.c: Likewise.
39802 * string/test-strnlen-ifunc.c: Likewise.
39803 * string/test-strpbrk-ifunc.c: Likewise.
39804 * string/test-strrchr-ifunc.c: Likewise.
39805 * string/test-strspn-ifunc.c: Likewise.
39806 * string/test-strstr-ifunc.c: Likewise.
39808 * debug/Makefile (tests-ifunc): New variable.
39809 (tests): Add $(tests-ifunc).
39810 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
39811 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
39812 * debug/test-stpcpy_chk-ifunc.c: New file.
39813 * debug/test-strcpy_chk-ifunc.c: Likewise.
39815 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39818 * elf/dl-load.c (open_verify): Retry read if the entire ELF
39819 header is not read in.
39821 2012-10-19 Joseph Myers <joseph@codesourcery.com>
39823 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
39824 script to $(SHELL) as $<. Pass $(common-objpfx) to script
39825 directly. Pass built executable to script as
39826 $(built-program-cmd).
39827 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
39828 $testprogram without using LD_LIBRARY_PATH and $ldso.
39830 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
39831 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
39832 $(rtld-installed-name).
39833 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
39834 (rtld_installed_name): Likewise.
39835 (library_path): Likewise.
39836 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
39837 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
39838 $(run-program-prefix) to tst-tables.sh.
39839 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
39840 it to run tst-table-from and tst-table-to.
39841 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
39842 Pass it to tst-table.sh.
39843 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
39844 $(run-program-prefix) to tst-gettext.sh.
39845 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
39847 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
39849 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
39850 to run tst-gettext.
39851 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
39852 to run tst-gettext2.
39853 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
39854 to run tst-translit.
39855 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
39856 $(run-program-prefix) to tst-mtrace.sh.
39857 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
39859 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
39860 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
39861 $(rtld-installed-name).
39862 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
39863 (rtld_installed_name): Likewise.
39864 (run_program_prefix): New variable. Use it to run wordexp-test.
39866 * Makeconfig (ARCH): Remove all definitions.
39867 (machine): Likewise.
39868 [ARCH]: Remove conditional code.
39869 [!objdir]: Give error.
39870 [!objdir] (objpfx): Remove.
39871 [!objdir] (common-objpfx): Likewise.
39872 [!objdir] (common-objdir): Likewise.
39873 * configure.in (config_makefile): Remove. Hardcode Makefile in
39874 AC_CONFIG_FILES call.
39875 * configure: Regenerated.
39878 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
39880 (testout): Likewise.
39882 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
39883 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
39884 $(rtld-installed-name).
39885 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
39886 (rtld_installed_name): Likwise.
39887 (runit): Remove function.
39888 (run_getconf): New variable, Use it for running getconf binary.
39890 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
39893 * string/test-memmem.c (check_result): New function.
39894 (do_one_test): Use it.
39895 (check1): New function.
39896 (test_main): Use it.
39898 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
39900 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
39902 2012-10-18 Joseph Myers <joseph@codesourcery.com>
39904 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
39905 (_G_LSEEK64): Likewise.
39906 (_G_MMAP64): Likewise.
39907 (_G_FSTAT64): Likewise.
39908 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
39909 (_G_LSEEK64): Likewise.
39910 (_G_MMAP64): Likewise.
39911 (_G_FSTAT64): Likewise.
39912 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
39913 unconditional. Call __mmap64 directly.
39914 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
39915 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
39916 __lseek64 directly.
39917 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
39918 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
39920 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
39921 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
39922 __lseek64 directly.
39923 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
39924 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
39925 __lseek64 directly.
39926 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
39927 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
39928 __lseek64 directly.
39929 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
39930 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
39931 __fxstat64 directly.
39932 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
39933 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
39935 (freopen64) [!_G_OPEN64]: Remove conditional code.
39936 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
39938 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
39939 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
39941 (ftello64) [!_G_LSEEK64]: Remove conditional code.
39942 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
39944 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
39945 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
39947 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
39948 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
39950 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
39951 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
39953 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
39954 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
39956 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
39958 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39961 * manual/memory.texi (Malloc Tunable Parameters): Add note
39962 about free list pointers overwriting some perturb bytes.
39963 Wording suggested by Roland McGrath.
39965 2012-10-17 Joseph Myers <joseph@codesourcery.com>
39967 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
39968 (lgamma_test): Likewise.
39969 (tgamma_test): Likewise.
39971 2012-10-16 Florian Weimer <fweimer@redhat.com>
39974 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
39975 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
39977 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
39979 * NEWS: Mention BZ #14716.
39980 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
39981 when removing AVAILABLE1_USES_J macro.
39983 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
39985 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
39986 (__bswap_64): __uint64_t for unsigned 64-bit int.
39988 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
39990 * include/string.h (memmem): Declare libc hidden alias.
39991 * string/memmem.c (memmem): Define libc hidden alias.
39992 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
39993 __read, __close instead of open, read, close.
39995 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
39997 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
39998 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
40000 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
40001 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
40002 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
40004 (__rawmemchr_sse2): Likewise.
40005 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
40006 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
40007 (__strchr_sse2): Likewise.
40008 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
40009 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
40010 (__strcasecmp_sse2): Likewise.
40011 (__strncasecmp_sse2): Likewise.
40012 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
40013 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
40014 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
40015 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
40016 (__strrchr_sse2): Likewise.
40017 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
40019 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
40020 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
40021 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
40022 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
40023 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
40024 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
40025 * sysdeps/x86_64/multiarch/memset.S: Likewise.
40026 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40027 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
40028 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
40029 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
40030 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
40031 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
40032 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
40033 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
40034 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40035 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
40036 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
40037 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
40038 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
40039 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
40040 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
40041 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
40042 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
40043 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
40044 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40045 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
40046 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40047 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
40048 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
40050 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
40052 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
40053 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
40054 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
40055 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
40057 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
40059 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
40060 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
40061 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
40062 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
40064 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40065 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40066 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40067 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40068 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40069 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40070 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40071 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40072 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40073 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40074 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40075 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40076 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40077 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
40078 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
40079 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40080 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
40081 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
40082 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40083 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40084 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40085 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40086 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40087 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40088 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40089 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
40090 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
40091 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
40092 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
40093 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40094 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
40095 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40096 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40097 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
40098 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40099 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40100 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40101 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40102 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40103 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40104 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
40106 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
40107 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
40108 * include/ifunc-impl-list.h: New file.
40109 * misc/ifunc-impl-list.c: Likewise.
40110 * misc/Makefile (routines): Add ifunc-impl-list.
40111 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
40112 * string/test-string.h: Include <ifunc-impl-list.h>.
40113 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
40114 TEST_NAME]: New variables.
40115 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
40117 (test_init): Call __libc_ifunc_impl_list to initialize
40118 func_list if TEST_IFUNC and TEST_NAME are defined.
40120 * string/Makefile (strop-tests): Add bcopy and bzero.
40121 * string/test-bcopy.c: New file.
40122 * string/test-bzero.c: Likewise.
40123 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
40125 * string/test-memset.c: Support bzero test if TEST_BZERO is
40127 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
40129 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
40131 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
40134 2012-10-10 Joseph Myers <joseph@codesourcery.com>
40136 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
40137 * configure: Regenerated.
40139 * Makeconfig (+link-static-before-libc): Don't include
40140 $(link-static-libc).
40142 * libio/libio.h (_IO_pos_t): Remove.
40144 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
40146 * NEWS: Add note about FIPS mode. Wording suggested by Roland
40149 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
40151 * crypt/crypt-entry.c: Include fips-private.h.
40152 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
40153 * crypt/md5c-test.c (main): Tolerate disabled MD5.
40154 * sysdeps/unix/sysv/linux/fips-private.h: New file.
40155 * sysdeps/generic/fips-private.h: New file, dummy fallback.
40157 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
40159 * crypt/crypt-private.h: Include stdbool.h.
40160 (_ufc_setup_salt_r): Return bool.
40161 * crypt/crypt-entry.c: Include errno.h.
40162 (__crypt_r): Return NULL with EINVAL for bad salt.
40163 * crypt/crypt_util.c (bad_for_salt): New.
40164 (_ufc_setup_salt_r): Check that salt is long enough and within
40165 the specified alphabet.
40166 * crypt/badsalttest.c: New file.
40167 * crypt/Makefile (tests): Add it.
40168 ($(objpfx)badsalttest): New.
40170 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
40172 * NEWS: Add entry for BZ #14602.
40174 2012-10-09 Joseph Myers <joseph@codesourcery.com>
40176 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
40178 * math/libm-test.inc: Update comment listing what functions and
40180 (isgreater_test): New function.
40181 (isgreaterequal_test): Likewise.
40182 (isless_test): Likewise.
40183 (islessequal_test): Likewise.
40184 (islessgreater_test): Likewise.
40185 (isunordered_test): Likewise.
40186 (main): Call the new functions.
40188 2012-10-09 Roland McGrath <roland@hack.frob.com>
40190 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
40191 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
40192 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
40193 * sysdeps/i386/configure: Regenerated.
40194 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
40195 * sysdeps/mach/configure: Regenerated.
40196 * sysdeps/mach/hurd/configure: Regenerated.
40197 * sysdeps/powerpc/configure: Regenerated.
40198 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40199 * sysdeps/powerpc/powerpc64/configure: Regenerated.
40200 * sysdeps/s390/s390-32/configure: Regenerated.
40201 * sysdeps/s390/s390-64/configure: Regenerated.
40202 * sysdeps/sh/configure: Regenerated.
40203 * sysdeps/sparc/configure: Regenerated.
40204 * sysdeps/unix/sysv/linux/configure: Regenerated.
40205 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
40206 * sysdeps/x86_64/configure: Regenerated.
40208 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
40209 defined. Don't check if MAP is NULL.
40211 2012-10-09 Joseph Myers <joseph@codesourcery.com>
40213 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
40214 (_G_stat64): Likewise.
40215 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
40216 (_G_stat64): Likewise.
40217 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
40218 instead of struct _G_stat64.
40219 * libio/fileops.c (mmap_remap_check): Likewise.
40220 (decide_maybe_mmap): Likewise.
40221 (_IO_new_file_seekoff): Likewise.
40222 (_IO_file_stat): Likewise.
40223 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
40225 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
40226 instead of struct _G_stat64.
40227 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40229 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
40232 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40234 (CHECK_EOL): New macro.
40235 (two_way_short_needle): Check beginning of haystack for EOL. Use
40237 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40238 Replace with CHECK_EOL.
40239 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40240 Replace with CHECK_EOL.
40242 2012-10-08 Joseph Myers <joseph@codesourcery.com>
40244 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
40246 * math/libm-test.inc: Update comment listing what functions and
40248 (finite_test): New function.
40249 (isinf_test): Likewise.
40250 (isnan_test): Likewise.
40251 (fpclassify_test): Test subnormal input.
40252 (isfinite_test): Likewise.
40253 (isnormal_test): Likewise.
40254 (main): Call the new functions.
40256 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
40259 * Makerules (%.dynsym): Force C locale when running
40260 $(OBJDUMP) --dynamic-syms.
40262 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
40264 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
40267 2012-10-06 David S. Miller <davem@davemloft.net>
40269 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
40270 upper 32-bits of the length value in %o2 since we use branch-on-register
40271 tests which consider the entire 64-bit register.
40273 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
40275 * string/test-strstr.c (check2): Add a test for page boundary.
40277 2012-10-05 David S. Miller <davem@davemloft.net>
40279 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
40280 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
40282 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40284 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40285 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
40286 and bzero when HWCAP_SPARC_CRYPTO is present.
40288 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
40291 * string/test-strstr.c (check2): New function.
40292 (test_main): Call check2.
40294 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
40296 * string/bug-strcasestr1.c (do_test): Moved to ...
40297 * string/test-strcasestr.c (check1): Here. New function.
40298 (do_one_test): Break out result checking code into ...
40299 (check_result): This. New function.
40300 (do_one_test): Call check_result.
40301 (test_main): Call check1.
40302 * string/bug-strchr1.c (do_test): Moved to ...
40303 * string/test-strchr.c (check1): Here. New function.
40304 (do_one_test): Break out result checking code into ...
40305 (check_result): This. New function.
40306 (do_one_test): Call check_result.
40307 (test_main): Call check1.
40308 * string/bug-strstr1.c (main): Moved to ...
40309 * string/test-strstr.c (check1): Here. New function.
40310 (do_one_test): Break out result checking code into ...
40311 (check_result): This. New function.
40312 (do_one_test): Call check_result.
40313 (test_main): Call check1.
40314 * string/bug-strcasestr1.c: Removed.
40315 * string/bug-strchr1.c: Likewise.
40316 * string/bug-strstr1.c: Likewise.
40318 * elf/Makefile (dl-routines): Add hwcaps.
40319 * elf/dl-support.c (_dl_important_hwcaps): Removed.
40320 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
40321 (_dl_important_hwcaps): Moved to ...
40322 * elf/dl-hwcaps.c: Here. New file.
40323 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
40326 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
40327 if IS_IN_rtld isn't defined.
40329 * elf/dl-support.c (_dl_sysinfo_map): New.
40330 Include "get-dynamic-info.h" and "setup-vdso.h".
40331 (_dl_non_dynamic_init): Call setup_vdso.
40332 * elf/dynamic-link.h: Don't include <assert.h>.
40333 (elf_get_dynamic_info): Moved to ...
40334 * elf/get-dynamic-info.h: Here. New file.
40335 * elf/dynamic-link.h: Include "get-dynamic-info.h".
40336 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
40337 * elf/setup-vdso.h: Here. New file.
40338 * elf/rtld.c: Include "setup-vdso.h".
40339 (dl_main): Call setup_vdso.
40341 2012-10-05 Joseph Myers <joseph@codesourcery.com>
40343 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
40344 creal in comment listing functions tested. List finite, isinf,
40345 isnan, isless, islessequal, isgreater, isgreaterequal,
40346 islessgreater, isunordered, lgamma_r and pow10 as functions and
40347 macros not tested. Mention which functions not tested are aliases
40348 for other functions. Fix typo. Note that signs of NaNs are not
40351 * scripts/config.guess: Update from config.git.
40352 * scripts/config.sub: Likewise.
40354 2012-10-04 Roland McGrath <roland@hack.frob.com>
40356 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
40357 * misc/madvise.c (madvise): Renamed to __madvise.
40358 Make madvise a weak alias.
40359 * include/sys/mman.h: Declare __madvise.
40360 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
40361 * sysdeps/unix/syscalls.list
40362 (madvise): Make __madvise the strong name, and madvise a weak alias.
40363 * sysdeps/unix/sysv/linux/syscalls.list
40364 (madvise, mmap): Remove redundant entries.
40365 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
40366 * malloc/malloc.c (mtrim): Likewise.
40367 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
40369 2012-10-03 Roland McGrath <roland@hack.frob.com>
40371 * sysdeps/mach/hurd/dl-cache.c: File removed.
40372 * config.h.in (USE_LDCONFIG): New #undef.
40373 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
40374 * configure: Regenerated.
40375 * elf/Makefile (dl-routines): Add dl-cache only under
40376 [$(use-ldconfig) = yes].
40377 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
40378 cache on [USE_LDCONFIG].
40379 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
40381 * elf/rtld.c (dl_main): Likewise.
40383 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
40385 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
40386 _SC_LEVEL4_CACHE_LINESIZE.
40388 2012-10-03 Roland McGrath <roland@hack.frob.com>
40390 * sysdeps/unix/bsd/confstr.h: File removed.
40392 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
40394 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
40397 2012-10-02 Roland McGrath <roland@hack.frob.com>
40399 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
40400 Make 'mapoff' field ElfW(Off) rather than off_t.
40402 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
40404 * nscd/Makefile: Remove nscd-cflags and all its users.
40405 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
40406 (CFLAGS-nonlib): Add compiler flags for nscd modules.
40409 * malloc.c (malloc_printerr): Clarify error message.
40411 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
40414 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40415 Set bit_FMA_Usable if FMA is supported.
40416 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
40418 (bit_FMA4_Usable): Updated.
40419 (index_FMA_Usable): New macro.
40420 (CPUID_FMA): Likewise
40421 (HAS_FMA): Defined with bit_FMA_Usable.
40423 2012-10-01 Roland McGrath <roland@hack.frob.com>
40425 * bits/types.h (__swblk_t): Type removed.
40426 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
40427 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
40428 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40429 (__SWBLK_T_TYPE): Likewise.
40430 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40431 (__SWBLK_T_TYPE): Likewise.
40432 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40433 (__SWBLK_T_TYPE): Likewise.
40434 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40435 (__SWBLK_T_TYPE): Likewise.
40437 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
40438 Honza Horak <hhorak@redhat.com>
40440 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
40441 (xdr_mapname): Use YPMAXMAP as maxsize.
40442 (xdr_peername): Use YPMAXPEER as maxsize.
40443 (xdr_keydat): Use YPAXRECORD as maxsize.
40444 (xdr_valdat): Use YPMAXRECORD as maxsize.
40446 2012-10-01 Roland McGrath <roland@hack.frob.com>
40448 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
40450 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
40451 * csu/init-first.c: ... here.
40452 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
40453 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
40454 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40455 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40456 * sysdeps/i386/init-first.c: File removed.
40457 * sysdeps/sh/init-first.c: File removed.
40459 2012-10-01 Joseph Myers <joseph@codesourcery.com>
40462 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
40463 if x * y might underflow to zero and z is zero.
40464 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40465 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40466 * math/libm-test.inc (min_subnorm_value): New variable.
40467 (fma_test): Add more tests.
40468 (fma_test_towardzero): Likewise.
40469 (fma_test_downward): Likewise
40470 (fma_test_upward): Likewise.
40471 (initialize): Set min_subnorm_value.
40473 2012-09-29 Joseph Myers <joseph@codesourcery.com>
40476 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
40478 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
40479 mode for addition resulting in exact zero.
40480 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
40481 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
40483 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40484 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40485 * math/libm-test.inc (fma_test): Add more tests.
40486 (fma_test_towardzero): New function.
40487 (fma_test_downward): Likewise.
40488 (fma_test_upward): Likewise.
40489 (main): Call the new functions.
40491 2012-09-28 David S. Miller <davem@davemloft.net>
40493 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
40495 2012-09-28 Roland McGrath <roland@hack.frob.com>
40497 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
40498 instead of SIGALRM.
40500 * sysdeps/gnu/_G_config.h: Moved to ...
40501 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
40502 * sysdeps/mach/hurd/_G_config.h: Moved to ...
40503 * sysdeps/generic/_G_config.h: ... here.
40505 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
40507 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
40509 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
40510 Conditionalize target on [libnss_test1.so-version].
40512 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
40514 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
40515 (elfobjdir): Move out of conditionals.
40517 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
40518 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
40519 (__nss_lookup_function): Conditionalize label remove_from_tree on
40520 [!DO_STATIC_NSS || SHARED], matching its only use.
40522 2012-09-28 David S. Miller <davem@davemloft.net>
40524 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
40525 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
40527 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40529 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40530 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
40531 when HWCAP_SPARC_CRYPTO is present.
40533 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40535 * io/tst-mknodat.c: Create a FIFO instead of a socket.
40537 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
40540 * stdio-common/vfprintf.c (process_string_arg): Revert
40543 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
40545 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
40547 * stdio-common/tst-sprintf.c: Include <locale.h>
40548 (main): Test sprintf's handling of incomplete multibyte
40551 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
40553 * elf/dl-runtime.c (VERSYMIDX): Removed.
40554 * elf/dl-version.c (VERSYMIDX): Likewise.
40555 * elf/do-rel.h (VERSYMIDX): Likewise.
40556 (VALIDX): Likewise.
40557 * elf/dynamic-link.h (VERSYMIDX): Likewise.
40558 * elf/rtld.c (VALIDX): Likewise.
40559 (ADDRIDX): Likewise.
40560 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
40561 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
40562 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
40563 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
40564 (VALIDX): Likewise.
40565 (ADDRIDX): Likewise.
40567 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40569 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
40571 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
40574 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
40576 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
40577 addresses are in the same scope as 192.0.2/24.
40578 * posix/gai.conf: Document new scope table defaults.
40580 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40583 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
40584 for ftell. Compute offsets from write pointers instead.
40585 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40587 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40590 * libio/Makefile (tests): New test case tst-fseek.
40591 * libio/tst-fseek.c: New test case to verify that fseek/ftell
40592 combination works in wide mode.
40593 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
40594 state when the external buffer state changes.
40596 2012-09-27 David S. Miller <davem@davemloft.net>
40599 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
40600 pass reloc->r_addend in as the 'high' argument to
40601 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
40603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40605 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40607 * rt/tst-aio2.c: Include <pthread.h>.
40608 * rt/tst-aio3.c: Likewise.
40610 2012-09-27 Steve Ellcey <sellcey@mips.com>
40612 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
40614 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
40616 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
40617 contents on [SHARED].
40619 2012-09-26 Marek Polacek <polacek@redhat.com>
40623 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
40624 for C++ and GCC <4.3 as well as for non GCC compilers.
40626 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
40628 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40630 2012-09-25 Roland McGrath <roland@hack.frob.com>
40632 * Makefile.in (all, install): Declare with .PHONY.
40633 Reported by Michael Hope <michael.hope@linaro.org>.
40635 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40637 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
40638 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
40640 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
40642 (sydep_routines): Add the new and the internal functions.
40643 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
40644 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
40645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
40646 (GLIBC_2.17): Add the new function.
40647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40648 (GLIBC_2.17): Likewise.
40649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
40650 (GLIBC_2.17): Likewise.
40651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
40652 (GLIBC_2.17): Likewise.
40653 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
40655 2012-09-25 Alan Modra <amodra@gmail.com>
40657 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
40658 Add release barrier before setting once_control to say
40659 initialisation is done. Add hints on lwarx. Use macro in
40661 (clear_once_control): Add release barrier.
40663 2012-09-25 Joseph Myers <joseph@codesourcery.com>
40666 * math/s_clog.c (__clog): Handle more values close to |z| = 1
40668 * math/s_clog10.c (__clog10): Likewise.
40669 * math/s_clog10f.c (__clog10f): Likewise.
40670 * math/s_clog10l.c (__clog10l): Likewise.
40671 * math/s_clogf.c (__clogf): Likewise.
40672 * math/s_clogl.c (__clogl): Likewise.
40673 * math/Makefile (libm-calls): Add x2y2m1.
40674 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
40675 (__x2y2m1): Likewise.
40676 (__x2y2m1l): Likewise.
40677 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
40678 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
40679 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
40680 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40681 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
40682 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
40683 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
40684 * sysdeps/i386/fpu/libm-test-ulps: Update.
40685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40688 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
40689 int as type of variable DEPTH.
40690 (glob): Use size_t instead of int as type of variables NEWCOUNT
40693 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40695 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
40696 Add s_sincosf-sse2.
40697 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
40698 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
40699 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
40700 macros for using routine as __sincosf_ia32.
40701 Use macro for function declaration and weak_alias.
40702 * sysdeps/i386/fpu/libm-test-ulps: Update.
40704 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
40705 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40707 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
40708 subnormal argument.
40709 * math/s_cexpf.c (__cexpf): Likewise.
40710 * math/s_csinf.c (__csinf): Likewise.
40711 * math/s_csinhf.c (__csinhf): Likewise.
40712 * math/s_ctanf.c (__ctanf): Likewise.
40713 * math/s_ctanhf.c (__ctanhf): Likewise.
40714 * math/s_ccosh.c (__ccoshf): Likewise.
40715 * math/s_cexp.c (__cexpl): Likewise.
40716 * math/s_csin.c (__csin): Likewise.
40717 * math/s_csinh.c (__csinh): Likewise.
40718 * math/s_ctan.c (__ctan): Likewise.
40719 * math/s_ctanh.c (ctanh): Likewise.
40720 * math/s_ccoshl.c (__ccoshl): Likewise.
40721 * math/s_cexpl.c (__cexpl): Likewise.
40722 * math/s_csinl.c (__csinl): Likewise.
40723 * math/s_csinhl.c (__csinhl): Likewise.
40724 * math/s_ctanl.c (__ctanl): Likewise.
40725 * math/s_ctanhl.c (__ctanhl): Likewise.
40727 2012-09-25 Joseph Myers <joseph@codesourcery.com>
40729 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
40730 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
40731 (_IO_off_t): Define to __off_t, not _G_off_t.
40732 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
40733 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
40734 (_IO_wint_t): Define to wint_t, not _G_wint_t.
40735 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
40736 type of __dummy and __dummy2 fields.
40737 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
40738 (_G_ssize_t): Likewise.
40739 (_G_off_t): Likewise.
40740 (_G_pid_t): Likewise.
40741 (_G_uid_t): Likewise.
40742 (_G_wchar_t): Likewise.
40743 (_G_wint_t): Likewise.
40744 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
40745 (_G_ssize_t): Likewise.
40746 (_G_off_t): Likewise.
40747 (_G_pid_t): Likewise.
40748 (_G_uid_t): Likewise.
40749 (_G_wchar_t): Likewise.
40750 (_G_wint_t): Likewise.
40751 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
40752 (_G_ssize_t): Likewise.
40753 (_G_off_t): Likewise.
40754 (_G_pid_t): Likewise.
40755 (_G_uid_t): Likewise.
40756 (_G_wchar_t): Likewise.
40757 (_G_wint_t): Likewise.
40759 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40761 * malloc/arena.c: Include malloc-sysdep.h.
40762 (shrink_heap): Use check_may_shrink_heap to decide if madvise
40763 is sufficient to shrink the heap or an unmap is needed.
40764 * sysdeps/generic/malloc-sysdep.h: New file. Define
40765 new function check_may_shrink_heap.
40766 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
40767 new function check_may_shrink_heap.
40769 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40771 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
40774 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
40776 * catgets/test-gencat.sh: Add "set -e".
40777 * elf/tst-pathopt.sh: Likewise.
40778 * grp/tst_fgetgrent.sh: Likewise.
40779 * iconvdata/run-iconv-test.sh: Likewise.
40780 * intl/tst-gettext.sh: Likewise.
40781 * intl/tst-gettext2.sh: Likewise.
40782 * intl/tst-gettext4.sh: Likewise.
40783 * intl/tst-gettext6.sh: Likewise.
40784 * intl/tst-translit.sh: Likewise.
40785 * io/ftwtest-sh: Likewise.
40786 * libio/test-freopen.sh: Likewise.
40787 * malloc/tst-mtrace.sh: Likewise.
40788 * posix/globtest.sh: Likewise.
40789 * posix/tst-getconf.sh: Likewise.
40790 * posix/wordexp-tst.sh: Likewise.
40791 * stdio-common/tst-printf.sh: Likewise.
40792 * stdio-common/tst-unbputc.sh: Likewise.
40793 * stdlib/tst-fmtmsg.sh: Likewise.
40794 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40795 * catgets/Makefile: Do not specify -e option when running
40796 testsuite shell scripts.
40797 * elf/Makefile: Likewise.
40798 * grp/Makefile: Likewise.
40799 * iconvdata/Makefile: Likewise.
40800 * intl/Makefile: Likewise.
40801 * io/Makefile: Likewise.
40802 * libio/Makefile: Likewise.
40803 * malloc/Makefile: Likewise.
40804 * posix/Makefile: Likewise.
40805 * stdio-common/Makefile: Likewise.
40806 * stdlib/Makefile: Likewise.
40807 * sysdeps/x86_64/Makefile: Likewise.
40809 * io/ftwtest-sh: Add copyright header.
40810 * posix/globtest.sh: Likewise.
40811 * posix/tst-getconf.sh: Likewise.
40812 * posix/wordexp-tst.sh: Likewise.
40813 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40815 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
40818 * Makeconfig (+link): Defined as $(+link-static) if
40819 $(build-shared) isn't yes.
40820 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
40822 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
40824 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
40827 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
40828 new chunk size with MALLOC_ALIGN_MASK.
40830 2012-09-24 Joseph Myers <joseph@codesourcery.com>
40833 * stdio-common/printf_fphex.c: Include <stdbool.h> and
40835 (__printf_fphex): Determine rounding using get_rounding_mode and
40837 * stdio-common/tst-printf-round.c (struct hex_test): New
40839 (hex_tests): New variable.
40840 (test_hex_in_one_mode): New function.
40841 (do_test): Also run tests for hex float output.
40843 2012-09-21 Joseph Myers <joseph@codesourcery.com>
40845 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40846 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40847 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
40848 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40849 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40850 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
40851 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40852 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40854 2012-09-20 Joseph Myers <joseph@codesourcery.com>
40856 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
40857 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
40858 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
40859 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
40861 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
40864 * elf/rtld.c (dl_main): Limit the check for self loading to normal
40866 * elf/tst-rtld-load-self.sh: New test.
40867 * elf/Makefile: Run it.
40869 2012-09-18 Joseph Myers <joseph@codesourcery.com>
40871 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
40872 (tst-writev-ENV): Remove.
40873 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
40875 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
40877 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
40879 2012-09-17 Joseph Myers <joseph@codesourcery.com>
40881 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
40883 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
40885 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
40886 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
40887 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
40890 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
40893 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
40894 * config.make.in (have-cpp-asm-debuginfo): Removed.
40895 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
40896 * configure: Regenerated.
40898 2012-09-14 Joseph Myers <joseph@codesourcery.com>
40901 * stdio-common/printf_fp.c: Include <stdbool.h> and
40903 (___printf_fp): Determine rounding using get_rounding_mode and
40905 * stdio-common/tst-printf-round.c: New file.
40906 * stdio-common/Makefile (tests): Add tst-printf-round.
40907 (link-libm): New variable.
40908 ($(objpfx)tst-printf-round): Depend in $(link-libm).
40910 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
40913 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
40914 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
40916 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
40919 2012-09-13 Joseph Myers <joseph@codesourcery.com>
40921 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
40922 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40923 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40924 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40926 2012-09-12 Joseph Myers <joseph@codesourcery.com>
40929 * include/rounding-mode.h: New file.
40930 * sysdeps/generic/get-rounding-mode.h: Likewise.
40931 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
40932 * stdlib/strtod_l.c: Include <rounding-mode.h>.
40933 (MAX_VALUE): New macro.
40934 (MIN_VALUE): Likewise.
40935 (overflow_value): New function.
40936 (underflow_value): Likewise.
40937 (round_and_return): Use overflow_value and underflow_value to
40938 determine return values in overflow and underflow cases. Use
40939 round_away to determine rounding depending on rounding mode.
40940 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
40941 determine return values in overflow and underflow cases.
40942 * stdlib/tst-strtod-round.c: Include <fenv.h>.
40943 (struct test_results): New structure.
40944 (struct test): Use struct test_results to store expected results
40945 for all rounding modes.
40946 (TEST): Include expected results for all rounding modes.
40947 (test_in_one_mode): New function.
40948 (do_test): Use test_in_one_mode to compute and check results.
40949 Check results for all rounding modes.
40950 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
40953 2012-12-09 Allan McRae <allan@archlinux.org>
40955 * sysdeps/i386/fpu/libm-test-ulps: Update
40957 2012-09-11 Joseph Myers <joseph@codesourcery.com>
40959 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
40960 (_G_int32_t): Likewise.
40961 (_G_uint16_t): Likewise.
40962 (_G_uint32_t): Likewise.
40963 (_G_HAVE_BOOL): Likewise.
40964 (_G_HAVE_ATEXIT): Likewise.
40965 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40966 (_G_HAVE_IO_FILE_OPEN): Likewise.
40967 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
40968 (_G_int32_t): Likewise.
40969 (_G_uint16_t): Likewise.
40970 (_G_uint32_t): Likewise.
40971 (_G_HAVE_BOOL): Likewise.
40972 (_G_HAVE_ATEXIT): Likewise.
40973 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40974 (_G_HAVE_IO_FILE_OPEN): Likewise.
40975 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
40976 (_G_int32_t): Likewise.
40977 (_G_uint16_t): Likewise.
40978 (_G_uint32_t): Likewise.
40979 (_G_HAVE_BOOL): Likewise.
40980 (_G_HAVE_ATEXIT): Likewise.
40981 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40982 (_G_HAVE_IO_FILE_OPEN): Likewise.
40984 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
40986 * csu/libc-tls.c: Update copyright years.
40988 2012-09-10 Joseph Myers <joseph@codesourcery.com>
40990 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
40991 [!_G_USING_THUNKS]: Remove conditional code.
40992 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
40993 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
40995 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
40996 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
40997 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40998 (_G_VTABLE_LABEL_PREFIX): Likewise.
40999 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41000 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41001 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41002 (_G_VTABLE_LABEL_PREFIX): Likewise.
41003 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41004 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41005 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41006 (_G_VTABLE_LABEL_PREFIX): Likewise.
41007 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41009 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
41011 * libio/Makefile: Include ../Makeconfig before tests.
41012 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
41013 only if $(build-shared) is yes.
41015 * iconv/gconv_db.c: Update copyright years.
41017 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41019 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
41020 unwind info if defined PIC. Fix special cases description.
41021 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
41023 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
41025 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
41027 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
41029 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
41031 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
41034 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
41035 (LDLIBS-tst-chk4): This.
41036 (LDFLAGS-tst-chk5): Renamed to ...
41037 (LDLIBS-tst-chk5): This.
41038 (LDFLAGS-tst-chk6): Renamed to ...
41039 (LDLIBS-tst-chk6): This.
41040 (LDFLAGS-tst-lfschk4): Renamed to ...
41041 (LDLIBS-tst-lfschk4): This.
41042 (LDFLAGS-tst-lfschk5): Renamed to ...
41043 (LDLIBS-tst-lfschk5): This.
41044 (LDFLAGS-tst-lfschk6): Renamed to ...
41045 (LDLIBS-tst-lfschk6): This.
41047 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
41048 on $(common-objpfx)soversions.mk.
41050 2012-09-07 Joseph Myers <joseph@codesourcery.com>
41053 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
41056 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
41058 * malloc/arena.c (arena_get_retry): New function that gets
41059 another arena for the caller to try its request on.
41060 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
41061 current arena cannot fulfill the request.
41062 (__libc_memalign): Likewise.
41063 (__libc_memalign): Likewise.
41064 (__libc_pvalloc): Likewise.
41065 (__libc_calloc): Likewise.
41067 2012-09-05 John Tobey <john.tobey@gmail.com>
41070 * manual/arith.texi (Operations on Complex): Fix description
41071 of carg branch cut.
41073 2012-09-06 Joseph Myers <joseph@codesourcery.com>
41076 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
41080 * manual/memory.texi (Memory): Make order of menu items match
41083 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41085 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
41086 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
41087 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
41089 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41091 * csu/libc-tls.c (static_dtv): Renamed to ...
41092 (_dl_static_dtv): This. Make it global.
41093 (_dl_initial_dtv): Removed.
41094 (__libc_setup_tls): Updated.
41095 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
41096 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
41099 2012-09-06 Petr Machata <pmachata@redhat.com>
41101 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
41102 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
41103 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
41104 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
41106 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41109 * csu/libc-tls.c (_dl_initial_dtv): New variable.
41110 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
41113 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41116 * Makeconfig (link-static-before-libc): Replace $(+prector)
41118 (link-static-after-libc): Replace $(+postctor) with
41120 (link-bounded): Replace $(+prector)/$(+postctor) with
41121 $(+prectorT)/$(+postctorT).
41122 (+prectorT): New macro.
41123 (+postctorT): Likewise.
41125 2012-09-06 Joseph Myers <joseph@codesourcery.com>
41127 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
41128 (round_str): Handle values above the maximum for IBM long double
41130 * stdlib/tst-strtod-round.c (tests): Regenerated.
41132 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41134 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
41136 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
41137 zarch_nohighgprs around the zarch optimized routines.
41138 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
41139 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
41140 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
41143 2012-09-05 David S. Miller <davem@davemloft.net>
41145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41147 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
41148 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
41149 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
41150 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41153 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41155 * malloc/arena.c: Fold copyright years.
41156 * malloc/mcheck.c, malloc/memusage.c: Likewise.
41158 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41160 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
41162 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41164 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
41166 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41168 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
41169 change internal state upon failure.
41171 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41173 * malloc/mcheck.c (mcheck_check_all): Fix typo.
41174 * malloc/memusage.c (mmap): Likewise.
41175 (mmap64, mremap): Likewise. Adjust name in comment.
41177 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
41179 * libio/fileops.c: Fix typos in comments.
41180 * libio/oldfileops.c: Likewise.
41181 * libio/wfileops.c: Likewise.
41183 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
41186 * malloc/Makefile (tests): Add tst-malloc-usable test case.
41187 (tst-malloc-usable-ENV): Set environment for test case.
41188 * malloc/hooks.c (malloc_check_get_size): New function to get
41190 * malloc/malloc.c (musable): Use malloc_check_get_size.
41191 * malloc/tst-malloc-usable.c: New test case.
41193 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
41195 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
41197 2012-09-05 Allan McRae <allan@archlinux.org>
41200 * configure.in (CXX_SYSINCLUDES): Use compiler output to
41201 determine header location.
41202 * configure: Regenerated.
41204 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
41206 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
41208 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
41209 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
41211 (test): Regenerate.
41213 2012-09-04 David S. Miller <davem@davemloft.net>
41215 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
41216 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
41217 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
41219 2012-09-04 Florian Weimer <fweimer@redhat.com>
41221 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
41224 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
41226 2012-09-04 Joseph Myers <joseph@codesourcery.com>
41229 * libio/iogetdelim.c: Include <limits.h>.
41230 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
41231 + len + 1 would overflow.
41233 2012-09-03 Andreas Jaeger <aj@suse.de>
41235 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41236 * sysdeps/i386/fpu/libm-test-ulps: Update.
41238 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41240 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41241 Add s_sinf-sse2, s_conf-sse2.
41243 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
41244 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
41245 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
41246 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
41248 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
41249 for using routine as __sinf_ia32.
41250 Use macro for function declaration and weak_alias.
41251 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
41252 for using routine as __cosf_ia32.
41253 Use macro for function declaration and weak_alias.
41255 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
41256 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
41258 * sysdeps/x86_64/fpu/s_sinf.S: New file.
41259 * sysdeps/x86_64/fpu/s_cosf.S: New file.
41260 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41262 * math/libm-test.inc (cos_test): Add more test cases.
41263 (sin_test): Likewise.
41264 (sincos_test): Likewise.
41266 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41268 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
41269 (IFUNC_RESOLVE): Make pointers to the specialized implementations
41271 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
41273 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
41276 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
41277 first element of the GOT.
41278 (elf_machine_load_address): Return the difference between
41279 the runtime address of _DYNAMIC and elf_machine_dynamic ().
41281 2012-09-01 Allan McRae <allan@archlinux.org>
41284 * configure.in (AWK): Require gawk version 3.0 or later.
41285 * configure: Regenerated.
41287 2012-09-01 Joseph Myers <joseph@codesourcery.com>
41289 * sysdeps/unix/sysv/linux/kernel-features.h
41290 (__ASSUME_POSIX_CPU_TIMERS): Remove.
41291 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41292 [__NR_clock_getres]: Make code unconditional.
41293 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
41294 (clock_getcpuclockid): Remove code left unreachable by removal of
41296 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
41297 code unconditional.
41298 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41299 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41300 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
41301 Make code unconditional.
41302 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41303 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41304 * sysdeps/unix/sysv/linux/clock_settime.c
41305 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
41307 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
41308 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41310 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
41313 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
41314 scripts/test-installation.pl.
41316 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
41317 and $ld_so_version if it is set.
41319 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41322 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
41323 failure if reading from procfs failed.
41324 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
41326 2012-08-27 Joseph Myers <joseph@codesourcery.com>
41328 * sysdeps/unix/sysv/linux/kernel-features.h
41329 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
41330 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41331 Remove conditional code.
41332 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41333 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
41334 Remove conditional code.
41335 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41336 * sysdeps/unix/sysv/linux/i386/fxstat.c
41337 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41338 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41339 * sysdeps/unix/sysv/linux/i386/fxstatat.c
41340 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41341 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41342 * sysdeps/unix/sysv/linux/i386/lxstat.c
41343 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41344 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41345 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
41346 Remove conditional code.
41347 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41348 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41349 Remove conditional code.
41350 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41351 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
41352 <kernel-features.h>.
41353 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
41355 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
41356 Remove conditional code.
41357 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41358 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
41359 Remove conditional.
41361 2012-08-27 Mike Frysinger <vapier@gentoo.org>
41364 * NEWS: Add fixed bug number.
41366 2012-08-27 Joseph Myers <joseph@codesourcery.com>
41369 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
41370 underflowing exponent in case of negative sign.
41371 * stdlib/tst-strtod-round-data: Add more tests.
41372 * stdlib/tst-strtod-round.c (tests): Regenerated.
41375 * stdlib/strtod_l.c (NDIG): Remove.
41376 (HEXNDIG): Likewise.
41377 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
41378 smallest representable value.
41379 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
41380 lie within an exact representation of 1/2 ulp of the result.
41381 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
41383 (TENS_P9_IDX): Define unconditionally.
41384 (TENS_P9_SIZE): Likewise.
41385 (TENS_P10_IDX): Likewise.
41386 (TENS_P10_SIZE): Likewise.
41387 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
41388 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
41389 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
41390 entries for 10^2^13 and 10^2^14.
41391 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
41392 (TENS_P13_IDX): Define.
41393 (TENS_P13_SIZE): Likewise.
41394 (TENS_P14_IDX): Likewise.
41395 (TENS_P14_SIZE): Likewise.
41396 (_fpioconst_pow10): Change array size to
41397 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
41399 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
41400 1024]: Add entries for 10^2^13 and 10^2^14.
41401 [LAST_POW10 > _LAST_POW10]: Remove #error.
41402 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
41403 (_fpioconst_pow10): Change array size to
41404 FPIOCONST_POW10_ARRAY_SIZE.
41405 * stdlib/gen-fpioconst.c: New file.
41406 * stdlib/gen-tst-strtod-round.c: Likewise.
41407 * stdlib/tst-strtod-round-data: Likewise.
41408 * stdlib/tst-strtod-round.c: Likewise.
41409 * stdlib/Makefile (tests): Add tst-strtod-round.
41412 * stdlib/strtod_l.c: Include <stdint.h>.
41413 (NDEBUG): Do not define.
41414 (round_and_return): Change EXPONENT parameter to type intmax_t.
41415 Rearrange calculations to avoid internal overflow possibilities.
41416 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
41417 Rearrange calculations to avoid internal overflow possibilities.
41418 Assert that number fits inside MPNSIZE limbs.
41419 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
41420 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
41421 calculations and add assertions to avoid internal overflow
41422 possibilities. Add casts to avoid signed/unsigned operations.
41423 * stdlib/tst-strtod-overflow.c: New file.
41424 * stdlib/Makefile (tests): Add tst-strtod-overflow.
41426 2012-08-25 Marek Polacek <polacek@redhat.com>
41428 * time/time.h: Fix some typos in comments.
41430 2012-08-23 Roland McGrath <roland@hack.frob.com>
41432 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
41433 * posix/tst-rfc3484-2.c: Likewise.
41434 * posix/tst-rfc3484-3.c: Likewise.
41436 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
41438 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
41439 (EF_ARM_ABI_FLOAT_HARD): Likewise.
41441 2012-08-23 Joseph Myers <joseph@codesourcery.com>
41443 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
41444 #include of fxstatat64.c.
41446 2012-08-22 Roland McGrath <roland@hack.frob.com>
41448 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
41449 * shadow/getspent_r.c: Likewise.
41450 * shadow/getspnam.c: Likewise.
41451 * shadow/getspnam_r.c: Likewise.
41452 * gshadow/getsgent.c: Likewise.
41453 * gshadow/getsgent_r.c: Likewise.
41454 * gshadow/getsgnam.c: Likewise.
41455 * gshadow/getsgnam_r.c: Likewise.
41456 * inet/getnetbyad.c: Likewise.
41457 * inet/getnetbyad_r.c: Likewise.
41458 * inet/getnetbynm.c: Likewise.
41459 * inet/getnetbynm_r.c: Likewise.
41460 * inet/getnetent.c: Likewise.
41461 * inet/getnetent_r.c: Likewise.
41462 * inet/getproto.c: Likewise.
41463 * inet/getproto_r.c: Likewise.
41464 * inet/getprtent.c: Likewise.
41465 * inet/getprtent_r.c: Likewise.
41466 * inet/getprtname.c: Likewise.
41467 * inet/getprtname_r.c: Likewise.
41468 * inet/getrpcbyname.c: Likewise.
41469 * inet/getrpcbyname_r.c: Likewise.
41470 * inet/getrpcbynumber.c: Likewise.
41471 * inet/getrpcbynumber_r.c: Likewise.
41472 * inet/getrpcent.c: Likewise.
41473 * inet/getrpcent_r.c: Likewise.
41474 * inet/getaliasent.c: Likewise.
41475 * inet/getaliasent_r.c: Likewise.
41476 * inet/getaliasname.c: Likewise.
41477 * inet/getaliasname_r.c: Likewise.
41478 * nscd/getgrgid_r.c: Likewise.
41479 * nscd/getgrnam_r.c: Likewise.
41480 * nscd/gethstbyad_r.c: Likewise.
41481 * nscd/gethstbynm3_r.c: Likewise.
41482 * nscd/getpwnam_r.c: Likewise.
41483 * nscd/getpwuid_r.c: Likewise.
41484 * nscd/getsrvbynm_r.c: Likewise.
41485 * nscd/getsrvbypt_r.c: Likewise.
41486 * nscd/gai.c: Likewise.
41488 * configure.in (build_nscd): New substituted variable, set
41489 by --disable-build-nscd and defaults to $use_nscd.
41490 * configure: Regenerated.
41491 * config.make.in (build-nscd): New substituted variable.
41492 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
41493 Change conditional to require [$(build-nscd) = yes] as well.
41494 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
41497 * configure.in (use_nscd): New substituted variable, set by
41498 --disable-nscd. If enabled, define USE_NSCD.
41499 * configure: Regenerated.
41500 * config.h.in: Add USE_NSCD.
41501 * config.make.in (use-nscd): New substituted variable.
41502 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
41503 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
41504 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
41505 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
41506 (CFLAGS-getgrnam_r.c): Likewise.
41507 (CFLAGS-initgroups.c): Likewise.
41508 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
41509 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
41511 * inet/getnetgrent_r.c
41512 (nscd_setnetgrent): New function, broken out of ...
41513 (setnetgrent): ... here. Call it.
41514 (innetgr): Conditionalize nscd bits on [USE_NSCD].
41515 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
41516 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
41517 * nscd/Makefile (routines, aux): Move definitions after include of
41518 Makeconfig. Conditionalize on [$(use-nscd) != no].
41519 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
41520 Conditionalize on [USE_NSCD].
41521 (is_nscd, nscd_init_cb): Likewise.
41522 (nss_load_library): Conditionalize init callback on [USE_NSCD].
41523 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
41524 * nss/nss_db/db-init.c: Likewise.
41525 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
41527 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
41528 (make_request): Use it.
41529 (cache_valid_p): New function.
41530 (__check_pf): Use it.
41531 * NEWS: Add item for --disable-nscd.
41533 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
41535 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
41536 to support sed >= 4.2.1-20-ga9bf076.
41537 * configure: Regenerated.
41539 2012-08-22 Roland McGrath <roland@hack.frob.com>
41541 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
41542 Conditionalize whole body on [IREL].
41544 2012-08-22 Jeff Law <law@redhat.com>
41547 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
41548 if the family is PF_UNSPEC.
41550 2012-08-22 Mike Frysinger <vapier@gentoo.org>
41552 * Makerules (lib-version): Rename from V.
41553 (install-lib-nosubdir): Change V to lib-version.
41555 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
41558 * powerpc32/power6/wcschr.c: New file.
41559 * powerpc32/power6/wcscpy.c: New file.
41560 * powerpc32/power6/wcsrchr.c: New file.
41561 * powerpc64/power6/wcschr.c: New file.
41562 * powerpc64/power6/wcscpy.c: New file.
41563 * powerpc64/power6/wcsrchr.c: New file.
41565 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
41567 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
41568 (two_way_short_needle): Use it.
41569 * string/strstr.c (AVAILABLE1_USES_J): Define.
41570 * string/strcasestr.c: Likewise.
41572 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
41574 * string/strcasestr.c (TOLOWER): Make side-effect safe.
41577 * NEWS: Add an entry.
41578 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
41579 define their defaults.
41580 (two_way_short_needle): Detect end-of-string on-the-fly.
41581 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
41582 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
41583 * string/bug-strcasestr1.c: New test.
41584 * string/Makefile: Run it.
41586 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
41589 * string/str-two-way.h (two_way_short_needle): Optimize matching of
41590 the first character.
41592 2012-08-21 Roland McGrath <roland@hack.frob.com>
41594 * csu/elf-init.c (__libc_csu_irel): Function removed.
41595 * csu/libc-start.c (apply_irel): New function.
41596 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
41598 2012-08-21 Joseph Myers <joseph@codesourcery.com>
41600 * sysdeps/unix/sysv/linux/kernel-features.h
41601 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
41602 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
41603 <kernel-features.h>.
41604 [__NR_fadvise64_64]: Make code unconditional.
41605 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
41606 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41607 !__NR_fadvise64_64)]: Likewise.
41608 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41609 !__NR_fadvise64_64))]: Likewise.
41610 [__NR_fadvise64]: Make code unconditional.
41611 [!__NR_fadvise64]: Remove conditional code.
41612 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
41613 <kernel-features.h>.
41614 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41616 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
41619 not include <kernel-features.h>.
41620 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41622 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41624 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
41625 include <kernel-features.h>.
41626 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41628 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41631 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41633 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
41634 slight instruction rearrangements per scrollpipe analysis.
41635 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41637 2012-08-20 Roland McGrath <roland@hack.frob.com>
41639 * manual/syslog.texi (syslog; vsyslog, closelog):
41640 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
41641 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
41643 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
41644 DSOCAPS to match condition on defining it.
41646 2012-08-20 Joseph Myers <joseph@codesourcery.com>
41648 * sysdeps/unix/sysv/linux/kernel-features.h
41649 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
41650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
41651 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41652 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
41654 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41655 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
41657 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41658 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41660 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
41661 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
41663 * sysdeps/unix/sysv/linux/kernel-features.h
41664 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
41665 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
41667 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41668 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
41669 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41670 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41671 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
41672 Make code unconditional.
41673 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41674 (__mmap64) [!__NR_mmap2]: Likewise.
41675 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
41676 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41677 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41678 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
41679 [__NR_mmap2]: Make code unconditional.
41680 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41681 (__mmap64) [!__NR_mmap2]: Likewise.
41683 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41685 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
41687 2012-08-18 Andreas Jaeger <aj@suse.de>
41689 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
41691 2012-08-18 Mike Frysinger <vapier@gentoo.org>
41693 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
41694 * include/unistd.h (__have_sock_cloexec): Likewise.
41695 (__have_pipe2): Likewise.
41696 (__have_dup3): Likewise.
41698 2012-08-18 Mike Frysinger <vapier@gentoo.org>
41701 * include/unistd.h (__have_pipe2): Change define into an extern int.
41702 (__have_dup3): Likewise.
41703 * socket/have_sock_cloexec.c: Include fcntl.h.
41704 (__have_pipe2): New variable.
41705 (__have_dup3): Likewise.
41707 2012-08-17 Mike Frysinger <vapier@gentoo.org>
41709 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
41711 2012-08-17 Marek Polacek <polacek@redhat.com>
41713 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
41714 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
41716 2012-08-17 Roland McGrath <roland@hack.frob.com>
41718 * configure.in: Add AC_SUBST for sysheaders.
41719 * configure: Regenerated.
41720 * config.make.in (sysheaders): New substituted variable.
41722 * sysdeps/unix/mkfifo.c: Moved ...
41723 * sysdeps/posix/mkfifo.c: ... here.
41724 * sysdeps/unix/mkfifoat.c: Moved ...
41725 * sysdeps/posix/mkfifoat.c: ... here.
41727 * sysdeps/unix/utime.c: Moved ...
41728 * sysdeps/posix/utime.c: ... here.
41730 * sysdeps/unix/time.c: Moved ...
41731 * sysdeps/posix/time.c: ... here.
41732 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
41733 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
41735 * sysdeps/unix/nice.c: Moved ...
41736 * sysdeps/posix/nice.c: ... here.
41738 * sysdeps/unix/alarm.c: Moved ...
41739 * sysdeps/posix/alarm.c: ... here.
41741 * intl/Makefile ($(codeset_mo)): Depend on the input file.
41743 2012-08-17 Jeff Law <law@redhat.com>
41745 * intl/Makefile (codeset_mo): New variable.
41746 ($(codeset_mo)): New target.
41747 (tst-codeset.out): Depend on that. Remove explicit rule.
41748 (tst-gettext3.out, tst-gettext5.out): Likewise.
41749 (LOCPATH-ENV, tst-codeset-ENV): New variables.
41750 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
41751 * intl/tst-codeset.sh: Remove.
41752 * intl/tst-gettext3.sh: Likewise.
41753 * intl/tst-gettext5.sh: Likewise.
41755 2012-08-17 Roland McGrath <roland@hack.frob.com>
41757 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
41758 * sysdeps/unix/syscalls.list: ... here.
41760 * sysdeps/posix/getaddrinfo.c
41761 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
41762 (gaiconf_init, gaiconf_reload): Use them.
41763 [!_STATBUF_ST_NSEC]
41764 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
41765 Define using time_t rather than struct timespec.
41767 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
41768 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
41770 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
41772 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
41773 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
41776 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
41777 __libc_cleanup_push argument.
41779 * bits/param.h: New file.
41780 * misc/sys/param.h: New file.
41781 * include/sys/param.h: New file.
41782 * misc/Makefile (headers): Add bits/param.h.
41783 * sysdeps/generic/sys/param.h: File removed.
41784 * sysdeps/unix/sysv/linux/bits/param.h: New file.
41785 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
41786 * sysdeps/mach/hurd/bits/param.h: New file.
41787 * sysdeps/mach/hurd/sys/param.h: File removed.
41789 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
41792 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
41794 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
41795 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
41798 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
41799 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
41800 rather than -D_IO_MTSAFE_IO conditionally.
41801 * stdio-common/Makefile (CPPFLAGS): Likewise.
41802 * wcsmbs/Makefile (CPPFLAGS): Likewise.
41803 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
41804 Use $(libio-mtsafe).
41805 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
41806 of -D_IO_MTSAFE_IO.
41807 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
41808 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
41809 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
41810 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
41811 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
41812 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
41813 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
41814 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
41815 (CFLAGS-fread_u_chk.c): Likewise.
41816 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
41817 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
41818 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
41819 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
41820 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
41821 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
41822 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
41823 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
41824 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
41826 * libio/Makefile: Test [$(libc-reentrant) = yes]
41827 instead of [$(filter %REENTRANT, $(defines)) nonempty].
41830 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
41831 * sysdeps/pthread/configure: File removed.
41832 * sysdeps/pthread/Makeconfig: New file.
41833 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
41834 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
41836 2012-08-16 Gary Benson <gbenson@redhat.com>
41838 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
41839 unmapping the first object in a namespace.
41841 2012-08-16 Roland McGrath <roland@hack.frob.com>
41843 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
41844 (__internal_setnetgrent): ... this. Add internal_function to
41845 definition. Add libc_hidden_def.
41846 (setnetgrent): Update caller.
41847 (internal_endnetgrent): Renamed to ...
41848 (__internal_endnetgrent): ... this. Add internal_function to
41849 definition. Add libc_hidden_def.
41850 (endnetgrent): Update caller.
41851 (internal_getnetgrent_r): Renamed to ...
41852 (__internal_getnetgrent_r): ... this. Add internal_function to
41853 definition. Add libc_hidden_def.
41854 (__getnetgrent_r): Update caller.
41855 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
41857 2012-08-16 Joseph Myers <joseph@codesourcery.com>
41859 * stdlib/longlong.h: Update from GCC.
41861 2012-08-16 Roland McGrath <roland@hack.frob.com>
41863 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
41864 on _QL, which is set by umul_ppmm but never used.
41865 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
41866 variables, which are set by GMP macros but never used.
41867 * stdio-common/_itowa.c (_itowa): Likewise.
41868 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
41869 * stdlib/mod_1.c (mpn_mod_1): Likewise.
41871 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
41873 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
41874 struct La_sh_regs is not constant.
41875 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
41876 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
41877 and struct La_sparc64_regs are not constant.
41879 2012-08-16 Joseph Myers <joseph@codesourcery.com>
41881 * sysdeps/unix/sysv/linux/kernel-features.h
41882 (__ASSUME_POSIX_TIMERS): Remove.
41883 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41884 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41885 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
41886 Make code unconditional.
41887 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41888 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
41889 Make code unconditional.
41890 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41891 * sysdeps/unix/sysv/linux/clock_nanosleep.c
41892 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
41893 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41894 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
41895 Make code unconditional.
41896 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41897 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
41898 (__libc_missing_posix_timers): Remove.
41900 2012-08-15 Roland McGrath <roland@hack.frob.com>
41902 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
41903 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
41905 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
41907 * elf/dl-sym.c: Include <stdlib.h>.
41909 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
41910 constants, which avoids warnings in 32-bit builds.
41912 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
41913 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
41915 * misc/lseek.c: File moved to ...
41916 * io/lseek.c: ... here.
41918 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
41920 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
41921 shifting LEN more than 31 bits at once.
41923 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41926 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
41927 segmentation fault for a case of two empty input strings.
41928 * string/test-strncasecmp.c (check1): Renamed to...
41929 (bz12205): ...this.
41930 (bz14195): Add new testcase for two empty input strings and N > 0.
41931 (test_main): Call new testcase, adapt for renamed function.
41933 2012-08-15 Andreas Jaeger <aj@suse.de>
41936 * crypt/md5test2.c: New test, based on test supplied by Serge
41937 Belyshev <belyshev@depni.sinp.msu.ru>.
41938 * crypt/Makefile (xtests): Add md5test-giant..
41939 * crypt/Makefile ($(objpfx)md5test-giant): Add.
41941 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
41944 * crypt/md5.c (md5_process_block): Don't assume the buffer
41945 length is less than 2**32.
41946 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
41947 length is less than 2**64.
41949 2012-08-15 Roland McGrath <roland@hack.frob.com>
41951 * string/str-two-way.h: Include <sys/param.h>.
41952 (MAX): Macro removed.
41954 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
41955 Move #define and #undef of memmove to just before and after
41956 including <string.h>.
41958 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
41959 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
41960 and after including <string.h>. Move declarations of
41961 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
41962 to before #include "string/memmove.c".
41964 * include/dirent.h: Declare __getdirentries.
41966 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
41967 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
41969 2012-08-14 Mike Frysinger <vapier@gentoo.org>
41971 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
41972 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
41973 * sysdeps/i386/configure: Regenerated.
41974 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
41975 STABS_CURRENT_FILE, and STABS_FUN.
41976 (END): Remove call to STABS_FUN_END.
41977 (STABS_CURRENT_FILE1): Delete.
41978 (STABS_CURRENT_FILE): Likewise.
41979 (STABS_FUN): Likewise.
41980 (STABS_FUN_END): Likewise.
41981 (STABS_FUN2): Likewise.
41982 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
41983 * sysdeps/x86_64/configure: Regenerated.
41985 2012-08-14 Roland McGrath <roland@hack.frob.com>
41987 * elf/dl-open.c: Include <atomic.h>.
41988 * elf/dl-lookup.c: Likewise.
41990 2012-08-14 Joseph Myers <joseph@codesourcery.com>
41992 * sysdeps/unix/sysv/linux/kernel-features.h
41993 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
41994 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
41996 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
41998 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
41999 condition on __ASSUME_CLONE_THREAD_FLAGS.
42001 2012-08-14 Andreas Jaeger <aj@suse.de>
42003 * sysdeps/i386/fpu/libm-test-ulps: Update.
42005 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
42007 * include/atomic.h (atomic_exchange_and_add): Split into ...
42008 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
42011 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
42013 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42015 2012-08-13 Jeff Law <law@redhat.com>
42017 * manual/stdio.texi (snprintf): Clarify handling of the trailing
42018 null byte in the output string.
42020 2012-08-10 Joseph Myers <joseph@codesourcery.com>
42022 * sysdeps/unix/sysv/linux/kernel-features.h
42023 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
42024 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
42025 (__ASSUME_ARG_MAX_STACK_BASED): Define.
42026 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42027 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
42028 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
42029 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
42031 2012-08-09 Jeff Law <law@redhat.com>
42034 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
42035 When avoid_arena is set, don't retry in the that arena. Pick the
42036 next one, whatever it might be.
42037 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
42038 (arena_lock): Pass in new parameter to arena_get2.
42039 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
42041 (__libc_malloc): Unify retrying after main arena failure with
42042 __libc_memalign version.
42043 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
42045 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
42048 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
42049 to __redirect_strstr.
42050 (__strstr_sse42): Use typeof __redirect_strstr.
42051 (__strstr_ia32): Likewise.
42052 (__libc_strstr): New prototype.
42053 (strstr): Renamed to ...
42054 (__libc_strstr): This.
42055 (strstr): New strong alias of __libc_strstr.
42056 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42057 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
42060 (__libc_time): New prototype.
42061 (time_ifunc): Replace time with __libc_time.
42062 (time): New strong alias and hidden definition of __libc_time.
42063 (__GI_time): Remove strong alias.
42064 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
42065 Include <stddef.h>.
42066 (memmove): Redefined to __redirect_memmove.
42067 (__memmove_sse2): Use typeof __redirect_memmove.
42068 (__memmove_ssse3): Likewise.
42069 (__memmove_ssse3_back): Likewise.
42070 (__libc_memmove): New prototype.
42071 (memmove): Renamed to ...
42072 (__libc_memmove): This.
42073 (memmove): New strong alias of __libc_memmove.
42075 2012-08-08 Mark Salter <msalter@redhat.com>
42078 (R_MN10300_TLS_GD): Define.
42079 (R_MN10300_TLS_LD): Likewise.
42080 (R_MN10300_TLS_LDO): Likewise.
42081 (R_MN10300_TLS_GOTIE): Likewise.
42082 (R_MN10300_TLS_IE): Likewise.
42083 (R_MN10300_TLS_LE): Likewise.
42084 (R_MN10300_TLS_DTPMOD): Likewise.
42085 (R_MN10300_TLS_DTPOFF): Likewise.
42086 (R_MN10300_TLS_TPOFF): Likewise.
42087 (R_MN10300_SYM_DIFF): Likewise.
42088 (R_MN10300_ALIGN): Likewise.
42089 (R_MN10300_NUM): Update.
42091 2012-08-08 Joseph Myers <joseph@codesourcery.com>
42093 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
42096 2012-08-08 Roland McGrath <roland@hack.frob.com>
42098 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
42100 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
42101 sysdeps/unix -> sysdeps/posix move.
42102 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
42104 2012-08-07 Allan McRae <allan@archlinux.org>
42107 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
42108 (SUNOS_CPP): Likewise.
42109 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
42111 (open_input): Call CPP using execvp.
42113 2012-08-07 Joseph Myers <joseph@codesourcery.com>
42115 * sysdeps/unix/sysv/linux/kernel-features.h
42116 (__ASSUME_PROT_GROWSUPDOWN): Remove.
42117 (__ASSUME_NO_CLONE_DETACHED): Likewise.
42118 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42119 (__ASSUME_WAITID_SYSCALL): Likewise.
42120 * sysdeps/unix/sysv/linux/dl-execstack.c
42121 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
42122 code unconditional.
42123 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
42125 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
42126 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
42127 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
42129 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
42131 [__ASSUME_WAITID_SYSCALL]: Likewise.
42132 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
42134 2012-08-07 Roland McGrath <roland@hack.frob.com>
42136 * sysdeps/unix/closedir.c: Renamed to ...
42137 * sysdeps/posix/closedir.c: ... here.
42138 * sysdeps/unix/dirfd.c: Renamed to ...
42139 * sysdeps/posix/dirfd.c: ... here.
42140 * sysdeps/unix/dirstream.h: Renamed to ...
42141 * sysdeps/posix/dirstream.h: ... here.
42142 * sysdeps/unix/fdopendir.c: Renamed to ...
42143 * sysdeps/posix/fdopendir.c: ... here.
42144 * sysdeps/unix/opendir.c: Renamed to ...
42145 * sysdeps/posix/opendir.c: ... here.
42146 * sysdeps/unix/readdir.c: Renamed to ...
42147 * sysdeps/posix/readdir.c: ... here.
42148 * sysdeps/unix/readdir_r.c: Renamed to ...
42149 * sysdeps/posix/readdir_r.c: ... here.
42150 * sysdeps/unix/rewinddir.c: Renamed to ...
42151 * sysdeps/posix/rewinddir.c: ... here.
42152 * sysdeps/unix/seekdir.c: Renamed to ...
42153 * sysdeps/posix/seekdir.c: ... here.
42154 * sysdeps/unix/telldir.c: Renamed to ...
42155 * sysdeps/posix/telldir.c: ... here.
42156 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
42157 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
42158 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
42159 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
42161 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
42162 * bits/fcntl.h: ... here.
42164 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
42166 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
42167 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
42168 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
42169 (struct flock): Move l_start, l_len to the beginning.
42170 Use __pid_t for l_pid.
42171 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
42172 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
42173 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
42174 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
42175 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
42176 [__USE_LARGEFILE64] (struct flock64): New type.
42177 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
42179 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
42180 * bits/dirent.h: ... here.
42182 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
42183 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
42185 2012-08-07 Joseph Myers <joseph@codesourcery.com>
42187 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42188 Change from 2.6.0 to 2.6.16.
42189 * sysdeps/unix/sysv/linux/configure: Regenerated.
42190 * sysdeps/unix/sysv/linux/kernel-features.h
42191 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
42192 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
42194 (__ASSUME_UTIMES): Likewise.
42195 (__ASSUME_CLONE_STOPPED): Remove.
42196 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
42197 architectures, not kernel version.
42198 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
42199 (__ASSUME_NO_CLONE_DETACHED): Likewise.
42200 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42201 (__ASSUME_WAITID_SYSCALL): Likewise.
42202 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
42203 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
42204 * README: State 2.6.16 as minimum Linux kernel version. Do not
42205 refer to older versions.
42207 2012-08-06 Roland McGrath <roland@hack.frob.com>
42209 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
42210 Define alphasort64 as an alias.
42211 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
42212 Define versionsort64 as an alias.
42213 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
42214 Define scandir64 as an alias.
42215 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
42216 Define scandirat64 as an alias.
42217 * dirent/alphasort64.c (alphasort64):
42218 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
42219 * dirent/versionsort64.c: Likewise.
42220 * dirent/scandir64.c: Likewise.
42221 * dirent/scandirat64.c: Likewise.
42222 * sysdeps/wordsize-64/alphasort.c: File removed.
42223 * sysdeps/wordsize-64/alphasort64.c: File removed.
42224 * sysdeps/wordsize-64/scandir.c: File removed.
42225 * sysdeps/wordsize-64/scandir64.c: File removed.
42226 * sysdeps/wordsize-64/scandirat.c: File removed.
42227 * sysdeps/wordsize-64/scandirat64.c: File removed.
42228 * sysdeps/wordsize-64/versionsort.c: File removed.
42229 * sysdeps/wordsize-64/versionsort64.c: File removed.
42230 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
42231 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
42232 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
42233 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
42234 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
42235 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
42236 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
42237 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
42239 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
42240 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42241 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
42242 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42243 [defined __arch64__ || defined __sparcv9]
42244 (__INO_T_MATCHES_INO64_T): New macro.
42245 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42246 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
42247 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
42248 * sysdeps/unix/sysv/linux/bits/dirent.h
42249 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
42250 (_DIRENT_MATCHES_DIRENT64): New macro.
42252 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
42253 Define lockf64 as an alias.
42254 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
42255 Define fseeko64 as an alias.
42256 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
42257 Define ftello64 as an alias.
42258 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
42259 Define _IO_fgetpos64 and fgetpos64 as aliases.
42260 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
42261 Define _IO_fsetpos64 and fsetpos64 as aliases.
42262 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
42263 Conditionalize body on this.
42264 * libio/fseeko64.c: Likewise.
42265 * libio/ftello64.c: Likewise.
42266 * libio/iofgetpos64.c: Likewise.
42267 * libio/iofsetpos64.c: Likewise.
42268 * sysdeps/wordsize-64/lockf.c: File removed.
42269 * sysdeps/wordsize-64/lockf64.c: File removed.
42270 * sysdeps/wordsize-64/fseeko.c: File removed.
42271 * sysdeps/wordsize-64/fseeko64.c: File removed.
42272 * sysdeps/wordsize-64/ftello.c: File removed.
42273 * sysdeps/wordsize-64/ftello64.c: File removed.
42274 * sysdeps/wordsize-64/iofgetpos.c: File removed.
42275 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
42276 * sysdeps/wordsize-64/iofsetpos.c: File removed.
42277 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
42278 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
42279 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
42280 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
42281 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
42282 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
42283 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
42284 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
42285 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
42286 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
42287 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
42289 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42290 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42291 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
42292 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42293 [defined __arch64__ || defined __sparcv9]
42294 (__OFF_T_MATCHES_OFF64_T): New macro.
42295 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42296 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42297 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42298 (__OFF_T_MATCHES_OFF64_T): New macro.
42300 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
42302 * stdlib/secure-getenv.c (__secure_getenv): Replace
42303 GLIBC_2_16 with GLIBC_2_17.
42305 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
42307 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
42308 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42310 2012-08-03 David S. Miller <davem@davemloft.net>
42312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42314 2012-08-03 Joseph Myers <joseph@codesourcery.com>
42316 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
42318 (__ASSUME_CORRECT_SI_PID): Likewise.
42319 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
42320 (__ASSUME_TMPFS_NAME): Likewise.
42321 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
42322 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
42323 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
42324 (HAVE_AUX_SECURE): Make definition unconditional.
42325 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
42326 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
42328 2012-08-03 Roland McGrath <roland@hack.frob.com>
42330 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
42331 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
42332 * sysdeps/mach/hurd/eloop-threshold.h: New file.
42333 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42334 __eloop_threshold instead of SYMLOOP_MAX.
42336 * sysdeps/generic/eloop-threshold.h: New file.
42337 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
42339 * elf/chroot_canon.c (chroot_canon): Likewise.
42341 2012-08-03 Joseph Myers <joseph@codesourcery.com>
42344 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42345 Change to 2.6.0 everywhere.
42346 * sysdeps/unix/sysv/linux/configure: Regenerated.
42347 * sysdeps/unix/sysv/linux/kernel-features.h
42348 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
42349 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
42351 (__ASSUME_POSIX_TIMERS): Define unconditionally.
42352 (__ASSUME_FUTEX_REQUEUE): Remove.
42353 (__ASSUME_STATFS64): Define unconditionally.
42354 (__ASSUME_AT_SECURE): Likewise.
42355 (__ASSUME_CORRECT_SI_PID): Likewise.
42356 (__ASSUME_TGKILL): Define without depending on kernel version for
42358 (__ASSUME_UTIMES): Likewise.
42359 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
42361 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
42362 (__ASSUME_TMPFS_NAME): Likewise.
42363 * README: Update reference to Linux kernel versions.
42365 2012-08-02 Marek Polacek <polacek@redhat.com>
42368 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
42369 libc_cv_asm_type_prefix with %.
42370 * configure: Regenerated.
42371 * include/libc-symbols.h: Remove comment about
42372 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42373 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
42374 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
42375 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
42376 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
42377 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42378 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
42379 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
42380 * elf/tst-unique2mod1.c: Likewise.
42381 * elf/tst-unique1mod2.c: Likewise.
42382 * elf/tst-unique1mod1.c: Likewise.
42383 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
42384 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
42385 Replace ASM_TYPE_DIRECTIVE with .type.
42386 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42387 * sysdeps/i386/sysdep.h: Likewise.
42388 * sysdeps/x86_64/sysdep.h: Likewise.
42389 * sysdeps/sh/sysdep.h: Likewise.
42390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42391 Do not define ASM_TYPE_DIRECTIVE.
42392 * sysdeps/powerpc/sysdep.h: Likewise.
42393 * sysdeps/powerpc/powerpc32/sysdep.h:
42394 Replace ASM_TYPE_DIRECTIVE with .type.
42395 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
42396 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42397 * sysdeps/i386/fpu/e_powf.S: Likewise.
42398 * sysdeps/i386/fpu/e_expl.S: Likewise.
42399 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42400 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42401 * sysdeps/i386/fpu/e_pow.S: Likewise.
42402 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42403 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42404 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42405 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42406 * sysdeps/i386/fpu/e_log2.S: Likewise.
42407 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42408 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42409 * sysdeps/i386/fpu/e_powl.S: Likewise.
42410 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42411 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42412 * sysdeps/i386/fpu/e_logl.S: Likewise.
42413 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42414 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42415 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42416 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42417 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42418 * sysdeps/i386/fpu/e_log.S: Likewise.
42419 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42420 * sysdeps/i386/fpu/e_logf.S: Likewise.
42421 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42422 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42423 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42424 * sysdeps/i386/fpu/e_log10.S: Likewise.
42425 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42426 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42427 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42428 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42429 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42430 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
42431 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42432 * sysdeps/i386/i686/strtok.S: Likewise.
42433 * sysdeps/i386/i386-mcount.S: Likewise.
42434 * sysdeps/i386/strtok.S: Likewise.
42435 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
42436 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42437 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42438 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42439 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42440 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42441 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42442 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42443 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42444 * sysdeps/x86_64/_mcount.S: Likewise.
42445 * sysdeps/x86_64/strtok.S: Likewise.
42446 * sysdeps/sh/_mcount.S: Likewise.
42448 2012-08-01 Roland McGrath <roland@hack.frob.com>
42450 * libio/iofopen.c: Include <fcntl.h>.
42451 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
42452 (_IO_fopen64, fopen64): Define as aliases.
42453 * libio/iofopen64.c: Include <fcntl.h>.
42454 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
42455 Conditionalize body on this.
42456 * sysdeps/wordsize-64/iofopen.c: File removed.
42457 * sysdeps/wordsize-64/iofopen64.c: File removed.
42459 2012-08-01 Marek Polacek <polacek@redhat.com>
42461 * libc/Makeconfig: Use elf in place of binfmt-subdir.
42462 Use dlfcn directly instead of a variable.
42463 (binfmt-subdir): Do not define.
42466 2012-08-01 Joseph Myers <joseph@codesourcery.com>
42468 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
42469 Remove all definitions.
42470 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
42471 <kernel-features.h>.
42472 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42473 (miss_F_GETOWN_EX): Remove all definitions.
42474 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
42476 [!__ASSUME_FCNTL64]: Remove conditional code.
42477 [__ASSUME_FCNTL64]: Make code unconditional.
42478 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
42479 <kernel-features.h>.
42480 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42481 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
42482 (lockf64) [__NR_fcntl64]: Make code unconditional.
42483 (lockf64) [__ASSUME_FCNTL64]: Likewise.
42485 * sysdeps/unix/sysv/linux/kernel-features.h
42486 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
42487 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
42488 Make code unconditional.
42489 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42490 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
42492 [__NR_vfork]: Make code unconditional.
42493 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42494 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
42496 [__NR_vfork]: Make code unconditional.
42497 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42498 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42500 2012-08-01 Roland McGrath <roland@hack.frob.com>
42502 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
42503 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
42505 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42506 Define mkstemp64 as an alias.
42507 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42508 Define mkstemps64 as an alias.
42509 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42510 Define mkostemp64 as an alias.
42511 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42512 Define mkostemps64 as an alias.
42513 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
42514 Conditionalize body on this.
42515 * misc/mkostemp64.c: Likewise.
42516 * misc/mkostemps64.c: Likewise.
42517 * misc/mkstemps64.c: Likewise.
42518 * sysdeps/wordsize-64/mkstemp64.c: File removed.
42519 * sysdeps/wordsize-64/mkostemp64.c: File removed.
42520 * sysdeps/wordsize-64/mkostemp.c: File removed.
42521 * sysdeps/wordsize-64/mkstemp.c: File removed.
42522 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
42523 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
42524 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
42525 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
42528 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
42529 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
42530 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
42531 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
42533 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
42534 compat_symbol macros from <shlib-compat.h> rather than the underlying
42535 default_symbol_version and symbol_version macros, so that DEFAULT
42536 lines in shlib-versions are respected.
42537 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
42539 2012-08-01 Florian Weimer <fweimer@redhat.com>
42541 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
42542 Declare with warn_unused_result.
42543 (setgid, setregid, setegid, setresgid): Likewise.
42544 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
42546 * WUR-REPORT: Remove set*id functions.
42548 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
42550 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
42552 2012-07-31 Roland McGrath <roland@hack.frob.com>
42555 * include/sys/socket.h (__libc_accept, __libc_accept4):
42556 Add attribute_hidden.
42557 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
42559 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
42561 * inet/getnetgrent_r.c (setup): Likewise.
42563 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
42565 2012-07-31 David S. Miller <davem@davemloft.net>
42567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42569 2012-07-31 Joseph Myers <joseph@codesourcery.com>
42572 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
42573 value between 1.0 and 2.0 and smaller part has absolute value less
42575 * math/s_clog10.c (__clog10): Likewise.
42576 * math/s_clog10f.c (__clog10f): Likewise.
42577 * math/s_clog10l.c (__clog10l): Likewise.
42578 * math/s_clogf.c (__clogf): Likewise.
42579 * math/s_clogl.c (__clogl): Likewise.
42580 * math/libm-test.inc (clog_test): Add more tests.
42581 (clog10_test): Likewise.
42582 * sysdeps/i386/fpu/libm-test-ulps: Update.
42583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42585 2012-07-31 Florian Weimer <fweimer@redhat.com>
42587 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
42588 Exit with zero in case no suitable GID is found, and write a
42589 message to standard error.
42591 2012-07-30 Roland McGrath <roland@hack.frob.com>
42593 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
42595 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
42596 (MAXPATHLEN): Removed.
42597 (NOGROUP, NODEV): New macros.
42598 (setbit, clrbit, isset, isclr): New macros.
42599 (howmany, roundup, powerof2): New macros.
42600 (DEV_BSIZE): New macro.
42602 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
42603 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
42605 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
42606 definition on [!__NO_LONG_DOUBLE_MATH].
42608 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
42609 PTR_MANGLE and PTR_DEMANGLE.
42611 * socket/accept4.c (accept4): Rename to __libc_accept4.
42612 Define accept4 as a weak alias.
42614 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
42615 on [_DIRENT_HAVE_D_TYPE].
42616 * io/ftw.c (ftw_dir): Likewise.
42618 * io/xmknod.c (__xmknod): Don't check PATH for being null.
42620 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
42622 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
42623 Use the BSD numbers rather than the arbitrary ones we had.
42624 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
42625 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
42626 (SIGXCPU, SIGXFSZ): New macros.
42629 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
42630 initializer on [_LIBC_REENTRANT].
42632 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
42633 definitions inside [_POSIX_MAPPED_FILES].
42635 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
42637 * dirent/opendir.c: Include <fcntl.h>.
42639 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
42640 (__libc_getspecific): Likewise.
42641 (__libc_key_create): Likewise.
42643 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
42644 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
42645 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
42646 (tmpfile64): Define as alias.
42647 * sysdeps/wordsize-64/tmpfile.c: File removed.
42648 * sysdeps/wordsize-64/tmpfile64.c: File removed.
42649 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
42650 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
42652 * stdio-common/vfscanf.c: Include <stdbool.h>.
42653 * nss/makedb.c: Likewise.
42654 * stdio-common/_i18n_number.h: Likewise.
42655 * argp/argp-help.c: Likewise.
42656 * posix/wordexp.c: Likewise.
42657 * sysdeps/posix/spawni.c: Likewise.
42658 * nss/nss_files/files-initgroups.c: Likewise.
42659 * stdio-common/reg-modifier.c: Include <stdlib.h>.
42660 * nss/nss_files/files-initgroups.c: Likewise.
42661 * nss/nss_db/db-netgrp.c: Likewise.
42662 * nss/nss_db/db-initgroups.c: Likewise.
42663 * io/fchmodat.c: Include <sys/stat.h>.
42665 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
42666 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
42668 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
42671 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
42672 Add multiple inclusion protection.
42674 2012-07-27 David S. Miller <davem@davemloft.net>
42676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42678 2012-07-27 Gary Benson <gbenson@redhat.com>
42681 * elf/rtld.c: Include <stap-probe.h>.
42682 (dl_main): Added static probes "init_start" and "init_complete".
42683 * elf/dl-load.c: Include <stap-probe.h>.
42684 (lose): Take new parameter "nsid".
42685 Added static probe "map_failed".
42686 (_dl_map_object_from_fd): Pass namespace id to lose.
42687 Added static probe "map_start".
42688 (open_verify): Pass namespace id to lose.
42689 * elf/dl-open.c: Include <stap-probe.h>.
42690 (dl_open_worker) Added static probes "map_complete", "reloc_start"
42691 and "reloc_complete".
42692 * elf/dl-close.c: Include <stap-probe.h>.
42693 (_dl_close_worker): Added static probes "unmap_start" and
42695 * elf/rtld-debugger-interface.txt: New file documenting the above.
42697 2012-07-26 Roland McGrath <roland@hack.frob.com>
42699 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
42700 rather than a string variable.
42701 * sunrpc/rpc_main.c (h_output): Likewise.
42702 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
42704 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
42706 * inet/check_native.c: New file.
42708 2012-07-26 Joseph Myers <joseph@codesourcery.com>
42711 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
42712 if larger part has absolute value 1.0.
42713 * math/s_clog10.c (__clog10): Likewise.
42714 * math/s_clog10f.c (__clog10f): Likewise.
42715 * math/s_clog10l.c (__clog10l): Likewise.
42716 * math/s_clogf.c (__clogf): Likewise.
42717 * math/s_clogl.c (__clogl): Likewise.
42718 * math/libm-test.inc (clog_test): Add more tests.
42719 (clog10_test): Likewise.
42720 * sysdeps/i386/fpu/libm-test-ulps: Update.
42721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42723 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
42724 (pltexit): Likewise.
42725 (La_regs): Likewise.
42726 (La_retval): Likewise.
42727 (int_retval): Likewise.
42728 Update #error for removed macros to refer only to definitions in
42730 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
42732 (pltexit): Likewise.
42733 (La_regs): Likewise.
42734 (La_retval): Likewise.
42735 (int_retval): Likewise.
42736 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
42738 (pltexit): Likewise.
42739 (La_regs): Likewise.
42740 (La_retval): Likewise.
42741 (int_retval): Likewise.
42742 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
42744 (pltexit): Likewise.
42745 (La_regs): Likewise.
42746 (La_retval): Likewise.
42747 (int_retval): Likewise.
42748 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
42750 (pltexit): Likewise.
42751 (La_regs): Likewise.
42752 (La_retval): Likewise.
42753 (int_retval): Likewise.
42754 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
42756 (pltexit): Likewise.
42757 (La_regs): Likewise.
42758 (La_retval): Likewise.
42759 (int_retval): Likewise.
42760 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
42762 (pltexit): Likewise.
42763 (La_regs): Likewise.
42764 (La_retval): Likewise.
42765 (int_retval): Likewise.
42766 * sysdeps/generic/tst-audit.h: Update comment to refer only to
42767 macro definitions in tst-audit.h.
42768 * sysdeps/i386/tst-audit.h: New file.
42769 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
42770 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
42771 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
42772 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
42773 * sysdeps/sh/tst-audit.h: Likewise.
42774 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
42775 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
42776 * sysdeps/x86_64/tst-audit.h: Likewise.
42778 2012-07-26 Andreas Jaeger <aj@suse.de>
42780 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
42783 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
42784 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
42785 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
42787 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
42788 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
42789 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
42791 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
42794 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
42796 (si_call_addr, si_syscall, si_arch): Define new macro.
42797 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
42799 (si_call_addr, si_syscall, si_arch): Define new marcro.
42800 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
42802 (si_call_addr, si_syscall, si_arch): Define new macro.
42803 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
42805 (si_call_addr, si_syscall, si_arch): Define new macro.
42807 2012-07-25 Joseph Myers <joseph@codesourcery.com>
42810 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42811 Change to 2.4.21 where previously 2.4.1.
42812 * sysdeps/unix/sysv/linux/configure: Regenerated.
42813 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
42814 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
42815 Linux kernel version.
42816 (__ASSUME_STD_AUXV): Remove.
42817 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
42819 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
42820 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
42821 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
42822 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
42823 (__ASSUME_NETLINK_SUPPORT): Likewise.
42824 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
42825 (__no_netlink_support): Remove conditional definition.
42826 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
42828 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42829 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
42830 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
42831 (if_nameindex_ioctl): Remove.
42832 (if_nameindex_netlink): Do not handle __no_netlink_support.
42833 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42835 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
42836 Remove conditional code.
42837 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42839 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
42841 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42842 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
42843 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
42845 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
42846 [!__ASSUME_STD_AUXV]: Remove conditional code.
42847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
42848 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
42849 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
42850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
42851 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
42852 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42854 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42856 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
42857 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42859 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42861 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42864 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
42867 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42868 code unconditional.
42869 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42871 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42873 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42876 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42878 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
42881 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42882 code unconditional.
42883 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42885 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42887 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
42890 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42891 code unconditional.
42892 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42894 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42896 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42899 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
42901 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
42902 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
42903 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
42904 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
42905 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
42906 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
42907 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
42908 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
42909 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
42910 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
42911 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
42912 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
42913 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
42914 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
42915 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
42916 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
42917 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
42918 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
42919 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
42920 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
42921 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
42922 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
42923 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42925 2012-07-25 Florian Weimer <fweimer@redhat.com>
42927 * Versions.def: Add GLIBC_2.17.
42928 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
42929 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
42930 Introduce __libc_secure_getenv.
42931 * stdlib/Versions (2.17): Add secure_getenv
42932 (GLIBC_PRIVATE): Add __libc_secure_getenv.
42933 * stdlib/secure-getenv.c: Rename __secure_getenv to
42934 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
42935 symbol __secure_getenv for GLIBC_2.0.
42936 * stdlib/tst-secure-getenv.c: New.
42937 * stdlib/Makefile (tests): Add testcase.
42938 * manual/startup.texi (Environment Access): Document
42940 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
42941 __libc_secure_getenv.
42942 * inet/ruserpass.c (ruserpass): Likewise.
42943 * malloc/mtrace.c (mtrace): Likewise.
42944 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
42945 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
42946 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
42947 * sysdeps/posix/tempname.c: Likewise. Evaluate
42948 HAVE_SECURE_GETENV.
42949 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
42950 __secure_getenv to __libc_secure_getenv.
42951 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
42952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42958 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
42964 2012-07-25 Joseph Myers <joseph@codesourcery.com>
42966 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
42967 (struct La_i86_retval): Likewise.
42968 (struct La_x86_64_regs): Likewise.
42969 (struct La_x86_64_retval): Likewise.
42970 (struct La_x32_regs): Likewise.
42971 (struct La_x32_retval): Likewise.
42972 (struct La_ppc32_regs): Likewise.
42973 (struct La_ppc32_retval): Likewise.
42974 (struct La_ppc64_regs): Likewise.
42975 (struct La_ppc64_retval): Likewise.
42976 (struct La_sh_regs): Likewise.
42977 (struct La_sh_retval): Likewise.
42978 (struct La_s390_32_regs): Likewise.
42979 (struct La_s390_32_retval): Likewise.
42980 (struct La_s390_64_regs): Likewise.
42981 (struct La_s390_64_retval): Likewise.
42982 (struct La_sparc32_regs): Likewise.
42983 (struct La_sparc32_retval): Likewise.
42984 (struct La_sparc64_regs): Likewise.
42985 (struct La_sparc64_retval): Likewise.
42986 (struct audit_ifaces): Remove architecture-specific pltenter and
42988 * sysdeps/i386/ldsodefs.h: New file.
42989 * sysdeps/powerpc/ldsodefs.h: Likewise.
42990 * sysdeps/s390/ldsodefs.h: Likewise.
42991 * sysdeps/sh/ldsodefs.h: Likewise.
42992 * sysdeps/sparc/ldsodefs.h: Likewise.
42993 * sysdeps/x86_64/ldsodefs.h: Likewise.
42995 2012-07-25 Marek Polacek <polacek@redhat.com>
42998 * math/libm-test.inc (yn_test): Add another test.
42999 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
43000 to ERANGE when the result is +-Inf.
43001 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43002 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
43003 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
43004 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
43006 2012-07-24 Joseph Myers <joseph@codesourcery.com>
43008 * conform/data/time.h-data (NULL): Use macro-constant. Require
43010 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
43012 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
43014 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
43016 * configure.in <sysdeps resolving>: Correct printing
43018 * configure: Regenerate.
43020 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
43022 * math/w_ilogb.c: Include <limits.h>.
43023 * math/w_ilogbl.c: Likewise.
43025 2012-07-20 Joseph Myers <joseph@codesourcery.com>
43027 * manual/lang.texi (__va_copy): Document primarily as ISO C99
43028 va_copy. Document allowing for unavailable va_copy only as
43029 pre-C99 compatibility.
43030 * manual/string.texi (Copying and Concatenation): Use va_copy
43031 instead of __va_copy in concat example.
43033 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
43035 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
43036 (__sendto): Use create_address_port. Initialize APORT and deallocate
43039 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
43040 with O_NOLINK passed to __file_name_lookup.
43042 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
43043 with O_NOLINK passed to __file_name_lookup.
43045 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
43046 negative N or less than NGIDS.
43048 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
43049 type to string_t. Set ERANGE as errno and return it if NAME is not big
43050 enough. Use memcpy instead of strncpy.
43052 2012-07-20 Joseph Myers <joseph@codesourcery.com>
43054 * elf/Makefile (check-data): Remove.
43055 (localplt.data): New vpath directive.
43056 ($(objpfx)check-localplt.out): Use localplt.data from vpath
43057 instead of $(check-data).
43058 * scripts/data/localplt-generic.data: Move to ...
43059 * sysdeps/generic/localplt.data: ... here.
43060 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
43061 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
43062 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
43063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43065 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
43066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43068 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
43069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
43071 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
43072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
43074 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
43075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
43077 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
43078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
43081 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43083 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
43084 PPC32 and PPC64 files.
43085 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
43086 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
43088 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43090 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
43091 __makecontext_ret to ...
43092 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
43093 ... here and call exit if uc_link is NULL. New file.
43094 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
43095 __makecontext_ret.S.
43096 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
43097 __makecontext_ret to ...
43098 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
43099 ... here and call exit if uc_link is NULL. New file.
43100 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
43101 __makecontext_ret.S.
43103 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43105 * elf/elf.h (R_390_IRELATIVE): New definition.
43106 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
43107 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
43108 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
43109 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
43110 (elf_machine_lazy_rel): Likewise.
43111 * sysdeps/s390/dl-irel.h: New file.
43112 * sysdeps/s390/s390-64/memcpy.S: New asm code.
43113 * sysdeps/s390/s390-64/memset.S: New asm code.
43114 * sysdeps/s390/s390-64/memcmp.S: New asm code.
43115 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
43116 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
43117 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
43118 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
43119 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
43120 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
43121 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
43122 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
43123 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
43124 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
43125 * sysdeps/s390/s390-32/memcpy.S: New asm code.
43126 * sysdeps/s390/s390-32/memset.S: New asm code.
43127 * sysdeps/s390/s390-32/memcmp.S: New asm code.
43129 2012-07-17 Marek Polacek <polacek@redhat.com>
43132 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
43133 * sysdeps/s390/s390-64/configure.in: Likewise.
43134 * sysdeps/sparc/configure.in: Likewise.
43135 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
43136 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
43137 * sysdeps/i386/configure.in: Likewise.
43138 * sysdeps/x86_64/configure.in: Likewise.
43139 * sysdeps/sh/configure.in: Likewise.
43140 * sysdeps/s390/s390-32/configure: Regenerated.
43141 * sysdeps/s390/s390-64/configure: Likewise.
43142 * sysdeps/x86_64/configure: Likewise.
43143 * sysdeps/sh/configure: Likewise.
43144 * sysdeps/powerpc/powerpc64/configure: Likewise.
43145 * sysdeps/powerpc/powerpc32/configure: Likewise.
43146 * sysdeps/sparc/configure: Likwise.
43147 * sysdeps/i386/configure: Likewise.
43149 * elf/dl-open.c: Comment fixes.
43151 2012-07-17 Joseph Myers <joseph@codesourcery.com>
43153 * Makefile [CXX] (check-data): Remove.
43154 [CXX] (c++-types.data): New vpath directive.
43155 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
43156 vpath. Do not allow for C++ type data being missing.
43157 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
43158 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
43159 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
43160 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
43161 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
43162 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
43163 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
43164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
43166 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
43167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
43169 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
43170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
43172 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
43173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
43175 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
43176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
43178 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
43179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
43181 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
43182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
43184 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
43185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
43187 * elf/tls-macros.h (TLS_LE): Move architecture-specific
43188 definitions to architecture-specific files.
43189 (TLS_IE): Likewise.
43190 (TLS_LD): Likewise.
43191 (TLS_GD): Likewise.
43192 * sysdeps/i386/tls-macros.h: New file.
43193 * sysdeps/powerpc/tls-macros.h: Likewise.
43194 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
43195 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
43196 * sysdeps/sh/tls-macros.h: Likewise.
43197 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
43198 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
43199 * sysdeps/x86_64/tls-macros.h: Likewise.
43201 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
43203 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
43204 zero value for regular exit case.
43206 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
43207 (__start_context): Preserve zero value for regular exit case.
43209 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
43210 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43212 * manual/setjmp.texi (setcontext): Clarify normal process
43213 termination when uc_link is the null pointer.
43214 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
43217 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
43219 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
43220 preprocessor. Test for each exception mask separately.
43222 2012-07-16 Andreas Jaeger <aj@suse.de>
43224 * po/ru.po: Update from translation team.
43226 2012-07-15 Joseph Myers <joseph@codesourcery.com>
43228 * conform/data/string.h-data (NULL): Use macro-constant. Require
43230 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43231 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43232 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
43233 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
43234 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43236 2012-07-13 Andreas Jaeger <aj@suse.de>
43238 * po/fr.po: Update from translation team.
43240 2012-07-12 Marek Polacek <polacek@redhat.com>
43243 * math/libm-test.inc (yn_test): Add test for BZ #14173.
43244 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
43247 2012-07-12 Joseph Myers <joseph@codesourcery.com>
43250 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43251 Change to 2.4.1 where previously 2.4.0.
43252 * sysdeps/unix/sysv/linux/configure: Regenerated.
43253 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
43254 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
43256 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
43257 (__ASSUME_AT_CLKTCK): Remove.
43258 (__ASSUME_AT_PAGESIZE): Likewise.
43259 (__ASSUME_AT_XID): Likewise.
43260 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
43261 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
43262 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
43264 (HAVE_AUX_PAGESIZE): Likewise.
43265 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
43266 [__ASSUME_AT_CLKTCK]: Make code unconditional.
43267 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
43269 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
43272 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
43273 the temporary buffer used to invoke __gethostbyname2_r,
43274 __gethostbyaddr_r and gethostbyname4_r to make room for struct
43275 host_data / struct gaih_addrtuple.
43276 * resolv/nss_dns/dns-host.c (global scope): Move definition of
43277 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
43278 header file nss/nsswitch.h.
43279 * nss/nsswitch.h (global scope): Add definition of implementation
43280 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
43281 resolv/nss_dns/dns-host.c).
43283 2012-07-11 Andreas Jaeger <aj@suse.de>
43285 * po/fr.po: Update from translation team.
43287 * po/sv.po: Update from translation team
43288 * po/fr.po: Another update from translation team.
43290 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43292 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
43293 for subnormals or multiply small sinh result by itself.
43294 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43297 2012-07-11 David S. Miller <davem@davemloft.net>
43299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43301 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
43304 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
43305 (INTERNAL_MARK): Shift it here.
43307 2012-07-10 Marek Polacek <polacek@redhat.com>
43310 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
43311 libc_cv_asm_global_directive with .globl.
43312 * configure: Regenerated.
43313 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
43315 * sysdeps/i386/configure: Regenerated.
43316 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
43318 * sysdeps/x86_64/configure: Regenerated.
43319 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
43320 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
43321 * elf/tst-unique2mod2.c: Likewise.
43322 * elf/tst-unique2mod1.c: Likewise.
43323 * elf/tst-unique1mod2.c: Likewise.
43324 * elf/tst-unique1mod1.c: Likewise.
43325 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43326 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43327 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43328 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43329 * sysdeps/mach/sysdep.h: Likewise.
43330 * sysdeps/i386/sysdep.h: Likewise.
43331 * sysdeps/i386/i386-mcount.S: Likewise.
43332 * sysdeps/x86_64/_mcount.S: Likewise.
43333 * sysdeps/x86_64/sysdep.h: Likewise.
43334 * sysdeps/sh/_mcount.S: Likewise.
43335 * sysdeps/sh/sysdep.h: Likewise.
43336 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
43337 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
43338 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
43339 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43340 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
43341 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
43342 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
43343 * locale/localeinfo.h: Likewise.
43344 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
43345 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
43347 2012-07-09 Roland McGrath <roland@hack.frob.com>
43350 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
43352 * manual/message.texi (The Uniforum approach): Likewise.
43353 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
43354 (glibc iconv Implementation): Likewise.
43356 2012-07-09 Joseph Myers <joseph@codesourcery.com>
43359 * math/s_clog.c (__clog): Avoid scaling a value down where that
43360 could result in underflow.
43361 * math/s_clog10.c (__clog10): Likewise.
43362 * math/s_clog10f.c (__clog10f): Likewise.
43363 * math/s_clog10l.c (__clog10l): Likewise.
43364 * math/s_clogf.c (__clogf): Likewise.
43365 * math/s_clogl.c (__clogl): Likewise.
43366 * math/libm-test.inc (clog_test): Add more tests.
43367 (clog10_test): Likewise.
43368 * sysdeps/i386/fpu/libm-test-ulps: Update.
43369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43371 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
43374 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
43375 by 7 not 8 to examine high bit of fractional part.
43378 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
43379 for call to __mcount_internal.
43380 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
43381 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
43382 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
43384 2012-07-06 Joseph Myers <joseph@codesourcery.com>
43387 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
43388 approximation for values within 0x1p-13f of an odd multiple of
43390 * math/libm-test.inc (tan_test): Do not allow spurious underflow
43391 exception. Add more tests.
43392 * sysdeps/i386/fpu/libm-test-ulps: Update.
43395 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
43396 inputs and return -1 for them. Do not check for +Inf in case not
43397 reachable for +Inf.
43398 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43399 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
43400 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43401 and return -1 for them. Do not check for +Inf in case not
43402 reachable for +Inf.
43403 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
43405 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43406 and return -1 for them. Do not check for +Inf in case not
43407 reachable for +Inf.
43408 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
43409 spurious underflow.
43410 * sysdeps/i386/fpu/libm-test-ulps: Update.
43411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43413 2012-07-06 Mike Frysinger <vapier@gentoo.org>
43415 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
43417 2012-07-05 Joseph Myers <joseph@codesourcery.com>
43421 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
43422 could result in spurious underflow. Scale down values above
43423 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
43424 * math/s_csqrtf.c (__csqrtf): Likewise.
43425 * math/s_csqrtl.c (__csqrtl): Likewise.
43426 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
43427 spurious underflow.
43428 * sysdeps/i386/fpu/libm-test-ulps: Update.
43429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43431 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
43433 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
43435 * catgets/xopen-msg.awk: New file.
43436 * catgets/xopen-msg.sed: Removed.
43438 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
43440 * intl/po2test.awk: New file.
43441 * intl/po2test.sed: Removed.
43443 2012-07-04 Joseph Myers <joseph@codesourcery.com>
43446 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
43447 or multiply small sinh result by itself.
43448 * math/s_ctanf.c (__ctanf): Likewise.
43449 * math/s_ctanh.c (__ctanh): Likewise.
43450 * math/s_ctanhf.c (__ctanhf): Likewise.
43451 * math/s_ctanhl.c (__ctanhl): Likewise.
43452 * math/s_ctanl.c (__ctanl): Likewise.
43453 * math/libm-test.inc (ctan_test_tonearest): New function.
43454 (ctan_test_towardzero): Likewise.
43455 (ctan_test_downward): Likewise.
43456 (ctan_test_upward): Likewise.
43457 (ctanh_test_tonearest): Likewise.
43458 (ctanh_test_towardzero): Likewise.
43459 (ctanh_test_downward): Likewise.
43460 (ctanh_test_upward): Likewise.
43461 (main): Call these new functions.
43462 * sysdeps/i386/fpu/libm-test-ulps: Update.
43463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43465 2012-07-03 Mike Frysinger <vapier@gentoo.org>
43467 * .gitignore: Delete /ports entry.
43469 2012-07-03 Andreas Jaeger <aj@suse.de>
43471 * po/bg.po: Update from translation team.
43472 * po/cs.po: Likewise.
43473 * po/de.po: Likewise.
43474 * po/hr.po: Likewise.
43475 * po/nl.pl: Likewise.
43476 * po/pl.po: Likewise.
43477 * po/vi.po: Likewise.
43479 2012-07-03 Joseph Myers <joseph@codesourcery.com>
43481 * Makeconfig [!+link] (+link-before-libc): New variable.
43482 [!+link] (+link-after-libc): Likewise.
43483 [!+link] (+link-tests): Likewise.
43484 [!+link] (+link): Define in terms of $(+link-before-libc) and
43485 $(+link-after-libc).
43486 [!+link-static] (+link-static-before-libc): New variable.
43487 [!+link-static] (+link-static-after-libc): Likewise.
43488 [!+link-static] (+link-static-tests): Likewise.
43489 [!+link-static] (+link-static): Define in terms of
43490 $(+link-static-before-libc) and $(+link-static-after-libc).
43491 [build-shared] (link-libc-before-gnulib): New variable.
43492 [build-shared] (link-libc-tests): Likewise.
43493 [build-shared] (link-libc): Define in terms of
43494 $(link-libc-before-gnulib).
43495 [!build-shared] (link-libc-tests): New variable.
43496 (link-libc-static-tests): New variable.
43497 [!gnulib] (gnulib-arch): New variable.
43498 [!gnulib] (gnulib-tests): Likewise.
43499 [!gnulib] (static-gnulib-arch): Likewise.
43500 [!gnulib] (static-gnulib-tests): Likewise.
43501 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
43502 Define with "=" instead of ":=".
43503 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
43504 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
43505 * Rules (binaries-all-notests): New variable.
43506 (binaries-all-tests): Likewise.
43507 (binaries-static-notests): Likewise.
43508 (binaries-static-tests): Likewise.
43509 (binaries-all): Define using $(binaries-all-notests) and
43510 $(binaries-all-tests).
43511 (binaries-static): Define using $(binaries-static-notests) and
43512 $(binaries-static-tests).
43513 (binaries-shared-tests): New variable.
43514 (binaries-shared-notests): Likewise.
43515 (binaries-shared): Remove variable.
43516 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
43517 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
43518 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
43519 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
43520 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
43521 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
43522 * elf/Makefile (sln-modules): New variable.
43523 (extra-objs): Add $(sln-modules:=.o).
43524 (ldconfig-modules): Add static-stubs.
43525 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
43526 * elf/static-stubs.c: New file.
43529 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
43530 by 7 not 8 to examine high bit of fractional part. Use volatile
43531 variables when splitting into final array of floats if
43532 __FLT_EVAL_METHOD__ != 0.
43533 * math/libm-test.inc (cos_test): Add another test.
43534 (sin_test): Likewise.
43535 * sysdeps/i386/fpu/libm-test-ulps: Update.
43538 * math/libm-test.inc (cosh_test): Add more tests.
43540 * version.h (RELEASE): Set to "development".
43541 (VERSION): Set to "2.16.90".
43543 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
43545 * NEWS: Update copyright. Remove last-updated date.
43546 Mention math library bug fixes and timezone data changes.
43547 * README: Mention GNU/Hurd, x32, and HPPA support status.
43549 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
43551 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
43553 2012-06-27 Andreas Jaeger <aj@suse.de>
43555 * manual/contrib.texi (Contributors): Add Samuel Thibault.
43557 2012-06-25 Andreas Jaeger <aj@suse.de>
43559 * sysdeps/s390/fpu/libm-test-ulps: Update.
43561 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
43562 Thomas Schwinge <thomas@codesourcery.com>
43564 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
43565 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
43566 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
43569 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
43571 * sysdeps/mach/start.c: Remove file.
43572 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
43573 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
43574 * sysdeps/sh/init-first.c: Likewise.
43576 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
43577 registers for frame unwinding purposes, add CFI directives.
43578 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43579 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
43580 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
43583 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
43584 __fortify_fail returning.
43585 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43587 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
43588 sysdeps/sh/____longjmp_chk.S.
43589 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
43590 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
43591 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
43592 (gen-as-const-headers): Append sigaltstack-offsets.sym.
43594 * sysdeps/sh/abort-instr.h: New file.
43595 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
43596 process in case exit returns.
43598 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
43599 initialize the GOT register before use.
43601 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
43602 calculation of ARGC > 4.
43604 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
43605 meaningful names to some local labels.
43607 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43608 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43610 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
43611 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
43612 (__arch_compare_and_exchange_val_16_acq): Likewise.
43613 (__arch_compare_and_exchange_val_32_acq): Likewise.
43614 (atomic_exchange_and_add): Fix gUSA sequence.
43615 (atomic_add): Likewise.
43616 (atomic_add_negative): Likewise.
43617 (atomic_add_zero): Likewise.
43618 (atomic_bit_test_set): Likewise.
43620 2012-06-22 Andreas Schwab <schwab@redhat.com>
43623 * include/link.h (struct link_map): Add l_free_initfini.
43624 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
43626 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
43627 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
43628 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
43631 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
43633 * configure.in: Use AC_LANG_SOURCE.
43634 * configure: Regenerate.
43636 2012-06-22 Roland McGrath <roland@hack.frob.com>
43638 * configure.in (libc_cv_localstatedir): New substituted variable.
43639 * configure: Regenerated.
43640 * config.make.in (localstatedir): New variable, substituted from
43641 libc_cv_localstatedir.
43642 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
43643 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
43644 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
43645 * sysdeps/gnu/configure: Regenerated.
43647 2012-06-21 Jeff Law <law@redhat.com>
43650 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
43651 free. Simplify list management for _LIBC case.
43653 2012-06-21 Joseph Myers <joseph@codesourcery.com>
43656 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
43657 Clear sign bit of 64-bit integer value before comparing against
43660 * sysdeps/mach/configure: Regenerated.
43662 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
43665 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
43667 2012-06-21 Jeff Law <law@redhat.com>
43670 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
43671 uint16_t for elements in the "seen" array to avoid char overflows.
43672 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43673 * elf/dl-open.c (dl_open_worker): Likewise.
43675 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
43677 * scripts/list-sources.sh: Scan PORTS for translations.
43678 * po/libc.pot: Regenerated.
43680 2012-06-21 Andreas Jaeger <aj@suse.de>
43683 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
43685 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
43686 * bits/byteswap-16.h (__bswap_16): Likewise.
43687 * bits/byteswap.h (__bswap_constant_16): Likewise.
43689 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
43692 * sysdeps/i386/fpu_control.h: Removed.
43693 * sysdeps/x86_64/fpu_control.h: Moved to ...
43694 * sysdeps/x86/fpu_control.h: Here.
43696 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
43697 (_FPU_SETCW): Likewise.
43699 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
43702 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
43703 * sysdeps/x86/fpu/bits/mathinline.h: This.
43704 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
43708 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
43709 functions if __x86_64__ is defined.
43711 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
43713 * string/endian.h: Add !__ASSEMBLER__ condition for including
43714 conversion interfaces.
43716 2012-06-15 Joseph Myers <joseph@codesourcery.com>
43719 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
43720 of ABS(x) in calculating zero to negative powers other than odd
43722 * math/libm-test.inc (pow_test): Add more tests.
43724 2012-06-15 Andreas Jaeger <aj@suse.de>
43726 * manual/contrib.texi (Contributors): Update entry of Liubov
43727 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
43730 2012-06-15 Cyril Hrubis <metan@ucw.cz>
43732 * string/string.h: Add __wur to GNU version of strerror_r.
43734 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
43737 * string/Makefile (tests): Add tst-strtok_r.
43738 * string/tst-strtok_r.c: New file.
43739 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
43740 RAX_LP/RDX_LP on SAVE_PTR.
43742 2012-06-14 Roland McGrath <roland@hack.frob.com>
43744 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
43746 2012-06-14 Joseph Myers <joseph@codesourcery.com>
43748 * libm_test.inc (csqrt_test): Allow more spurious underflow
43750 (j0_test): Likewise.
43751 (j1_test): Likewise.
43752 (y0_test): Likewise.
43753 (y1_test): Likewise.
43755 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
43757 * po/Makefile (libc.pot): Use UTF-8 charset.
43759 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
43762 Suppress sign-conversion warning from FD_SET.
43763 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
43764 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
43765 not unsigned long int.
43766 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
43768 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
43772 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
43773 __extern_always_inline instead of __extern_inline.
43774 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
43775 (__signbit): Likewise.
43776 (__signbitl): Support C++ namespace.
43777 (lrintf): New inline function.
43779 (llrintf): Likewise.
43780 (llrint): Likewise.
43790 (floorf): Likewise.
43791 (nearbyint): Likewise.
43792 (nearbyintf): Likewise.
43794 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
43796 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
43797 non-default versions.
43799 2012-06-11 Roland McGrath <roland@hack.frob.com>
43802 * manual/argp.texi (Argp): Reword argp_parse description slightly.
43804 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
43806 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
43807 (FE_UPWARD, FE_DOWNWARD): Don't define.
43808 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
43809 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
43811 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
43813 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
43814 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43816 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43818 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43819 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
43820 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
43821 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
43823 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
43826 * sysdeps/i386/fpu/bits/fenv.h: Removed.
43827 * sysdeps/i386/fpu/Implies: New file.
43828 * sysdeps/x86_64/fpu/Implies: Likewise.
43829 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
43830 * sysdeps/x86/fpu/bits/fenv.h: This.
43832 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
43835 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
43838 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
43839 character 0xffff that matches the last element of the
43842 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43844 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
43847 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43849 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
43850 values higher than 25.6283.
43852 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43854 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
43855 subnormal exponent extraction and add some __builtin_expect.
43856 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
43857 Fix for subnormal mantissa calculation.
43859 2012-06-04 Mike Frysinger <vapier@gentoo.org>
43861 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
43862 cpu2 is -1 and errno is not ENOSYS.
43864 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
43867 * sysdeps/i386/i486/bits/string.h: Renamed to ...
43868 * sysdeps/x86/bits/string.h: This.
43869 * sysdeps/x86_64/bits/string.h: Removed.
43871 * sysdeps/i386/i486/bits/string.h: Define inline functions only
43872 if not compiling for x86-64, but compiling for >= i486.
43874 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
43875 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
43877 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
43878 New macro from Linux kernel 3.4.0.
43879 (FP_XSTATE_MAGIC2): Likewise.
43880 (FP_XSTATE_MAGIC2_SIZE): Likewise.
43881 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
43882 (struct _fpx_sw_bytes): New struct.
43883 (struct _xsave_hdr): Likewise.
43884 (struct _ymmh_state): Likewise.
43885 (struct _xstate): Likewise.
43887 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
43888 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
43889 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
43890 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
43891 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
43892 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
43894 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
43895 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
43896 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
43897 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
43898 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
43899 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
43901 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43904 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
43905 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
43906 (sysdep_headers): Include sys/platform/ppc.h.
43907 * sysdeps/powerpc/test-gettimebase.c: Test for
43908 __ppc_get_timebase() to catch future ISA opcode/insn changes.
43909 * manual/Makefile (appendices): Include platform.texi.
43910 * manual/contrib.texi (Contributors): Update @node pointers.
43911 * manual/maint.texi (Maintenance): Likewise.
43912 (Platform): New node.
43913 * manual/platform.texi: New file. Document the new features.
43915 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
43916 Jakub Jelinek <jakub@redhat.com>
43919 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
43920 where __builtin_expect is unavailable.
43922 2012-06-03 David S. Miller <davem@davemloft.net>
43924 * stdlib/longlong.h: Updated from GCC.
43926 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
43929 * sysdeps/powerpc/powerpc32/mcount.c: New file.
43930 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
43932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43933 (GLIBC_2.16): Likewise.
43935 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
43937 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
43939 2012-06-01 Joseph Myers <joseph@codesourcery.com>
43941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
43942 (default-abi): New variable.
43943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
43944 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
43946 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
43948 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
43950 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
43953 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
43954 definition. Document in comment.
43956 2012-06-01 David S. Miller <davem@davemloft.net>
43958 * stdlib/longlong.h: Updated from GCC.
43960 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
43963 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
43964 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
43965 sys/debugreg.h sys/io.h here.
43966 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
43967 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
43969 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
43970 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
43971 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
43972 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
43973 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
43974 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
43976 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
43977 Define only if __x86_64__ is defined.
43979 2012-06-01 Joseph Myers <joseph@codesourcery.com>
43982 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
43983 Use int64_t for variable i.
43984 * math/libm-test.inc (fmod_test): Add more tests.
43986 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
43987 z computation is not scheduled after fetestexcept.
43988 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
43989 Use math_force_eval instead of asm to ensure calculation scheduled
43990 before exception test.
43991 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
43992 Ensure a1 + u.d computation is not scheduled after fetestexcept.
43994 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
43996 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
43997 computation is not scheduled after fetestexcept.
43999 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
44002 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
44003 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
44005 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44007 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
44008 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44010 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
44013 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
44015 (__WCHAR_MIN): Support __WORDSIZE == 64.
44016 (__WCHAR_MAX): Likewise.
44018 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
44019 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
44022 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
44023 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
44026 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
44027 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
44029 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
44030 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
44032 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
44033 Defined to 1 if __x86_64__ isn't defined.
44034 (_STAT_VER_LINUX_OLD): New.
44035 (st_atime): Remove duplicate.
44036 (st_mtime): Likewise.
44037 (st_ctime): Likewise.
44039 2012-05-31 David S. Miller <davem@davemloft.net>
44041 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
44044 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
44046 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
44050 * elf/dl-reloc.c: Include <_itoa.h>.
44051 (_dl_reloc_bad_type): Remove use of INTUSE.
44052 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
44053 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
44054 * stdio-common/psiginfo.c (psiginfo): Likewise.
44055 * stdio-common/psignal.c (psignal): Likewise.
44056 * string/strsignal.c (strsignal): Likewise.
44057 * include/signal.h (_sys_siglist): Declare hidden proto.
44058 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
44059 INTVARDEF with libc_hidden_data_def.
44060 * stdio-common/itoa-udigits.c: Likewise.
44061 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
44062 (_itoa_lower_digits_internal): Remove declaration.
44063 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
44064 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
44065 (_sys_sigabbrev_internal): Remove aliases.
44066 (_sys_siglist): Define hidden alias.
44068 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
44070 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44073 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
44076 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
44077 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
44079 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
44080 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
44081 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
44082 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
44083 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
44084 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
44086 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
44087 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
44088 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
44090 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
44098 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
44099 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
44100 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
44102 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
44103 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
44104 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
44105 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
44106 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
44107 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
44109 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
44110 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
44112 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
44113 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
44115 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
44116 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
44117 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
44119 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
44120 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
44122 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
44124 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
44125 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
44126 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
44128 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
44130 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
44132 2012-05-31 Joseph Myers <joseph@codesourcery.com>
44134 * math/math.h (M_El): Use two more decimal places.
44135 (M_LOG2El): Likewise.
44136 (M_LOG10El): Likewise.
44137 (M_LN2l): Likewise.
44138 (M_LN10l): Likewise.
44140 (M_PI_2l): Likewise.
44141 (M_PI_4l): Likewise.
44142 (M_1_PIl): Likewise.
44143 (M_2_PIl): Likewise.
44144 (M_2_SQRTPIl): Likewise.
44145 (M_SQRT2l): Likewise.
44146 (M_SQRT1_2l): Likewise.
44148 2012-05-31 David S. Miller <davem@davemloft.net>
44150 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
44151 values between float registers.
44152 * sysdeps/sparc/sparc64/memset.S: Likewise.
44153 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44155 2012-05-31 Mike Frysinger <vapier@gentoo.org>
44157 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
44158 -D_FORTIFY_SOURCE=1.
44159 (CPPFLAGS-tst-longjmp_chk.c): Define.
44160 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
44161 (CPPFLAGS-tst-longjmp_chk2.c): Define.
44162 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
44163 CFLAGS-tst-wchar-h.c.
44165 2012-05-31 Marek Polacek <polacek@redhat.com>
44168 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
44169 __endmntent_internal): Remove declaration.
44170 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
44171 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
44172 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
44174 2012-05-30 David S. Miller <davem@davemloft.net>
44176 * sysdeps/sparc/sparc32/soft-fp/q_util.c
44177 (___Q_simulate_exceptions): Use real FP ops rather than writing
44179 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
44182 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44185 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
44186 * sysdeps/x86/bits/xtitypes.h: This.
44188 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
44189 * sysdeps/x86/bits/wordsize.h: This.
44191 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
44192 * sysdeps/x86/bits/huge_vall.h: This.
44194 * sysdeps/i386/bits/select.h: Removed.
44195 * sysdeps/x86_64/bits/select.h: Renamed to ...
44196 * sysdeps/x86/bits/select.h: This.
44198 * sysdeps/i386/bits/setjmp.h: Removed.
44199 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
44200 * sysdeps/x86/bits/setjmp.h: This.
44202 * sysdeps/i386/bits/mathdef.h: Removed.
44203 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
44204 * sysdeps/x86/bits/mathdef.h: This.
44206 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
44209 * include/sys/socket.h (__connect_internal)
44210 (__libc_sa_len_internal): Remove declaration.
44211 (__connect, __libc_sa_len): Declare hidden_proto.
44212 (SA_LEN): Remove use of INTUSE.
44213 * socket/connect.c: Add libc_hidden_def.
44214 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
44215 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
44216 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
44218 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
44219 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
44220 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
44221 of adding _internal alias.
44223 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44226 * sysdeps/i386/bits/link.h: Removed.
44227 * sysdeps/i386/bits/linkmap.h: Likewise.
44228 * sysdeps/x86_64/bits/link.h: Renamed to ...
44229 * sysdeps/x86/bits/link.h: This.
44230 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
44231 * sysdeps/x86/bits/linkmap.h: This.
44233 * sysdeps/i386/bits/endian.h: Removed.
44234 * sysdeps/x86_64/bits/endian.h: Renamed to ...
44235 * sysdeps/x86/bits/endian.h: This.
44237 * sysdeps/i386/bits/byteswap.h: Removed.
44238 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44239 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
44240 * sysdeps/x86/bits/byteswap.h: This.
44241 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
44242 * sysdeps/x86/bits/byteswap-16.h: This.
44243 * sysdeps/i386/Implies: Add x86.
44244 * sysdeps/x86_64/Implies: Likewise.
44246 2012-05-30 David S. Miller <davem@davemloft.net>
44248 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
44249 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
44250 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
44251 (FP_TRAPPING_EXCEPTIONS): Define.
44252 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
44253 (FP_TRAPPING_EXCEPTIONS): Define.
44254 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
44255 subnormals only when inexact has been signalled or underflow
44256 exceptions are enabled.
44257 (_FP_PACK_CANONICAL): Likewise.
44259 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44262 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
44263 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
44265 2012-05-30 Richard Henderson <rth@twiddle.net>
44267 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
44268 with #ifndef NOT_IN_libc.
44270 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
44271 marked to avoid plt entry.
44273 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44276 * Makeconfig (default-abi): New macro.
44277 (abi-includes): Likewise.
44278 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
44279 $(abi-$(default-abi)-lib-soname) for soname if defined.
44280 ($(common-objpfx)gnu/lib-names.stmp): Generate from
44282 * Makefile (installed-stubs): Likewise.
44283 * include/stubs-biarch.h: Removed.
44284 * scripts/lib-names.awk: Only handle one library at a time.
44285 * scripts/soversions.awk: Remove WORDSIZE support.
44286 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
44288 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
44290 (syscall-list-default-condition): Likewise.
44291 (syscall-list-default-condition): Likewise.
44292 (syscall-list-includes): Likewise.
44293 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
44294 syscall-list-* with abi-*. Handle undefined abi-variants.
44295 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
44296 * sysdeps/unix/sysv/linux/i386/Implies: New file.
44297 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
44298 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
44299 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
44300 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
44302 (syscall-list-32-options): Likewise.
44303 (syscall-list-32-condition): Likewise.
44304 (syscall-list-64-options): Likewise.
44305 (syscall-list-64-condition): Likewise.
44306 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
44308 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
44311 (abi-64-ld-soname): New macro.
44312 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
44313 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
44316 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
44317 * sysdeps/x86_64/x32/shlib-versions: Likewise.
44319 2012-05-30 Joseph Myers <joseph@codesourcery.com>
44321 * sysdeps/unix/sysv/linux/kernel-features.h
44322 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
44323 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
44324 include <kernel-features.h>.
44325 [!__NR_ftruncate64]: Remove conditional code.
44326 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44327 [__NR_ftruncate64]: Make code unconditional.
44328 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44329 * sysdeps/unix/sysv/linux/truncate64.c: Do not
44330 include <kernel-features.h>.
44331 [!__NR_ftruncate64]: Remove conditional code.
44332 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44333 [__NR_ftruncate64]: Make code unconditional.
44334 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
44336 include <kernel-features.h>.
44337 [!__NR_ftruncate64]: Remove conditional code.
44338 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44339 [__NR_ftruncate64]: Make code unconditional.
44340 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
44342 include <kernel-features.h>.
44343 [!__NR_ftruncate64]: Remove conditional code.
44344 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44345 [__NR_ftruncate64]: Make code unconditional.
44346 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44348 * configure.in (libc_cv_fpie): Weaken to a compile test using
44349 LIBC_TRY_CC_OPTION.
44350 * configure: Regenerated.
44352 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
44355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
44356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
44357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
44360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
44361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
44362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
44363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
44364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44367 2012-05-27 David S. Miller <davem@davemloft.net>
44369 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
44371 (__Q_simulate_exceptions): Return void. Change to simulate
44372 exceptions by writing into the %fsr.
44373 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
44374 (__Qp_handle_exceptions): Likewise.
44376 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
44377 __Qp_handle_exceptions.
44378 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
44379 __Qp_handle_exceptions.
44380 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44381 as unused and give dummy FP_RND_NEAREST initializer.
44382 (FP_INHIBIT_RESULTS): Define.
44383 (___Q_simulate_exceptions): Update declaration.
44384 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
44386 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44387 as unused and give dummy FP_RND_NEAREST initializer.
44388 (__Qp_handle_exceptions): Update declaration.
44389 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
44392 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
44394 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
44395 the temporary FPU control word.
44396 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
44397 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
44398 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
44399 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44400 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44401 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
44402 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
44403 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44404 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
44405 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
44406 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44408 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44410 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
44413 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
44415 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
44416 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
44417 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
44418 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
44420 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
44421 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
44424 2012-05-27 Ulrich Drepper <drepper@gmail.com>
44426 * po/h.po: Update from translation team.
44428 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
44430 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
44432 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
44433 handling of denormals.
44434 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44435 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44436 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44437 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44438 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44439 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
44440 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
44443 2012-05-26 Marek Polacek <polacek@redhat.com>
44446 * math/libm-test.inc (fma_test): Don't always expect underflow
44449 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44452 * elf/tst-execstack.c: Include stackinfo.h.
44453 (do_test): Adjust test case to ensure that pthread_getattr_np
44454 behaviour remains the same after marking stack executable.
44456 2012-05-25 Joseph Myers <joseph@codesourcery.com>
44458 * sysdeps/unix/sysv/linux/kernel-features.h
44459 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
44460 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
44462 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44463 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44464 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
44466 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44467 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44469 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
44471 * configure.in: Define the default includes to being none.
44472 * configure: Regenerated.
44474 2012-05-25 Roland McGrath <roland@hack.frob.com>
44476 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
44477 * sysdeps/x86_64/setjmp.S: Likewise.
44478 * sysdeps/i386/bsd-setjmp.S: Likewise.
44479 * sysdeps/i386/bsd-_setjmp.S: Likewise.
44480 * sysdeps/i386/setjmp.S: Likewise.
44481 * sysdeps/i386/__longjmp.S: Likewise.
44482 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
44483 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
44485 * include/stap-probe.h: New file.
44486 * configure.in: Handle --enable-systemtap.
44487 * configure: Regenerated.
44488 * config.h.in (USE_STAP_PROBE): New #undef.
44489 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
44490 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
44491 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
44493 2012-05-25 Joseph Myers <joseph@codesourcery.com>
44496 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44497 to 2.4.0 where earlier.
44498 * sysdeps/unix/sysv/linux/configure: Regenerated.
44499 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
44500 <kernel-features.h>.
44501 [__ASSUME_32BITUIDS]: Make code unconditional.
44502 [!__ASSUME_32BITUIDS]: Remove conditional code.
44503 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
44504 <kernel-features.h>.
44505 [__ASSUME_32BITUIDS]: Make code unconditional.
44506 [!__ASSUME_32BITUIDS]: Remove conditional code.
44507 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
44508 [__ASSUME_32BITUIDS]: Make code unconditional.
44509 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
44510 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
44511 <kernel-features.h>.
44512 [__ASSUME_32BITUIDS]: Make code unconditional.
44513 [!__ASSUME_32BITUIDS]: Remove conditional code.
44514 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
44515 <kernel-features.h>.
44516 [__ASSUME_32BITUIDS]: Make code unconditional.
44517 [!__ASSUME_32BITUIDS]: Remove conditional code.
44518 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
44519 <kernel-features.h>.
44520 [__ASSUME_32BITUIDS]: Make code unconditional.
44521 [!__ASSUME_32BITUIDS]: Remove conditional code.
44522 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
44523 <kernel-features.h>.
44524 [__ASSUME_32BITUIDS]: Make code unconditional.
44525 [!__ASSUME_32BITUIDS]: Remove conditional code.
44526 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
44527 <kernel-features.h>.
44528 [__ASSUME_32BITUIDS]: Make code unconditional.
44529 [!__ASSUME_32BITUIDS]: Remove conditional code.
44530 * sysdeps/unix/sysv/linux/i386/getresuid.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/getuid.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/lchown.c: Do not include
44539 <kernel-features.h>.
44540 [__ASSUME_32BITUIDS]: Make code unconditional.
44541 [!__ASSUME_32BITUIDS]: Remove conditional code.
44542 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
44543 <kernel-features.h>.
44544 [__ASSUME_32BITUIDS]: Make code unconditional.
44545 [!__ASSUME_32BITUIDS]: Remove conditional code.
44546 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
44547 <kernel-features.h>.
44548 [__ASSUME_32BITUIDS]: Make code unconditional.
44549 [!__ASSUME_32BITUIDS]: Remove conditional code.
44550 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
44551 <kernel-features.h>.
44552 [__NR_setresgid] (__setresgid): Do not declare.
44553 [__ASSUME_32BITUIDS]: Make code unconditional.
44554 [!__ASSUME_32BITUIDS]: Remove conditional code.
44555 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
44556 <kernel-features.h>.
44557 [__NR_setresuid] (__setresuid): Do not declare.
44558 [__ASSUME_32BITUIDS]: Make code unconditional.
44559 [!__ASSUME_32BITUIDS]: Remove conditional code.
44560 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
44561 <kernel-features.h>.
44562 [__ASSUME_32BITUIDS]: Make code unconditional.
44563 [!__ASSUME_32BITUIDS]: Remove conditional code.
44564 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
44565 <kernel-features.h>.
44566 [__ASSUME_32BITUIDS]: Make code unconditional.
44567 [!__ASSUME_32BITUIDS]: Remove conditional code.
44568 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
44569 <kernel-features.h>.
44570 [__ASSUME_32BITUIDS]: Make code unconditional.
44571 [!__ASSUME_32BITUIDS]: Remove conditional code.
44572 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
44573 <kernel-features.h>.
44574 [__ASSUME_32BITUIDS]: Make code unconditional.
44575 [!__ASSUME_32BITUIDS]: Remove conditional code.
44576 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
44577 <kernel-features.h>.
44578 [__ASSUME_32BITUIDS]: Make code unconditional.
44579 [!__ASSUME_32BITUIDS]: Remove conditional code.
44580 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
44581 <kernel-features.h>.
44582 [__ASSUME_32BITUIDS]: Make code unconditional.
44583 [!__ASSUME_32BITUIDS]: Remove conditional code.
44584 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
44585 <kernel-features.h>.
44586 [__ASSUME_32BITUIDS]: Make code unconditional.
44587 [!__ASSUME_32BITUIDS]: Remove conditional code.
44588 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
44589 <kernel-features.h>.
44590 [__ASSUME_32BITUIDS]: Make code unconditional.
44591 [!__ASSUME_32BITUIDS]: Remove conditional code.
44592 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
44593 <kernel-features.h>.
44594 [__ASSUME_32BITUIDS]: Make code unconditional.
44595 [!__ASSUME_32BITUIDS]: Remove conditional code.
44596 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
44597 <kernel-features.h>.
44598 [__ASSUME_32BITUIDS]: Make code unconditional.
44599 [!__ASSUME_32BITUIDS]: Remove conditional code.
44600 * sysdeps/unix/sysv/linux/kernel-features.h
44601 (__ASSUME_SETRESUID_SYSCALL): Remove.
44602 (__ASSUME_SETRESGID_SYSCALL): Likewise.
44603 (__ASSUME_32BITUIDS): Likewise.
44604 (__ASSUME_LDT_WORKS): Likewise.
44605 (__ASSUME_O_DIRECTORY): Likewise.
44606 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
44607 architecture but not kernel version.
44608 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
44609 (__ASSUME_MMAP2_SYSCALL): Likewise.
44610 (__ASSUME_STAT64_SYSCALL): Likewise.
44611 (__ASSUME_IPC64): Likewise.
44612 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
44613 <kernel-features.h>.
44614 [__ASSUME_32BITUIDS]: Make code unconditional.
44615 [!__ASSUME_32BITUIDS]: Remove conditional code.
44616 * sysdeps/unix/sysv/linux/opendir.c: Do not include
44617 <kernel-features.h>.
44618 [__ASSUME_O_DIRECTORY]: Make code unconditional.
44619 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
44620 132096]: Remove conditional code.
44621 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
44622 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
44623 <kernel-features.h>.
44624 [__ASSUME_32BITUIDS]: Make code unconditional.
44625 [!__ASSUME_32BITUIDS]: Remove conditional code.
44626 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
44627 <kernel-features.h>.
44628 [__ASSUME_32BITUIDS]: Make code unconditional.
44629 [!__ASSUME_32BITUIDS]: Remove conditional code.
44630 * sysdeps/unix/sysv/linux/setegid.c: Do not include
44631 <kernel-features.h>.
44632 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
44634 (__setresgid): Do not declare.
44635 [__ASSUME_32BITUIDS]: Make code unconditional.
44636 [!__ASSUME_32BITUIDS]: Remove conditional code.
44637 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
44638 <kernel-features.h>.
44639 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
44641 (__setresuid): Do not declare.
44642 [__ASSUME_32BITUIDS]: Make code unconditional.
44643 [!__ASSUME_32BITUIDS]: Remove conditional code.
44644 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
44645 <kernel-features.h>.
44646 [__ASSUME_32BITUIDS]: Make code unconditional.
44647 [!__ASSUME_32BITUIDS]: Remove conditional code.
44648 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
44649 <kernel-features.h>.
44650 [__ASSUME_32BITUIDS]: Make code unconditional.
44651 [!__ASSUME_32BITUIDS]: Remove conditional code.
44653 2012-05-25 Richard Henderson <rth@twiddle.net>
44655 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
44656 dl_hwcap to ifunc resolver.
44657 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
44659 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
44660 dl_hwcap to ifunc resolver.
44661 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
44663 2012-05-24 Joseph Myers <joseph@codesourcery.com>
44666 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
44667 for |x| <= 2**-26, not 2**-57.
44668 * math/libm-test.inc (acos_test): Do not allow spurious underflow
44671 2012-05-24 Jeff Law <law@redhat.com>
44673 * stdio-common/Makefile (tests): Add bug25.
44674 * stdio-common/bug25.c: New test.
44676 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
44679 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
44680 multiple of MALLOC_ALIGNMENT in size.
44681 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
44683 2012-05-24 Joseph Myers <joseph@codesourcery.com>
44685 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
44687 (FILENAME_MAX): Use macro-int-constant.
44688 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
44689 (_IOFBF): Use macro-int-constant.
44690 (_IOLBF): Likewise.
44691 (_IONBF): Likewise.
44692 (SEEK_CUR): Likewise.
44693 (SEEK_END): Likewise.
44694 (SEEK_SET): Likewise.
44695 (TMP_MAX): Likewise.
44696 (EOF): Use macro-int-constant. Require < 0.
44697 (NULL): Use macro-constant. Require == 0.
44698 (stdin): Require type to be FILE *.
44699 (stdout): Likewise.
44700 (stderr): Likewise.
44701 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
44702 macro-int-constant.
44703 (EXIT_SUCCESS): Likewise.
44704 (NULL): Use macro-constant. Require == 0.
44705 (RAND_MAX): Use macro-int-constant.
44706 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
44707 [C99-based standards] (strtof): Require function.
44708 [C99-based standards] (strtold): Likewise.
44709 [C99-based standards] (strtoll): Likewise.
44710 [C99-based standards] (strtoull): Likewise.
44711 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44712 [ISO || ISO99 || ISO11] (limits.h): Likewise.
44713 [ISO || ISO99 || ISO11] (math.h): Likewise.
44714 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
44715 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44716 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44718 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
44721 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
44722 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
44723 * intl/dgettext.c (DCGETTEXT): Likewise.
44724 * intl/gettext.c (DCGETTEXT): Likewise.
44725 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
44726 * posix/regex_internal.h (gettext): Likewise.
44727 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
44728 Remove declaration.
44729 * include/argz.h (__argz_count_internal)
44730 (__argz_stringify_internal): Remove declaration.
44731 (__argz_count, __argz_stringify): Declare hidden proto.
44732 * intl/dcgettext.c: Remove use of INTDEF.
44733 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
44734 * string/argz-stringify.c: Likewise.
44735 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44736 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44737 Declare hidden proto.
44738 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44739 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44740 Declare hidden proto.
44741 * include/stdio.h (__asprintf_internal): Don't declare.
44742 (__asprintf): Don't define as macro. Declare hidden proto.
44743 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
44744 (__fsetlocking): Declare hidden proto.
44745 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
44746 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
44748 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
44749 (_IO_setlinebuf): Remove use of INTUSE.
44750 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
44751 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
44752 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
44753 Remove declaration.
44754 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
44755 (_IO_do_flush): Remove use of INTUSE.
44756 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
44757 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
44758 (_IO_adjust_column, _IO_least_wmarker)
44759 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
44760 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
44761 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
44762 (_IO_default_doallocate, _IO_wdefault_doallocate)
44763 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
44764 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
44765 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
44766 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
44767 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
44768 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
44769 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
44770 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
44771 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
44772 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
44773 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
44774 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
44775 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
44777 (_IO_flush_all_internal, _IO_adjust_column_internal)
44778 (_IO_default_uflow_internal, _IO_default_finish_internal)
44779 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
44780 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
44781 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
44782 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
44783 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
44784 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
44785 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
44786 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
44787 (_IO_file_close_internal, _IO_file_close_it_internal)
44788 (_IO_file_underflow_internal, _IO_file_overflow_internal)
44789 (_IO_file_init_internal, _IO_file_attach_internal)
44790 (_IO_file_fopen_internal, _IO_file_read_internal)
44791 (_IO_file_sync_internal, _IO_file_seek_internal)
44792 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
44793 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
44794 (_IO_str_underflow_internal, _IO_str_overflow_internal)
44795 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
44796 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
44797 (_IO_list_all_internal, _IO_link_in_internal)
44798 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
44799 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
44800 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
44801 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
44802 (_IO_do_write_internal, _IO_padn_internal)
44803 (_IO_getline_info_internal, _IO_getline_internal)
44804 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
44805 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
44806 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
44807 (_IO_vfscanf_internal, _IO_vfprintf_internal)
44808 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
44809 (_IO_init_internal, _IO_un_link_internal): Don't declare.
44810 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
44811 with libc_hidden_ver, remove use of INTUSE.
44812 * libio/genops.c: Likewise.
44813 * libio/freopen.c: Likewise.
44814 * libio/freopen64.c: Likewise.
44815 * libio/iofclose.c: Likewise.
44816 * libio/iofdopen.c: Likewise.
44817 * libio/iofflush.c: Likewise.
44818 * libio/iofflush_u.c: Likewise.
44819 * libio/iofgets.c: Likewise.
44820 * libio/iofgets_u.c: Likewise.
44821 * libio/iofopen.c: Likewise.
44822 * libio/iofopncook.c: Likewise.
44823 * libio/iofread.c: Likewise.
44824 * libio/iofread_u.c: Likewise.
44825 * libio/ioftell.c: Likewise.
44826 * libio/iofwrite.c: Likewise.
44827 * libio/iogetline.c: Likewise.
44828 * libio/iogets.c: Likewise.
44829 * libio/iogetwline.c: Likewise.
44830 * libio/iopadn.c: Likewise.
44831 * libio/iopopen.c: Likewise.
44832 * libio/ioseekoff.c: Likewise.
44833 * libio/ioseekpos.c: Likewise.
44834 * libio/iosetbuffer.c: Likewise.
44835 * libio/iosetvbuf.c: Likewise.
44836 * libio/ioungetc.c: Likewise.
44837 * libio/ioungetwc.c: Likewise.
44838 * libio/iovdprintf.c: Likewise.
44839 * libio/iovsprintf.c: Likewise.
44840 * libio/iovsscanf.c: Likewise.
44841 * libio/memstream.c: Likewise.
44842 * libio/obprintf.c: Likewise.
44843 * libio/oldfileops.c: Likewise.
44844 * libio/oldiofclose.c: Likewise.
44845 * libio/oldiofdopen.c: Likewise.
44846 * libio/oldiofopen.c: Likewise.
44847 * libio/oldiopopen.c: Likewise.
44848 * libio/oldstdfiles.c: Likewise.
44849 * libio/putc.c: Likewise.
44850 * libio/setbuf.c: Likewise.
44851 * libio/setlinebuf.c: Likewise.
44852 * libio/stdfiles.c: Likewise.
44853 * libio/strops.c: Likewise.
44854 * libio/vasprintf.c: Likewise.
44855 * libio/vscanf.c: Likewise.
44856 * libio/vsnprintf.c: Likewise.
44857 * libio/vswprintf.c: Likewise.
44858 * libio/wfiledoalloc.c: Likewise.
44859 * libio/wfileops.c: Likewise.
44860 * libio/wgenops.c: Likewise.
44861 * libio/wmemstream.c: Likewise.
44862 * libio/wstrops.c: Likewise.
44863 * libio/__fpurge.c: Likewise.
44864 * libio/__fsetlocking.c: Likewise.
44865 * assert/assert.c: Likewise.
44866 * debug/fgets_chk.c: Likewise.
44867 * debug/fgets_u_chk.c: Likewise.
44868 * debug/fread_chk.c: Likewise.
44869 * debug/fread_u_chk.c: Likewise.
44870 * debug/gets_chk.c: Likewise.
44871 * debug/obprintf_chk.c: Likewise.
44872 * debug/vasprintf_chk.c: Likewise.
44873 * debug/vdprintf_chk.c: Likewise.
44874 * debug/vsnprintf_chk.c: Likewise.
44875 * debug/vsprintf_chk.c: Likewise.
44876 * malloc/mtrace.c: Likewise.
44877 * misc/error.c: Likewise.
44878 * misc/syslog.c: Likewise.
44879 * stdio-common/asprintf.c: Likewise.
44880 * stdio-common/fxprintf.c: Likewise.
44881 * stdio-common/getw.c: Likewise.
44882 * stdio-common/isoc99_fscanf.c: Likewise.
44883 * stdio-common/isoc99_scanf.c: Likewise.
44884 * stdio-common/isoc99_vfscanf.c: Likewise.
44885 * stdio-common/isoc99_vscanf.c: Likewise.
44886 * stdio-common/isoc99_vsscanf.c: Likewise.
44887 * stdio-common/printf-prs.c: Likewise.
44888 * stdio-common/printf_fp.c: Likewise.
44889 * stdio-common/printf_fphex.c: Likewise.
44890 * stdio-common/printf_size.c: Likewise.
44891 * stdio-common/putw.c: Likewise.
44892 * stdio-common/scanf.c: Likewise.
44893 * stdio-common/sprintf.c: Likewise.
44894 * stdio-common/tmpfile.c: Likewise.
44895 * stdio-common/vfprintf.c: Likewise.
44896 * stdio-common/vfscanf.c: Likewise.
44897 * stdlib/strfmon_l.c: Likewise.
44898 * sunrpc/openchild.c: Likewise.
44899 * sunrpc/xdr_stdio.c: Likewise.
44900 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
44901 * sysdeps/mach/hurd/tmpfile.c: Likewise.
44903 2012-05-24 Roland McGrath <roland@hack.frob.com>
44905 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
44907 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
44908 in the third column, to generate for the shared library an IFUNC
44909 that uses _dl_vdso_vsym.
44910 * Makerules (COMPILE.c, compile-stdin.c): New variables.
44911 * Makeconfig (object-suffixes-noshared): New variable.
44913 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
44914 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
44915 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
44916 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
44919 * include/sys/time.h (__gettimeofday): Remove macro.
44920 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
44921 * time/gettimeofday.c (__gettimeofday): Remove #undef.
44923 (__gettimeofday): Add libc_hidden_def.
44924 (gettimeofday): Add libc_hidden_weak.
44925 * sysdeps/mach/gettimeofday.c: Likewise.
44926 * sysdeps/posix/gettimeofday.c: Likewise.
44927 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
44928 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
44929 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
44930 (__gettimeofday_internal): Remove strong_alias.
44931 (__gettimeofday): Add libc_hidden_def.
44932 (gettimeofday): Add libc_hidden_weak.
44933 * sysdeps/unix/syscalls.list (gettimeofday):
44934 Remove __gettimeofday_internal alias.
44936 2012-05-24 Daniel Jacobowitz <drow@false.org>
44937 H.J. Lu <hongjiu.lu@intel.com>
44940 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
44941 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
44942 (largebin_index_32_big): New.
44943 (largebin_index): Use it for 16-byte alignment.
44944 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
44945 correction with front_misalign.
44947 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
44949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
44950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
44952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
44954 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
44956 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
44958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
44960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
44962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
44964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
44966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
44968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
44970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
44972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
44975 * scripts/data/c++-types-x32-linux-gnu.data: New file.
44976 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
44978 2012-05-24 Joseph Myers <joseph@codesourcery.com>
44982 * math/libm-test.inc (exp_test): Add test from bug 14036.
44983 (pow_test): Add test from bug 10846.
44985 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
44987 (special_function): Do not include flags in test name.
44988 (parse_args): Likewise.
44989 * sysdeps/i386/fpu/libm-test-ulps: Update.
44990 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44991 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44992 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44995 * math/gen-libm-test.pl (%beautify): Add entries for underflow
44997 * math/libm-test.inc ("Philosophy"): Update comment about
44999 (UNDERFLOW_EXCEPTION): New macro.
45000 (UNDERFLOW_EXCEPTION_OK): Likewise.
45001 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
45002 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
45003 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
45004 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
45005 (INVALID_EXCEPTION_OK): Update value.
45006 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45007 (OVERFLOW_EXCEPTION_OK): Likewise.
45008 (IGNORE_ZERO_INF_SIGN): Likewise.
45009 (test_exceptions): Handle underflow exceptions.
45010 (acos_test): Update for underflow exception expectations.
45011 (cexp_test): Likewise.
45012 (clog_test): Likewise.
45013 (clog10_test): Likewise.
45014 (csqrt_test): Likewise.
45015 (ctan_test): Likewise.
45016 (ctanh_test): Likewise.
45017 (exp_test): Likewise.
45018 (exp10_test): Likewise.
45019 (exp2_test): Likewise.
45020 (expm1_test): Likewise.
45021 (fma_test): Likewise.
45022 (j0_test): Likewise.
45023 (jn_test): Likewise.
45024 (nexttoward_test): Likewise.
45025 (pow_test): Likewise.
45026 (scalbn_test): Likewise.
45027 (scalbln_test): Likewise.
45028 (tan_test): Likewise.
45029 (y1_test): Likewise.
45030 * sysdeps/i386/fpu/libm-test-ulps: Update.
45031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45033 2012-05-23 David S. Miller <davem@davemloft.net>
45035 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45036 (__libc_sigaction): Remove unused local variables.
45038 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45040 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
45042 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
45044 mktime: avoid signed integer overflow
45045 * time/mktime.c (__mktime_internal): Do not mishandle the case
45046 where diff == INT_MIN.
45048 mktime: simplify computation of average
45049 * time/mktime.c (ranged_convert): Use new time_t_avg function
45050 instead of rolling our own (probably-slower) code.
45052 mktime: do not assume signed right shift propagates sign bit
45053 * time/mktime.c (isdst_differ): New static function.
45054 (__mktime_internal): No need to normalize tm_isdst now.
45055 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
45058 mktime: merge another wrapv change from gnulib
45059 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
45060 from some compilers.
45062 mktime: remove incorrect attempt at unusual arithmetics
45063 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
45064 The code didn't really work on such machines anyway.
45065 (TYPE_MINIMUM): Assume two's complement.
45066 (twos_complement_arithmetic): Verify that long_int and time_t
45067 are two's complement (or unsigned, in the latter case).
45069 mktime: check signed shifts on long_int and time_t, too
45070 * time/mktime.c (SHR): Check that shifts work as desired
45071 on the types long_int and time_t too, as SHR is used on
45074 mktime: do not assume 'long' is wide enough
45075 * time/mktime.c (verify): Move decl up.
45076 (long_int): New type.
45077 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
45078 to remove assumption in the code that 'long' is wide enough to
45079 store year values. This assumption is not true on x32 and on
45080 some non-glibc platforms.
45082 mktime: merge wrapv change from gnulib
45083 * time/mktime.c (WRAPV): New macro.
45084 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
45085 (guess_time_tm, __mktime_internal): Do not assume that signed
45086 integer overflow wraps around; modern compilers generate code
45087 where this assumption is no longer valid.
45089 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45091 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45092 Replace "jmp L(pseudo_end)" with "ret".
45093 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
45096 2012-05-23 Andreas Jaeger <aj@suse.de>
45098 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
45099 * sysdeps/unix/sysv/linux/poll.c: Remove file.
45101 2012-05-23 Andreas Jaeger <aj@suse.de>
45102 Maximilian Attems <max@stro.at>
45104 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
45107 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45109 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
45110 code so that pseudo_end is just ret and the stack pointer is
45111 correct also for static library in error case.
45113 2012-05-23 Joseph Myers <joseph@codesourcery.com>
45115 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
45116 move to syscalls.list.
45117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
45118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45122 * manual/install.texi (Running make install): Do not mention Linux
45123 kernel version for which pt_chown is not needed.
45124 (Linux): Do not mention problems with nscd with 2.0 kernels.
45125 * INSTALL: Regenerated.
45127 2012-05-23 Andreas Jaeger <aj@suse.de>
45129 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
45130 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
45132 * sysdeps/unix/sysv/linux/s390/bits/mman.h
45133 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45134 * sysdeps/unix/sysv/linux/sh/bits/mman.h
45135 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45136 * sysdeps/unix/sysv/linux/i386/bits/mman.h
45137 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45138 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
45139 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45140 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
45141 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45142 * sysdeps/unix/sysv/linux/bits/in.h
45143 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
45145 2012-05-22 Roland McGrath <roland@hack.frob.com>
45147 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
45148 (PREPARE_VERSION): Just use assert instead, it will be elided
45149 under [NDEBUG] anyway.
45151 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45153 * sysdeps/unix/sysv/linux/Makefile: Include
45154 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
45155 (sysdep_routines): Remove sysctl.
45156 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
45157 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
45158 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
45159 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
45160 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
45162 2012-05-22 Andreas Jaeger <aj@suse.de>
45164 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
45165 that pseudo_end is just ret and the stack pointer is correct also
45166 for static library in error case.
45168 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
45171 * nss/nsswitch.c (defconfig_entries): New variable.
45172 (__nss_database_lookup): Don't leak defconfig entries.
45173 (nss_parse_service_list): Don't leak on error paths.
45174 (free_database_entries): New function.
45175 (free_defconfig): New function.
45176 (free_mem): Move common code to free_database_entries.
45178 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45180 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
45182 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
45184 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
45185 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
45186 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
45188 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
45189 (INTERNAL_SYSCALL_TYPES): Likewise.
45190 (LOAD_ARGS_TYPES_[1-6]): Likewise.
45191 (LOAD_REGS_TYPES_[1-6]): Likewise.
45192 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
45193 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
45195 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45197 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
45198 copysignl for GLIBC_2_0.
45199 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
45200 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
45201 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
45202 logbl for GLIBC_2_0.
45203 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
45204 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
45206 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45208 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
45209 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45211 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45214 * time/mktime.c: Update copyright years.
45216 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
45218 mktime: merge comment-quoting-style change from gnulib
45219 * time/mktime.c: Quote 'like this' in comments.
45220 The GNU coding standards suggest that we no longer quote `like this',
45221 as "`" and "'" are typically rendered asymmetrically nowadays.
45222 The typical gnulib style is to quote 'like this' when quoting
45223 code, and "like this" when quoting English.
45225 * time/mktime.c (compile-command): Add "-I.".
45227 mktime: merge mktime-internal.h change from gnulib
45228 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
45230 mktime: merge time_r change from gnulib
45231 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
45233 mktime: merge DEBUG change from gnulib
45234 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
45235 case system <time.h> has a #define.
45237 mktime: merge <sys/types.h> change from gnulib
45238 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
45239 since <time.t> is now guaranteed to define time_t.
45241 mktime: merge HAVE_CONFIG_H change from gnulib
45242 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
45244 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45246 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45249 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
45251 (struct rusage): Use anonymous union to pad each field to
45254 2012-05-21 David S. Miller <davem@davemloft.net>
45256 * Makefules (o-iterator): Remove .s cases.
45257 (compile-command.s): Delete.
45258 (COMPILE.s): Delete.
45259 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
45261 2012-05-21 Joseph Myers <joseph@codesourcery.com>
45263 * configure.in (libc_cv_predef_stack_protector): Only consider
45264 "foobar" and "__stack_chk_fail" lines in libc_undefs.
45265 * configure: Regenerated.
45267 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45269 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45270 New macro. Use R*LP on int and pointer.
45271 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
45272 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
45273 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
45274 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
45276 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
45277 [__WORDSIZE_TIME64_COMPAT32] instead of
45278 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
45279 (struct utmp): Likewise.
45280 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
45281 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
45283 (__WORDSIZE_TIME64_COMPAT32): This.
45284 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
45285 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
45286 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
45287 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
45288 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
45289 (__WORDSIZE_TIME64_COMPAT32): New macro.
45291 2012-05-21 Andreas Jaeger <aj@suse.de>
45293 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
45294 only if [SHARED]. Add prototype for __wcschr_ia32.
45296 2012-05-21 Roland McGrath <roland@hack.frob.com>
45298 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
45299 of %rbp unmolested in the jmp_buf while mangling the low bits.
45300 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
45301 unmolested high bits of %rbp while demangling the low bits.
45302 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45304 2012-05-21 Andreas Jaeger <aj@suse.de>
45306 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
45307 * sunrpc/svc_simple.c: Use it for registerrpc.
45308 * sunrpc/xcrypt.c: Use it for passwd2des.
45310 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
45312 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45314 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
45315 Don't define if [__SYSCALL_WORDSIZE != 32].
45316 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
45319 2012-05-21 Bruno Haible <bruno@clisp.org>
45320 Andreas Jaeger <aj@suse.de>
45322 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
45323 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
45324 inptr and inend for must_buffer_ch.
45325 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
45326 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
45327 * stdio-common/Makefile (tests): Remove bug15.
45328 (bug15-ENV): Remove macro.
45329 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
45332 2012-05-19 Andreas Jaeger <aj@suse.de>
45333 Roland McGrath <roland@hack.frob.com>
45335 * manual/contrib.texi: Completely rewritten. It contains now an
45336 alphabetical list of contributors and their contributions.
45338 2012-05-21 Richard Henderson <rth@twiddle.net>
45340 * misc/getauxval.c (__getauxval): Use unsigned long int.
45341 * misc/sys/auxv.h: Include <sys/cdefs.h>.
45342 (getauxval): Use unsigned long int.
45344 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45346 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45348 2012-05-21 Roland McGrath <roland@hack.frob.com>
45350 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
45351 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
45352 __alignof__ (long double).
45354 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45358 2012-05-20 Richard Henderson <rth@twiddle.net>
45360 * misc/getauxval.c: New file.
45361 * misc/sys/auxv.h: New file.
45362 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
45363 (routines): Add getauxval.
45364 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
45365 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
45366 * elf/dl-sysdep.c (_dl_auxv): Remove.
45367 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
45368 * elf/dl-support.c (_dl_auxv): New variable.
45369 (_dl_aux_init): Initialize it.
45370 * manual/startup.texi (Auxiliary Vector): New node.
45371 * sysdeps/generic/bits/hwcap.h: New file.
45372 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
45373 * sysdeps/powerpc/sysdep.h: ... here. Include it.
45374 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
45375 * sysdeps/sparc/sysdep.h: ... here. Include it.
45376 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
45377 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
45378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
45381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
45382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
45383 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
45384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
45387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
45389 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45393 2012-05-19 David S. Miller <davem@davemloft.net>
45395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45397 2012-05-19 Joseph Myers <joseph@codesourcery.com>
45400 * math/s_ccosh.c: Include <float.h>
45401 (__ccosh): Avoid internal overflow calculating sinh and cosh
45402 values before multiplying by sin and cos values.
45403 * math/s_ccoshf.c: Likewise.
45404 * math/s_ccoshl.c: Likewise.
45405 * math/s_csin.c: Likewise.
45406 * math/s_csinf.c: Likewise.
45407 * math/s_csinl.c: Likewise.
45408 * math/s_csinh.c: Likewise.
45409 * math/s_csinhf.c: Likewise.
45410 * math/s_csinhl.c: Likewise.
45411 * math/libm-test.inc (ccos_test): Add more tests.
45412 (ccosh_test): Likewise.
45413 (csin_test): Likewise.
45414 (csinh_test): Likewise.
45415 * sysdeps/i386/fpu/libm-test-ulps: Update.
45416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45418 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
45420 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
45421 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
45423 * sysdeps/x86_64/x32/_itoa.h: Add comment.
45425 2012-05-19 Joseph Myers <joseph@codesourcery.com>
45427 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
45428 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
45429 * sysdeps/powerpc/soft-fp/Versions: Likewise.
45430 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
45431 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
45432 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
45433 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
45434 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
45435 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
45436 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
45437 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
45438 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
45439 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
45440 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
45441 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
45442 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
45443 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
45444 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
45445 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
45446 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
45447 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
45448 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
45449 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
45450 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
45451 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
45452 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
45453 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
45454 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
45455 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
45456 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
45457 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
45459 2012-05-18 Andreas Jaeger <aj@suse.de>
45461 * csu/.gitignore: Delete.
45463 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45465 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
45466 (timex): Use __syscall_slong_t.
45468 2012-05-18 Andreas Jaeger <aj@suse.de>
45469 Carlos O'Donell <carlos_odonell@mentor.com>
45471 * manual/install.texi (Configuring and compiling): Update
45472 description about files modified in the source directory.
45473 * INSTALL: Regenerated.
45475 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45477 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
45478 value. Use "or" to set return value to -1.
45479 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
45480 negate return value.
45482 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45484 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
45485 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
45486 failure if the compiler has Graphite support disabled.
45487 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
45489 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
45490 (CFLAGS-memmove.c): Likewise.
45491 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
45494 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45496 * sysdeps/x86_64/x32/_itoa.h: New file.
45498 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
45499 getdents system call only if kernel and user dirents have the
45500 same d_ino and d_off.
45502 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45503 LLONG_MAX != LONG_MAX.
45504 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45505 (_fitoa_word): Likewise.
45507 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
45509 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
45510 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
45511 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
45513 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
45514 include <bits/wordsize.h>. Check __x86_64__ instead of
45516 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
45517 if __x86_64__ is defined. Use anonymous union on fpstate.
45519 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
45522 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
45524 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
45525 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
45526 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
45527 Refer to _rtld_local_ro instead of _rtld_global_ro.
45528 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
45530 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
45532 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
45534 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
45535 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
45536 of _rtld_global, and rtld_progname instead of _dl_argv[0].
45538 * sysdeps/powerpc/powerpc32/dl-machine.c
45539 (__elf_machine_runtime_setup) [PROF]: Don't reference
45542 2012-05-18 Andreas Jaeger <aj@suse.de>
45544 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
45545 function only available for GCCs before 3.4 since GCC 3.4
45546 introduced a builtin.
45548 (llrintf): Likewise.
45549 (llrint): Likewise.
45556 (nearbyint): Likewise.
45557 (nearbyintf): Likewise.
45561 (floorf): Likewise.
45563 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45565 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
45566 on both fields and cast pointer to __syscall_ulong_t.
45568 * bits/types.h (__fsword_t): New type.
45569 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
45570 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
45571 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45572 (__FSWORD_T_TYPE): Likewise.
45573 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45574 (__FSWORD_T_TYPE): Likewise.
45575 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45576 (__FSWORD_T_TYPE): Likewise.
45577 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
45578 (__FSWORD_T_TYPE): Likewise.
45579 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
45580 __SWORD_TYPE with __fsword_t.
45581 (statfs64): Likewise.
45583 2012-05-17 David S. Miller <davem@davemloft.net>
45585 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
45587 2012-05-17 Andreas Jaeger <aj@suse.de>
45589 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
45592 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45594 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
45596 2012-05-17 Andreas Jaeger <aj@suse.de>
45598 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
45601 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
45603 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
45605 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45607 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
45608 * sysdeps/x86_64/tst-mallocalign1.c: New file.
45610 2012-05-17 Andreas Jaeger <aj@suse.de>
45611 Carlos O'Donell <carlos_odonell@mentor.com>
45614 * sysdeps/x86_64/multiarch/init-arch.h
45615 (bit_YMM_Usable): Rename to...
45616 (bit_AVX_Usable): ... this.
45617 (bit_FMA4_Usable): New macro.
45618 (bit_XMM_state): New macro.
45619 (bit_YMM_state): New macro.
45620 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
45621 [__ASSEMBLER__] (index_AVX_Usable): ... this.
45622 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
45623 (CPUID_OSXSAVE): New macro.
45624 (CPUID_AVX): New macro.
45625 (CPUID_FMA4): New macro.
45626 (index_YMM_Usable): Rename to...
45627 (index_AVX_Usable): ... this.
45628 (HAS_AVX): Use HAS_ARCH_FEATURE.
45629 (HAS_FMA4): Likewise.
45630 (HAS_YMM_USABLE): Remove.
45631 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45632 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
45634 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
45635 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
45636 * sysdeps/x86_64/multiarch/Makefile: Likewise.
45637 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
45638 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
45640 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
45642 * math/libm-test.c: Support platforms without multiple rounding modes.
45643 * math/bug-nextafter.c: Support platforms without FP exceptions.
45644 * math/bug-nexttoward.c: Likewise.
45645 * math/test-fenv.c: Likewise.
45646 * math/test-misc.c: Likewise.
45647 * stdlib/bug-getcontext.c: Likewise.
45649 2012-05-17 Andreas Jaeger <aj@suse.de>
45651 * manual/examples/search.c (critter_cmp): Change signature to
45653 * manual/string.texi (Collation Functions): Likewise.
45655 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45657 * bits/types.h: Fold copyright years.
45658 * bits/typesizes.h: Likewise.
45659 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
45660 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45661 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
45662 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
45663 * time/time.h: Likewise.
45665 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
45668 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
45669 in instead of returning them. Return void.
45670 (__libc_mallinfo): Accumulate over all arenas.
45671 (__malloc_stats): Adjust for change in int_mallinfo interface.
45673 2012-05-16 Roland McGrath <roland@hack.frob.com>
45676 * configure.in (NM): Add AC_CHECK_TOOL for it.
45677 (libc_extra_cflags): New substituted variable.
45678 Check for -fstack-protector being used implicitly.
45679 * configure: Regenerated.
45680 * config.make.in (config-extra-cflags): New variable,
45681 gets @libc_extra_cflags@.
45682 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
45685 * configure.in: Check for _FORTIFY_SOURCE being predefined.
45686 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
45687 * configure: Regenerated.
45688 * config.make.in (CPPUNDEFS): New substituted variable.
45689 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
45690 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
45691 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
45693 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45695 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
45696 (mq_attr): Use __syscall_slong_t.
45698 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45700 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
45701 Check __x86_64__ instead of __WORDSIZE.
45702 (_STAT_VER_LINUX): Likewise.
45703 (stat): Check __x86_64__ instead of __WORDSIZE. Use
45704 __syscall_ulong_t and __syscall_slong_t.
45705 (stat64): Likewise.
45707 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45709 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
45711 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45713 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
45715 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45717 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
45720 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
45721 include <bits/wordsize.h>. Check __x86_64__ instead of
45723 (greg_t): Use "__extension__ long long int" if __x86_64__ is
45725 (mcontext_t): Replace "unsigned long" with "unsigned long long".
45727 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
45728 include <bits/wordsize.h>. Check __x86_64__ instead of
45730 (user_regs_struct): Use "__extension__ unsigned long long"
45731 instead of "unsigned long" if __x86_64__ is defined.
45732 (user): Likewise. Pad after pointer field if __ILP32__ is
45735 2012-05-16 Joseph Myers <joseph@codesourcery.com>
45737 * configure.in (makeinfo): Require version 4.5 or later. Allow
45739 * configure: Regenerated.
45740 * manual/install.texi (texinfo): Increase version requirement to
45742 * INSTALL: Regenerated.
45744 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
45746 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45748 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
45750 * sysdeps/x86_64/x32/ffs.c: New file.
45752 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
45754 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
45755 defined. Use __syscall_ulong_t.
45756 (shminfo): Use __syscall_ulong_t.
45757 (shm_info): Likewise.
45759 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
45762 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
45764 (msgqnum_t): Use __syscall_ulong_t.
45765 (msglen_t): Likewise.
45766 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
45769 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
45770 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45772 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
45774 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
45775 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
45777 * sysvipc/sys/msg.h (msgbuf): Replace long int with
45780 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
45781 include <bits/wordsize.h>. Check __x86_64__ instead of
45784 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
45785 "unsigned long long int" if __x86_64__ is defined.
45786 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
45788 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
45789 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45790 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
45792 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
45794 (GET_PC): Cast to uintptr_t first.
45795 (GET_FRAME): Likewise.
45796 (GET_STACK): Likewise.
45798 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
45799 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
45800 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
45801 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
45802 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
45803 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
45804 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
45805 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
45806 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
45807 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
45808 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
45809 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
45810 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45811 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
45812 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
45813 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
45814 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
45815 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
45816 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
45817 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
45818 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
45819 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
45820 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
45821 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
45822 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
45823 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
45824 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
45825 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
45826 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
45828 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
45830 * Makerules (+depfiles): Also collect depfiles from .oS in
45832 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
45833 .oS, $(libnldbl-routines)).
45835 * Makerules (native-compile-mkdep-flags): Define.
45836 * sunrpc/Makefile (extra-objs): Add $(addprefix
45837 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
45838 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
45839 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
45840 calling $(make-target-directory).
45842 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45844 * bits/types.h (__snseconds_t): Removed.
45845 * time/time.h (struct timespec): Replace __snseconds_t with
45847 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
45848 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
45850 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45851 (__SNSECONDS_T_TYPE): Likewise.
45852 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45853 (__SNSECONDS_T_TYPE): Likewise.
45854 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45855 (__SNSECONDS_T_TYPE): Likewise.
45857 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45859 * sysdeps/mach/hurd/bits/typesizes.h
45860 (__SYSCALL_SLONG_TYPE): New macro.
45861 (__SYSCALL_ULONG_TYPE): Likewise.
45863 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45865 * bits/types.h (__syscall_slong_t): New type.
45866 (__syscall_ulong_t): Likewise.
45868 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
45869 (__SYSCALL_ULONG_TYPE): Likewise.
45870 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45871 (__SYSCALL_SLONG_TYPE): Likewise.
45872 (__SYSCALL_ULONG_TYPE): Likewise.
45873 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45874 (__SYSCALL_SLONG_TYPE): Likewise.
45875 (__SYSCALL_ULONG_TYPE): Likewise.
45876 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45877 (__SYSCALL_SLONG_TYPE): Likewise.
45878 (__SYSCALL_ULONG_TYPE): Likewise.
45880 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45882 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
45883 Add sigaltstack-offsets.sym.
45884 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
45885 <sigaltstack-offsets.h>.
45886 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
45887 longjmp_msg pointer.
45888 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
45889 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
45891 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
45893 2012-05-15 Joseph Myers <joseph@codesourcery.com>
45895 * elf/stackguard-macros.h: Remove file.
45896 * sysdeps/generic/stackguard-macros.h: New file.
45897 * sysdeps/i386/stackguard-macros.h: Likewise.
45898 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
45899 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
45900 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
45901 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
45902 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
45903 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
45904 * sysdeps/x86_64/stackguard-macros.h: Likewise.
45905 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
45906 <elf/stackguard-macros.h>.
45909 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
45910 __aligned__ in attribute.
45911 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
45912 (gregset_t): Likewise.
45914 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45916 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
45917 * sysdeps/x86_64/64/Implies-after: Here. New file.
45918 * sysdeps/x86_64/x32/Implies-after: New file.
45920 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45922 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
45923 and access return value for _dl_profile_fixup. Use R10_LP to
45926 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45928 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
45930 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45932 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
45933 * sysdeps/x86_64/x32/sysdep.h: New file.
45935 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45937 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
45938 * sysdeps/x86_64/setjmp.S: Likewise.
45940 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45942 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
45943 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
45944 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
45945 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
45946 remove unused global constant.
45948 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
45950 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
45951 include of <not-cancel.h>.
45953 2012-05-15 Roland McGrath <roland@hack.frob.com>
45955 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
45957 2012-05-15 Jeff Law <law@redhat.com>
45958 Andreas Jaeger <aj@suse.de>
45961 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
45963 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
45964 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
45965 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
45966 code changing __hst_map_handle.map.
45968 2012-05-15 Roland McGrath <roland@hack.frob.com>
45970 * configure.in (sysnames): Look for Implies-before and Implies-after
45972 * configure: Regenerated.
45974 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45976 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
45977 8-byte data alignment with LP_SIZE alignment.
45979 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45981 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
45984 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45986 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
45988 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45990 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
45991 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
45992 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
45994 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45996 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45998 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
45999 (stackinfo_sub_sp): Likewise.
46001 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46003 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
46006 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46008 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
46011 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46013 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
46016 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46018 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
46020 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46022 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
46023 into R11_LP and load __x86_64_shared_cache_size_half into
46026 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46028 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
46031 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46033 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
46035 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
46037 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
46039 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
46040 powerpc32/power7/fpu/s_logb.c via #include.
46041 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
46042 powerpc32/power7/fpu/s_logbf.c via #include.
46043 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
46044 powerpc32/power7/fpu/s_logbl.c via #include.
46046 2012-05-15 Joseph Myers <joseph@codesourcery.com>
46048 * README.libm: Remove file.
46050 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46052 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
46053 count for x32. Use R*_LP and omit operand-size suffix.
46055 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46057 * shlib-versions: Move x86_64-.*-linux.* entries to ...
46058 * sysdeps/x86_64/64/shlib-versions: Here. New file.
46059 * sysdeps/x86_64/x32/shlib-versions: New file.
46061 2012-05-14 Roland McGrath <roland@hack.frob.com>
46063 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
46064 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
46065 Use _dl_fatal_printf instead.
46067 2012-05-14 Joseph Myers <joseph@codesourcery.com>
46069 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
46070 set if not set by the user. Do not allow for being unset.
46071 * sysdeps/unix/sysv/linux/configure: Regenerated.
46073 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46075 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
46076 the `q' suffix from lea and replace .quad with ASM_ADDR.
46078 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46080 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
46081 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
46083 (PTR_DEMANGLE): Likewise.
46085 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46087 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
46089 (ASM_ADDR): Likewise.
46090 (RAX_LP): Likewise.
46091 (RBP_LP): Likewise.
46092 (RBX_LP): Likewise.
46093 (RCX_LP): Likewise.
46094 (RDI_LP): Likewise.
46095 (RSI_LP): Likewise.
46096 (RSP_LP): Likewise.
46099 (R10_LP): Likewise.
46100 (R10_LP): Likewise.
46101 (R11_LP): Likewise.
46102 (R12_LP): Likewise.
46103 (R13_LP): Likewise.
46104 (R14_LP): Likewise.
46105 (R15_LP): Likewise.
46107 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46109 * sysdeps/x86_64/x32/dl-machine.h: New file.
46111 2012-05-14 Andreas Jaeger <aj@suse.de>
46113 * manual/Makefile (subdir): Remove export of subdir.
46114 (all): Remove target.
46115 (.PHONY): Remove all from list.
46116 (mkinstalldirs): Remove.
46117 (.PHONY): Remove installdirs from list.
46118 ($(inst_infodir)/libc.info): Use make-target-directory.
46119 (installdirs): Remove.
46120 (subdir_%): Remove.
46121 (glibc-targets): Remove.
46124 ($(objpfx)stubs ../po/manual.pot): Remove.
46125 ($(objpfx)stamp%): Remove.
46126 (make-target-directory): Remove.
46127 (subdir_install): Remove.
46128 (routines): Remove.
46135 * manual/.gitignore: Remove, it's not needed anymore.
46136 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
46138 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
46140 (texis): Renamed to $(objpfx)texis.
46141 (texis-path): New, contains path to generated files.
46142 (chapters.%): Use texis-path for complete path, add extra argument
46144 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
46145 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
46146 (summary,texi, stamp-summary): Use complete path of
46147 files. Generate files in build dir.
46148 (dir-add.texi): Build in build dir.
46149 (libm-err.texi,stamp-libm-err): Likewise.
46150 (version.texi, stamp-version): Likewise.
46151 (.%c.texi): Likewise.
46152 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
46153 (mostlyclean): Remove target.
46154 (realclean): Remove target.
46155 (generated): Add new variable with contents from mostlyclean and
46156 realclean, remove entries duplicated in common-mostlyclean, add
46157 stamp-libm-err and stamp-version.
46158 (generated-dirs): Add libc directory.
46159 ($(inst_infodir)/libc.info): Install files from build dir.
46161 * manual/install.texi (Configuring and compiling): Adjust since
46162 the info files are not part of the tar ball anymore.
46164 2012-05-14 Andreas Jaeger <aj@suse.de>
46166 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
46169 2012-05-14 Joseph Myers <joseph@codesourcery.com>
46172 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46173 to 2.2.0 where earlier.
46174 * sysdeps/unix/sysv/linux/configure: Regenerated.
46175 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
46176 Remove conditional code.
46177 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
46178 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
46179 Remove conditional code.
46180 [!__NR_lchown]: Likewise.
46181 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46182 [__NR_lchown]: Likewise.
46183 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
46184 comment referencing __ASSUME_LCHOWN_SYSCALL.
46185 * sysdeps/unix/sysv/linux/i386/sigaction.c
46186 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46187 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46188 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
46189 Remove conditional code.
46190 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
46191 (__protocol_available): Remove #if 0 code.
46192 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
46194 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
46195 * sysdeps/unix/sysv/linux/kernel-features.h
46196 (__ASSUME_GETCWD_SYSCALL): Don't define.
46197 (__ASSUME_REALTIME_SIGNALS): Likewise.
46198 (__ASSUME_PREAD_SYSCALL): Likewise.
46199 (__ASSUME_PWRITE_SYSCALL): Likewise.
46200 (__ASSUME_POLL_SYSCALL): Likewise.
46201 (__ASSUME_LCHOWN_SYSCALL): Likewise.
46202 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
46204 (__ASSUME_SIOCGIFNAME): Don't define.
46205 (__ASSUME_MSG_NOSIGNAL): Likewise.
46206 (__ASSUME_SENDFILE): Define unconditionally.
46207 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
46208 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
46210 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
46211 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
46212 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46213 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46214 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
46215 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46216 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
46218 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46219 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
46221 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46222 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
46224 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46225 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
46227 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46228 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
46230 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46231 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
46233 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46234 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
46236 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46237 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
46239 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46240 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46241 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
46242 Remove conditional code.
46243 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46244 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46245 Remove conditional code.
46246 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46247 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
46248 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
46249 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46250 Remove conditional code.
46251 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46252 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
46253 Remove conditional code.
46254 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46255 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
46256 Remove conditional code.
46257 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46258 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46259 Remove conditional code.
46260 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46261 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46262 Remove conditional code.
46263 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46264 * sysdeps/unix/sysv/linux/sh/pwrite64.c
46265 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46266 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46267 * sysdeps/unix/sysv/linux/sigaction.c
46268 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46269 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46270 * sysdeps/unix/sysv/linux/sigpending.c
46271 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46272 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46273 * sysdeps/unix/sysv/linux/sigprocmask.c
46274 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46275 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46276 * sysdeps/unix/sysv/linux/sigsuspend.c
46277 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46278 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46279 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46280 (__libc_missing_rt_sigs): Remove.
46281 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
46282 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
46283 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
46284 Remove conditional code.
46285 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
46286 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
46288 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
46289 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
46290 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
46291 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
46293 2012-05-14 Andreas Jaeger <aj@suse.de>
46295 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
46296 it's not used in glibc.
46297 (__coshm1): Likewise.
46298 (__acosh1p): Likewise.
46301 * manual/string.texi (Copying and Concatenation): Add missing
46302 variable in concat example.
46303 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
46305 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46308 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
46309 __builtin_clzl with __builtin_clzll.
46311 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46314 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
46317 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46319 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
46320 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
46321 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
46322 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
46324 2012-05-14 Mike Frysinger <vapier@gentoo.org>
46326 * NEWS: Update ia64 info.
46328 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
46330 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
46333 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
46335 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
46336 * sysdeps/unix/syscalls.list (dup3): Likewise.
46337 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
46338 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
46340 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
46342 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
46343 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
46345 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
46347 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
46349 (TLS_IE): Use mov/add instead of movq/addq to load thread
46351 (TLS_GD_PREFIX): New.
46354 2012-05-11 David S. Miller <davem@davemloft.net>
46356 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
46357 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
46358 (_FPU_SETCW): Likewise.
46360 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46362 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
46363 is 32-byte aligned.
46365 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
46368 * iconvdata/gb18030.c: Update tables.
46369 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
46370 characters specially.
46371 (BODY for TO_LOOP): Add encoding of missing ranges.
46373 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
46376 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
46377 * sysdeps/mach/hurd/dup3.c: Likewise.
46378 * sysdeps/mach/hurd/readlinkat.c: Likewise.
46379 * sysdeps/powerpc/memmove.c:: Likewise.
46381 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46383 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
46384 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
46386 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46388 * elf/elf.h (R_X86_64_RELATIVE64): New.
46389 (R_X86_64_NUM): Updated.
46390 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
46391 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
46392 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
46393 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
46394 tst-quad1pie tst-quad2pie
46395 (modules-names): Add tst-quadmod1 tst-quadmod2.
46396 ($(objpfx)tst-quad1): New dependency.
46397 ($(objpfx)tst-quad2): Likewise.
46398 ($(objpfx)tst-quad1pie): Likewise.
46399 ($(objpfx)tst-quad2pie): Likewise.
46400 * sysdeps/x86_64/tst-quad1.c: New file.
46401 * sysdeps/x86_64/tst-quad1pie.c: New file.
46402 * sysdeps/x86_64/tst-quad2.c: Likewise.
46403 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
46404 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
46405 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
46406 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
46407 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
46409 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46411 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
46412 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
46413 * streams/stropts.h (t_scalar_t): Define type.
46415 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
46416 (_PATH_PRESERVE): Set to "/var/lib".
46417 (_PATH_RWHODIR): Set to "/var/spool/rwho".
46419 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
46422 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
46423 if __dir_mkfile succeeded.
46425 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
46426 checking for _hurd_dtablesize. Unlock it right after having
46427 finished _hurd_dtable allocation.
46429 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46431 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
46432 * sysdeps/mach/hurd/configure: Regenerated.
46433 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
46434 special-casing to...
46435 * sysdeps/gnu/configure.in: ... this new file.
46436 * sysdeps/unix/sysv/linux/configure: Regenerated.
46437 * sysdeps/gnu/configure: New generated file.
46439 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
46440 for Linux: use nsec instead of usec, as well as:
46441 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
46442 members of type struct timespec.
46443 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
46445 (struct stat64): Likewise.
46446 (_STATBUF_ST_NSEC): New macro.
46447 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
46449 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46450 __strtoul_internal rather than strtoul.
46452 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46454 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
46457 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46459 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
46460 which preserves existing values.
46461 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
46463 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46465 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
46466 TIMEOUT values. Return EINVAL for NFDS values either negative or
46467 greater than FD_SETSIZE.
46469 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46471 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
46472 allocated, call __vm_protect to finish enabling the existing space, and
46473 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
46474 allocate the remainder.
46476 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46478 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
46479 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
46481 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46483 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
46484 sysdeps/mach/hurd/readlink.c.
46486 * posix/tst-sysconf.c (posix_options): Only use
46487 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
46488 _POSIX_SYNCHRONIZED_IO when they are defined
46489 * sysdeps/mach/hurd/bits/posix_opt.h:
46490 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
46491 (_XOPEN_REALTIME): Undefine macro.
46492 (_XOPEN_REALTIME_THREADS): Undefine macro.
46493 (_XOPEN_SHM): Undefine macro.
46494 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
46496 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
46498 (_POSIX_ASYNC_IO): Undefine macro.
46499 (_POSIX_PRIORITIZED_IO): Undefine macro.
46500 (_POSIX_SPIN_LOCKS): Define macro to -1.
46502 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
46503 SA_NODEFER, SA_RESETHAND.
46504 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
46505 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
46508 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46510 * elf/Makefile (pldd-modules): Define unconditionally.
46512 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46514 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
46516 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46518 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
46519 Return ENOENT when name is empty.
46520 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
46522 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46524 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
46526 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
46528 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46530 Fix mlock in all cases except non-readable pages.
46531 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
46532 instead of VM_PROT_ALL as parameter to __vm_wire function.
46534 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
46535 (__mkdir): When path is `/', just fail with EEXIST.
46536 * sysdeps/mach/hurd/mkdirat.c: Likewise.
46538 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46540 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
46541 <sys/uio.h> (for writev).
46542 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
46543 and <sys/param.h> (for MIN).
46545 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46547 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
46548 REQUESTED_TIME. Properly set the remaining time and return EINTR
46551 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46553 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
46554 Depend on against $(link-rpcuserlibs).
46556 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46558 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
46559 (__libc_stack_end): Do not use attribute_relro.
46560 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
46561 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
46562 to libthread-provided value.
46563 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
46566 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46569 * bits/libc-lock.h (__libc_once_get): New macro.
46570 * sysdeps/mach/bits/libc-lock.h: Likewise.
46571 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
46572 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
46573 instead of using implementation details.
46575 * libio/fileops.c: Unconditionally include <kernel-features.h>.
46576 * libio/freopen.c: Likewise.
46577 * libio/freopen64.c: Likewise.
46578 * misc/syslog.c: Likewise.
46579 * nscd/connections.c: Likewise.
46580 * nscd/netgroupcache.c: Likewise.
46581 * sysdeps/posix/getcwd.c: Likewise.
46583 2012-05-10 Roland McGrath <roland@hack.frob.com>
46585 * math/w_ilogbf.c: Add #include <limits.h>.
46587 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46589 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
46590 path instead of returning without unlocking.
46592 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
46593 immediate-write ioctls.
46594 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
46596 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46598 * sysdeps/mach/hurd/i386/init-first.c (init): Use
46599 __builtin_frame_address instead of making assumptions about the
46600 location of the return address relative to DATA. Force early load of
46601 the return address.
46602 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
46603 __builtin_frame_address.
46606 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
46607 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
46608 implement dup3 and do some further code clean-ups.
46609 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
46610 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
46612 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46614 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
46616 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
46617 HURD_CRITICAL_END around holding _hurd_dtable_lock.
46618 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
46619 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
46620 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
46623 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
46624 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
46625 when handler == SIG_ERR, not when handler != SIG_ERR.
46627 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46629 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
46630 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
46633 accept4 for GNU Hurd.
46634 * include/sys/socket.h (__libc_accept4): New prototype.
46635 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
46636 to implement __libc_accept4.
46637 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
46639 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
46641 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
46642 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
46643 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
46644 signal-defines.sym.
46646 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46648 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
46650 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46652 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
46653 assertion on O_CLOEXEC flag.
46654 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
46655 * hurd/intern-fd.c: Likewise.
46656 * hurd/port2fd.c: Likewise.
46658 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46661 * bits/in.h (IPV6_PKTINFO): Define new macro.
46662 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
46664 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46669 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
46670 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46671 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
46672 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46673 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46674 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46675 * math/libm-test.inc (logb_test) : Additional logb tests.
46677 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
46678 Andreas Jaeger <aj@suse.de>
46680 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
46681 * configure: Regenerated.
46682 * config.h.in (LINK_OBSOLETE_RPC): New macro.
46683 * config.make.in (link-obsolete-rpc): New substituted variable.
46684 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
46685 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
46686 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46687 (shared-only-routines): Don't set it under [link-obsolete-rpc],
46688 so that libc.a contains the symbols.
46689 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46690 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
46691 * sunrpc/auth_none.c: Likewise.
46692 * sunrpc/auth_unix.c: Likewise.
46693 * sunrpc/authdes_prot.c: Likewise.
46694 * sunrpc/authuxprot.c: Likewise.
46695 * sunrpc/clnt_gen.c: Likewise.
46696 * sunrpc/clnt_perr.c: Likewise.
46697 * sunrpc/clnt_raw.c: Likewise.
46698 * sunrpc/clnt_simp.c: Likewise.
46699 * sunrpc/clnt_tcp.c: Likewise.
46700 * sunrpc/clnt_udp.c: Likewise.
46701 * sunrpc/clnt_unix.c: Likewise.
46702 * sunrpc/des_crypt.c: Likewise.
46703 * sunrpc/des_soft.c: Likewise.
46704 * sunrpc/get_myaddr.c: Likewise.
46705 * sunrpc/key_call.c: Likewise.
46706 * sunrpc/key_prot.c: Likewise.
46707 * sunrpc/netname.c: Likewise.
46708 * sunrpc/pm_getmaps.c: Likewise.
46709 * sunrpc/pm_getport.c: Likewise.
46710 * sunrpc/pmap_clnt.c: Likewise.
46711 * sunrpc/pmap_prot.c: Likewise.
46712 * sunrpc/pmap_prot2.c: Likewise.
46713 * sunrpc/pmap_rmt.c: Likewise.
46714 * sunrpc/publickey.c: Likewise.
46715 * sunrpc/rpc_cmsg.c: Likewise.
46716 * sunrpc/rpc_common.c: Likewise.
46717 * sunrpc/rpc_dtable.c: Likewise.
46718 * sunrpc/rpc_prot.c: Likewise.
46719 * sunrpc/rpc_thread.c: Likewise.
46720 * sunrpc/rtime.c: Likewise.
46721 * sunrpc/svc.c: Likewise.
46722 * sunrpc/svc_auth.c: Likewise.
46723 * sunrpc/svc_raw.c: Likewise.
46724 * sunrpc/svc_run.c: Likewise.
46725 * sunrpc/svc_tcp.c: Likewise.
46726 * sunrpc/svc_udp.c: Likewise.
46727 * sunrpc/svc_unix.c: Likewise.
46728 * sunrpc/svcauth_des.c: Likewise.
46729 * sunrpc/xcrypt.c: Likewise.
46730 * sunrpc/xdr.c: Likewise.
46731 * sunrpc/xdr_array.c: Likewise.
46732 * sunrpc/xdr_float.c: Likewise.
46733 * sunrpc/xdr_intXX_t.c: Likewise.
46734 * sunrpc/xdr_mem.c: Likewise.
46735 * sunrpc/xdr_rec.c: Likewise.
46736 * sunrpc/xdr_ref.c: Likewise.
46737 * sunrpc/xdr_sizeof.c: Likewise.
46738 * sunrpc/xdr_stdio.c: Likewise.
46740 2012-05-10 Roland McGrath <roland@hack.frob.com>
46742 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
46743 change. Update copyright years.
46745 2012-05-10 Joseph Myers <joseph@codesourcery.com>
46747 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
46749 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
46750 Joseph Myers <joseph@codesourcery.com>
46751 Paul Pluzhnikov <ppluzhnikov@google.com>
46754 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
46756 [cross-compiling] (extra-libs): Likewise.
46757 [cross-compiling] (extra-libs-others): Likewise.
46758 [cross-compiling] (librpcsvc-routines): Likewise.
46759 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
46760 [cross-compiling] (omit-deps): Likewise.
46761 (sunrpc-CPPFLAGS): New variable.
46762 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
46763 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
46764 (cross-rpcgen-objs): New variable.
46765 (extra-objs): Append $(cross-rpcgen-objs).
46766 ($(cross-rpcgen-objs)): New rule.
46767 ($(objpfx)cross-rpcgen): Likewise.
46768 (rpcgen-cmd): Define to use $(built-program-file). Expand
46770 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
46771 ($(objpfx)x%.stmp): Likewise.
46772 * sunrpc/proto.h [IS_IN_build] (_): Define.
46773 [IS_IN_build] (_libc_intl_domainname): Likewise.
46775 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46777 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
46778 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
46779 and R_X86_64_TPOFF64.
46781 2012-05-10 Joseph Myers <joseph@codesourcery.com>
46783 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
46784 sysdeps/unix/sysv/syscalls.list.
46787 * sysdeps/unix/sysv/syscalls.list: Remove file.
46789 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
46792 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
46793 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
46794 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
46795 (__LC_IDENTIFICATION): Make these macros useful in #if
46796 expressions, as required by C99.
46798 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
46800 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
46801 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
46804 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
46806 * stdlib/longlong.h: Updated from GCC.
46808 2012-05-09 Andreas Jaeger <aj@suse.de>
46810 * nscd/nscd.c (run_modes): Make named enum, reorder so that
46811 default is first entry.
46812 (run_mode): Set type.
46813 (main): Remove informal message about syslog.
46814 (options): Fix typo.
46817 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
46820 (llrintf): Likewise.
46821 (llrint): Likewise.
46824 (nearbyint): Likewise.
46825 (nearbyintf): Likewise.
46827 2012-05-09 Andreas Jaeger <aj@suse.de>
46828 Pedro Alves <palves@redhat.com>
46830 * nscd/nscd.c (run_mode): Use enum.
46831 (main): Cleanup coding style issue.
46833 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
46834 Andreas Jaeger <aj@suse.de>
46836 * nscd/nscd.c (go_background): Replaced with...
46837 (run_mode): ... this.
46838 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
46839 (options): Add -F --foreground.
46840 (main): Implement it.
46841 (parse_opt): Parse it.
46843 2012-05-09 Andreas Jaeger <aj@suse.de>
46846 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
46847 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
46848 -Wconversion warning.
46849 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
46852 2012-05-09 Joseph Myers <joseph@codesourcery.com>
46854 * conform/data/locale.h-data (NULL): Use macro-constant. Require
46856 (LC_ALL): Use macro-int-constant.
46857 (LC_COLLATE): Likewise.
46858 (LC_CTYPE): Likewise.
46859 (LC_MESSAGES): Likewise.
46860 (LC_MONETARY): Likewise.
46861 (LC_NUMERIC): Likewise.
46862 (LC_TIME): Likewise.
46863 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
46864 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46865 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46866 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
46868 [C99-based standards] (float_t): Expect type.
46869 [C99-based standards] (double_t): Expect type.
46870 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
46872 [C99-based standards] (HUGE_VALL): Likewise.
46873 [C99-based standards] (INFINITY): Likewise.
46874 [C99-based standards] (NAN): Likewise.
46875 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
46876 [C99-based standards] (FP_NAN): Likewise.
46877 [C99-based standards] (FP_NORMAL): Likewise.
46878 [C99-based standards] (FP_SUBNORMAL): Likewise.
46879 [C99-based standards] (FP_ZERO): Likewise.
46880 [C99-based standards] (FP_FAST_FMA): Use
46881 optional-macro-int-constant. Specify type. Require == 1.
46882 [C99-based standards] (FP_FAST_FMAF): Likewise.
46883 [C99-based standards] (FP_FAST_FMAL): Likewise.
46884 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
46885 [C99-based standards] (FP_ILOGBNAN): Likewise.
46886 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
46888 [C99-based standards] (MATH_ERREXCEPT): Likewise.
46889 [C99-based standards] (math_errhandling): Specify type.
46890 [ISO99 || ISO11] (signgam): Do not allow.
46891 [non-C99-based standards] (copysignf): Do not allow.
46892 [non-C99-based standards] (exp2f): Likewise.
46893 [non-C99-based standards] (log2f): Likewise.
46894 [non-C99-based standards] (modff): Allow.
46895 [non-C99-based standards] (erff): Do not allow.
46896 [non-C99-based standards] (erfcf): Likewise.
46897 [non-C99-based standards] (gammaf): Likewise.
46898 [non-C99-based standards] (hypotf): Likewise.
46899 [non-C99-based standards] (j0f): Likewise.
46900 [non-C99-based standards] (j1f): Likewise.
46901 [non-C99-based standards] (jnf): Likewise.
46902 [non-C99-based standards] (lgammaf): Likewise.
46903 [non-C99-based standards] (tgammaf): Likewise.
46904 [non-C99-based standards] (y0f): Likewise.
46905 [non-C99-based standards] (y1f): Likewise.
46906 [non-C99-based standards] (ynf): Likewise.
46907 [non-C99-based standards] (isnanf): Likewise.
46908 [non-C99-based standards] (acoshf): Likewise.
46909 [non-C99-based standards] (asinhf): Likewise.
46910 [non-C99-based standards] (atanhf): Likewise.
46911 [non-C99-based standards] (cbrtf): Likewise.
46912 [non-C99-based standards] (expm1f): Likewise.
46913 [non-C99-based standards] (ilogbf): Likewise.
46914 [non-C99-based standards] (log1pf): Likewise.
46915 [non-C99-based standards] (logbf): Likewise.
46916 [non-C99-based standards] (nextafterf): Likewise.
46917 [non-C99-based standards] (remainderf): Likewise.
46918 [non-C99-based standards] (rintf): Likewise.
46919 [non-C99-based standards] (scalbf): Likewise.
46920 [non-C99-based standards] (copysignl): Likewise.
46921 [non-C99-based standards] (exp2l): Likewise.
46922 [non-C99-based standards] (log2l): Likewise.
46923 [non-C99-based standards] (modfl): Allow.
46924 [non-C99-based standards] (erfl): Do not allow.
46925 [non-C99-based standards] (erfcl): Likewise.
46926 [non-C99-based standards] (gammal): Likewise.
46927 [non-C99-based standards] (hypotl): Likewise.
46928 [non-C99-based standards] (j0l): Likewise.
46929 [non-C99-based standards] (j1l): Likewise.
46930 [non-C99-based standards] (jnl): Likewise.
46931 [non-C99-based standards] (lgammal): Likewise.
46932 [non-C99-based standards] (tgammal): Likewise.
46933 [non-C99-based standards] (y0l): Likewise.
46934 [non-C99-based standards] (y1l): Likewise.
46935 [non-C99-based standards] (ynl): Likewise.
46936 [non-C99-based standards] (isnanl): Likewise.
46937 [non-C99-based standards] (acoshl): Likewise.
46938 [non-C99-based standards] (asinhl): Likewise.
46939 [non-C99-based standards] (atanhl): Likewise.
46940 [non-C99-based standards] (cbrtl): Likewise.
46941 [non-C99-based standards] (expm1l): Likewise.
46942 [non-C99-based standards] (ilogbl): Likewise.
46943 [non-C99-based standards] (log1pl): Likewise.
46944 [non-C99-based standards] (logbl): Likewise.
46945 [non-C99-based standards] (nextafterl): Likewise.
46946 [non-C99-based standards] (remainderl): Likewise.
46947 [non-C99-based standards] (rintl): Likewise.
46948 [non-C99-based standards] (scalbl): Likewise.
46949 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46950 [non-C99-based standards] (FP_*): Do not allow.
46951 [C99-based standards] (FP_*): Change to
46952 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46953 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46955 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
46956 (SIG_ERR): Likewise.
46957 [X/Open-based standards] (SIG_HOLD): Likewise.
46958 (SIG_IGN): Likewise.
46959 (SIGABRT): Use macro-int-constant. Specify type. Require
46961 (SIGFPE): Likewise.
46962 (SIGILL): Likewise.
46963 (SIGINT): Likewise.
46964 (SIGSEGV): Likewise.
46965 (SIGTER): Likewise.
46966 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
46967 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
46968 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
46969 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
46970 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
46971 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
46972 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
46973 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
46974 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
46975 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
46976 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
46977 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
46978 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
46979 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
46980 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
46981 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
46982 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
46983 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
46984 [X/Open-based standards] (SIGTRAP): Likewise.
46985 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
46986 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
46987 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
46988 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
46989 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46992 2012-05-08 Ian Wienand <ianw@vmware.com>
46995 * time/tzset.c (__tzset_parse_tz): Update default rules for
46996 daylight time changes in the Energy Policy Act of 2005.
46998 2012-05-09 Andreas Jaeger <aj@suse.de>
47001 * elf/ldconfig.c (parse_conf): Change string to make clear that
47002 ldconfig only issued a warning if ld.so.conf does not exist.
47004 2012-05-08 David S. Miller <davem@davemloft.net>
47006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
47007 movxtod instead of popping the value on the stack.
47009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47011 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
47013 * config.h.in: Add HAVE_ARM_PCS_VFP.
47015 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
47018 * include/features.h: Warn if user requests __FORTIFY_SOURCE
47019 checking but the checks are disabled for any reason.
47021 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
47023 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
47024 and ELF64_R_TYPE with ELFW(R_TYPE).
47026 2012-05-08 Joseph Myers <joseph@codesourcery.com>
47028 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
47029 (ulimit): Likewise.
47031 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
47032 (settimeofday): Likewise.
47034 2012-05-08 Mike Frysinger <vapier@gentoo.org>
47036 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
47037 a struct th_u2 inside the union, and move tu_block/tu_code into
47038 a new th_u3 union of tu_block/tu_code inside of that. Move
47039 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
47040 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
47041 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
47042 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
47043 (th_stuff): Change to th_u1.tu_stuff.
47045 (th_msg): Change to th_u1.th_u2.tu_data.
47047 2012-05-07 David S. Miller <davem@davemloft.net>
47049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47052 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
47053 (SETUP_PIC_REG): Use it.
47054 (SETUP_PIC_REG_LEAF): Use it.
47056 2012-05-07 Joseph Myers <joseph@codesourcery.com>
47060 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47062 (EXPL_FINITE): Likewise.
47063 (FLDLOG): Likewise.
47064 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47065 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47067 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47069 (EXPL_FINITE): Likewise.
47070 (FLDLOG): Likewise.
47071 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47072 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47074 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
47075 test of -max_value argument for long double.
47076 * sysdeps/i386/fpu/libm-test-ulps: Update.
47077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47079 2012-05-06 David S. Miller <davem@davemloft.net>
47081 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
47082 quad soft-float symbols whose references which are compiler
47084 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47086 2012-05-06 Joseph Myers <joseph@codesourcery.com>
47090 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47092 (EXPL_FINITE): Likewise.
47093 (FLDLOG): Likewise.
47096 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
47097 Adjust comments for base varying.
47098 (__expl_finite): Change alias to EXPL_FINITE.
47099 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
47101 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
47102 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
47103 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47104 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
47105 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47107 (EXPL_FINITE): Likewise.
47108 (FLDLOG): Likewise.
47111 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
47112 Adjust comments for base varying.
47113 (__expl_finite): Change alias to EXPL_FINITE.
47114 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
47116 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47119 * math/libm-test.inc (check_float_internal): Correct ulp
47120 calculation for subnormal expected results.
47122 2012-05-06 Andreas Jaeger <aj@suse.de>
47124 * Makeconfig (+math-flags): New, set to -frounding-math.
47125 (+cflags): Add +math-flags so that all of glibc gets compiled with
47128 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
47130 2012-05-05 Joseph Myers <joseph@codesourcery.com>
47132 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
47138 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
47139 (__ieee754_expl): Allow for and saturate large arguments.
47140 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
47141 (u_threshold): Likewise.
47142 (__exp): Call __ieee754_exp before checking for overflow and
47144 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
47145 (u_threshold): Likewise.
47146 (__expf): Call __ieee754_expf before checking for overflow and
47148 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
47149 (u_threshold): Likewise.
47150 (__expl): Call __ieee754_expl before checking for overflow and
47152 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
47153 (__ieee754_expl): Allow for and saturate large arguments.
47154 * math/libm-test.inc (exp_test): Add another test. Do not allow
47155 missing overflow exception on overflow.
47156 (expm1_test): Do not allow missing overflow exception on overflow.
47158 * sysdeps/i386/fpu/e_expl.c: Move to ...
47159 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
47160 rather than using inline asm.
47161 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
47162 * sysdeps/x86_64/fpu/e_expl.S: Copy from
47163 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
47165 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
47168 (signal): Likewise.
47172 2012-05-04 Joseph Myers <joseph@codesourcery.com>
47174 * sysdeps/unix/syscalls.list (adjtime): Add entry from
47175 sysdeps/unix/common/syscalls.list.
47176 (fchmod): Likewise.
47177 (fchown): Likewise.
47178 (ftruncate): Likewise.
47179 (getrusage): Likewise.
47180 (gettimeofday): Likewise.
47181 (setpgid): Likewise.
47182 (setregid): Likewise.
47183 (setreuid): Likewise.
47184 (sigaction): Likewise.
47185 (truncate): Likewise.
47186 (vhangup): Likewise.
47187 * sysdeps/unix/common/syscalls.list: Remove file.
47188 * sysdeps/unix/bsd/Implies: Don't include unix/common.
47189 * sysdeps/unix/sysv/linux/Implies: Likewise.
47191 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
47193 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
47194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
47195 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
47197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
47199 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
47201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
47202 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
47204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
47205 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
47207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
47208 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
47210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
47211 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
47213 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
47214 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
47216 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
47217 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
47219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47221 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
47223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
47225 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
47227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
47228 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
47230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
47232 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
47234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
47236 2012-05-04 Joseph Myers <joseph@codesourcery.com>
47238 * sysdeps/unix/common/bits/dirent.h: Remove file.
47239 * sysdeps/unix/common/bits/fcntl.h: Likewise.
47241 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
47242 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
47243 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
47244 * sysdeps/unix/bsd/isatty.c: Likewise.
47245 * sysdeps/unix/bsd/tcdrain.c: Likewise.
47246 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
47247 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
47249 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47252 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
47253 long double comparison inaccuracies.
47254 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47257 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
47259 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
47260 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
47262 2012-05-04 Joseph Myers <joseph@codesourcery.com>
47265 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
47266 nonzero digits before rounding a hex value.
47267 * stdlib/tst-strtod.c (tests): Add another test.
47269 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47271 * sysdeps/s390/fpu/libm-test-ulps: Update.
47273 2012-05-03 Andreas Jaeger <aj@suse.de>
47275 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
47276 does not get optimized out.
47277 (malloc_opt_barrier): New.
47279 2012-05-03 Andreas Jaeger <aj@suse.de>
47280 Roland McGrath <roland@hack.frob.com>
47282 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
47283 intermediate file deletion.
47284 (generated): Add .symlist files.
47286 2012-05-03 Joseph Myers <joseph@codesourcery.com>
47289 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
47290 Redirect under this condition.
47291 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47292 [__USE_GNU] (__dprintf_chk): Not under this condition.
47293 [__USE_GNU] (__vdprintf_chk): Likewise.
47294 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
47295 under this condition.
47296 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47297 [__USE_XOPEN2K8] (dprintf): Define under this condition.
47298 [__USE_XOPEN2K8] (vdprintf): Likewise.
47299 [__USE_GNU] (__dprintf_chk): Not under this condition.
47300 [__USE_GNU] (__vdprintf_chk): Likewise.
47301 [__USE_GNU] (dprintf): Likewise.
47302 [__USE_GNU] (vdprintf): Likewise.
47304 2012-05-03 Roland McGrath <roland@hack.frob.com>
47306 * elf/Makefile (common-generated): Set this instead of generated for
47307 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
47308 $(all-built-dso)-derived lists.
47310 2012-05-03 Andreas Jaeger <aj@suse.de>
47312 * sysdeps/i386/fpu/libm-test-ulps: Update.
47315 * FAQ.in: Likewise.
47316 * scripts/gen-FAQ.pl: Likewise.
47317 * manual/install.texi (Installation): Point to online location of
47319 * Makefile (files-for-dist): Remove FAQ.
47322 2012-05-02 Allan McRae <allan@archlinux.org>
47324 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
47325 (LDFLAGS-reldepmod5.so): Likewise.
47326 (LDFLAGS-reldep6mod1.so): Likewise.
47327 (LDFLAGS-reldep6mod4.so): Likewise.
47328 (LDFLAGS-reldep8mod3.so): Likewise.
47329 (LDFLAGS-unload4mod1.so): Likewise.
47330 (LDFLAGS-unload4mod2.so): Likewise.
47331 (LDFLAGS-tst-initorder): Likewise.
47332 (LDFLAGS-tst-initordera2.so): Likewise.
47333 (LDFLAGS-tst-initordera3.so): Likewise.
47334 (LDFLAGS-tst-initordera4.so): Likewise.
47335 (LDFLAGS-tst-initorderb2.so): Likewise.
47336 (LDFLAGS-noload): Likewise.
47337 (LDFLAGS-next): Likewise.
47338 (LDFLAGS-order2mod1.so): Likewise.
47339 (LDFLAGS-order2mod2.so): Likewise.
47340 (LDFLAGS-tst-initorder2): Likewise.
47341 (LDFLAGS-tst-initorder2a.so): Likewise.
47342 (LDFLAGS-tst-initorder2b.so): Likewise.
47343 (LDFLAGS-tst-initorder2c.so): Likewise.
47344 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
47346 2012-05-02 David S. Miller <davem@davemloft.net>
47348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47350 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
47353 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
47355 2012-05-02 Andreas Jaeger <aj@suse.de>
47357 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
47358 since we manipulate rounding mode.
47359 (CPPFLAGS-test-idouble.c): Likewise.
47360 (CPPFLAGS-test-ifloat.c): Likewise.
47361 (CFLAGS-test-ldouble.c): Likewise.
47362 (CFLAGS-test-double.c): Likewise.
47363 (CFLAGS-test-float.c): Likewise.
47364 (CFLAGS-test-misc.c): Likewise.
47365 (CFLAGS-test-test-fenv.c): Likewise.
47367 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47371 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
47372 comparisons to determine direction to adjust input.
47374 2012-05-01 Roland McGrath <roland@hack.frob.com>
47376 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
47377 output to the target.
47379 * scripts/localplt.awk: New file.
47380 * elf/Makefile ($(objpfx)check-localplt): Target removed.
47381 (check-localplt-CFLAGS): Variable removed.
47382 ($(all-built-dso:=.jmprel)): New static pattern rule.
47383 (generated): Add those targets.
47384 (localplt-built-dso): New variable.
47385 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
47387 * elf/check-localplt.c: File removed.
47389 * scripts/check-execstack.awk: New file.
47390 * elf/Makefile ($(objpfx)check-execstack): Target removed.
47391 (check-execstack-CFLAGS): Variable removed.
47392 ($(objpfx)check-execstack.h): Target removed.
47393 ($(objpfx)execstack-default): New target.
47394 (generated): Add that instead of check-execstack.h.
47395 ($(all-built-dso:=.phdr)): New static pattern rule.
47396 (generated): Add those targets.
47397 * elf/check-execstack.c: File removed.
47399 * scripts/check-textrel.awk: New file.
47400 * elf/Makefile ($(objpfx)check-textrel): Target removed.
47401 (check-textrel-CFLAGS): Variable removed.
47402 (all-built-dso): Use := to define.o
47403 ($(all-built-dso:=.dyn)): New static pattern rule.
47404 (generated): Add those targets.
47405 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
47406 * config.make.in (READELF): New substituted variable.
47407 * elf/check-textrel.c: File removed.
47409 2012-05-01 Joseph Myers <joseph@codesourcery.com>
47411 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47413 * conform/data/ctype.h-data [C99-based standards] (isblank):
47415 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
47416 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
47417 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47418 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
47419 Specify type. Require positive value.
47420 (EILSEQ): Likewise.
47421 (ERANGE): Likewise.
47422 [ISO || POSIX] (EILSEQ): Do not expect.
47423 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
47424 Specify type. Require positive value.
47425 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
47426 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
47427 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
47428 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
47429 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
47430 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
47431 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
47432 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
47433 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
47434 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
47435 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
47436 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
47437 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
47438 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
47439 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
47440 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
47441 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
47442 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
47443 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
47444 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
47445 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
47446 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
47447 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
47448 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
47449 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
47450 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
47451 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
47452 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
47453 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
47454 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
47455 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
47456 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
47457 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
47458 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
47459 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
47460 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
47461 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
47462 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
47463 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
47464 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
47465 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
47466 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
47467 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
47468 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
47469 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
47470 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
47471 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
47472 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
47473 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
47474 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
47475 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
47476 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
47477 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
47478 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
47479 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
47480 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
47481 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
47482 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
47483 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
47484 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
47485 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
47486 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
47487 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
47488 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
47489 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
47490 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
47491 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
47492 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
47493 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
47494 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
47495 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
47496 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
47497 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
47498 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
47499 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
47500 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
47501 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
47503 (FLT_ROUNDS): Expect as macro, not constant.
47504 (FLT_MANT_DIG): Use macro-int-constant.
47505 (DBL_MANT_DIG): Likewise.
47506 (LDBL_MANT_DIG): Likewise.
47507 (FLT_DIG): Likewise.
47508 (DBL_DIG): Likewise.
47509 (LDBL_DIG): Likewise.
47510 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
47511 (DBL_MIN_EXP): Likewise.
47512 (LDBL_MIN_EXP): Likewise.
47513 (FLT_MAX_EXP): Use macro-int-constant.
47514 (DBL_MAX_EXP): Likewise.
47515 (LDBL_MAX_EXP): Likewise.
47516 (FLT_MAX_10_EXP): Likewise.
47517 (DBL_MAX_10_EXP): Likewise.
47518 (LDBL_MAX_10_EXP): Likewise.
47519 (FLT_MAX): Use macro-constant.
47520 (DBL_MAX): Likewise.
47521 (LDBL_MAX): Likewise.
47522 (FLT_EPSILON): Use macro-constant. Give upper bound.
47523 (DBL_EPSILON): Likewise.
47524 (LDBL_EPSILON): Likewise.
47525 (FLT_MIN): Likewise.
47526 (DBL_MIN): Likewise.
47527 (LDBL_MIN): Likewise.
47528 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
47529 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
47530 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
47531 [ISO11] (FLT_HAS_SUBNORM): Likewise.
47532 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
47533 [ISO11] (DBL_DECIMAL_DIG): Likewise.
47534 [ISO11] (FLT_DECIMAL_DIG): Likewise.
47535 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
47536 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
47537 [ISO11] (FLT_TRUE_MIN): Likewise.
47538 [ISO11] (LDBL_TRUE_MIN): Likewise.
47539 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47540 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
47541 (SCHAR_MIN): Use macro-int-constant. Specify type.
47542 (SCHAR_MAX): Likewise.
47543 (UCHAR_MAX): Likewise.
47544 (CHAR_MIN): Likewise.
47545 (CHAR_MAX): Likewise.
47546 (MB_LEN_MAX): Use macro-int-constant.
47547 (SHRT_MIN): Use macro-int-constant. Specify type.
47548 (SHRT_MAX): Likewise.
47549 (USHRT_MAX): Likewise.
47550 (INT_MAX): Likewise.
47551 (INT_MIN): Use macro-int-constant. Specify type. Make upper
47553 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
47555 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
47557 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
47558 bound negative. Suffix upper bound with "L".
47559 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
47561 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
47563 [C99-based standards] (LLONG_MAX): Likewise.
47564 [C99-based standards] (ULLONG_MAX): Likewise.
47565 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
47567 [ISO11] (max_align_t): Require type.
47568 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47570 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
47571 from $CFLAGS, without defining away __attribute__ calls.
47572 (checknamespace): Use $CFLAGS_namespace.
47574 * conform/conformtest.pl (@keywords): Only include C99 keywords
47575 for standards based on C99 or C11.
47577 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
47579 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
47582 * conform/conformtest.pl: Handle "macro-int-constant" and test for
47583 usability of symbols in #if.
47585 * conform/conformtest.pl: If macro or constant types start
47586 "promoted:", expect the symbol to be of the following type
47587 promoted by the integer promotions.
47589 * conform/conformtest.pl: Parse all "constant" and "macro" lines
47590 in one place. Also handle "macro-constant".
47592 * conform/conformtest.pl: Only accept expected macro values with
47593 "==". Parse all "macro" lines in one place.
47594 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
47596 * conform/conformtest.pl: Handle braced types on "constant" lines
47597 instead of handling "typed-constant".
47598 * conform/data/signal.h-data: Use "constant" instead of
47601 * conform/conformtest.pl: Handle "optional-" at start of lines in
47602 one place rather than duplicating several cases. Handle each
47603 format of "macro" line with initial "optional-".
47605 * conform/conformtest.pl: Only accept expected constant or
47606 optional-constant values with "==". Parse all "constant" lines in
47607 one place. Parse all "optional-constant" lines in one place.
47608 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
47609 * conform/data/fmtmsg.h-data: Likewise.
47610 * conform/data/netinet/in.h-data: Likewise.
47611 * conform/data/tar.h-data: Likewise.
47612 * conform/data/limits.h-data: Use "==" form on "constant" and
47613 "optional-constant" lines.
47615 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
47616 Use -std=c99 for XOPEN2K.
47617 (@knownproblems): Remove.
47618 (newtoken): Don't check %isknown.
47620 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
47621 Do not expect macro.
47622 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
47623 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
47624 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
47625 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
47626 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
47627 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
47628 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
47629 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
47630 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
47631 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
47632 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
47633 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
47634 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
47635 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
47636 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
47637 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
47638 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
47639 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
47640 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
47641 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
47642 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
47643 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
47644 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
47645 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
47646 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
47647 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
47648 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
47649 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
47650 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
47651 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
47652 [XPG3] (acosh): Likewise.
47653 [XPG3] (asinh): Likewise.
47654 [XPG3] (atanh): Likewise.
47655 [XPG3] (cbrt): Likewise.
47656 [XPG3] (expm1): Likewise.
47657 [XPG3] (ilogb): Likewise.
47658 [XPG3] (log1p): Likewise.
47659 [XPG3] (logb): Likewise.
47660 [XPG3] (nextafter): Likewise.
47661 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
47662 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
47663 [XPG3] (remainder): Likewise.
47664 [XPG3] (rint): Likewise.
47665 [XPG3 || XPG4 || UNIX98] (round): Likewise.
47666 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
47667 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
47668 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
47669 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
47670 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
47671 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
47672 [UNIX98 || XOPEN2K] (scalb): Expect.
47673 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
47674 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
47675 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
47676 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
47677 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
47678 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
47679 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
47680 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
47681 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
47682 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
47683 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
47684 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
47685 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
47686 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
47687 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
47688 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
47689 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
47690 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
47691 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
47692 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
47693 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
47694 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
47695 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
47696 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
47697 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
47698 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
47699 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
47700 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
47701 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
47702 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
47703 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
47704 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
47705 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
47706 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
47707 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
47708 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
47709 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
47710 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
47711 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
47712 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
47713 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
47714 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
47715 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
47716 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
47717 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
47718 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
47719 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
47720 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
47721 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
47722 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
47723 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
47724 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
47725 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
47726 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
47727 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
47728 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
47729 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
47730 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
47731 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
47732 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
47733 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
47734 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
47735 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
47736 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
47737 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
47738 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
47739 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
47740 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
47741 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
47742 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
47743 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
47744 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
47745 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
47746 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
47747 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
47748 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
47749 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
47750 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
47751 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
47752 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
47753 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
47754 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
47755 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
47756 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
47757 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
47758 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
47759 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
47760 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
47761 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
47762 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
47763 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
47764 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
47765 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
47766 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
47767 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
47768 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
47769 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
47770 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
47771 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
47772 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
47773 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
47774 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
47775 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
47776 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
47777 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
47778 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
47779 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
47780 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
47781 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
47782 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
47783 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
47784 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
47785 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
47786 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
47787 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
47788 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
47789 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
47790 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
47791 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
47792 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
47793 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
47794 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
47795 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
47796 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
47797 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
47798 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
47799 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
47800 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
47801 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
47802 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
47803 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
47804 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
47805 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
47806 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
47807 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
47808 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
47809 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
47811 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
47812 _XOPEN_SOURCE_EXTENDED for XPG4.
47814 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
47816 * Makeconfig (localtime): Remove variable.
47817 (inst_localtime-file): Likewise.
47819 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
47821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
47823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
47827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
47831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
47833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
47837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47840 2012-05-01 Joseph Myers <joseph@codesourcery.com>
47844 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
47845 comparisons to determine direction to adjust input.
47846 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
47847 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
47848 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
47850 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
47852 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47854 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
47855 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
47857 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
47859 * math/libm-test.inc (nexttoward_test): Add more tests.
47861 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
47864 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
47865 in version GLIBC_2.1, not GLIBC_2.0.
47866 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
47869 2012-04-30 Joseph Myers <joseph@codesourcery.com>
47872 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
47874 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47875 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
47876 * math/libm-test.inc (acos_test): Add more tests.
47877 (asin_test): Likewise.
47878 * sysdeps/i386/fpu/libm-test-ulps: Update.
47879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47882 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
47884 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
47885 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47886 * math/libm-test.inc (acos_test_tonearest): New function.
47887 (acos_test_towardzero): Likewise.
47888 (acos_test_downward): Likewise.
47889 (acos_test_upward): Likewise.
47890 (asin_test_tonearest): Likewise.
47891 (asin_test_towardzero): Likewise.
47892 (asin_test_downward): Likewise.
47893 (asin_test_upward): Likewise.
47894 (main): Call the new functions.
47895 * sysdeps/i386/fpu/libm-test-ulps: Update.
47896 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47900 * math/e_exp10.c: Include <float.h>.
47901 (__ieee754_exp10): Handle underflow here rather than multiplying
47902 large negative argument by M_LN10.
47903 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
47905 * math/e_exp10l.c: Include <float.h>.
47906 (__ieee754_exp10l): Handle underflow here rather than multiplying
47907 large negative argument by M_LN10l.
47908 * math/libm-test.inc (exp10_test): Add another test. Do not allow
47909 spurious overflow exception on underflow.
47911 2012-04-29 Marek Polacek <polacek@redhat.com>
47913 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
47914 (__fortify_function): New macro.
47915 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
47916 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
47917 __extern_always_inline.
47918 * libio/bits/stdio2.h: Likewise.
47919 * libio/bits/stdio.h: Likewise.
47920 * string/string.h: Likewise.
47921 * string/bits/string3.h: Likewise.
47922 * include/stdio.h: Likewise.
47923 * stdlib/bits/stdlib.h: Likewise.
47924 * stdlib/stdlib.h: Likewise.
47925 * rt/bits/mqueue2.h: Likewise.
47926 * rt/mqueue.h: Likewise.
47927 * posix/bits/unistd.h: Likewise.
47928 * posix/unistd.h: Likewise.
47929 * io/bits/poll2.h: Likewise.
47930 * io/bits/fcntl2.h: Likewise.
47931 * io/fcntl.h: Likewise.
47932 * io/sys/poll.h: Likewise.
47933 * misc/bits/syslog.h: Likewise.
47934 * misc/bits/syslog-ldbl.h: Likewise.
47935 * misc/sys/syslog.h: Likewise.
47936 * socket/bits/socket2.h: Likewise.
47937 * socket/sys/socket.h: Likewise.
47938 * debug/tst-chk1.c: Likewise.
47939 * wcsmbs/bits/wchar2.h: Likewise.
47940 * wcsmbs/bits/wchar-ldbl.h: Likewise.
47941 * wcsmbs/wchar.h: Likewise.
47943 2012-04-29 Andreas Jaeger <aj@suse.de>
47945 * Makerules (tests): Remove enable-check-abi protection.
47946 (check-abi-warn): Remove.
47947 (check-abi-%): Remove check-abi-warn usage.
47949 * configure.in: Remove check-abi configure option.
47950 * configure: Regenerated.
47951 * config.make.in (enable-check-abi): Remove.
47953 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
47956 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
47957 double functions to double *_finite functions.
47960 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
47961 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
47963 * stdio-common/Makefile (tests): Add tst-sprintf3.
47964 * stdio-common/tst-sprintf3.c: New file.
47966 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
47967 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
47969 2012-04-28 Joseph Myers <joseph@codesourcery.com>
47971 * conform/conformtest.pl: Remove duplicate typed-constant
47974 2012-04-28 David S. Miller <davem@davemloft.net>
47976 * Makerules (%.abilist): Add vpath on sysdep_dirs.
47977 (check-abi-%): Remove AWK script prerequisite and explicit
47979 (check-abi): Rewrite to just diff the symlist with the abilist.
47980 (config-tls, config-abi-config): Delete, no longer used.
47981 (update-abi-%): Remove AWK script and explicit abilist directory.
47982 (update-abi): Rewrite to simply compare and conditionally copy the
47983 symlist and the sysdep abilist file. Remove update-abi-config
47985 * abilist/ld.abilist: Remove.
47986 * abilist/libBrokenLocale.abilist: Remove.
47987 * abilist/libanl.abilist: Remove.
47988 * abilist/libcrypt.abilist: Remove.
47989 * abilist/libdl.abilist: Remove.
47990 * abilist/librt.abilist: Remove.
47991 * abilist/libthread_db.abilist: Remove.
47992 * abilist/libutil.abilist: Remove.
47993 * scripts/extract-abilist.awk: Remove.
47994 * scripts/merge-abilist.awk: Remove.
47995 * sysdeps/generic/libcidn.abilist: New file.
47996 * sysdeps/generic/libnss_compat.abilist: New file.
47997 * sysdeps/generic/libnss_db.abilist: New file.
47998 * sysdeps/generic/libnss_dns.abilist: New file.
47999 * sysdeps/generic/libnss_files.abilist: New file.
48000 * sysdeps/generic/libnss_hesiod.abilist: New file.
48001 * sysdeps/generic/libnss_nis.abilist: New file.
48002 * sysdeps/generic/libnss_nisplus.abilist: New file.
48003 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
48004 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
48005 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
48007 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
48008 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
48009 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
48010 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
48011 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
48012 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
48013 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
48014 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
48015 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
48017 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
48018 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
48019 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
48020 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
48022 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
48023 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
48024 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
48025 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
48026 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
48027 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
48029 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
48030 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
48031 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
48033 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
48034 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
48036 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
48038 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
48040 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
48042 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
48044 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
48046 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
48048 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
48050 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
48052 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
48054 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
48056 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
48058 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
48060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
48062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
48064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
48066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
48068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
48070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
48072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
48074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
48076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
48080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
48082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
48084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
48086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
48087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
48089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
48093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
48095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
48097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
48099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
48101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
48105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
48107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
48111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
48112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
48114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
48118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
48120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
48122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
48124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
48126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
48130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
48132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
48136 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48137 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
48138 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
48140 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
48141 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
48142 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
48143 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
48144 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
48145 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
48146 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
48147 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
48148 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
48149 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
48150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
48151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
48153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
48157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
48159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
48161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
48163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
48165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
48171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
48175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
48176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
48178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
48182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
48184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
48186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
48188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
48190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
48196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
48201 2012-04-28 Joseph Myers <joseph@codesourcery.com>
48203 * conform/conformtest.pl: Fix typo in handling typed-constant from
48206 2012-04-27 Joseph Myers <joseph@codesourcery.com>
48208 * README: Cut down references to pre-2.6 Linux kernels and
48209 Linuxthreads. Update lists of configurations in libc and ports
48210 and sort alphabetically. Say "or newer" with Linux kernel version
48213 * config.h.in [IS_IN_build]: Allow compiling without optimization.
48215 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
48218 * math/libm-test.inc (logb_test_downward): New test to expose
48219 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
48222 2012-04-27 Joseph Myers <joseph@codesourcery.com>
48225 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
48227 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
48228 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
48230 2012-04-26 Joseph Myers <joseph@codesourcery.com>
48232 * sysdeps/unix/i386/brk.S: Remove file.
48233 * sysdeps/unix/i386/dl-brk.S: Likewise.
48234 * sysdeps/unix/i386/pipe.S: Likewise.
48235 * sysdeps/unix/i386/sigreturn.S: Likewise.
48236 * sysdeps/unix/i386/syscall.S: Likewise.
48237 * sysdeps/unix/i386/vfork.S: Likewise.
48238 * sysdeps/unix/i386/wait.S: Likewise.
48240 * sysdeps/unix/common/tcsendbrk.c: Move to ...
48241 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
48243 * configure.in (arm*-none*): Do not allow without
48244 --enable-hacker-mode.
48245 (netbsd*): Remove case setting base_os.
48246 (386bsd*): Likewise.
48247 (freebsd*): Likewise.
48250 (sunos*): Likewise.
48251 (ultrix*): Likewise.
48252 (newsos*): Likewise.
48253 (dynix*): Likewise.
48259 (minix*): Likewise.
48260 (irix4*): Likewise.
48261 (irix6*): Likewise.
48262 (solaris[2-9]*): Likewise.
48264 * configure: Regenerated.
48266 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48269 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
48270 overflow or cancellation in calculating denominator.
48271 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
48272 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
48273 down expression to avoid unexpected rounding in newer GCCs.
48274 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
48276 2012-04-26 David S. Miller <davem@davemloft.net>
48278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
48279 long-double compat symbols.
48280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
48284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
48286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
48287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
48288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
48289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
48290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
48291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
48292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48294 2012-04-25 David S. Miller <davem@davemloft.net>
48296 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
48297 HWCAP_* values only after the memory barriers have been defined.
48298 (atomic_full_barrier): Define.
48299 (atomic_read_barrier): Define.
48300 (atomic_write_barrier): Define.
48302 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48304 * shlib-versions: Add libgcc_s version information.
48305 * sysdeps/generic/libgcc_s.h: Remove.
48306 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
48308 * sysdeps/gnu/unwind-resume.c: Likewise.
48309 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
48311 2012-04-25 David S. Miller <davem@davemloft.net>
48313 * sysdeps/unix/sparc/brk.S: Delete.
48314 * sysdeps/unix/sparc/dl-brk.S: Delete.
48315 * sysdeps/unix/sparc/pipe.S: Delete.
48316 * sysdeps/unix/sparc/sysdep.S: Delete.
48317 * sysdeps/unix/sparc/sysdep.h: Delete.
48318 * sysdeps/unix/sparc/vfork.S: Delete.
48319 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
48320 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
48321 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
48322 (ret_ERRVAL, r0, r1, MOVE): Define.
48323 (JUMPTARGET): Remove.
48324 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
48325 sysdeps/unix/sparc/sysdep.h
48326 (ENTRY, END): Remove.
48327 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48329 2012-04-25 Joseph Myers <joseph@codesourcery.com>
48331 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
48332 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
48335 * timezone/README: Update upstream location and email address for
48337 * timezone/zdump.c: Update from tzcode 2012b.
48338 * timezone/zic.c: Likewise.
48340 * configure.in (libc_cv_as_needed): Remove test.
48341 * configure: Regenerated.
48342 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
48343 conditional definition.
48344 [$(have-as-needed) != yes] (no-as-needed): Likewise.
48345 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
48346 * config.make.in (have-as-needed): Remove variable.
48348 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
48349 Paul Pluzhnikov <ppluzhnikov@google.com>
48351 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
48354 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
48356 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
48357 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
48358 * sysdeps/sh/strlen.S: Likewise.
48360 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48362 * sysdeps/unix/fork.S: Remove file.
48363 * sysdeps/unix/i386/fork.S: Likewise.
48364 * sysdeps/unix/sparc/fork.S: Likewise.
48366 * sysdeps/unix/system.c: Remove file.
48367 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
48369 * sysdeps/unix/getegid.S: Remove file.
48370 * sysdeps/unix/geteuid.S: Likewise.
48372 2012-04-24 Roland McGrath <roland@hack.frob.com>
48374 * scripts/check-localplt.awk: New file.
48375 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
48377 * scripts/data/localplt-generic.data: Add a comment.
48379 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
48380 NODE when __dir_mkfile failed.
48381 * sysdeps/mach/hurd/symlinkat.c: Likewise.
48382 Reported by Ludovic Courtès <ludo@gnu.org>.
48384 2012-04-24 Andreas Jaeger <aj@suse.de>
48386 * Makerules (common-clean): Also remove gen-as-const-headers
48389 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48391 * Makerules (native-compile): Do not change working directory for
48392 build. Use $(OUTPUT_OPTION) in command.
48393 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
48395 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48398 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
48399 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
48400 * math/libm-test.inc (floor_test): Add more tests.
48401 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
48403 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48405 * sysdeps/unix/getdents.c: Remove file.
48406 * sysdeps/unix/sysv/getdents.c: Likewise.
48407 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
48409 * sysdeps/unix/syscalls.list (madvise): Add syscall from
48410 sysdeps/unix/mman/syscalls.list.
48412 (mprotect): Likewise.
48414 (munmap): Likewise.
48415 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
48416 * sysdeps/unix/mman/syscalls.list: Remove.
48417 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
48419 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
48420 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
48421 * configure: Regenerated.
48422 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
48423 $(libgcc_s_suffix).
48424 * config.make.in (libgcc_s_suffix): Remove variable.
48426 2012-04-23 Joseph Myers <joseph@codesourcery.com>
48428 * sysdeps/unix/sysv/gethostname.c: Move to ...
48429 * sysdeps/posix/gethostname.c: ... here.
48431 * sysdeps/unix/execve.S: Remove file.
48433 * sysdeps/unix/_exit.S: Remove file.
48435 2012-04-23 Andreas Jaeger <aj@suse.de>
48438 * manual/Makefile: Remove make dist support, there's no
48439 need for a stand-alone documentation tar ball.
48440 (TEXI2DVI): Define always, it's not in Makeconfig.
48443 (edition): Removed.
48444 (glibc-doc-$(edition).tar): Removed
48448 (ETAGS): Remove, it's in Makeconfig.
48449 (move-if-change): Remove, it's in Makeconfig.
48451 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
48454 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
48455 (strtod, strtof, strtold, strtol, strtoul, strtoq)
48456 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
48457 (strtod_l, strtof_l, strtold_l): Remove __wur.
48458 It is not necessarily an error to ignore strtol's return value.
48459 One can reliably look at the stored endptr to decide whether
48460 the number had valid syntax.
48462 2012-04-21 Andreas Jaeger <aj@suse.de>
48465 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
48467 2012-04-21 Joseph Myers <joseph@codesourcery.com>
48469 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
48470 * sysdeps/unix/sysv/Versions: Remove file.
48472 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
48475 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48477 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
48480 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
48481 version from __vm86.
48483 2012-04-20 Joseph Myers <joseph@codesourcery.com>
48485 * sysdeps/unix/common/lxstat.c: Remove file.
48486 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
48488 * sysdeps/unix/sysv/Makefile: Remove file.
48490 * sysdeps/unix/sysv/direct.h: Remove file.
48492 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
48493 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
48494 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
48495 * sysdeps/unix/sysv/bits/signum.h: Likewise.
48496 * sysdeps/unix/sysv/bits/stat.h: Likewise.
48497 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
48498 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
48500 * sysdeps/unix/sysv/setrlimit.c: Remove file.
48502 * sysdeps/unix/xmknod.c: Remove file.
48503 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
48505 * sysdeps/unix/sysv/settimeofday.c: Remove file.
48507 * sysdeps/unix/sysv/i386/time.S: Remove file.
48509 * sysdeps/unix/fxstat.c: Remove file.
48510 * sysdeps/unix/xstat.c: Likewise.
48511 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
48513 * sysdeps/unix/sysv/sigaction.c: Remove file.
48515 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
48516 (sysdep_headers): Remove variable.
48517 [termio.h not in sysdep_headers] (generated): Likewise.
48518 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
48519 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
48520 * sysdeps/unix/sysv/tcdrain.c: Likewise.
48521 * sysdeps/unix/sysv/tcflow.c: Likewise.
48522 * sysdeps/unix/sysv/tcflush.c: Likewise.
48523 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
48524 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
48525 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
48526 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
48527 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
48529 * sysdeps/unix/siglist.c: Remove file.
48531 * sysdeps/unix/getppid.S: Remove file.
48533 * sysdeps/unix/mkdir.c: Remove file.
48534 * sysdeps/unix/rmdir.c: Likewise.
48536 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
48538 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
48540 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
48541 errlist-compat value.
48543 2012-04-18 David S. Miller <davem@davemloft.net>
48545 * sysdeps/generic/memcopy.h (reg_char): Delete.
48546 * debug/strcat_chk.c: Use char, not reg_char.
48547 * debug/strcpy_chk.c: Likewise.
48548 * debug/strncat_chk.c: Likewise.
48549 * debug/strncpy_chk.c: Likewise.
48550 * string/memchr.c: Likewise.
48551 * string/memrchr.c: Likewise.
48552 * string/rawmemchr.c: Likewise.
48553 * string/strcat.c: Likewise.
48554 * string/strchr.c: Likewise.
48555 * string/strchrnul.c: Likewise.
48556 * string/strcmp.c: Likewise.
48557 * string/strcpy.c: Likewise.
48558 * string/strncat.c: Likewise.
48559 * string/strncmp.c: Likewise.
48560 * string/strncpy.c: Likewise.
48562 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48564 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
48565 __builtin_memcopy is called when src and dest ranges are known to not
48568 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48570 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
48571 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
48572 fwd_align_merge macro call.
48573 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
48574 bwd_align_merge macro call.
48575 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48577 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48579 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
48580 bwd_align_merge macros.
48581 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
48582 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
48583 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48585 2012-04-18 David S. Miller <davem@davemloft.net>
48587 * sysdeps/sparc/sparc64/memcopy.h: Delete.
48589 2012-04-18 Andreas Jaeger <aj@suse.de>
48592 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
48593 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
48594 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48596 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
48597 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
48598 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48600 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
48601 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
48602 Adjust for changed ldbl-128 files.
48604 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
48605 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
48606 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48608 2012-04-17 David S. Miller <davem@davemloft.net>
48610 * sysdeps/sparc/sparc32/memcopy.h: Delete.
48612 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
48614 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
48615 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
48616 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
48617 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
48618 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48619 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
48621 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48624 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
48625 * math/libm-test.inc: Add ilogb errno and exception tests.
48626 * math/w_ilogb.c: New file: ilogb wrapper.
48627 * math/w_ilogbf.c: New file: ilogbf wrapper.
48628 * math/w_ilogbl.c: New file: ilogbl wrapper.
48629 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
48630 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
48631 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
48632 exception being thrown with 0.0 as argument.
48633 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
48634 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
48635 exception being thrown with 0.0 as argument.
48636 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
48637 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48638 exception being thrown with 0.0 as argument.
48639 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
48640 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48641 exception being thrown with 0.0 as argument.
48642 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
48643 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
48644 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
48645 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
48646 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
48647 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
48648 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
48649 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
48650 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
48652 2012-04-17 Petr Baudis <pasky@ucw.cz>
48654 * include/sys/uio.h: Change __vector to __iovec to avoid clash
48657 2012-04-16 Marek Polacek <polacek@redhat.com>
48659 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
48661 2012-04-16 Marek Polacek <polacek@redhat.com>
48663 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
48664 operands of fdivp instruction.
48666 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
48668 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
48669 * elf/tst-auditmod3b.c: Likewise.
48670 * elf/tst-auditmod4b.c: Likewise.
48671 * elf/tst-auditmod5b.c: Likewise.
48672 * elf/tst-auditmod6b.c: Likewise.
48673 * elf/tst-auditmod6c.c: Likewise.
48674 * elf/tst-auditmod7b.c: Likewise.
48675 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
48676 * sysdeps/x86_64/preconfigure.in: Likewise.
48677 * sysdeps/x86_64/preconfigure: Regenerated.
48679 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
48681 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
48684 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
48686 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48687 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
48689 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
48692 * locale/iso-639.def: Fix gl language name. Spotted by
48695 2012-04-12 Roland McGrath <roland@hack.frob.com>
48698 * libio/libio.h (__io_write_fn): Update comment.
48700 2012-04-12 Petr Baudis <pasky@ucw.cz>
48703 * stdio.texi (Hook Functions): The user provided writer function
48704 is not allowed to return -1.
48706 2012-04-11 David S. Miller <davem@davemloft.net>
48708 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48710 2012-04-11 Mike Frysinger <vapier@gentoo.org>
48712 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
48713 Add a leading slash to rtkaio.
48715 2012-04-11 Jim Meyering <meyering@redhat.com>
48718 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
48719 It is not necessarily an error to ignore fwrite's return
48720 value. One can reliably use ferror to test for errors after
48723 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
48725 * bits/types.h (__snseconds_t): New type.
48726 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
48728 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
48729 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48730 (__SNSECONDS_T_TYPE): Likewise.
48731 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48732 (__SNSECONDS_T_TYPE): Likewise.
48733 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48734 (__SNSECONDS_T_TYPE): Likewise.
48736 2012-04-10 Andreas Jaeger <aj@suse.de>
48739 * manual/time.texi (Processor Time): Return type of times is
48740 elapsed real time since an arbitrary point in the past.
48741 (CPU Time): Move CLK_TCK from here...
48742 (Processor Time): ...to here. Correct description.
48743 * manual/conf.texi (Constants for Sysconf): Correct description of
48746 2012-04-10 David S. Miller <davem@davemloft.net>
48749 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
48750 where the is a gap between DT_REL(A) and DT_JMPREL.
48752 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
48754 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
48755 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48756 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48758 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
48760 * elf/dl-support.c (_dl_inhibit_cache): New variable.
48761 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
48762 (dl_main): Handle --inhibit-cache.
48763 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
48765 * elf/dl-load.c (_dl_map_object): Use it.
48766 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
48768 2012-04-09 Joseph Myers <joseph@codesourcery.com>
48771 * sysdeps/i386/fpu/e_powl.S (p78): New object.
48772 (__ieee754_powl): Saturate large exponents rather than testing for
48773 overflow of y*log2(x).
48774 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48775 * math/libm-test.inc (pow_test): Do not permit spurious overflow
48779 * math/s_ctan.c: Include <float.h>.
48780 (__ctan): Avoid internal overflow or cancellation in calculating
48782 * math/s_ctanf.c: Likewise.
48783 * math/s_ctanl.c: Likewise.
48784 * math/s_ctanh.c: Likewise.
48785 * math/s_ctanhf.c: Likewise.
48786 * math/s_ctanhl.c: Likewise.
48787 * math/libm-test.inc (ctan_test): Add more tests.
48788 (ctanh_test): Likewise.
48789 * sysdeps/i386/fpu/libm-test-ulps: Update.
48790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48792 2012-04-09 Andreas Jaeger <aj@suse.de>
48795 * manual/filesys.texi (Directory Entries): Mention that d_namlen
48796 is an optional BSD extension.
48799 * manual/stdio.texi (Opening Streams): Document additional fopen
48802 2012-04-09 Roland McGrath <roland@hack.frob.com>
48804 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
48805 %eax without telling the compiler.
48807 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
48810 * manual/install.texi: Use sourceware.org.
48812 2012-04-09 Joseph Myers <joseph@codesourcery.com>
48815 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
48816 (__ieee754_pow): Generate overflow and underflow using huge*huge
48817 and tiny*tiny rather than just returning constant infinity or zero
48818 for large exponents.
48819 * math/libm-test.inc (pow_test): Require overflow exceptions for
48820 applicable cases of large exponents.
48823 * sysdeps/i386/fpu/e_pow.S (p10): New object.
48824 (__ieee754_pow): Use iterative multiplication algorithm only for
48825 integer exponents with absolute value below 1024. Check for odd
48826 integer exponents when using algorithm for real exponents.
48827 * math/libm-test.inc (pow_test): Add more tests.
48828 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48830 2012-04-08 Joseph Myers <joseph@codesourcery.com>
48833 * math/libm-test.inc (exp_test): Do not allow overflow exception
48836 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
48839 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
48840 instead of __kernel_standard_f.
48842 2012-04-08 Mike Frysinger <vapier@gentoo.org>
48844 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
48845 * sysdeps/x86_64/memset_chk.S: Likewise.
48847 2012-04-08 Andreas Jaeger <aj@suse.de>
48850 * manual/startup.texi (Environment Access): Describe return value
48851 for putenv and setenv.
48854 * manual/filesys.texi (Directory Entries): Add description for
48858 * manual/filesys.texi (Directory Entries): Clarify that it's file
48859 system not operating system in the description of DT_UNKNOWN.
48862 * manual/syslog.texi (closelog): Fix reference, it's openlog.
48864 2012-04-08 Stephen Compall <s11@member.fsf.org>
48867 * manual/llio.texi (Opening and Closing Files): Add cross
48868 reference to explain mode argument.
48870 2012-04-07 Mike Frysinger <vapier@gentoo.org>
48872 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
48873 * sysdeps/x86_64/memset_chk.S: Likewise.
48875 2012-04-07 David S. Miller <davem@davemloft.net>
48877 * elf/elf.h (R_SPARC_WDISP10): Define.
48878 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
48880 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
48881 R_SPARC_SIZE64 and R_SPARC_H34.
48883 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
48885 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
48886 conditions and remove no longer applicable assertion.
48888 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
48890 * bits/byteswap.h: Include <features.h>.
48891 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48892 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48894 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
48896 * bits/byteswap.h (__bswap_16): Removed.
48897 Include <bits/byteswap-16.h> to get __bswap_16.
48898 * sysdeps/i386/bits/byteswap.h: Likewise.
48899 * sysdeps/s390/bits/byteswap.h: Likewise.
48900 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48901 * bits/byteswap-16.h: New file.
48902 * sysdeps/i386/bits/byteswap-16.h: Likewise.
48903 * sysdeps/s390/bits/byteswap-16.h: Likewise.
48904 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
48905 * string/Makefile (headers): Add bits/byteswap-16.h.
48907 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
48910 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
48912 * nss/Makefile (tests-static, tests): Add tst-nss-static.
48913 * nss/tst-nss-static.c: New.
48915 2012-04-06 Robert Millan <rmh@gnu.org>
48918 * manual/llio.texi (File Position Primitive): lseek
48919 refers to WHENCE when it really means OFFSET.
48921 2012-04-06 Andreas Jaeger <aj@suse.de>
48923 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
48924 strncmp declarations.
48926 * abilist/libc.abilist: Add __poll and __ppoll.
48928 2012-04-05 David S. Miller <davem@davemloft.net>
48930 * scripts/check-local-headers.sh: Accept a host triplet in the
48931 path matched by the exclude regexp.
48933 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
48935 * sysdeps/powerpc/powerpc32/dl-machine.h
48936 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
48937 * sysdeps/s390/s390-32/dl-machine.h
48938 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48939 * sysdeps/sparc/sparc32/dl-machine.h
48940 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48941 * sysdeps/sparc/sparc64/dl-machine.h
48942 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48944 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
48946 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
48947 undefined symbol errors.
48949 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
48952 2012-04-05 Michael Matz <matz@suse.de>
48955 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
48957 2012-04-05 Andreas Jaeger <aj@suse.de>
48960 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
48963 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48965 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
48966 which ROUND is no valid rounding mode.
48968 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48970 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
48972 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
48974 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48976 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
48977 an exception using FPU order intentionally.
48979 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48981 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
48982 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
48983 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
48984 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
48986 2012-04-05 Simon Josefsson <simon@josefsson.org>
48989 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
48990 EINVAL when BUFLEN is too smal.
48992 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
48995 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
48996 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
48998 2012-04-03 Andreas Jaeger <aj@suse.de>
49001 * manual/setjmp.texi (System V contexts): Fix sentence.
49004 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
49005 New macro for this case.
49006 [!__GNUC__] (__bswap_64): New inline function for this case.
49007 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49008 * bits/byteswap.h: Likewise.
49009 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
49010 ull, guard with __GLIBC_HAVE_LONG_LONG.
49012 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
49013 __GLIBC_HAVE_LONG_LONG.
49015 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
49016 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
49018 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49021 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
49022 inptr and inend, rather than using last_ch.
49024 2012-04-02 David S. Miller <davem@davemloft.net>
49026 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
49027 * stdio-common/printf-parse.h (read_int): Change return type to
49028 'int', return -1 on INT_MAX overflow.
49029 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
49030 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
49031 overflows INT_MAX. Check for overflow of in-format-string precision
49032 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
49033 SIZE_MAX not INT_MAX for integer overflow test.
49034 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
49035 skip the construct in the format string but do not record anything.
49036 * stdio-common/bug22.c: Adjust to test both width/prevision
49037 INT_MAX overflow as well as total length INT_MAX overflow. Check
49038 explicitly for proper errno values.
49040 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
49042 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
49044 * string/test-strcmp.c [! WIDE]: Likewise.
49045 * time/tst-mktime2.c: Likewise for INT_MAX.
49046 * string/test-string.h: #include <sys/param.h> for MIN.
49048 * csu/init-first.c (__libc_init_first): Call __ctype_init.
49049 * sysdeps/i386/init-first.c (init): Likewise.
49050 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
49051 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
49052 * sysdeps/sh/init-first.c (init): Likewise.
49054 2012-04-01 Ulrich Drepper <drepper@gmail.com>
49056 * po/ru.po: Update from translation team.
49057 * po/vi.po: Likewise.
49059 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
49061 * resolv/nss_dns/dns-host.c: Merge copyright years.
49063 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49065 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49066 Optimize memcpy with prefetch if
49067 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
49068 src, dst pointers have unequal 16 byte alignments.
49070 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
49073 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
49074 from a CNAME entry and return the minimum ttl for the query.
49075 (gaih_getanswer_slice): Likewise.
49077 2012-03-30 Jeff Law <law@redhat.com>
49079 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
49081 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
49082 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
49084 * resolv/nss_dns/dns-host.c: Update copyright year.
49086 2012-03-30 Ulrich Drepper <drepper@gmail.com>
49088 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
49089 requests to save a system call. Fix check that all bytes are sent.
49091 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
49092 comments for sendmmsg.
49094 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49097 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
49098 with only 1 character between 0x0041 and 0x01b0.
49099 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
49100 * wcsmbs/tst-mbsnrtowcs.c: New file.
49102 2012-03-29 David S. Miller <davem@davemloft.net>
49104 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
49105 small copies by hand.
49107 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
49110 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
49111 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
49114 2012-03-28 David S. Miller <davem@davemloft.net>
49116 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
49117 that branches into memcpy.
49118 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49119 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
49120 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49121 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
49122 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
49124 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
49125 implementation too.
49126 * sysdeps/sparc/mempcpy.S: New file.
49128 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
49129 the IFUNC routine in the libc case.
49130 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49132 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
49133 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
49134 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
49135 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
49136 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
49137 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
49138 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
49139 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
49141 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
49142 loop to 256 bytes instead of 64 bytes and fix test signedness.
49144 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
49145 * sysdeps/sparc/sparc32/Makefile: rather than here...
49146 * sysdeps/sparc/sparc64/Makefile: and here.
49148 2012-03-28 Ulrich Drepper <drepper@gmail.com>
49150 * malloc/mallocbug.c: Avoid warnings about unused variables.
49152 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
49155 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
49156 in the right place. Discard and retry query if response is
49157 larger than input buffer size.
49159 2012-03-28 Joseph Myers <joseph@codesourcery.com>
49164 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
49165 x for large integer exponent.
49166 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49167 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
49168 sign of result as needed afterwards.
49169 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
49170 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
49171 result for underflowing pow the same as for overflow.
49172 (__kernel_standard_l): Handle powl overflow and underflow here
49173 rather than calling __kernel_standard.
49174 * math/libm-test.inc (pow_test): Add more tests.
49189 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
49190 * sysdeps/ieee754/k_standard.c: Include <float.h>.
49191 (__kernel_standard_l): New function.
49192 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
49194 * math/w_acosl.c (__acosl): Likewise.
49195 * math/w_asinl.c (__asinl): Likewise.
49196 * math/w_atan2l.c (__atan2l): Likewise.
49197 * math/w_atanhl.c (__atanhl): Likewise.
49198 * math/w_coshl.c (__coshl): Likewise.
49199 * math/w_exp10l.c (__exp10l): Likewise.
49200 * math/w_exp2l.c (__exp2l): Likewise.
49201 * math/w_fmodl.c (__fmodl): Likewise.
49202 * math/w_hypotl.c (__hypotl): Likewise.
49203 * math/w_j0l.c (__j0l, __y0l): Likewise.
49204 * math/w_j1l.c (__j1l, __y1l): Likewise.
49205 * math/w_jnl.c (__jnl, __ynl): Likewise.
49206 * math/w_lgammal.c (__lgammal): Likewise.
49207 * math/w_log10l.c (__log10l): Likewise.
49208 * math/w_log2l.c (__log2l): Likewise.
49209 * math/w_logl.c (__logl): Likewise.
49210 * math/w_powl.c (__powl): Likewise.
49211 * math/w_remainderl.c (__remainderl): Likewise.
49212 * math/w_scalbl.c (sysv_scalbl): Likewise.
49213 * math/w_sinhl.c (__sinhl): Likewise.
49214 * math/w_sqrtl.c (__sqrtl): Likewise.
49215 * math/w_tgammal.c (__tgammal): Likewise.
49216 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
49217 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
49218 * math/libm-test.inc (acos_test): Add more tests.
49219 (acosh_test): Likewise.
49220 (asin_test): Likewise.
49221 (atanh_test): Likewise.
49222 (exp_test): Likewise.
49223 (exp10_test): Likewise.
49224 (exp2_test): Likewise.
49225 (expm1_test): Likewise.
49226 (lgamma_test): Likewise.
49227 (log_test): Likewise.
49228 (log10_test): Likewise.
49229 (log1p_test): Likewise.
49230 (log2_test): Likewise.
49231 (pow_test): Do not allow some spurious overflow exceptions.
49232 (sqrt_test): Add more tests.
49233 (tgamma_test): Likewise.
49234 (y0_test): Likewise.
49235 (y1_test): Likewise.
49236 (yn_test): Likewise.
49238 2012-03-27 Anton Blanchard <anton@samba.org>
49240 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
49242 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49243 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49244 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49246 2012-03-27 David S. Miller <davem@davemloft.net>
49248 * conform/Makefile: Run run-conformtest.sh using $(BASH).
49250 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
49251 have-as-vis3 check.
49253 2012-03-27 Andreas Jaeger <aj@suse.de>
49255 * sysdeps/x86_64/elf/configure.in: Moved to ...
49256 * sysdeps/x86_64/configure.in: ... here.
49257 * sysdeps/x86_64/elf/start.S: Moved to ...
49258 * sysdeps/x86_64/start.S: ... here.
49259 * sysdeps/x86_64/elf/configure: Delete.
49261 * sysdeps/x86_64/configure.in: Merge contents from
49262 sysdeps/i386/configure.in (without i686 check).
49264 * sysdeps/i386/elf/Versions: Merge into ...
49265 * sysdeps/i386/Versions: ... this.
49266 * sysdeps/i386/elf/Versions: Delete file.
49267 * sysdeps/i386/elf/start.S: Moved to ...
49268 * sysdeps/i386/start.S: ...here.
49269 * sysdeps/i386/elf/configure.in: Merge into...
49270 * sysdeps/i386/configure.in: ...here.
49271 * sysdeps/i386/elf/configure.in: Delete file.
49272 * sysdeps/i386/elf/configure: Delete file.
49274 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
49275 * debug/backtracesyms.c: ... here.
49276 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
49277 * debug/backtracesymsfd.c: ... here.
49278 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
49279 * sysdeps/generic/ifunc-sel.h: ... here.
49281 * sysdeps/unix/i386/start.c: Delete file.
49282 * sysdeps/unix/sparc/start.c: Delete file.
49283 * sysdeps/unix/start.c: Delete file.
49285 * sysdeps/sh/elf/configure.in: Moved to ...
49286 * sysdeps/sh/configure.in: ... here.
49287 * sysdeps/sh/elf/start.S: Moved to ...
49288 * sysdeps/sh/start.S: ... here.
49289 * sysdeps/sh/elf/configure: Delete file.
49291 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
49292 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
49293 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
49294 * sysdeps/powerpc/powerpc64/entry.h: ... here.
49295 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
49296 * sysdeps/powerpc/powerpc64/start.S: here.
49297 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
49298 * sysdeps/powerpc/powerpc64/Makefile: ... this.
49299 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
49300 * sysdeps/powerpc/powerpc64/configure.in: ... this.
49301 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
49303 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
49304 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
49305 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
49306 * sysdeps/powerpc/powerpc32/start.S: ... here.
49307 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
49308 * sysdeps/powerpc/powerpc32/configure.in: ... this.
49309 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
49311 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
49312 * sysdeps/powerpc/ifunc-sel.h: ... here.
49313 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
49314 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
49316 * sysdeps/sparc/elf/configure.in: Moved to ...
49317 * sysdeps/sparc/configure.in: ... here.
49318 * sysdeps/sparc/elf/configure: Delete file.
49319 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
49320 * sysdeps/sparc/sparc32/start.S: ... here.
49321 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
49322 * sysdeps/sparc/sparc64/start.S: ... here.
49323 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
49324 * sysdeps/sparc/sparc32/Makefile: ... this.
49325 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
49326 * sysdeps/sparc/sparc64/Makefile: ... this.
49328 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
49329 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
49330 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
49331 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
49332 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
49333 * sysdeps/s390/s390-32/setjmp.S: ... here.
49334 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
49335 * sysdeps/s390/s390-32/configure.in: ... here.
49336 * sysdeps/s390/s390-32/elf/configure: Delete file.
49337 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
49338 * sysdeps/s390/s390-32/start.S: ... here.
49340 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
49341 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
49342 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
49343 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
49344 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
49345 * sysdeps/s390/s390-64/setjmp.S: ... here.
49346 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
49347 * sysdeps/s390/s390-64/configure.in: ... here
49348 * sysdeps/s390/s390-64/elf/configure: Delete file.
49349 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
49350 * sysdeps/s390/s390-64/start.S: ... here.
49351 * sysdeps/s390/s390-64/elf/configure: Delete.
49353 * configure.in: Remove support for elf directories in sysdeps.
49355 * configure: Regenerated.
49356 * sysdeps/i386/configure: Regenerated.
49357 * sysdeps/powerpc/powerpc32/configure: Regenerated.
49358 * sysdeps/powerpc/powerpc64/configure: Regenerated.
49359 * sysdeps/s390/s390-32/configure: Regenerated.
49360 * sysdeps/s390/s390-64/configure: Regenerated.
49361 * sysdeps/sh/configure: Regenerated.
49362 * sysdeps/sparc/configure: Regenerated.
49363 * sysdeps/x86_64/configure: Regenerated.
49365 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
49367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49369 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
49370 denormal result into account.
49372 2012-03-25 Roland McGrath <roland@hack.frob.com>
49374 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
49375 Reported by Allan McRae <allan@archlinux.org>.
49377 2012-03-23 Jeff Law <law@redhat.com>
49379 * nss/getnssent.c (__nss_getent): Fix typo.
49381 2012-03-23 David S. Miller <davem@davemloft.net>
49383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49385 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
49387 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
49388 to pad to uint64_t for each field.
49389 (dl_tls_index): Replace unsigned long with uint64_t.
49391 2012-03-23 Daniel Jacobowitz <dmj@google.com>
49392 Paul Pluzhnikov <ppluzhnikov@google.com>
49395 * grp/Makefile (otherlibs): Don't set it.
49396 * inet/Makefile (otherlibs): Likewise.
49397 * login/Makefile (otherlibs): Likewise.
49398 * nscd/Makefile (otherlibs): Likewise.
49399 * posix/Makefile (otherlibs): Likewise.
49400 * pwd/Makefile (otherlibs): Likewise.
49401 * rt/Makefile (otherlibs): Likewise.
49402 * sunrpc/Makefile (otherlibs): Likewise.
49403 * nss/Makefile (otherlibs): Likewise.
49404 Add libnss_files to routines and static-only-routines.
49405 ($(objpfx)getent): Remove rule.
49406 * resolv/Makefile: Add libnss_dns and libresolv to routines and
49407 static-only-routines.
49409 2012-03-22 Joseph Myers <joseph@codesourcery.com>
49412 * math/s_cexp.c: Include <float.h>.
49413 (__cexp): Handle exp result overflowing not necessarily
49414 overflowing both real and imaginary parts of result.
49415 * math/s_cexpf.c: Likewise.
49416 * math/s_cexpl.c: Likewise.
49417 * math/libm-test.inc (cexp_test): Add more tests.
49418 * sysdeps/i386/fpu/libm-test-ulps: Update.
49419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49421 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49423 * include/link.h (ELFW): New macro.
49424 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
49425 Replace ELF64_R_TYPE with ELFW(R_TYPE).
49427 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49429 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
49432 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49434 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
49436 (struct La_x32_retval): Likewise.
49438 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49440 * sysdeps/x86_64/preconfigure.in: New file.
49441 * sysdeps/x86_64/preconfigure: New generated file.
49443 2012-03-22 Joseph Myers <joseph@codesourcery.com>
49446 * math/e_exp2l.c: Include <float.h>.
49447 (__ieee754_exp2l): Handle overflow and underflow cases
49448 separately. Only pass fractional part of argument to
49450 * math/libm-test.inc (exp2_test): Add more tests.
49452 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
49453 negating x to take absolute value.
49454 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
49456 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
49457 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
49459 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
49460 computing low part if x was negated.
49461 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
49463 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49465 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
49466 la_x32_gnu_pltexit.
49467 (pltexit): Cast int_retval to ptrdiff_t.
49468 * elf/tst-auditmod3b.c: Likewise.
49469 * elf/tst-auditmod4b.c: Likewise.
49470 * elf/tst-auditmod5b.c: Likewise.
49471 * elf/tst-auditmod6b.c: Likewise.
49472 * elf/tst-auditmod6c.c: Likewise.
49473 * elf/tst-auditmod7b.c: Likewise.
49475 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
49476 and x32_gnu_pltexit.
49478 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
49479 __ELF_NATIVE_CLASS.
49480 (La_x32_regs): New macro.
49481 (La_x32_retval): Likewise.
49482 (la_x32_gnu_pltenter): New function prototype.
49483 (la_x32_gnu_pltexit): Likewise.
49485 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
49487 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
49490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49492 * configure.in (libc_cv_cc_nofma): Check for option to disable
49493 generation of FMA instructions.
49494 * configure: Regenerate.
49495 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
49496 * sysdeps/ieee754/dbl-64/Makefile: New file.
49497 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
49498 Remove brandred-fma4.
49499 (CFLAGS-brandred-fma4.c): Remove.
49500 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
49501 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
49503 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
49506 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49508 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49509 LLONG_MAX != LONG_MAX.
49510 (_itoa_word): Use _ITOA_WORD_TYPE on value.
49511 (_fitoa_word): Likewise.
49512 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
49513 LLONG_MAX != LONG_MAX.
49514 * stdio-common/_itowa.h: Include <_itoa.h>.
49515 (_itowa_word): Use _ITOA_WORD_TYPE on value.
49516 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
49517 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
49518 only if not defined.
49519 (_ITOA_WORD_TYPE): Likewise.
49520 (_itoa_word): Use _ITOA_WORD_TYPE on value.
49521 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
49523 2012-03-21 David S. Miller <davem@davemloft.net>
49525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49527 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49529 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
49530 of x86_64 when setting libc_cv_slibdir, libdir and
49532 * sysdeps/unix/sysv/linux/configure: Regenerated.
49534 2012-03-21 Joseph Myers <joseph@codesourcery.com>
49536 * manual/lang.texi (Old Varargs): Remove section.
49537 (How Variadic): Update menu.
49538 (va_start): Do not mention varargs.h.
49540 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
49541 Joseph Myers <joseph@codesourcery.com>
49543 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
49545 * configure: Regenerated.
49547 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
49549 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
49550 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
49553 2012-03-21 Joseph Myers <joseph@codesourcery.com>
49556 * Makefile (files-for-dist): Remove NOTES.
49557 (NOTES): Remove rule.
49558 * README: Don't refer to NOTES.
49559 * manual/creature.texi: Don't include macros.texi.
49560 * manual/intro.texi (creature.texi): Remove comment referring to
49563 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
49564 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
49565 * configure: Regenerated.
49566 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
49567 LIBC_TRY_CC_OPTION.
49568 (libc_cv_as_i686): Likewise.
49569 (libc_cv_cc_avx): Likewise.
49570 (libc_cv_cc_sse2avx): Likewise.
49571 (libc_cv_cc_fma4): Likewise.
49572 (libc_cv_cc_novzeroupper): Likewise.
49573 * sysdeps/i386/configure: Regenerated.
49576 * sysdeps/i386/fpu/s_cexp.S: Remove.
49577 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49578 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49579 * math/libm-test.inc (cexp_test): Add more tests.
49580 * sysdeps/i386/fpu/libm-test-ulps: Update.
49581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49583 2012-03-21 Allan McRae <allan@archlinux.org>
49585 * timezone/Makefile: Do not install iso3166.tab and zone.tab
49587 2012-03-21 Joseph Myers <joseph@codesourcery.com>
49590 * math/w_exp2.c: Do not include <float.h>.
49591 (o_threshold, u_threshold): Remove.
49592 (__exp2): Calculate result before checking finiteness and calling
49594 * math/w_exp2f.c: Likewise.
49595 * math/w_exp2l.c: Likewise.
49596 * math/libm-test.inc (exp2_test): Require overflow exception for
49600 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
49601 range of signed 64-bit integers before using fistpll. Remove
49602 checks for whether integers fit in mantissa bits.
49603 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
49604 the range of signed 32-bit integers before using fistpl. Remove
49605 checks for whether integers fit in mantissa bits.
49606 * sysdeps/i386/fpu/e_powl.S (p64): New object.
49607 (__ieee754_powl): Test for y outside the range of signed 64-bit
49608 integers before using fistpll. Reduce 64-bit values to 63-bit
49610 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
49611 divide-by-zero is raised for zero to large negative powers.
49612 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
49613 (__ieee754_powl): Test for y outside the range of signed 64-bit
49614 integers before using fistpll. Reduce 64-bit values to 63-bit
49616 * math/libm-test.inc (pow_test): Add more tests.
49618 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49620 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
49621 <stdio-common/_itoa.h>.
49622 * debug/segfault.c: Likewise.
49623 * elf/dl-cache.c: Likewise.
49624 * elf/dl-minimal.c: Likewise.
49625 * elf/dl-misc.c: Likewise.
49626 * elf/dl-sysdep.c: Likewise.
49627 * elf/dl-version.c: Likewise.
49628 * elf/rtld.c: Likewise.
49629 * hurd/hurdsock.c: Likewise.
49630 * hurd/lookup-retry.c: Likewise.
49631 * malloc/malloc.c: Likewise.
49632 * malloc/mtrace.c: Likewise.
49633 * nscd/nscd_getgr_r.c: Likewise.
49634 * nscd/nscd_getpw_r.c: Likewise.
49635 * nscd/nscd_getserv_r.c: Likewise.
49636 * posix/getopt_init.c: Likewise.
49637 * posix/wordexp.c: Likewise.
49638 * stdio-common/_itoa.c: Likewise.
49639 * stdio-common/printf_fphex.c: Likewise.
49640 * stdio-common/vfprintf.c: Likewise.
49641 * string/_strerror.c: Likewise.
49642 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
49643 * sysdeps/i386/i686/hp-timing.h: Likewise.
49644 * sysdeps/mach/_strerror.c: Likewise.
49645 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
49646 * sysdeps/mach/hurd/sethostid.c: Likewise.
49647 * sysdeps/mach/hurd/xmknodat.c: Likewise.
49648 * sysdeps/mach/xpg-strerror.c: Likewise.
49649 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49650 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49651 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
49652 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
49653 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49654 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
49655 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
49656 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
49657 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
49658 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
49659 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
49660 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
49661 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
49662 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49663 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49664 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
49665 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
49666 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
49667 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
49668 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
49669 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
49671 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
49673 * stdio-common/_itoa.h: Moved to ...
49674 * sysdeps/generic/_itoa.h: Here.
49676 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
49678 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
49679 instead of "_itoa.h" and "_itowa.h".
49680 * stdio-common/vfprintf.: Likewise.
49682 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49684 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
49686 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
49687 (__signbit): Likwise.
49688 (llrintf): Likwise.
49691 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49693 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
49696 2012-03-20 Joseph Myers <joseph@codesourcery.com>
49698 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
49699 OVERFLOW_EXCEPTION_OK.
49700 * math/libm-test.inc ("Philosophy"): Update comment about
49702 (OVERFLOW_EXCEPTION): Define.
49703 (OVERFLOW_EXCEPTION_OK): Likewise.
49704 (INVALID_EXCEPTION_OK): Renumber.
49705 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49706 (IGNORE_ZERO_INF_SIGN): Likewise.
49707 (test_exceptions): Handle FE_OVERFLOW.
49708 (exp10_test): Expect overflow exceptions.
49709 (exp2_test): Likewise.
49710 (expm1_test): Likewise.
49711 (nextafter_test): Likewise.
49712 (pow_test): Likewise.
49713 (scalbn_test): Likewise.
49714 (scalbln_test): Likewise.
49716 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49718 * sysdeps/x86_64/bits/atomic.h
49719 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
49721 (atomic_exchange_acq): Likewise.
49722 (__arch_exchange_and_add_body): Likewise.
49723 (__arch_add_body): Likewise.
49724 (atomic_add_negative): Likewise.
49725 (atomic_add_zero): Likewise.
49727 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49729 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
49730 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
49732 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49734 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
49735 Check __x86_64__ instead of __WORDSIZE.
49737 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49739 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
49741 2012-03-19 David S. Miller <davem@davemloft.net>
49743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49745 * sysdeps/sparc/fpu/fenv_private.h: New file.
49746 * sysdeps/sparc/fpu/math_private.h: Use it.
49747 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
49749 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
49750 (libc_feholdexcept_setroundl): Remove.
49751 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
49753 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
49754 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
49756 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49758 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
49759 int64_t instead of long int.
49760 (INSERT_WORDS64): Likwise.
49762 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49764 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
49765 _Unwind_GetCFA return to _Unwind_Ptr first.
49767 2012-03-19 Joseph Myers <joseph@codesourcery.com>
49770 * math/s_clog.c: Include <float.h>.
49771 (__clog): Scale large or subnormal inputs.
49772 * math/s_clogf.c: Likewise.
49773 * math/s_clogl.c: Likewise.
49774 * math/s_clog10.c: Include <float.h>.
49775 (M_LOG10_2): Define.
49776 (__clog10): Scale large or subnormal inputs.
49777 * math/s_clog10f.c: Likewise.
49778 * math/s_clog10l.c: Likewise.
49779 * math/libm-test.inc (clog_test): Add more tests.
49780 (clog10_test): Likewise.
49781 * sysdeps/i386/fpu/libm-test-ulps: Update.
49782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49785 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
49787 * math/libm-test.inc (atan2_test): Add another test.
49789 * Makerules (common-objdir-compile): Remove.
49790 * sysdeps/unix/Makefile (config-generated): Do not add
49791 $(unix-generated) to variable.
49792 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
49793 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
49795 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
49797 [generic bits/local_lim.h] (before-compile): Do not append to
49799 [generic bits/local_lim.h] (common-generated): Likewise.
49800 [generic sys/param.h] (before-compile): Do not append to variable.
49801 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
49802 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
49803 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
49804 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
49806 [generic sys/param.h] (sys/param.h-includes): Remove variable.
49807 [generic sys/param.h] (sys/param.h-includes): Remove rule.
49808 [generic sys/param.h] ($(addprefix
49809 $(common-objpfx),$(sys/param.h-includes))): Likewise.
49810 [generic sys/param.h] (common-generated): Do not append to
49812 [generic sys/param.h] (sysdep_headers): Likewise.
49813 [generic bits/errno.h] (before-compile): Do not append to
49815 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
49817 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
49818 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
49819 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
49820 [generic bits/errno.h] (common-generated): Do not append to
49822 [generic bits/ioctls.h] (before-compile): Do not append to
49824 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
49826 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
49827 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
49828 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
49830 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
49831 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
49832 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
49833 [generic bits/ioctls.h] (common-generated): Do not append to
49835 [generic sys/syscall.h] (syscall.h): Remove variable.
49836 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
49838 [generic sys/syscall.h] (before-compile): Do not append to
49840 [generic sys/syscall.h] (common-generated): Likewise.
49841 * sysdeps/unix/errnos-tmpl.c: Remove file.
49842 * sysdeps/unix/errnos.awk: Likewise.
49843 * sysdeps/unix/ioctls-tmpl.c: Likewise.
49844 * sysdeps/unix/ioctls.awk: Likewise.
49845 * sysdeps/unix/mk-local_lim.c: Likewise.
49846 * sysdeps/unix/snarf-ioctls: Likewise.
49848 2012-03-19 Richard Henderson <rth@twiddle.net>
49850 * sysdeps/i386/fpu/fenv_private.h: New file.
49851 * sysdeps/i386/fpu/math_private.h: Use it.
49852 (math_opt_barrier, math_force_eval): Remove.
49853 (libc_feholdexcept_setround_53bit): Remove.
49854 (libc_feupdateenv_53bit): Remove.
49855 * sysdeps/x86_64/fpu/math_private.h: Likewise.
49856 (math_opt_barrier, math_force_eval): Remove.
49857 (libc_feholdexcept): Remove.
49858 (libc_feholdexcept_setround): Remove.
49859 (libc_fetestexcept, libc_fesetenv): Remove.
49860 (libc_feupdateenv_test): Remove.
49861 (libc_feupdateenv, libc_feholdsetround): Remove.
49862 (libc_feresetround): Remove.
49864 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
49865 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
49867 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
49868 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
49869 (libc_feupdateenv_testl): New.
49870 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
49871 (libc_feupdateenv_testf): New.
49872 (libc_feupdateenv): Use libc_feupdateenv_test.
49873 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
49874 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
49876 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
49877 (libc_feholdsetroundf, libc_feholdsetroundl): New.
49878 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
49879 (libc_feresetround_noex): New.
49880 (libc_feresetround_noexf): New.
49881 (libc_feresetround_noexl): New.
49882 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
49883 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
49884 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
49885 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
49887 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49888 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
49890 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
49891 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
49892 SET_RESTORE_ROUND_NOEX.
49893 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
49894 SET_RESTORE_ROUND_NOEXF.
49895 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
49896 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
49897 (libc_feholdsetroundf): New.
49898 (libc_feresetround, libc_feresetroundf): New.
49900 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
49901 (libc_feholdexcept_setround_53bit): Convert from macro to function.
49902 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
49904 * sysdeps/generic/math_private.h: Include <fenv.h>.
49905 (default_libc_feholdexcept): New.
49906 (default_libc_feholdexcept_setround): New.
49907 (default_libc_fesetenv, default_libc_feupdateenv): New.
49908 (libc_feholdexcept): Only define if undefined.
49909 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
49910 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
49911 (libc_feholdexcept_setroundl): Likewise.
49912 (libc_feholdexcept_setround_53bit): Likewise.
49913 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
49914 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
49915 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
49916 (libc_feupdateenv_53bit): Likewise.
49917 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
49918 (libc_feholdexcept): Convert from macro to inline function.
49919 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
49920 (libc_fesetenv, libc_feupdateenv): Likewise.
49922 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
49923 not previously defined.
49924 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
49925 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
49926 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
49927 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
49928 * sysdeps/ieee754/flt-32/math_private.h: New file.
49929 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
49930 math_private.h below SET_FLOAT_WORD.
49931 (__isnan, __isinf_ns, __finite): Remove.
49932 (__isnanf, __isinf_nsf, __finitef): Remove.
49934 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
49936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49938 2012-03-17 David S. Miller <davem@davemloft.net>
49941 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
49944 2012-03-16 David S. Miller <davem@davemloft.net>
49946 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
49950 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
49952 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
49953 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
49954 sysdep_routines when subdir is sysvipc.
49955 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
49956 __getshmlba helper.
49958 * sysdeps/sparc/fpu/libm-test/ulps: Update.
49960 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49962 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
49965 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49967 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
49968 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
49969 (__lround): Renamed to ...
49970 (__llround): This. Replace long int with long long int.
49971 Define lround functions as aliases of llround functions.
49972 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
49974 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49976 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
49977 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
49978 adresses to uintptr_t. Replace "long int" and "unsigned long
49979 int" with "greg_t" on va_arg.
49981 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49983 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
49984 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
49986 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
49987 Move e_machine check before EI_CLASS check. Handle x32
49988 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
49989 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
49990 SKIP_EM_IA_64 and include
49991 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
49993 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
49994 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
49995 (add_system_dir): New macro.
49997 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
49998 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
50000 2012-03-16 Joseph Myers <joseph@codesourcery.com>
50011 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
50013 * math/w_j0f.c (j0f): Likewise.
50015 * math/w_j0l.c (__j0l): Likewise.
50017 * math/w_j1.c (j1): Likewise.
50019 * math/w_j1f.c (j1f): Likewise.
50021 * math/w_j1l.c (__j1l): Likewise.
50023 * math/w_jn.c (jn): Likewise.
50025 * math/w_jnf.c (jnf): Likewise.
50027 * math/w_jnl.c (__jnl): Likewise.
50029 * math/libm-test.inc (j0_test): Add more tests.
50030 (j1_test): Likewise.
50031 (jn_test): Likewise. Add trailing semicolon to existing test.
50032 (y0_test): Likewise.
50033 (y1_test): Likewise.
50034 * sysdeps/i386/fpu/libm-test-ulps: Update.
50035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50039 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
50040 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
50041 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
50042 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
50043 (__tanl): Set errno for infinite argument.
50044 * sysdeps/i386/fpu/mptan.c: Remove.
50045 * sysdeps/i386/fpu/s_tan.S: Likewise.
50046 * sysdeps/i386/fpu/s_tanl.S: Likewise.
50047 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
50048 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
50049 * math/libm-test.inc (tan_test): Add more tests and enable more
50050 tests for double and long double.
50051 * sysdeps/i386/fpu/libm-test-ulps: Update.
50052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50054 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
50056 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
50057 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
50059 2012-03-16 Roland McGrath <roland@hack.frob.com>
50061 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
50062 * configure.in: Use it for both main tree and add-ons.
50063 * configure: Regenerated.
50065 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50067 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
50069 2012-03-16 Joseph Myers <joseph@codesourcery.com>
50071 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
50075 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
50076 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
50077 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
50078 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
50079 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
50081 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
50082 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
50083 != 0 for prec == 2.
50084 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
50085 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
50086 * sysdeps/i386/fpu/s_cosl.S: Likewise.
50087 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
50088 * sysdeps/i386/fpu/s_sinl.S: Likewise.
50089 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
50090 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
50091 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
50092 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
50093 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
50094 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
50095 * math/libm-test.inc (cos_test): Add more tests and enable more
50096 tests for long double.
50097 (sin_test): Likewise.
50098 (sincos_test): Likewise.
50099 * sysdeps/i386/fpu/libm-test-ulps: Update.
50100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50102 2012-03-16 David S. Miller <davem@davemloft.net>
50104 * sysdeps/sparc/fpu/math_private.h: New file.
50106 2012-03-15 David S. Miller <davem@davemloft.net>
50108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
50110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
50111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
50113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
50114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
50115 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
50116 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
50117 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
50118 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
50120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50122 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
50123 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
50125 * sysdeps/sparc/sparc-ifunc.h: New file.
50126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
50128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
50129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
50131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
50133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
50134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
50135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
50138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
50140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
50142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
50144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
50146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
50148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
50149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
50150 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
50151 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
50152 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
50153 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
50154 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
50155 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
50156 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
50157 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
50158 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
50159 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
50160 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
50161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
50162 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
50163 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
50164 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
50165 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
50166 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
50167 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
50168 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
50169 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
50171 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
50173 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
50175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50177 2012-03-15 Andreas Jaeger <aj@suse.de>
50180 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
50181 ieee754/flt-32 implementation for sin, cos and sincos.
50182 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
50183 * sysdeps/i386/fpu/s_cosf.S: Likewise.
50184 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
50185 * sysdeps/i386/fpu/s_sinf.S: Likewise.
50186 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
50187 ieee754/flt-32 implementation for tan.
50189 * math/libm-test.inc (cos_test): Enable some large input tests for
50191 (sin_test): Likewise.
50192 (sincos_test): Likewise.
50193 (tan_test): Add tests for large input.
50195 * sysdeps/i386/fpu/libm-test-ulps: Update.
50197 2012-03-15 Andreas Jaeger <aj@suse.de>
50200 * math/libm-test.inc (cos_test): Add more test cases.
50201 (sin_test): Likewise.
50202 (sincos_test): Likewise.
50204 2012-03-15 Andreas Jaeger <aj@suse.de>
50207 * math/libm-test.inc (cos_test): Add a test case for large input
50209 (sin_test): Likewise.
50210 (sincos_test): Likewise.
50212 2012-03-15 Andreas Jaeger <aj@suse.de>
50213 Joseph Myers <joseph@codesourcery.com>
50216 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
50217 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
50218 * sysdeps/i386/fpu/branred.c: Likewise.
50219 * sysdeps/i386/fpu/dosincos.c: Likewise.
50220 * sysdeps/i386/fpu/mpa.c: Likewise.
50221 * sysdeps/i386/fpu/s_cos.S: Likewise.
50222 * sysdeps/i386/fpu/s_sin.S: Likewise.
50223 * sysdeps/i386/fpu/s_sincos.S: Likewise.
50224 * sysdeps/i386/fpu/sincos32.c: Likewise.
50226 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
50228 (libc_feupdateenv_53bit): Define.
50229 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
50231 (libc_feupdateenv_53bit): Define.
50233 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
50234 53 bit (without extend i386 double precision).
50236 * math/libm-test.inc (sincos_test): Add tests for large input.
50240 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
50242 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
50244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50246 2012-03-15 David S. Miller <davem@davemloft.net>
50248 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
50249 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
50250 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
50251 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
50252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
50253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
50254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
50255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
50256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
50257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
50258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
50259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
50260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
50261 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
50262 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
50263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
50265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
50266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
50268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
50269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
50271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
50272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
50274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
50275 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
50276 fmin/fmax sysdep routines.
50277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50279 2012-03-14 David S. Miller <davem@davemloft.net>
50281 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
50282 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
50283 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
50284 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
50285 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
50286 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
50287 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
50288 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
50289 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
50290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
50291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
50292 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
50293 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
50294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
50295 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
50296 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
50297 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
50298 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
50299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
50300 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
50301 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
50302 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
50303 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
50304 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
50305 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
50306 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
50307 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
50308 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
50309 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
50311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
50313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
50314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
50316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
50317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
50319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
50320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
50322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
50323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
50325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
50326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
50328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
50330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
50332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
50334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
50336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
50338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
50340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
50341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
50343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
50344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
50346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
50347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
50349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
50350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
50353 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
50356 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50358 * sysdeps/sparc/configure.in: New file.
50359 * sysdeps/sparc/configure: Generate.
50360 * configure.in (libc_cv_sparc_as_vis3): Substitute.
50361 * configure: Regenerate.
50362 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
50363 * config.make.in (have-as-vis3): New.
50364 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
50365 available use -Av9d instead of -Av9a.
50366 * sysdeps/sparc/sparc64/Makefile: Likewise.
50367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
50368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
50370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
50372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
50374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
50376 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
50377 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
50378 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
50379 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
50380 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
50382 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
50383 fzeros/fnegs to load 0x80000000 into a float register instead of
50385 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
50387 2012-03-14 Joseph Myers <joseph@codesourcery.com>
50389 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50391 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
50392 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
50393 ($(inst_includedir)/bits/syscall.h): Remove rule.
50394 ($(objpfx)bits/syscall.d): Include instead of
50395 $(objpfx)syscall-list.d.
50396 (generated): Change syscall-list.h and syscall-list.d to
50397 bits/syscall.h and bits/syscall.d.
50399 2012-03-14 Roland McGrath <roland@hack.frob.com>
50402 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
50404 2012-03-14 Joseph Myers <joseph@codesourcery.com>
50407 * math/s_csqrt.c: Include <float.h>.
50408 (__csqrt): Scale large or subnormal inputs.
50409 * math/s_csqrtf.c: Likewise.
50410 * math/s_csqrtl.c: Likewise.
50411 * math/libm-test.inc (csqrt_test): Add more tests.
50412 * sysdeps/i386/fpu/libm-test-ulps: Update.
50413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50416 * math/libm-test.inc (hypot_test): Add more tests.
50418 2012-03-13 David S. Miller <davem@davemloft.net>
50421 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
50422 double-precision for the calculation instead of scaling.
50424 2012-03-13 Joseph Myers <joseph@codesourcery.com>
50426 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
50427 manipulate bits before adding and subtracting TWO52[sx].
50428 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
50429 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
50431 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
50433 2012-03-13 David S. Miller <davem@davemloft.net>
50435 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
50436 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
50437 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
50438 rtld-global-offsets.h
50439 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50441 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
50444 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
50446 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
50447 'err' in the ifdef scope in which it is actually used.
50449 * nss/nss_db/db-init.c: Include string.h
50451 2012-03-12 David S. Miller <davem@davemloft.net>
50453 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50454 masking out of the most significant byte of random value used.
50455 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50456 Fix coding style in previous change.
50458 * sysdeps/unix/sysv/linux/kernel-features.h
50459 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
50460 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
50462 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
50465 2012-03-11 David S. Miller <davem@davemloft.net>
50467 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
50468 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
50469 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
50470 for 'resultvar' otherwise things get truncated on 64-bit.
50472 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50473 Fix masking out of the most significant byte of random value used.
50475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50477 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
50479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50481 2012-03-09 David S. Miller <davem@davemloft.net>
50483 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
50484 variables with appropriate CPP guards.
50485 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
50486 from the frame pointer, not the stack pointer. Correct layout
50487 comments. Fix test on resulting framesize and the management of
50488 the outregs buffer for pltexit. Preserve floating point return
50489 values across _dl_call_pltexit call.
50490 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
50491 framesize and the management of the outregs buffer for pltexit.
50492 Preserve floating point return values across _dl_call_pltexit
50494 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
50495 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
50496 (la_sparc64_gnu_pltexit): New functions.
50497 (print_exit): Fix format string for return register value.
50499 2012-03-10 Joseph Myers <joseph@codesourcery.com>
50501 * sunrpc/Makefile (others): Add rpcgen.
50502 ($(objpfx)rpcgen): Remove special build rule and dependency on
50504 * sunrpc/rpcgen.c: New file.
50506 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
50509 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
50510 * stdio-common/bug-vfprintf-nargs.c: Likewise.
50511 * sysdeps/i386/crti.S: Likewise.
50512 * sysdeps/i386/crtn.S: Likewise.
50513 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
50514 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
50515 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
50516 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
50517 * sysdeps/sh/crti.S: Likewise.
50518 * sysdeps/sh/crtn.S: Likewise.
50519 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
50522 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
50524 * locale/programs/locfile-kw.gperf: Likewise.
50525 * locale/programs/charmap-kw.h: Regenerated.
50526 * locale/programs/locfile-kw.h: Likewise.
50529 * intl/plural.y: Replace FSF snail mail address with URL.
50530 * intl/plural.c: Regenerated.
50532 2012-03-09 Richard Henderson <rth@twiddle.net>
50534 * include/math_private.h: Remove file.
50535 * math/math_private.h: Move file ...
50536 * sysdeps/generic/math_private.h: ... here.
50538 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
50539 * sysdeps/powerpc/fpu/math_private.h: Likewise.
50540 * sysdeps/x86_64/fpu/math_private.h: Likewise.
50542 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
50543 and <math_private.h>.
50544 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50545 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50546 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50547 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50548 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50549 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
50550 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50551 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50552 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50553 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50554 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50555 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50556 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50557 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50558 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50559 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50560 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50561 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50562 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50563 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50564 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50565 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50566 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50567 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50568 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
50569 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50570 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50571 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50572 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50573 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50574 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50575 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50576 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
50577 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50578 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50579 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50580 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50581 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50582 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50583 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50584 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
50585 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50586 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50587 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
50588 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
50589 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50590 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
50591 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
50592 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50593 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50594 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
50595 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
50596 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
50597 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50598 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
50599 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50600 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50601 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50602 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
50603 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
50604 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50605 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
50606 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50607 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50608 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
50609 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50610 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50611 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50612 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
50613 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
50614 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50615 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50616 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50617 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50618 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
50619 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
50620 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
50621 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50622 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
50623 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
50624 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50625 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
50626 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50627 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50628 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50629 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50630 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
50631 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
50632 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50633 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50634 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50635 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50636 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50637 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50638 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50639 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50640 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50641 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50642 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50643 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50644 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50645 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50646 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50647 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50648 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50649 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50650 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50651 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50652 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50653 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50654 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50655 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50656 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50657 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50658 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
50659 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50660 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50661 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50662 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50663 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50664 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50665 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50666 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50667 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
50668 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50669 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50670 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50671 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
50672 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50673 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
50674 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
50675 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50676 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50677 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
50678 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
50679 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50680 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50681 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50682 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
50683 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50684 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50685 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50686 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50687 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
50688 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
50689 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50690 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50691 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50692 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
50693 * sysdeps/ieee754/k_standard.c: Likewise.
50694 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50695 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50696 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50697 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50698 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50699 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50700 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50701 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50702 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50703 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50704 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50705 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50706 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50707 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50708 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50709 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50710 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50711 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50712 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50713 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
50714 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
50715 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
50716 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50717 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50718 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50719 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
50720 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50721 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50722 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50723 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50724 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50725 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50726 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50727 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50728 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50729 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50730 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50731 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
50732 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
50733 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50734 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50735 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50736 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50737 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50738 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50739 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50740 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50741 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50742 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50743 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50744 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50745 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50746 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50747 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
50748 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50749 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50750 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
50751 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
50752 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50753 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50754 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50755 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50756 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50757 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50758 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50759 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50760 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50761 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50762 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50763 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50764 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50765 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50766 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50767 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50768 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50769 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50770 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
50771 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50772 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50773 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50774 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50775 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50776 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50777 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50778 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
50779 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50780 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50781 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
50782 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
50783 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50784 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
50785 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50786 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
50787 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50788 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50789 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50790 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
50791 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
50792 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
50793 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
50794 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50795 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50796 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50797 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50798 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
50799 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50800 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50801 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
50802 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
50803 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50804 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50805 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50806 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50807 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50808 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50809 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50810 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50811 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50812 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50813 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50814 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50815 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50816 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50817 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50818 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50819 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
50820 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50821 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50822 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50823 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50824 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50825 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50826 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50827 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50828 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50829 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50830 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
50831 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50832 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50833 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
50834 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
50835 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50836 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
50837 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
50838 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50839 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50840 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50841 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50842 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50843 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
50844 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50845 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50846 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50847 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50848 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
50849 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
50850 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50851 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50852 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50853 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50854 * sysdeps/ieee754/s_lib_version.c: Likewise.
50855 * sysdeps/ieee754/s_matherr.c: Likewise.
50856 * sysdeps/ieee754/s_signgam.c: Likewise.
50857 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50858 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50859 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
50860 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
50861 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
50862 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50863 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
50864 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
50865 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
50866 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
50867 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50868 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
50869 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50870 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50871 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
50872 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
50873 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50874 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
50875 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50876 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50877 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50879 2012-03-09 Joseph Myers <joseph@codesourcery.com>
50881 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
50882 * sunrpc/rpc_main.c: Likewise.
50883 * sunrpc/rpc_svcout.c: Likewise.
50885 2012-03-09 David S. Miller <davem@davemloft.net>
50887 * include/math_private.h: New file.
50889 2012-03-09 Joseph Myers <joseph@codesourcery.com>
50891 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
50892 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
50893 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
50894 from <bits/socket_type.h>.
50895 (enum __socket_type): Don't define here.
50896 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
50897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50898 bits/socket_type.h.
50901 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
50902 checking __USE_GNU.
50904 * Makerules ($(inst_includedir)/%.h): New rule.
50905 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
50906 (install-others): Remove variable setting.
50907 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
50909 2012-03-08 Richard Henderson <rth@twiddle.net>
50911 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
50912 from macro to inline function; merge with the
50913 !__LIBC_INTERNAL_MATH_INLINES version.
50914 (__ieee754_sqrtf): Likewise.
50916 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
50917 to inline function.
50918 (__rintf, __floor, __floorf): Likewise.
50920 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
50921 macro to inline function.
50922 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
50924 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
50925 not <math/math_private.h>.
50927 2012-03-08 David S. Miller <davem@davemloft.net>
50929 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
50931 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
50933 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
50935 * resolv/gai_misc.c (handle_requests): Fix struct timespec
50937 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
50938 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
50940 2012-03-08 Ulrich Drepper <drepper@gmail.com>
50942 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
50943 be defined individually, they must be defined as a block. Define
50944 S for printing a string instead of hidint the different by using a
50945 macro for adding the 'l'.
50946 * stdio-common/tst-fphex-wide.c: Adjust.
50948 2012-03-07 Marek Polacek <polacek@redhat.com>
50950 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
50952 2012-03-08 Marek Polacek <polacek@redhat.com>
50955 * stdio-common/Makefile (tests): Add tst-fphex-wide.
50956 * stdio-common/tst-fphex.c: Define a few macros to make the
50957 test reusable. Use them.
50958 * stdio-common/tst-fphex-wide.c: New file.
50960 2012-03-08 Joseph Myers <joseph@codesourcery.com>
50963 * manual/macros.texi (gnusystems): New macro.
50964 (nongnusystems): Likewise.
50965 (gnulinuxhurdsystems): Likewise.
50966 (gnuhurdsystems): Likewise..
50967 (gnulinuxsystems): Likewise.
50968 * manual/charset.texi: Use new macros or @theglibc{} to refer to
50969 variants of the GNU system, not "GNU system".
50970 * manual/conf.texi: Likewise.
50971 * manual/errno.texi: Likewise. Update example of errno macro
50973 * manual/filesys.texi: Likewise.
50974 (getumask): Document as specific to GNU/Hurd.
50975 * manual/install.texi: Likewise. Reword some references to
50977 * manual/intro.texi: Likewise.
50978 * manual/io.texi: Likewise.
50979 (File Name Portability): Detail which constraints are inapplicable
50980 to all GNU systems and which are only inapplicable to GNU/Hurd.
50981 * manual/job.texi: Likewise.
50982 * manual/llio.texi: Likewise.
50983 (O_NOCTTY): Document as present on GNU/Linux.
50984 * manual/maint.texi: Likewise.
50985 * manual/memory.texi: Likewise.
50986 * manual/pattern.texi: Likewise.
50987 * manual/pipe.texi: Likewise.
50988 * manual/process.texi: Likewise.
50989 * manual/resource.texi: Likewise.
50990 (RUSAGE_CHILDREN): Remove statement about specifying a particular
50992 * manual/setjmp.texi: Likewise.
50993 * manual/signal.texi: Likewise.
50994 * manual/startup.texi: Likewise.
50995 * manual/stdio.texi: Likewise.
50996 * manual/terminal.texi: Likewise.
50997 (ONLCR): Document as POSIX.
50998 (OXTABS): Document availability on GNU/Linux as XTABS.
50999 (ONOEOT): Document availability separately from other bits.
51000 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
51001 * manual/time.texi: Likewise.
51002 * manual/users.texi: Likewise.
51003 * INSTALL: Regenerated.
51004 * sysdeps/gnu/errlist.c: Regenerated.
51006 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
51007 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
51008 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
51010 * configure: Regenerated.
51012 2012-03-07 Joseph Myers <joseph@codesourcery.com>
51014 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
51015 default includes instead of AC_HEADER_CHECK.
51016 * sysdeps/i386/configure: Regenerated.
51019 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
51020 * math/s_cacoshf.c (__cacoshf): Likewise.
51021 * math/s_cacoshl.c (__cacoshl): Likewise.
51022 * math/s_casinh.c (__casinh): Set signs of result from argument.
51023 * math/s_casinhf.c (__casinhf): Likewise.
51024 * math/s_casinhl.c (__casinhl): Likewise.
51025 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
51026 (casinh_test): Add more tests.
51027 * sysdeps/i386/fpu/libm-test-ulps: Update.
51028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51030 2012-03-07 Ulrich Drepper <drepper@gmail.com>
51032 * po/zh_TW.po: Update from translation team.
51034 * login/Makefile (distribute): Remove variable.
51035 * catgets/Makefile: Likewise.
51036 * mach/Makefile: Likewise.
51037 * malloc/Makefile: Likewise.
51038 * misc/Makefile: Likewise.
51039 * iconv/Makefile: Likewise.
51040 * nscd/Makefile: Likewise.
51041 * hurd/Makefile: Likewise.
51042 * manual/Makefile: Likewise.
51043 * locale/Makefile: Likewise.
51044 * intl/Makefile: Likewise.
51045 * conform/Makefile: Likewise.
51046 * nss/Makefile: Likewise.
51047 * time/Makefile: Likewise.
51048 * soft-fp/Makefile: Likewise.
51049 * dirent/Makefile: Likewise.
51050 * gmon/Makefile: Likewise.
51051 * po/Makefile: Likewise.
51052 * rt/Makefile: Likewise.
51053 * socket/Makefile: Likewise.
51054 * math/Makefile: Likewise.
51055 * signal/Makefile: Likewise.
51056 * debug/Makefile: Likewise.
51057 * elf/Makefile: Likewise.
51058 * timezone/Makefile: Likewise.
51059 * stdlib/Makefile: Likewise.
51060 * iconvdata/Makefile: Likewise.
51061 * sunrpc/Makefile: Likewise.
51062 * io/Makefile: Likewise.
51063 * argp/Makefile: Likewise.
51064 * inet/Makefile: Likewise.
51065 * hesiod/Makefile: Likewise.
51066 * grp/Makefile: Likewise.
51067 * csu/Makefile: Likewise.
51068 * wctype/Makefile: Likewise.
51069 * crypt/Makefile: Likewise.
51070 * libio/Makefile: Likewise.
51071 * string/Makefile: Likewise.
51072 * nis/Makefile: Likewise.
51073 * resolv/Makefile: Likewise.
51074 * stdio-common/Makefile: Likewise.
51075 * wcsmbs/Makefile: Likewise.
51076 * dlfcn/Makefile: Likewise.
51077 * posix/Makefile: Likewise.
51080 * timezone/Makefile: Don't install timezone files, just the programs
51083 2012-03-06 Ulrich Drepper <drepper@gmail.com>
51085 * nss/databases.def: Add missing gshadow entry.
51087 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
51089 2012-03-06 Marek Polacek <polacek@redhat.com>
51092 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
51093 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51094 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
51095 * stdio-common/tst-long-dbl-fphex.c: New file.
51097 2012-03-06 David S. Miller <davem@davemloft.net>
51099 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51100 (set_obp_int): New function.
51101 (get_obp_int): New function.
51102 (__get_clockfreq_via_dev_openprom): Likewise.
51103 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
51104 Avoid unused variable warnings on 'val' and use builtin_expect.
51105 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
51107 (INLINE_CLONE_SYSCALL): Likewise.
51109 2012-03-05 David S. Miller <davem@davemloft.net>
51111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51113 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
51115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51117 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
51118 only for |x| >= 40.
51119 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51121 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
51123 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
51124 Replace gettimeofday with __vdso_gettimeofday.
51126 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51127 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
51128 __vdso_clock_gettime and __vdso_getcpu.
51130 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
51131 time with __vdso_time.
51133 2012-03-05 Joseph Myers <joseph@codesourcery.com>
51135 * manual/lang.texi (size_t): Note types to which size_t may be
51136 equivalent with the GNU C Library, but do not describe when
51137 differences between them are significant.
51139 2012-03-05 Andreas Jaeger <aj@suse.de>
51141 * sysdeps/i386/fpu/libm-test-ulps: Update.
51143 2012-03-05 Joseph Myers <joseph@codesourcery.com>
51146 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
51147 (__ieee754_pow): Save and restore rounding mode and use
51148 round-to-nearest for main computations.
51149 * math/libm-test.inc (pow_test_tonearest): New function.
51150 (pow_test_towardzero): Likewise.
51151 (pow_test_downward): Likewise.
51152 (pow_test_upward): Likewise.
51153 (main): Call the new functions.
51154 * sysdeps/i386/fpu/libm-test-ulps: Update.
51155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51158 * math/libm-test.inc (cosh_test_tonearest): New function.
51159 (cosh_test_towardzero): Likewise.
51160 (cosh_test_downward): Likewise.
51161 (cosh_test_upward): Likewise.
51162 (sinh_test_tonearest): Likewise.
51163 (sinh_test_towardzero): Likewise.
51164 (sinh_test_downward): Likewise.
51165 (sinh_test_upward): Likewise.
51166 (main): Call the new functions.
51167 * sysdeps/i386/fpu/libm-test-ulps: Update.
51168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51170 2012-03-05 Tom de Vries <tom@codesourcery.com>
51172 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
51173 default stack guard is set in last bytes.
51174 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
51176 2012-03-05 Kees Cook <keescook@chromium.org>
51178 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
51181 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
51182 possibly allocate from heap instead of stack.
51183 * stdio-common/bug-vfprintf-nargs.c: New file.
51184 * stdio-common/Makefile (tests): Add nargs overflow test.
51186 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
51188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51190 2012-03-03 Marek Polacek <polacek@redhat.com>
51192 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
51193 * math/math_private.h: Likewise.
51194 * stdlib/tst-strtod.c: Likewise.
51195 * sysdeps/i386/i486/bits/atomic.h: Likewise.
51196 * sysdeps/x86_64/bits/atomic.h: Likewise.
51198 2012-03-02 David S. Miller <davem@davemloft.net>
51200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
51201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
51202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
51203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
51204 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
51205 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
51206 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
51207 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
51209 2012-03-02 Roland McGrath <roland@hack.frob.com>
51212 * manual/examples/README: New file, says the example source files
51213 can be used under GPL>=2.
51214 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
51215 line containing just "*/".
51216 * manual/examples/add.c: Add copyright header (GPL>=2).
51217 * manual/examples/argp-ex1.c: Likewise.
51218 * manual/examples/argp-ex2.c: Likewise.
51219 * manual/examples/argp-ex3.c: Likewise.
51220 * manual/examples/argp-ex4.c: Likewise.
51221 * manual/examples/atexit.c: Likewise.
51222 * manual/examples/db.c: Likewise.
51223 * manual/examples/dir.c: Likewise.
51224 * manual/examples/dir2.c: Likewise.
51225 * manual/examples/execinfo.c: Likewise.
51226 * manual/examples/filecli.c: Likewise.
51227 * manual/examples/filesrv.c: Likewise.
51228 * manual/examples/fmtmsgexpl.c: Likewise.
51229 * manual/examples/genpass.c: Likewise.
51230 * manual/examples/inetcli.c: Likewise.
51231 * manual/examples/inetsrv.c: Likewise.
51232 * manual/examples/isockad.c: Likewise.
51233 * manual/examples/longopt.c: Likewise.
51234 * manual/examples/memopen.c: Likewise.
51235 * manual/examples/memstrm.c: Likewise.
51236 * manual/examples/mkfsock.c: Likewise.
51237 * manual/examples/mkisock.c: Likewise.
51238 * manual/examples/mygetpass.c: Likewise.
51239 * manual/examples/pipe.c: Likewise.
51240 * manual/examples/popen.c: Likewise.
51241 * manual/examples/rprintf.c: Likewise.
51242 * manual/examples/search.c: Likewise.
51243 * manual/examples/select.c: Likewise.
51244 * manual/examples/setjmp.c: Likewise.
51245 * manual/examples/sigh1.c: Likewise.
51246 * manual/examples/sigusr.c: Likewise.
51247 * manual/examples/stpcpy.c: Likewise.
51248 * manual/examples/strdupa.c: Likewise.
51249 * manual/examples/strftim.c: Likewise.
51250 * manual/examples/strncat.c: Likewise.
51251 * manual/examples/subopt.c: Likewise.
51252 * manual/examples/swapcontext.c: Likewise.
51253 * manual/examples/termios.c: Likewise.
51254 * manual/examples/testopt.c: Likewise.
51255 * manual/examples/testpass.c: Likewise.
51256 * manual/examples/timeval_subtract.c: Likewise.
51259 * manual/time.texi (Elapsed Time): Move timeval_subtract example
51261 * manual/timeval_subtract.c.texi: ... here, new file.
51263 2012-03-02 David S. Miller <davem@davemloft.net>
51265 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
51267 2012-03-02 Joseph Myers <joseph@codesourcery.com>
51270 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
51271 (__sin): Save and restore rounding mode and use round-to-nearest
51272 for all computations.
51273 (__cos): Save and restore rounding mode and use round-to-nearest
51274 for all computations.
51275 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
51277 (tan): Save and restore rounding mode and use round-to-nearest for
51279 * math/libm-test.inc (cos_test_tonearest): New function.
51280 (cos_test_towardzero): Likewise.
51281 (cos_test_downward): Likewise.
51282 (cos_test_upward): Likewise.
51283 (sin_test_tonearest): Likewise.
51284 (sin_test_towardzero): Likewise.
51285 (sin_test_downward): Likewise.
51286 (sin_test_upward): Likewise.
51287 (tan_test_tonearest): Likewise.
51288 (tan_test_towardzero): Likewise.
51289 (tan_test_downward): Likewise.
51290 (tan_test_upward): Likewise.
51291 (main): Call the new functions.
51292 * sysdeps/i386/fpu/libm-test-ulps: Update.
51293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51296 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
51297 small n, then large n, before computing and testing k+n.
51298 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
51299 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
51301 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
51303 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
51304 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
51305 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
51306 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
51307 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
51308 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
51309 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
51310 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
51311 * math/libm-test.inc (scalbn_test): Add more tests.
51312 (scalbln_test): Likewise.
51314 * manual/filesys.texi (mode_t): Describe constraints on size and
51315 signedness, not exact equivalence to a particular type.
51317 (ino64_t): Likewise.
51319 (nlink_t): Likewise.
51320 (blkcnt_t): Likewise.
51321 (blkcnt64_t): Likewise.
51322 * manual/llio.texi (off_t): Likewise.
51325 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
51326 (__ieee754_exp): Save and restore rounding mode and use
51327 round-to-nearest for all computations.
51328 * math/libm-test.inc (exp_test_tonearest): New function.
51329 (exp_test_towardzero): Likewise.
51330 (exp_test_downward): Likewise.
51331 (exp_test_upward): Likewise.
51332 (main): Call the new functions.
51333 * sysdeps/i386/fpu/libm-test-ulps: Update.
51334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51336 2012-03-01 Chris Demetriou <cgd@google.com>
51338 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
51339 have predictable order.
51341 2012-03-01 David S. Miller <davem@davemloft.net>
51343 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
51345 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
51346 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
51347 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
51348 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
51350 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
51351 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
51352 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
51353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
51354 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
51355 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
51356 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
51357 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
51358 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
51360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51362 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
51363 * sysdeps/sparc/fpu/libm-test-ulps: to here.
51364 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
51366 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
51367 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51368 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51369 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
51370 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
51371 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
51372 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
51373 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51374 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51375 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
51376 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
51377 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51378 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51379 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51380 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51381 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51382 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
51383 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
51384 * sysdeps/sparc/elf/configure: Regenerated.
51386 2012-03-01 Joseph Myers <joseph@codesourcery.com>
51388 * configure.in (AS, LD): Require binutils 2.20 or later.
51389 * configure: Regenerated.
51390 * manual/install.texi (Tools for Compilation): Give binutils 2.20
51391 as required minimum version.
51392 * INSTALL: Regenerated.
51396 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
51397 before squaring exponent.
51398 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
51399 bottom long double and 27 bits of top long double before squaring
51401 * math/libm-test.inc (erfc_test): Add more tests.
51402 * sysdeps/i386/fpu/libm-test-ulps: Update.
51403 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51406 2012-03-01 Kai Tietz <ktietz@redhat.com>
51408 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
51409 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
51410 containing bit-fields.
51411 * soft-fp/extended.h (_FP_UNION_E): Likewise.
51412 * soft-fp/single.h (_FP_UNION_S): Likewise.
51413 * soft-fp/double.h (_FP_UNION_D): Likewise.
51415 2012-02-29 Joseph Myers <joseph@codesourcery.com>
51418 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
51419 not include ../strcmp.S.
51420 [USE_AS_STRNCASECMP_L]: Likewise.
51421 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
51422 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
51423 * sysdeps/i386/i686/multiarch/strncase_l-c.c
51424 (__strncasecmp_l_ia32): Define as alias to
51425 __strncasecmp_l_nonascii.
51428 * math/libm-test.inc (expm1_test): Add test for bug 5794.
51429 * sysdeps/i386/fpu/libm-test-ulps: Update.
51430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51432 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
51433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51435 2012-02-29 Jeff Law <law@redhat.com>
51437 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
51438 out of bounds read.
51440 2012-02-29 Marek Polacek <polacek@redhat.com>
51443 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
51444 * elf/Makefile: Add rules to run tst-unused-dep.out.
51446 2012-02-28 David S. Miller <davem@davemloft.net>
51448 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
51449 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
51450 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
51451 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
51452 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
51453 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
51455 2012-02-29 Joseph Myers <joseph@codesourcery.com>
51457 * math/libm-test.inc (llround_test): Move one test from
51458 lround_test. Use TEST_f_L in moved test.
51459 (lround_test): Move misplaced test to llround_test. Add testcase
51462 2012-02-28 Ulrich Drepper <drepper@gmail.com>
51464 * sysdeps/x86_64/fpu/e_expf.S: New file.
51465 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
51467 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
51470 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
51471 of remain_len that may cause incomplete multi-byte character and
51473 * posix/bug-regex33.c: New file.
51474 * posix/Makefile (tests): Add bug-regex33.
51476 2012-02-28 Joseph Myers <joseph@codesourcery.com>
51478 * manual/macros.texi: New file.
51479 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
51480 * manual/libc.texinfo: Include macros.texi.
51481 * manual/creatute.texi: Likewise.
51482 * manual/install.texi: Likewise.
51483 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
51484 @glibcadj{} in references to the GNU C Library.
51485 * manual/charset.texi: Likewise.
51486 * manual/conf.texi: Likewise.
51487 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
51488 when not using those macros.
51489 * manual/creature.texi: Likewise.
51490 * manual/crypt.texi: Likewise.
51491 * manual/errno.texi: Likewise.
51492 * manual/filesys.texi: Likewise.
51493 * manual/header.texi: Likewise.
51494 * manual/install.texi: Likewise.
51495 * manual/intro.texi: Likewise.
51496 * manual/io.texi: Likewise.
51497 * manual/job.texi: Likewise.
51498 * manual/lang.texi: Likewise.
51499 * manual/libc.texiinfo: Likewise.
51500 * manual/llio.texi: Likewise.
51501 * manual/locale.texi: Likewise.
51502 * manual/maint.texi: Likewise.
51503 * manual/math.texi: Likewise.
51504 * manual/memory.texi: Likewise.
51505 * manual/message.texi: Likewise.
51506 * manual/nss.texi: Likewise.
51507 * manual/pattern.texi: Likewise.
51508 * manual/process.texi: Likewise.
51509 * manual/resource.texi: Likewise.
51510 * manual/search.texi: Likewise.
51511 * manual/setjmp.texi: Likewise.
51512 * manual/signal.texi: Likewise.
51513 * manual/socket.texi: Likewise.
51514 * manual/startup.texi: Likewise.
51515 * manual/stdio.texi: Likewise.
51516 * manual/string.texi: Likewise.
51517 * manual/sysinfo.texi: Likewise.
51518 * manual/syslog.texi: Likewise.
51519 * manual/terminal.texi: Likewise.
51520 * manual/time.texi: Likewise.
51521 * manual/users.texi: Likewise.
51522 * INSTALL: Regenerated.
51523 * NOTES: Regenerated.
51524 * sysdeps/gnu/errlist.c: Regenerated.
51526 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
51528 * include/dirent.h: Include <dirstream.h> before
51531 2012-02-28 David S. Miller <davem@davemloft.net>
51533 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
51534 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
51535 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
51536 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
51538 2012-02-27 David S. Miller <davem@davemloft.net>
51540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
51541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
51542 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
51543 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
51545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
51546 frame pointer instead of stack pointer relative arg slot.
51547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51548 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51549 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51551 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
51554 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
51556 2012-02-27 David S. Miller <davem@davemloft.net>
51558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
51559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
51562 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51563 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51564 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
51565 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
51567 2012-02-27 Joseph Myers <joseph@codesourcery.com>
51569 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
51570 later. Allow versions 5-9.
51571 * configure: Regenerated.
51572 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
51573 required minimum version and 4.6 as recommended version. Do not
51574 mention bugs in GCC 2.7 and 2.8.
51575 * INSTALL: Regenerated.
51577 2012-02-27 David S. Miller <davem@davemloft.net>
51579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
51580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
51581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
51582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
51583 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
51584 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
51585 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
51586 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
51588 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
51589 manipulate bits before adding and subtracting TWO112[sx].
51590 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
51592 2012-02-27 Roland McGrath <roland@hack.frob.com>
51595 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
51596 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
51597 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
51598 being in POSIX, because they are in 1003.1-2008.
51600 * rt/tst-aio.c: Include <fcntl.h>.
51601 * rt/tst-aio7.c: Likewise.
51602 * rt/tst-aio64.c: Likewise.
51604 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
51606 2012-02-27 Joseph Myers <joseph@codesourcery.com>
51608 * manual/install.texi (--with-headers): Describe headers as
51609 interface headers, not private headers.
51610 (Specific advice for GNU/Linux systems): Describe use of headers
51611 from "make headers_install", not private headers from older
51613 * INSTALL: Regenerated.
51614 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
51616 * sysdeps/unix/sysv/linux/configure: Regenerated.
51618 * manual/llio.texi (fclean): Remove documentation.
51620 * manual/Makefile (libc-texi-generated): New variable. Include
51622 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
51623 $(libc-texi-generated), not duplicated list of files.
51624 (version.texi, stamp-version): New rules.
51625 (realclean): Remove $(libc-texi-generated), not individual files
51626 from that list. Do not remove dir-add.texinfo.
51627 * manual/libc.texinfo: Comment out uses of edition numbers and
51628 references to printed manual. Remove last-updated dates.
51629 (EDITION): Comment out.
51631 (VERSION, UPDATED): Remove.
51632 (version.texi): Include.
51634 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
51636 * sysdeps/posix/spawni.c: Include <signal.h>.
51637 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
51638 * sysdeps/pthread/aio_fsync.c: Likewise.
51640 2012-02-26 Ulrich Drepper <drepper@gmail.com>
51642 * conform/Makefile (tests): Run only when not cross-compiling and
51643 when fast-check is not defined.
51645 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
51646 * conform/data/limits.h-data: Fixes for POSIX2008.
51647 * conform/run-conformtest.sh: Run all tests.
51648 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
51650 * include/bits/dlfcn.h: Likewise.
51651 * include/langinfo.h: Likewise.
51652 * include/monetary.h: Likewise.
51653 * include/sys/poll.h: Likewise.
51655 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
51657 * posix/spawn.h: Define __need_sigset_t.
51658 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
51659 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
51660 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
51661 to get sigevent_t only.
51662 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
51663 only for __USE_GNU.
51664 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51665 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51666 process_vm_writev only for __USE_GNU.
51667 * termios/termios.h: Declare tcgetsid also for POSIX2008.
51669 * conform/Makefile: For now ignore errors from run-conformtest.
51670 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
51671 POSIX to avoid namespace pollution. Don't prepend headers.
51672 * conform/data/aio.h-data: Fixes for POSIX testing.
51673 * conform/data/fcntl.h-data: Likewise.
51674 * conform/data/glob.h-data: Likewise.
51675 * conform/data/grp.h-data: Likewise.
51676 * conform/data/pthread.h-data: Likewise.
51677 * conform/data/pwd.h-data: Likewise.
51678 * conform/data/signal.h-data: Likewise.
51679 * conform/data/spawn.h-data: Likewise.
51680 * conform/data/stdio.h-data: Likewise.
51681 * conform/data/stdlib.h-data: Likewise.
51682 * conform/data/stropts.h-data: Likewise.
51683 * conform/data/sys/mman.h-data: Likewise.
51684 * conform/data/sys/stat.h-data: Likewise.
51685 * conform/data/sys/types.h-data: Likewise.
51686 * conform/data/sys/wait.h-data: Likewise.
51687 * conform/data/time.h-data: Likewise.
51688 * conform/data/unistd.h-data: Likewise.
51689 * conform/data/utime.h-data: Likewise.
51691 * io/sys/stat.h: fchmod was always in POSIX.
51692 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
51693 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
51694 * rt/aio.h: Define __need_timespec before including <time.h>.
51695 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
51696 struct. Add forward declaration of pthread_attr_t and use it in
51698 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51699 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51700 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
51701 always remove CLK_TCK definition.
51703 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
51705 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
51707 2012-02-25 Ulrich Drepper <drepper@gmail.com>
51709 * conform/run-conformtest.sh: New file.
51710 * conform/Makefile: Run run-conformtest for tests.
51711 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
51714 * conform/data/uchar.h-data: New file.
51715 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
51716 * conform/data/arpa/inet.h-data: Likewise.
51717 * conform/data/assert.h-data: Likewise.
51718 * conform/data/complex.h-data: Likewise.
51719 * conform/data/cpio.h-data: Likewise.
51720 * conform/data/ctype.h-data: Likewise.
51721 * conform/data/dirent.h-data: Likewise.
51722 * conform/data/dlfcn.h-data: Likewise.
51723 * conform/data/errno.h-data: Likewise.
51724 * conform/data/fcntl.h-data: Likewise.
51725 * conform/data/float.h-data: Likewise.
51726 * conform/data/fmtmsg.h-data: Likewise.
51727 * conform/data/fnmatch.h-data: Likewise.
51728 * conform/data/ftw.h-data: Likewise.
51729 * conform/data/glob.h-data: Likewise.
51730 * conform/data/grp.h-data: Likewise.
51731 * conform/data/iconv.h-data: Likewise.
51732 * conform/data/inttypes.h-data: Likewise.
51733 * conform/data/langinfo.h-data: Likewise.
51734 * conform/data/libgen.h-data: Likewise.
51735 * conform/data/limits.h-data: Likewise.
51736 * conform/data/locale.h-data: Likewise.
51737 * conform/data/math.h-data: Likewise.
51738 * conform/data/monetary.h-data: Likewise.
51739 * conform/data/mqueue.h-data: Likewise.
51740 * conform/data/ndbm.h-data: Likewise.
51741 * conform/data/net/if.h-data: Likewise.
51742 * conform/data/netdb.h-data: Likewise.
51743 * conform/data/netinet/in.h-data: Likewise.
51744 * conform/data/nl_types.h-data: Likewise.
51745 * conform/data/poll.h-data: Likewise.
51746 * conform/data/pthread.h-data: Likewise.
51747 * conform/data/pwd.h-data: Likewise.
51748 * conform/data/regex.h-data: Likewise.
51749 * conform/data/sched.h-data: Likewise.
51750 * conform/data/search.h-data: Likewise.
51751 * conform/data/semaphore.h-data: Likewise.
51752 * conform/data/setjmp.h-data: Likewise.
51753 * conform/data/signal.h-data: Likewise.
51754 * conform/data/spawn.h-data: Likewise.
51755 * conform/data/stdarg.h-data: Likewise.
51756 * conform/data/stdio.h-data: Likewise.
51757 * conform/data/stdlib.h-data: Likewise.
51758 * conform/data/string.h-data: Likewise.
51759 * conform/data/strings.h-data: Likewise.
51760 * conform/data/stropts.h-data: Likewise.
51761 * conform/data/sys/ipc.h-data: Likewise.
51762 * conform/data/sys/mman.h-data: Likewise.
51763 * conform/data/sys/msg.h-data: Likewise.
51764 * conform/data/sys/resource.h-data: Likewise.
51765 * conform/data/sys/select.h-data: Likewise.
51766 * conform/data/sys/sem.h-data: Likewise.
51767 * conform/data/sys/shm.h-data: Likewise.
51768 * conform/data/sys/socket.h-data: Likewise.
51769 * conform/data/sys/stat.h-data: Likewise.
51770 * conform/data/sys/statvfs.h-data: Likewise.
51771 * conform/data/sys/time.h-data: Likewise.
51772 * conform/data/sys/timeb.h-data: Likewise.
51773 * conform/data/sys/times.h-data: Likewise.
51774 * conform/data/sys/types.h-data: Likewise.
51775 * conform/data/sys/uio.h-data: Likewise.
51776 * conform/data/sys/un.h-data: Likewise.
51777 * conform/data/sys/utsname.h-data: Likewise.
51778 * conform/data/sys/wait.h-data: Likewise.
51779 * conform/data/syslog.h-data: Likewise.
51780 * conform/data/tar.h-data: Likewise.
51781 * conform/data/termios.h-data: Likewise.
51782 * conform/data/utime.h-data: Likewise.
51783 * conform/data/utmpx.h-data: Likewise.
51784 * conform/data/varargs.h-data: Likewise.
51785 * conform/data/wchar.h-data: Likewise.
51786 * conform/data/wctype.h-data: Likewise.
51787 * conform/data/wordexp.h-data: Likewise.
51789 * include/stropts.h: New file.
51790 * include/uchar.h: New file.
51791 * include/aio.h: Changes to allow conformtest.pl to use the headers.
51792 * include/assert.h: Likewise.
51793 * include/ctype.h: Likewise.
51794 * include/dirent.h: Likewise.
51795 * include/dlfcn.h: Likewise.
51796 * include/fcntl.h: Likewise.
51797 * include/fnmatch.h: Likewise.
51798 * include/glob.h: Likewise.
51799 * include/grp.h: Likewise.
51800 * include/libio.h: Likewise.
51801 * include/locale.h: Likewise.
51802 * include/math.h: Likewise.
51803 * include/net/if.h: Likewise.
51804 * include/netdb.h: Likewise.
51805 * include/netinet/in.h: Likewise.
51806 * include/pthread.h: Likewise.
51807 * include/pwd.h: Likewise.
51808 * include/regex.h: Likewise.
51809 * include/sched.h: Likewise.
51810 * include/search.h: Likewise.
51811 * include/setjmp.h: Likewise.
51812 * include/signal.h: Likewise.
51813 * include/stdio.h: Likewise.
51814 * include/stdlib.h: Likewise.
51815 * include/string.h: Likewise.
51816 * include/sys/cdefs.h: Likewise.
51817 * include/sys/mman.h: Likewise.
51818 * include/sys/msg.h: Likewise.
51819 * include/sys/resource.h: Likewise.
51820 * include/sys/select.h: Likewise.
51821 * include/sys/socket.h: Likewise.
51822 * include/sys/stat.h: Likewise.
51823 * include/sys/statvfs.h: Likewise.
51824 * include/sys/time.h: Likewise.
51825 * include/sys/times.h: Likewise.
51826 * include/sys/uio.h: Likewise.
51827 * include/sys/utsname.h: Likewise.
51828 * include/sys/wait.h: Likewise.
51829 * include/termios.h: Likewise.
51830 * include/time.h: Likewise.
51831 * include/ulimit.h: Likewise.
51832 * include/unistd.h: Likewise.
51833 * include/utime.h: Likewise.
51834 * include/wchar.h: Likewise.
51835 * include/wctype.h: Likewise.
51836 * include/wordexp.h: Likewise.
51838 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
51840 * time/time.h: TIME_UTC must be a macro.
51841 Make timespec_get available for ISO C11 only as well.
51843 2012-02-24 Ulrich Drepper <drepper@gmail.com>
51845 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
51846 Reported by Peng Haitao <penght@cn.fujitsu.com>.
51848 2012-02-24 Joseph Myers <joseph@codesourcery.com>
51850 * configure.in: Use -o not -a in test for unsupported multi-arch.
51852 2012-02-24 Joseph Myers <joseph@codesourcery.com>
51854 * manual/texinfo.tex: Update to version 2012-01-19.16.
51856 2012-02-24 Joseph Myers <joseph@codesourcery.com>
51858 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
51860 2012-02-24 Roland McGrath <roland@hack.frob.com>
51863 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
51864 * manual/fdl-1.3.texi: New file.
51865 * manual/fdl-1.1.texi: File removed.
51868 * manual/libc.texinfo (FDL_VERSION): New @set.
51869 Use it for mention of FDL in cover text.
51870 (Documentation License): Use it in @include file name.
51872 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51873 Roland McGrath <roland@hack.frob.com>
51876 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
51877 (not LONG_LONG_MAX and LONG_LONG_MIN.
51878 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
51879 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
51881 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
51883 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51887 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
51888 manipulate bits before adding and subtracting TWO23[sx].
51889 * math/libm-test.inc (nearbyint_test): Add more tests.
51891 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51894 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
51895 bits before adding and subtracting TWO23[sx].
51896 * math/libm-test.inc (rint_test): Add more tests.
51897 (rint_test_tonearest): Likewise.
51898 (rint_test_towardzero): Likewise.
51899 (rint_test_downward): Likewise.
51900 (rint_test_upward: Likewise.
51902 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51905 * include/stdc-predef.h: New file. Extracted from features.h.
51906 * include/features.h: Include stdc-predef.h.
51907 * Makefile (headers): Add stdc-predef.h.
51908 * CONFORMANCE (Compiler limitations): Update.
51910 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51912 * manual/libc.texinfo (VERSION, UPDATED): Revert.
51914 2012-02-21 David S. Miller <davem@davemloft.net>
51916 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
51917 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
51919 2012-02-20 David S. Miller <davem@davemloft.net>
51921 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
51922 using a normal save/restore sequence, rather than allocating a
51923 dummy stack frame just to store a frame pointer and restore.
51924 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51926 2012-02-21 Joseph Myers <joseph@codesourcery.com>
51928 * manual/install.texi: Fix stray word in line-wrapped comment.
51930 2012-02-20 David S. Miller <davem@davemloft.net>
51932 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
51933 both binutils and gcc support GOTDATA.
51935 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
51936 "rd %pc" in the PIC register setup sequences.
51938 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
51939 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
51940 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51941 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
51942 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51943 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51944 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51945 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51946 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
51947 (SYSCALL_ERROR_HANDLER): Likewise.
51948 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51949 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51950 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
51951 (SYSCALL_ERROR_HANDLER): Likewise.
51953 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
51954 (HAVE_GCC_GOTDATA): New.
51955 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
51956 relocation support in both binutils and gcc.
51957 * sysdeps/sparc/elf/configure: Regenerate.
51959 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
51960 * sysdeps/sparc/sparc32/elf/configure: Delete.
51961 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
51962 * sysdeps/sparc/sparc64/elf/configure: Delete.
51963 * sysdeps/sparc/elf/configure.in: New file.
51964 * sysdeps/sparc/elf/configure: Generate.
51966 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
51967 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
51968 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51969 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
51970 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
51972 2012-02-21 Joseph Myers <joseph@codesourcery.com>
51974 * manual/install.texi: Do not mention specific glibc version
51976 * manual/libc.texinfo (VERSION, UPDATED): Update.
51977 (@copying): Use @copyright{} and range of years.
51979 2012-02-21 Joseph Myers <joseph@codesourcery.com>
51982 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
51983 [crti.S not in sysdirs] (generated): Do not append.
51984 [crti.S not in sysdirs] (omit-deps): Likewise.
51985 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
51986 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
51987 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
51988 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
51989 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
51991 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
51992 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
51993 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
51994 * csu/defs.awk: Remove file.
51995 * sysdeps/generic/initfini.c: Likewise.
51996 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
51998 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
52001 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52003 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
52004 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
52005 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
52006 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
52007 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52008 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
52010 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
52011 (__EPOLL_PACKED): Define to empty if not defined by
52013 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
52014 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52017 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52019 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
52020 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
52021 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
52022 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
52024 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
52025 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52028 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52030 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
52032 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52033 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52034 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
52035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52037 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
52039 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52040 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52042 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
52044 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
52045 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
52047 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
52049 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
52052 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
52054 * math/w_acos.c: Use non-signaling floating-point comparisons.
52055 * math/w_acosf.c: Likewise.
52056 * math/w_acosh.c: Likewise.
52057 * math/w_acoshf.c: Likewise.
52058 * math/w_acoshl.c: Likewise.
52059 * math/w_acosl.c: Likewise.
52060 * math/w_asin.c: Likewise.
52061 * math/w_asinf.c: Likewise.
52062 * math/w_asinl.c: Likewise.
52063 * math/w_atanh.c: Likewise.
52064 * math/w_atanhf.c: Likewise.
52065 * math/w_atanhl.c: Likewise.
52066 * math/w_exp2.c: Likewise.
52067 * math/w_exp2f.c: Likewise.
52068 * math/w_exp2l.c: Likewise.
52069 * math/w_j0.c: Likewise.
52070 * math/w_j0f.c: Likewise.
52071 * math/w_j0l.c: Likewise.
52072 * math/w_j1.c: Likewise.
52073 * math/w_j1f.c: Likewise.
52074 * math/w_j1l.c: Likewise.
52075 * math/w_jn.c: Likewise.
52076 * math/w_jnf.c: Likewise.
52077 * math/w_log.c: Likewise.
52078 * math/w_log10.c: Likewise.
52079 * math/w_log10f.c: Likewise.
52080 * math/w_log10l.c: Likewise.
52081 * math/w_log2.c: Likewise.
52082 * math/w_log2f.c: Likewise.
52083 * math/w_log2l.c: Likewise.
52084 * math/w_logf.c: Likewise.
52085 * math/w_logl.c: Likewise.
52086 * math/w_sqrt.c: Likewise.
52087 * math/w_sqrtf.c: Likewise.
52088 * math/w_sqrtl.c: Likewise.
52089 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52090 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
52091 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52092 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52093 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52095 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52098 * manual/string.texi (strnlen): Use correct parameter name in
52099 equivalent expression.
52101 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52104 * manual/users.texi (seteuid): Consistently use neweuid for
52107 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52110 * manual/nss.texi (Services in the NSS configuration): Correct
52111 list of services in example configuration file.
52113 2012-02-19 Nick Bowler <nbowler@draconx.ca>
52116 * manual/arith.texi: Remove statements about negative zero
52117 behaving identically to zero.
52119 2012-02-18 Joseph Myers <joseph@codesourcery.com>
52122 * manual/install.texi: Do not document upgrading from libc5.
52124 2012-02-18 Joseph Myers <joseph@codesourcery.com>
52127 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
52129 2012-02-18 David S. Miller <davem@davemloft.net>
52131 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
52132 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
52133 %o7 across the call.
52134 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
52136 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
52137 SETUP_PIC_REG_LEAF.
52138 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52139 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
52140 * sysdeps/sparc/crtn.S: Likewise.
52142 2012-02-17 Ulrich Drepper <drepper@gmail.com>
52144 * aout/Makefile: Remove.
52146 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
52149 * manual/examples/argp-ex1.c (main): Format definition in GNU
52151 * manual/examples/argp-ex2.c (main): Likewise.
52152 * manual/examples/argp-ex3.c (main): Likewise.
52153 * manual/examples/argp-ex4.c (main): Likewise.
52154 * manual/examples/longopt.c (main): Use new-style prototype
52156 * manual/examples/strncat.c (main): Specify return type and use
52157 (void) for arguments.
52158 * manual/examples/subopt.c (main): Use char **argv argument.
52160 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52163 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
52166 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
52169 * manual/string.texi (strchr): Change when strchrnul is
52172 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
52175 * manual/locale.texi (setlocale): Document LOCPATH.
52177 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52180 * manual/process.texi (execle): Move @dots{} before last argument.
52182 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
52185 * manual/charset.texi (Generic Charset Conversion): Fix typo
52186 (LC_TYPE -> LC_CTYPE).
52188 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
52191 * manual/arith.texi (scalbn): Use @var{} on parameter names.
52192 (scalbnf): Likewise.
52193 (scalbnl): Likewise.
52194 (scalbln): Likewise.
52195 (scalblnf): Likewise.
52196 (scalblnl): Likewise.
52197 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
52198 (vwarnx): Likewise.
52201 * manual/filesys.texi (telldir): Use braces around return type.
52202 * manual/llio.texi (mmap): Add space after comma.
52203 (mmap64): Likewise.
52204 * manual/math.texi (jn): Use @var{} on parameter names.
52210 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
52212 * manual/resource.texi (ulimit): Use @dots{} instead of literal
52214 (sched_get_priority_min): Remove semicolon on @deftypefun line.
52215 (sched_get_priority_max): Likewise.
52216 * manual/signal.texi (sigvec): Add space after comma.
52217 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
52219 (if_indextoname): Likewise.
52220 (if_freenameindex): Likewise.
52221 (sendto): Use ',' instead of '.' in prototype.
52222 * manual/startup.texi (syscall): Use @dots{} instead of literal
52224 * manual/stdio.texi (__fpending): Separate initial words of
52225 paragraph from @deftypefun line.
52226 * manual/syslog.texi (syslog): Use @dots{} instead of literal
52228 (vsyslog): Use @var{} on parameter names.
52229 * manual/terminal.texi (stty): Use @var{} on parameter names.
52230 * manual/users.texi (getutmp): Use @var{} on parameter names.
52231 (getutmpx): Likewise.
52233 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52236 * manual/stdio.texi (fopen): Fix typos in description of
52239 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
52242 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
52243 get clock_id definition.
52245 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
52248 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
52249 (madvise): Cast every argument to void on its own.
52251 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52254 * manual/startup.texi (Exit Status): Fix typo.
52256 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52259 * manual/examples/argp-ex1.c: Include <stdlib.h>.
52260 * manual/examples/argp-ex2.c: Likewise.
52261 * manual/examples/argp-ex3.c: Likewise.
52263 2012-02-16 Richard Henderson <rth@redhat.com>
52265 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
52266 * sysdeps/s390/s390-32/initfini.c: Remove.
52267 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
52268 * sysdeps/s390/s390-64/initfini.c: Remove.
52270 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
52272 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
52273 compiler output for sysdeps/generic/initfini.c.
52274 * sysdeps/sh/elf/initfini.c: Remove file.
52276 2012-02-16 David S. Miller <davem@davemloft.net>
52279 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
52281 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
52282 * sysdeps/sparc/crti.S: New file.
52283 * sysdeps/sparc/crtn.S: New file.
52284 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
52285 * sysdeps/sparc/sparc64/Makefile: Likewise.
52287 2012-02-15 Mike Frysinger <vapier@gentoo.org>
52290 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
52292 2012-02-15 Roland McGrath <roland@hack.frob.com>
52295 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
52297 * mach/devstream.c (cookie_io_functions_t): Macro removed.
52298 (write, read, close): Likewise.
52299 Patch by Aurelien Jarno <aurelien@aurel32.net>.
52301 2012-02-15 Joseph Myers <joseph@codesourcery.com>
52303 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
52304 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
52305 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
52306 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
52308 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
52309 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52312 2012-02-14 Marek Polacek <polacek@redhat.com>
52314 * sysdeps/x86_64/crti.S: New file.
52315 * sysdeps/x86_64/crtn.S: New file.
52316 * sysdeps/x86_64/elf/initfini.c: Remove file.
52318 2012-02-13 Joseph Myers <joseph@codesourcery.com>
52320 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
52321 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
52322 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
52323 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
52325 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
52326 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52329 2012-02-13 Joseph Myers <joseph@codesourcery.com>
52331 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
52332 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
52333 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
52334 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
52336 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
52337 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52340 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
52342 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
52343 __feraiseexcept instead of feraiseexcept.
52345 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
52346 nanosleep invocations.
52347 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
52348 strings, and add error checking for a nanosleep invocations.
52350 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
52352 Replace FSF snail mail address with URLs, as per GNU coding standards.
52353 Most of the snail mail addresses were wrong anyway, and omitting
52354 them makes the source code easier to maintain. Almost all of the
52355 changes are to license notices and to locale LC_IDENTIFICATION
52356 addresses, except for this one:
52357 * manual/libc.texinfo: In "Published by", give the FSF's URL,
52358 not its snail mail address.
52360 2012-02-09 Richard Henderson <rth@twiddle.net>
52362 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
52363 of kernel-features.h.
52365 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
52367 2012-02-08 Marek Polacek <polacek@redhat.com>
52369 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
52370 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
52371 * sysdeps/gnu/_G_config.h: Likewise.
52372 * sysdeps/generic/_G_config.h: Likewise.
52374 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
52376 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
52378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52380 * sysdeps/powerpc/powerpc32/crti.S: New file.
52381 * sysdeps/powerpc/powerpc32/crtn.S: New file.
52382 * sysdeps/powerpc/powerpc64/crti.S: New file.
52383 * sysdeps/powerpc/powerpc64/crtn.S: New file.
52385 * Makeconfig (have-initfini): Don't set.
52386 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
52387 * configure.in (nopic_initfini): Don't substitute.
52388 * config.h.in (HAVE_INITFINI): Don't #undef.
52389 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
52390 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
52392 2012-02-08 Joseph Myers <joseph@codesourcery.com>
52394 Support crti.S and crtn.S provided directly by architectures.
52395 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
52396 [crti.S in sysdirs] (omit-deps): Likewise.
52397 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
52398 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
52399 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
52400 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
52401 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
52402 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
52403 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
52404 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
52405 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
52406 compiler output for sysdeps/generic/initfini.c.
52407 * sysdeps/i386/elf/Makefile: Remove file.
52408 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
52410 2012-02-07 Marek Polacek <polacek@redhat.com>
52412 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
52413 * sysdeps/gnu/_G_config.h: Likewise.
52414 * sysdeps/mach/hurd/_G_config.h: Likewise.
52416 2012-02-07 Marek Polacek <polacek@redhat.com>
52418 * math/Makefile (tests): Add tst-CMPLX2.
52419 * math/tst-CMPLX2.c: New file.
52421 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
52423 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52425 * math/libm-test.inc (jn_test): Add missing L suffix.
52427 2012-02-06 Marek Polacek <polacek@redhat.com>
52429 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
52430 * sysdeps/i386/fpu/e_powf.S: Likewise.
52431 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52432 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52433 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52434 * sysdeps/i386/fpu/e_pow.S: Likewise.
52435 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
52436 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52437 * sysdeps/i386/fpu/s_expm1.S: Likewise.
52438 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
52439 * sysdeps/i386/fpu/e_log2.S: Likewise.
52440 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52441 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52442 * sysdeps/i386/fpu/e_powl.S: Likewise.
52443 * sysdeps/i386/fpu/s_log1p.S: Likewise.
52444 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52445 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
52446 * sysdeps/i386/fpu/e_logl.S: Likewise.
52447 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
52448 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
52449 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
52450 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
52451 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52452 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52453 * sysdeps/i386/fpu/e_log.S: Likewise.
52454 * sysdeps/i386/fpu/s_cexp.S: Likewise.
52455 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52456 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
52457 * sysdeps/i386/fpu/e_logf.S: Likewise.
52458 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52459 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52460 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
52461 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
52462 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52463 * sysdeps/i386/fpu/e_log10.S: Likewise.
52464 * sysdeps/i386/fpu/s_frexp.S: Likewise.
52465 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52466 * sysdeps/i386/fpu/s_asinh.S: Likewise.
52467 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
52468 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52469 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
52470 * sysdeps/i386/asm-syntax.h: Likewise.
52471 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52472 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52473 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52474 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
52475 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
52476 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52477 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
52478 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
52479 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52480 * sysdeps/powerpc/sysdep.h: Likewise.
52481 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
52482 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52484 2012-02-06 Joseph Myers <joseph@codesourcery.com>
52487 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
52489 2012-02-06 Joseph Myers <joseph@codesourcery.com>
52491 * sysdeps/i386/sysdep.h: Include <features.h>.
52492 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
52495 2012-02-05 Joseph Myers <joseph@codesourcery.com>
52497 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
52499 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
52502 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52504 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
52505 (SETUP_PIC_REG): Use GET_PC_THUNK.
52506 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
52509 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52511 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
52512 for non-PIC compilation.
52513 (SETUP_PIC_REG): Add .p2align directive.
52514 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
52515 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
52516 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
52517 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
52518 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
52519 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
52520 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
52521 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52522 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
52523 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
52524 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
52525 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
52526 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
52527 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
52528 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
52529 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
52530 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
52531 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
52532 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
52533 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
52534 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52535 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
52536 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
52537 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
52538 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
52539 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
52540 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52541 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
52542 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
52543 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
52544 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
52545 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52546 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
52547 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
52548 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
52549 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
52550 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
52551 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
52552 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
52553 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
52554 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
52556 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52558 * math/tst-CMPLX.c: Include <stdio.h>.
52560 2012-01-31 Joseph Myers <joseph@codesourcery.com>
52562 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
52564 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52565 * sysdeps/sparc/bits/mathdef.h: Likewise.
52567 2012-01-31 Marek Polacek <polacek@redhat.com>
52569 * libio/libio.h: Don't define _PARAMS.
52570 * locale/programs/config.h: Don't define PARAMS.
52571 * stdlib/strtol_l.c: Likewise.
52572 (__strtol_l): Remove PARAMS from the prototype.
52574 2012-01-31 Ulrich Drepper <drepper@gmail.com>
52576 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
52577 names. Just use the correct names. Remove unnecessary wrapper
52579 * malloc/arena.c: Likewise.
52580 * malloc/hooks.c: Likewise.
52582 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
52583 ARENA_TEST says not to. Simplify test for creation of a new arena.
52584 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
52586 2012-01-30 Ulrich Drepper <drepper@gmail.com>
52588 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
52590 (update_get_addr): New function.
52591 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
52592 GET_ADDR_MODULE parameter.
52594 2012-01-30 Joseph Myers <joseph@codesourcery.com>
52596 * crypt/cert.c: Remove __STDC__ conditionals.
52597 * crypt/crypt-entry.c: Likewise.
52598 * crypt/crypt_util.c: Likewise.
52599 * libio/filedoalloc.c: Likewise.
52600 * libio/fileops.c: Likewise.
52601 * libio/genops.c: Likewise.
52602 * libio/iofclose.c: Likewise.
52603 * libio/iofdopen.c: Likewise.
52604 * libio/iofopen.c: Likewise.
52605 * libio/iofopen64.c: Likewise.
52606 * libio/iogetdelim.c: Likewise.
52607 * libio/iopopen.c: Likewise.
52608 * libio/obprintf.c: Likewise.
52609 * libio/oldfileops.c: Likewise.
52610 * libio/oldiofclose.c: Likewise.
52611 * libio/oldiofdopen.c: Likewise.
52612 * libio/oldiofopen.c: Likewise.
52613 * libio/oldiopopen.c: Likewise.
52614 * libio/wfiledoalloc.c: Likewise.
52615 * libio/wgenops.c: Likewise.
52616 * locale/programs/xmalloc.c: Likewise.
52617 * misc/syslog.c: Likewise.
52618 * stdio-common/xbug.c: Likewise.
52619 * string/memchr.c: Likewise.
52620 * string/memcmp.c: Likewise.
52621 * string/memrchr.c: Likewise.
52622 * string/rawmemchr.c: Likewise.
52623 * sysdeps/posix/getcwd.c: Likewise.
52624 * time/strftime_l.c: Likewise.
52626 2012-01-30 Joseph Myers <joseph@codesourcery.com>
52628 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
52629 * config.make.in (config-cflags-sse2avx): Define.
52630 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
52633 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
52635 * scripts/config.guess: Update from upstream config git repository.
52636 * scripts/config.sub: Likewise.
52638 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
52640 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
52642 (R_TILEPRO_*, R_TILEGX_*): New macros.
52644 * scripts/firstversions.awk: Fix bug in version range handling.
52646 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
52648 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
52650 * include/sys/epoll.h: New file.
52651 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
52654 2012-01-28 Ulrich Drepper <drepper@gmail.com>
52656 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
52657 Avoid unnecessary __WORDSIZE == 64 test.
52658 (fmaxf): Use VEX format if possible.
52663 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
52664 * math/math_private.h: Remove libc_fegetround* and
52666 * sysdeps/i386/configure.in: Check for -msse2avx.
52667 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
52668 also if SSE2AVX is defined.
52669 Remove libc_fegetround* and libc_fesetround*.
52670 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
52671 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
52672 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
52674 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52675 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52676 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52677 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52678 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52680 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
52682 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52684 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
52686 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52688 2012-01-27 Ulrich Drepper <drepper@gmail.com>
52691 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
52693 * Makeconfig (libm): Define.
52694 * elf/Makefile: Add rules to build and run tst-relsort1.
52695 * elf/tst-relsort1.c: New file.
52696 * elf/tst-relsort1mod1.c: New file.
52697 * elf/tst-relsort1mod2.c: New file.
52699 2012-01-27 Joseph Myers <joseph@codesourcery.com>
52701 * math/s_ldexp.c: Remove __STDC__ conditionals.
52702 * math/s_ldexpf.c: Likewise.
52703 * math/s_ldexpl.c: Likewise.
52704 * math/s_nextafter.c: Likewise.
52705 * math/s_nexttowardf.c: Likewise.
52706 * math/s_significand.c: Likewise.
52707 * math/s_significandf.c: Likewise.
52708 * math/s_significandl.c: Likewise.
52709 * math/w_jnl.c: Likewise.
52710 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52711 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52712 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52713 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52714 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52715 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52716 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
52717 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52718 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52719 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52720 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52721 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52722 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52723 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52724 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52725 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52726 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52727 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52728 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52729 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52730 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52731 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52732 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52733 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52734 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52735 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52736 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52737 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52738 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52739 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52740 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52741 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52742 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52743 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52744 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52745 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52746 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52747 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52748 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52749 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52750 * sysdeps/ieee754/k_standard.c: Likewise.
52751 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52752 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52753 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52754 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52755 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52756 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52757 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52758 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52759 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52760 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52761 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52762 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52763 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52764 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52765 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52766 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52767 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52768 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52769 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52770 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52771 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52772 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52773 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52774 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52775 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52776 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52777 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52778 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52779 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52780 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52781 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52782 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
52783 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52784 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52785 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52786 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52787 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
52788 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52789 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52790 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
52791 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
52792 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52793 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
52794 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
52795 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52796 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52797 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52798 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52799 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52800 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
52801 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
52802 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52803 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52804 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52805 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52806 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52807 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
52808 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52809 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52810 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52811 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52812 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52813 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52814 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52815 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52816 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52817 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52818 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52819 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52820 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52821 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52822 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52823 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52824 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52825 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52826 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52827 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52828 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52829 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52830 * sysdeps/ieee754/s_matherr.c: Likewise.
52831 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52832 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52833 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52834 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52836 2012-01-26 Joseph Myers <joseph@codesourcery.com>
52838 * crypt/md5.h: Remove __STDC__ conditionals.
52839 * libio/libioP.h: Likewise.
52840 * locale/programs/config.h: Likewise.
52841 * sysdeps/generic/sysdep.h: Likewise.
52842 * sysdeps/i386/asm-syntax.h: Likewise.
52843 * sysdeps/s390/asm-syntax.h: Likewise.
52844 * sysdeps/unix/sysdep.h: Likewise.
52845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
52846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52848 2012-01-26 Joseph Myers <joseph@codesourcery.com>
52850 * libio/libio.h: Remove __STDC__ conditionals.
52851 * malloc/obstack.h: Likewise.
52852 * math/complex.h: Likewise.
52853 * math/math.h: Likewise.
52854 * sysdeps/generic/_G_config.h: Likewise.
52855 * sysdeps/gnu/_G_config.h: Likewise.
52856 * sysdeps/mach/hurd/_G_config.h: Likewise.
52857 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52858 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52859 * sysdeps/sparc/bits/mathdef.h: Likewise.
52861 2012-01-26 Ulrich Drepper <drepper@gmail.com>
52864 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
52865 Clean up HAS_* macros.
52866 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
52867 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
52869 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
52871 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52872 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52873 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52874 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52875 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52877 2012-01-25 Joseph Myers <joseph@codesourcery.com>
52879 * elf/tst-unique3.cc (gets): Remove declaration.
52880 * elf/tst-unique3lib.cc (gets): Likewise.
52881 * elf/tst-unique3lib2.cc (gets): Likewise.
52882 * elf/tst-unique4.cc (gets): Likewise.
52884 2012-01-24 Ulrich Drepper <drepper@gmail.com>
52886 * include/stdio.h: Add C++ protection. Add gets declarations and
52888 * debug/tst-chk1.c: Don't declare gets here.
52889 * stdio-common/tst-gets.c: Likewise.
52891 2012-01-24 Joseph Myers <joseph@codesourcery.com>
52893 * posix/glob: Remove directory.
52895 2012-01-24 Joseph Myers <joseph@codesourcery.com>
52897 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
52899 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
52901 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
52902 of the non-standard EPFNOSUPPORT.
52904 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
52906 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
52907 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
52908 ANYWHERE set to 1 only on KERN_NO_SPACE error.
52910 2012-01-21 Ulrich Drepper <drepper@gmail.com>
52912 * wcsmbs/uchar.h: Test __STDC_VERSION__.
52914 2012-01-20 Ulrich Drepper <drepper@gmail.com>
52916 * nscd/aicache.c (addhstaiX): Do not cache negative results of
52918 * nscd/grpcache.c (cache_addgr): Likewise.
52919 * nscd/hstcache.c (cache_addhst): Likewise.
52920 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52921 * nscd/pwdcache.c (cache_addpw): Likewise.
52922 * nscd/servicescache.c (cache_addserv): Likewise.
52924 2012-01-16 Ulrich Drepper <drepper@gmail.com>
52926 * malloc/malloc.c: Various cleanups.
52927 * malloc/hooks.c: Likewise.
52929 * stdlib/Makefile (tests): Add bug-fmtmsg1.
52930 * stdlib/bug-fmtmsg1.c: New file.
52932 * stdlib/fmtmsg.c (init): Add missing unlock.
52933 Patch by Peng Haitao <penght@cn.fujitsu.com>.
52935 2012-01-12 Marek Polacek <polacek@redhat.com>
52937 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
52940 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52942 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
52943 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
52944 macro to ensure uniqueness of label name.
52945 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
52946 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
52948 2012-01-11 Ulrich Drepper <drepper@gmail.com>
52950 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
52952 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
52953 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52954 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52955 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
52957 2012-01-10 Ulrich Drepper <drepper@gmail.com>
52959 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
52961 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
52962 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52963 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52965 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
52967 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
52968 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52969 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52970 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
52972 * math/bits/math-finite.h: Add ldexp support.
52974 2012-01-10 Marek Polacek <polacek@redhat.com>
52976 * locale/programs/localedef.h (show_archive_content): Add noreturn
52979 2012-01-09 Ulrich Drepper <drepper@gmail.com>
52981 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
52983 2012-01-08 Ulrich Drepper <drepper@gmail.com>
52985 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
52987 * io/Makefile (headers): Add bits/poll2.h.
52989 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
52991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
52992 typo #include statement.
52994 2012-01-08 Ulrich Drepper <drepper@gmail.com>
52996 * include/sys/cdefs.h: Define __attribute_alloc_size.
52997 * catgets/gencat.c: Add alloc_size attribute and apply consistently
52998 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
52999 * elf/pldd.c: Likewise.
53000 * iconv/iconv_charmap.c: Likewise.
53001 * iconv/iconvconfig.c: Likewise.
53002 * iconv/strtab.c: Likewise.
53003 * locale/programs/locale.c: Likewise.
53004 * locale/programs/localedef.h: Likewise.
53005 * locale/programs/simple-hash.c: Likewise.
53006 * nscd/nscd.h: Likewise.
53007 * nss/makedb.c: Likewise.
53008 * sysdeps/generic/ldconfig.h: Likewise.
53009 * locale/programs/localedef.c: Remove xmalloc prototype.
53010 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
53012 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53014 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
53017 2012-01-08 Ulrich Drepper <drepper@gmail.com>
53019 * math/Makefile (tests): Add tst-CMPLX.
53020 * math/tst-CMPLX.c: New file.
53022 * math/complex.h (CMPLXL): Fix typo.
53024 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
53025 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
53027 * debug/tst-chk1.c: Add poll and ppoll tests.
53028 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
53029 * include/sys/poll.h: Add hidden proto for ppoll.
53030 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
53031 * sysdeps/mach/hurd/ppoll.c: Likewise.
53032 * io/ppoll.c: Likewise.
53033 * debug/poll_chk.c: New file.
53034 * debug/ppoll_chk.c: New file.
53035 * include/bits/poll2.h: New file.
53036 * io/bits/poll2.h: New file.
53039 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
53041 * configure.in: static is always set to yes. Remove.
53042 * config.make.in: Don't set build-static.
53043 * Makeconfig: Remove use of build-static.
53044 * dlfcn/Makefile: Likewise.
53045 * elf/Makefile: Likewise.
53046 * math/Makefile: Likewise.
53047 * misc/Makefile: Likewise.
53048 * nptl/Makefile: Likewise.
53049 * sysdeps/mach/hurd/Makefile: Likewise.
53051 * configure.in: PWD_P is not used anymore.
53052 * config.make.in: Remove PWD_P entry.
53054 * configure.in: Remove last remnants of RANLIB.
53055 No need to check for signed size_t anymore.
53056 Don't set libc_commonpagesize and libc_relro_required here for Alpha
53058 Remove __builtin_expect test because we require at least gcc 3.4.
53059 * aclocal.m4: Likewise.
53061 * wcsmbs/mbrtoc16.c: Implement using towc function.
53062 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
53063 * wcsmbs/wcsmbsload.c: Likewise.
53064 * iconv/gconv_simple.c: Likewise.
53065 * iconv/gconv_int.h: Likewise.
53066 * iconv/gconv_builtin.h: Likewise.
53067 * iconv/iconv_prog.c: Remove CHAR16 handling.
53069 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
53071 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
53073 * configure.in: Remove --with-elf and --enable-bounded options.
53074 Dont set base_machine for ia64. More non-ELF conditions removed.
53075 Remove testing and setting of leading underscore information.
53076 * config.make.in (build-bounded): Set to no.
53077 * config.h.in: Remove NO_UNDERSCORES entry.
53078 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
53080 * csu/start.c: Remove !NO_UNDERSCORE code.
53081 * locale/localeinfo.h: Likewise.
53082 * sysdeps/generic/machine-gmon.h: Likewise.
53083 * sysdeps/generic/sysdep.h: Likewise.
53084 * sysdeps/i386/sysdep.h: Likewise.
53085 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53086 * sysdeps/mach/sysdep.h: Likewise.
53087 * sysdeps/s390/s390-32/sysdep.h: Likewise.
53088 * sysdeps/s390/s390-64/sysdep.h: Likewise.
53089 * sysdeps/sh/sysdep.h: Likewise.
53090 * sysdeps/sparc/sparc32/alloca.S: Likewise.
53091 * sysdeps/unix/i386/sysdep.S: Likewise.
53092 * sysdeps/unix/sparc/start.c: Likewise.
53093 * sysdeps/unix/sparc/sysdep.S: Likewise.
53094 * sysdeps/unix/sparc/sysdep.h: Likewise.
53095 * sysdeps/unix/start.c: Likewise.
53096 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53097 * sysdeps/x86_64/sysdep.h: Likewise.
53099 2012-01-07 Ulrich Drepper <drepper@gmail.com>
53102 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
53104 * argp/argp-fmtstream.h: Use const instead __const.
53105 * argp/argp.h: Likewise.
53106 * assert/assert.h: Likewise.
53107 * bits/fenv.h: Likewise.
53108 * bits/sched.h: Likewise.
53109 * bits/sigset.h: Likewise.
53110 * bits/sigthread.h: Likewise.
53111 * catgets/nl_types.h: Likewise.
53112 * conform/data/pthread.h-data: Likewise.
53113 * crypt/crypt-private.h: Likewise.
53114 * crypt/crypt.h: Likewise.
53115 * crypt/crypt_util.c: Likewise.
53116 * ctype/ctype.h: Likewise.
53117 * debug/execinfo.h: Likewise.
53118 * debug/mbsnrtowcs_chk.c: Likewise.
53119 * debug/mbsrtowcs_chk.c: Likewise.
53120 * debug/wcsnrtombs_chk.c: Likewise.
53121 * debug/wcsrtombs_chk.c: Likewise.
53122 * debug/wcstombs_chk.c: Likewise.
53123 * dirent/dirent.h: Likewise.
53124 * dlfcn/dlfcn.h: Likewise.
53125 * elf/neededtest4.c: Likewise.
53126 * grp/grp.h: Likewise.
53127 * gshadow/gshadow.h: Likewise.
53128 * iconv/gconv.h: Likewise.
53129 * iconv/gconv_int.h: Likewise.
53130 * iconv/gconv_simple.c: Likewise.
53131 * iconv/iconv.h: Likewise.
53132 * iconv/loop.c: Likewise.
53133 * iconv/skeleton.c: Likewise.
53134 * include/aio.h: Likewise.
53135 * include/aliases.h: Likewise.
53136 * include/argz.h: Likewise.
53137 * include/arpa/inet.h: Likewise.
53138 * include/assert.h: Likewise.
53139 * include/dirent.h: Likewise.
53140 * include/dlfcn.h: Likewise.
53141 * include/execinfo.h: Likewise.
53142 * include/fcntl.h: Likewise.
53143 * include/fenv.h: Likewise.
53144 * include/glob.h: Likewise.
53145 * include/grp.h: Likewise.
53146 * include/libintl.h: Likewise.
53147 * include/mntent.h: Likewise.
53148 * include/netdb.h: Likewise.
53149 * include/pwd.h: Likewise.
53150 * include/rpc/netdb.h: Likewise.
53151 * include/sched.h: Likewise.
53152 * include/search.h: Likewise.
53153 * include/shadow.h: Likewise.
53154 * include/signal.h: Likewise.
53155 * include/stdio.h: Likewise.
53156 * include/stdlib.h: Likewise.
53157 * include/string.h: Likewise.
53158 * include/sys/socket.h: Likewise.
53159 * include/sys/stat.h: Likewise.
53160 * include/sys/statfs.h: Likewise.
53161 * include/sys/statvfs.h: Likewise.
53162 * include/sys/syslog.h: Likewise.
53163 * include/sys/time.h: Likewise.
53164 * include/sys/uio.h: Likewise.
53165 * include/time.h: Likewise.
53166 * include/unistd.h: Likewise.
53167 * include/utmp.h: Likewise.
53168 * include/wchar.h: Likewise.
53169 * include/wctype.h: Likewise.
53170 * inet/aliases.h: Likewise.
53171 * inet/arpa/inet.h: Likewise.
53172 * inet/netinet/ether.h: Likewise.
53173 * inet/netinet/in.h: Likewise.
53174 * intl/libintl.h: Likewise.
53175 * io/bits/fcntl2.h: Likewise.
53176 * io/fcntl.h: Likewise.
53177 * io/ftw.h: Likewise.
53178 * io/sys/poll.h: Likewise.
53179 * io/sys/stat.h: Likewise.
53180 * io/sys/statfs.h: Likewise.
53181 * io/sys/statvfs.h: Likewise.
53182 * io/utime.h: Likewise.
53183 * libio/bits/stdio.h: Likewise.
53184 * libio/bits/stdio2.h: Likewise.
53185 * libio/libio.h: Likewise.
53186 * libio/libioP.h: Likewise.
53187 * libio/stdio.h: Likewise.
53188 * locale/lc-ctype.c: Likewise.
53189 * locale/locale.h: Likewise.
53190 * login/utmp.h: Likewise.
53191 * malloc/arena.c: Likewise.
53192 * malloc/malloc.c: Likewise.
53193 * malloc/malloc.h: Likewise.
53194 * malloc/mcheck.c: Likewise.
53195 * malloc/mtrace.c: Likewise.
53196 * math/bits/mathcalls.h: Likewise.
53197 * math/fenv.h: Likewise.
53198 * math/math_private.h: Likewise.
53199 * misc/bits/error.h: Likewise.
53200 * misc/bits/syslog.h: Likewise.
53201 * misc/err.h: Likewise.
53202 * misc/error.h: Likewise.
53203 * misc/fstab.h: Likewise.
53204 * misc/mntent.h: Likewise.
53205 * misc/regexp.h: Likewise.
53206 * misc/search.h: Likewise.
53207 * misc/sgtty.h: Likewise.
53208 * misc/sys/mman.h: Likewise.
53209 * misc/sys/syslog.h: Likewise.
53210 * misc/sys/uio.h: Likewise.
53211 * misc/sys/xattr.h: Likewise.
53212 * misc/ttyent.h: Likewise.
53213 * nis/rpcsvc/ypclnt.h: Likewise.
53214 * nss/nss.h: Likewise.
53215 * posix/bits/unistd.h: Likewise.
53216 * posix/fnmatch.h: Likewise.
53217 * posix/glob.h: Likewise.
53218 * posix/sched.h: Likewise.
53219 * posix/spawn.h: Likewise.
53220 * posix/sys/wait.h: Likewise.
53221 * posix/unistd.h: Likewise.
53222 * posix/wordexp.h: Likewise.
53223 * pwd/pwd.h: Likewise.
53224 * resolv/netdb.h: Likewise.
53225 * resource/sys/resource.h: Likewise.
53226 * rt/aio.h: Likewise.
53227 * rt/bits/mqueue2.h: Likewise.
53228 * rt/mqueue.h: Likewise.
53229 * shadow/shadow.h: Likewise.
53230 * signal/signal.h: Likewise.
53231 * socket/send.c: Likewise.
53232 * socket/sendto.c: Likewise.
53233 * socket/sys/socket.h: Likewise.
53234 * stdio-common/printf.h: Likewise.
53235 * stdlib/bits/stdlib.h: Likewise.
53236 * stdlib/fmtmsg.h: Likewise.
53237 * stdlib/monetary.h: Likewise.
53238 * stdlib/stdlib.h: Likewise.
53239 * stdlib/ucontext.h: Likewise.
53240 * streams/stropts.h: Likewise.
53241 * string/argz.h: Likewise.
53242 * string/bits/string2.h: Likewise.
53243 * string/string.h: Likewise.
53244 * string/strings.h: Likewise.
53245 * sunrpc/rpc/auth.h: Likewise.
53246 * sunrpc/rpc/auth_des.h: Likewise.
53247 * sunrpc/rpc/clnt.h: Likewise.
53248 * sunrpc/rpc/netdb.h: Likewise.
53249 * sunrpc/rpc/pmap_clnt.h: Likewise.
53250 * sunrpc/rpc/xdr.h: Likewise.
53251 * sysdeps/generic/inttypes.h: Likewise.
53252 * sysdeps/generic/net/if.h: Likewise.
53253 * sysdeps/generic/sys/swap.h: Likewise.
53254 * sysdeps/gnu/net/if.h: Likewise.
53255 * sysdeps/gnu/utmpx.h: Likewise.
53256 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
53257 * sysdeps/i386/i486/bits/string.h: Likewise.
53258 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
53259 * sysdeps/s390/bits/string.h: Likewise.
53260 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
53261 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
53262 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
53263 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
53264 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
53265 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
53266 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
53267 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
53268 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
53269 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
53270 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
53271 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
53272 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
53273 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
53274 * sysdeps/unix/sysv/linux/readv.c: Likewise.
53275 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
53276 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
53277 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53278 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
53279 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
53280 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53281 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
53282 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
53283 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
53284 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
53285 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
53286 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
53287 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53288 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
53289 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
53290 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
53291 * sysvipc/sys/ipc.h: Likewise.
53292 * sysvipc/sys/msg.h: Likewise.
53293 * sysvipc/sys/sem.h: Likewise.
53294 * sysvipc/sys/shm.h: Likewise.
53295 * termios/termios.h: Likewise.
53296 * time/sys/time.h: Likewise.
53297 * time/time.h: Likewise.
53298 * wcsmbs/bits/wchar2.h: Likewise.
53299 * wcsmbs/uchar.h: Likewise.
53300 * wcsmbs/wchar.h: Likewise.
53301 * wctype/wctype.h: Likewise.
53304 * Makeconfig: Remove all but ELF support including AIX support.
53305 * Makerules: Likewise.
53306 * config.h.in: Likewise.
53307 * config.make.in: Likewise.
53308 * configure: Likewise.
53309 * configure.in: Likewise.
53310 * csu/Makefile: Likewise.
53311 * csu/version.c: Likewise.
53312 * debug/Makefile: Likewise.
53313 * dlfcn/Makefile: Likewise.
53314 * elf/Makefile: Likewise.
53315 * extra-lib.mk: Likewise.
53316 * iconv/Makefile: Likewise.
53317 * include/libc-symbols.h: Likewise.
53318 * include/shlib-compat.h: Likewise.
53319 * resolv/Makefile: Likewise.
53320 * resolv/res_libc.c: Likewise.
53321 * rt/Makefile: Likewise.
53322 * sysdeps/i386/asm-syntax.h: Likewise.
53323 * sysdeps/i386/sysdep.h: Likewise.
53324 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53325 * sysdeps/mach/sysdep.h: Likewise.
53326 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
53327 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
53328 * sysdeps/s390/asm-syntax.h: Likewise.
53329 * sysdeps/s390/s390-32/sysdep.h: Likewise.
53330 * sysdeps/s390/s390-64/sysdep.h: Likewise.
53331 * sysdeps/sh/sysdep.h: Likewise.
53332 * sysdeps/unix/sparc/sysdep.h: Likewise.
53333 * sysdeps/wordsize-32/divdi3.c: Likewise.
53334 * sysdeps/x86_64/sysdep.h: Likewise.
53336 * argp/Versions: Remove _argp_unlock_xxx.
53339 * abilist/ld.abilist: Update. Adjust for removal of tls option.
53340 * abilist/libBrokenLocale.abilist: Likewise.
53341 * abilist/libanl.abilist: Likewise.
53342 * abilist/libc.abilist: Likewise.
53343 * abilist/libcrypt.abilist: Likewise.
53344 * abilist/libdl.abilist: Likewise.
53345 * abilist/libm.abilist: Likewise.
53346 * abilist/libnsl.abilist: Likewise.
53347 * abilist/libpthread.abilist: Likewise.
53348 * abilist/libresolv.abilist: Likewise.
53349 * abilist/librt.abilist: Likewise.
53350 * abilist/libthread_db.abilist: Likewise.
53351 * abilist/libutil.abilist: Likewise.
53352 * abilist/libnss_db.abilist: New file.
53354 * scripts/abilist.awk: Add support for indirect functions.
53356 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
53358 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
53360 * shlib-versions: Remove entries for ports architectures.
53362 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
53364 * elf/stackguard-macros.h: Remove support for IA-64.
53365 * elf/tst-auditmod1.c: Likewise.
53366 * sysdeps/generic/ldsodefs.h: Likewise.
53368 * sysdeps/unix/sysv/linux/configure.in: Ports should define
53369 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
53373 * configure.in: Remove --enable-omitfp support.
53375 * config.make.in: Likewise.
53376 * Makeconfig: Likewise.
53377 * manual/install.texi: Likewise.
53379 In case anyone cares, the IA-64 architecture could move to ports.
53380 * sysdeps/ia64/*: Removed.
53381 * sysdeps/unix/sysv/linux/ia64/*: Removed.
53382 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
53385 * configure.in: Remove entries for unsupported architectures.
53388 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
53389 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
53391 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
53392 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
53393 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
53394 fall back to using wcrtomb.
53395 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
53396 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
53398 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
53399 * wcsmbs/tst-c16c32-1.c: New file.
53401 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
53404 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
53406 * elf/tst-unique3.cc: Add explicit declaration of gets.
53407 * elf/tst-unique3lib.cc: Likewise.
53408 * elf/tst-unique3lib2.cc: Likewise.
53409 * elf/tst-unique4.cc: Likewise.
53411 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
53413 2012-01-06 Joseph Myers <joseph@codesourcery.com>
53416 * assert/assert.h (static_assert): Don't define for C++.
53417 * libio/stdio.h (gets): Do declare for C++ <= C++11.
53418 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
53420 2012-01-03 Ulrich Drepper <drepper@gmail.com>
53422 * iconv/loop.c (single loop): Fix assertion in storing of
53425 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
53427 2012-01-01 Ulrich Drepper <drepper@gmail.com>
53429 * posix/getconf.c: Update copyright year.
53430 * nss/getent.c: Likewise.
53431 * nss/makedb.c: Likewise.
53432 * iconv/iconvconfig.c: Likewise.
53433 * iconv/iconv_prog.c: Likewise.
53434 * elf/ldconfig.c: Likewise.
53435 * elf/pldd.c: Likewise.
53436 * elf/sotruss.ksh: Likewise.
53437 * catgets/gencat.c: Likewise.
53438 * csu/version.c: Likewise.
53439 * elf/ldd.bash.in: Likewise.
53440 * elf/sprof.c (print_version): Likewise.
53441 * locale/programs/locale.c: Likewise.
53442 * locale/programs/localedef.c: Likewise.
53443 * login/programs/pt_chown.c: Likewise.
53444 * nscd/nscd.c (print_version): Likewise.
53445 * debug/xtrace.sh: Likewise.
53446 * malloc/memusage.sh: Likewise.
53447 * malloc/mtrace.pl: Likewise.
53448 * debug/catchsegv.sh: Likewise.
53450 2011-12-30 Jakub Jelinek <jakub@redhat.com>
53452 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
53455 2011-12-24 Ulrich Drepper <drepper@gmail.com>
53458 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
53459 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
53461 * iconv/gconv_int.h: Likewise.
53462 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
53463 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
53464 from libc for GLIBC_2.16.
53465 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
53466 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
53467 * wcsmbs/uchar.h: Really define mbstate_t.
53468 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
53469 * wcsmbs/c16rtomb.c: New file.
53470 * wcsmbs/mbrtoc16.c: New file.
53471 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
53472 for C/POSIX locale.
53473 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
53474 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
53476 * wcsmbs/wchar.h: Add missing __restrict.
53478 2011-12-23 Ulrich Drepper <drepper@gmail.com>
53481 * time/Makefile (routines): Add timespec_get.
53482 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
53483 * time/time.h: Define TIME_UTC and declare timespec_get. Define
53484 timespec for ISO C11.
53485 * time/timespec_get.c: New file.
53486 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
53487 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
53490 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
53491 * stdlib/stdlib.h: Declare aligned_alloc.
53492 * Versions.def: Add GLIBC_2.16 for libc.
53493 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
53496 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
53499 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
53503 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
53506 * assert/assert.h (static_assert): Define.
53508 * version.h: Update for 2.16 development version.
53511 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
53514 * version.h (RELEASE): Bump for 2.15 release.
53515 * include/features.h (__GLIBC_MINOR__): Bump to 15.
53517 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
53518 Patch by Marek Polacek <mpolacek@redhat.com>.
53520 * bits/byteswap.h: Protect long long constants with __extension__.
53521 * sysdeps/i386/bits/byteswap.h: Likewise.
53522 * sysdeps/ia64/bits/byteswap.h: Likewise.
53523 * sysdeps/s390/bits/byteswap.h: Likewise.
53524 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53526 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53529 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
53530 destination buffer.
53531 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
53533 2011-12-23 Marek Polacek <polacek@redhat.com>
53535 * elf/dl-addr.c (determine_info): Add inline keyword.
53536 * elf/tst-auditmod4b.c (check_avx): Likewise.
53537 * elf/tst-auditmod6b.c (check_avx): Likewise.
53538 * elf/tst-auditmod6c.c (check_avx): Likewise.
53539 * elf/tst-auditmod7b.c (check_avx): Likewise.
53541 2011-12-23 Ulrich Drepper <drepper@gmail.com>
53543 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
53546 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53549 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
53550 processing for last bytes.
53552 2011-08-06 Bruno Haible <bruno@clisp.org>
53555 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
53556 U+0385, not to U+1FEE.
53559 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
53560 entry for U+00A5 U+0301.
53562 2011-12-22 Ulrich Drepper <drepper@gmail.com>
53565 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
53566 buffer for the output is too small.
53568 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
53572 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
53573 SSE flags if possible.
53575 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53578 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
53579 processing for last bytes.
53581 2011-12-22 Joseph Myers <joseph@codesourcery.com>
53583 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
53584 (syscall-list-default-options, syscall-list-default-condition)
53585 (syscall-list-includes): Define.
53586 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
53587 list of ABIs and options and #if conditions for each ABI. Do not
53588 handle common syscalls between ABIs specially.
53589 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
53591 (syscall-list-variants, syscall-list-32bit-options)
53592 (syscall-list-32bit-condition, syscall-list-64bit-options)
53593 (syscall-list-64bit-condition): Define.
53594 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
53595 (syscall-list-variants, syscall-list-32bit-options)
53596 (syscall-list-32bit-condition, syscall-list-64bit-options)
53597 (syscall-list-64bit-condition): Define.
53598 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
53600 (syscall-list-variants, syscall-list-32bit-options)
53601 (syscall-list-32bit-condition, syscall-list-64bit-options)
53602 (syscall-list-64bit-condition): Define.
53603 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
53605 (syscall-list-variants, syscall-list-32bit-options)
53606 (syscall-list-32bit-condition, syscall-list-64bit-options)
53607 (syscall-list-64bit-condition): Define.
53609 2011-12-22 Ulrich Drepper <drepper@gmail.com>
53611 * locale/iso-639.def: Add brx entry.
53614 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
53615 Proposed by Mariusz_Cukr <marcukr@op.pl>.
53617 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
53618 __feraiseexcept_renamed.
53620 2011-12-21 Ulrich Drepper <drepper@gmail.com>
53623 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
53624 EPOLLET with unsigned values.
53625 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53626 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53628 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
53629 to large cancellation.
53630 * math/s_cacoshf.c: Likewise.
53631 * math/s_cacoshl.c: Likewise.
53633 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
53637 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
53638 * math/s_cacoshf.c: Likewise.
53639 * math/s_cacoshl.c: Likewise.
53641 2011-12-21 Ulrich Drepper <drepper@gmail.com>
53644 * iconv/gconv.h: Define __GCONV_SWAP.
53645 * iconvdata/unicode.c: The swap bit must be stored in __flags.
53646 * iconvdata/utf-16.c: Likewise.
53647 * iconvdata/utf-32.c: Likewise.
53649 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
53652 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
53653 numerator after shifting it by one limb.
53655 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
53657 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
53658 under [__USE_EXTERN_INLINES].
53660 2011-12-17 Ulrich Drepper <drepper@gmail.com>
53663 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
53665 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53667 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
53668 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
53670 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
53671 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
53672 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
53673 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
53674 for strncasecmp/strncasecmp_l compilation.
53675 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
53676 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
53678 2011-12-08 Marek Polacek <mpolacek@redhat.com>
53681 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
53684 2011-12-17 Ulrich Drepper <drepper@gmail.com>
53687 * time/tzfile.c (__tzfile_read): Check values from file header.
53689 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
53691 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
53692 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
53693 * powerpc/powerpc32/dl-start.S: Likewise.
53694 * powerpc/powerpc32/elf/start.S: Likewise.
53695 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
53696 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
53697 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
53698 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
53699 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
53700 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
53701 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
53702 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53703 * powerpc/powerpc32/fpu/s_round.S: Likewise.
53704 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
53705 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
53706 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
53707 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
53708 * powerpc/powerpc32/memset.S: Likewise.
53709 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
53710 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53711 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53712 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53713 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53714 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
53715 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
53716 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
53717 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
53718 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
53719 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
53720 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53721 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53723 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53725 * math/libm-test.inc: Added more nearbyint tests.
53726 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
53727 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
53728 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
53729 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
53731 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
53733 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
53736 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53738 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
53739 Add wcscpy-ssse3 wcscpy-c.
53740 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
53741 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
53742 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
53743 * sysdeps/x86_64/wcschr.S: New file.
53744 * sysdeps/x86_64/wcsrchr.S: New file.
53745 * string/test-strcmp.c: Remove checking of wcscmp function for
53747 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
53748 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
53749 wcsrchr-sse2 wcsrchr-c.
53750 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
53751 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
53752 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
53753 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
53754 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
53755 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
53756 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
53757 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
53758 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
53759 * wcsmbc/wcschr.c (WCSCHR): New macro.
53761 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53763 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
53764 * wcsmbs/test-wcsrchr.c: New file.
53765 * string/test-strrchr.c: Add wcsrchr support.
53767 * wcsmbs/test-wcscpy.c: New file.
53768 * string/test-strcpy.c: Add wcscpy support.
53771 2011-12-10 Ulrich Drepper <drepper@gmail.com>
53773 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
53776 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
53779 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
53781 2011-12-04 Ulrich Drepper <drepper@gmail.com>
53783 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
53784 Minor optimizations.
53786 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
53787 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
53788 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
53790 2011-12-03 Ulrich Drepper <drepper@gmail.com>
53792 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
53793 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
53794 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
53795 for gcc to avoid warnings.
53796 * inet/Makefile (tests): Add tst-checks.
53797 * inet/tst-checks.c: New file.
53799 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
53802 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
53805 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
53806 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
53808 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
53810 2011-12-02 Ulrich Drepper <drepper@gmail.com>
53812 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
53815 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
53817 2011-11-29 Joseph Myers <joseph@codesourcery.com>
53819 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
53820 conditional on GCC version.
53821 (__arch_compare_and_exchange_val_8_acq)
53822 (__arch_compare_and_exchange_val_16_acq)
53823 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
53824 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
53825 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
53827 2011-12-02 Joseph Myers <joseph@codesourcery.com>
53829 * sysdeps/sh/backtrace.c: New file.
53831 2011-12-02 Andreas Schwab <schwab@redhat.com>
53833 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
53836 2011-12-01 Andreas Schwab <schwab@redhat.com>
53838 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
53839 falling back to utime.
53841 2011-11-30 Andreas Schwab <schwab@redhat.com>
53843 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
53844 expectations for float.
53846 2011-11-29 Andreas Schwab <schwab@redhat.com>
53848 * locale/weight.h (findidx): Add parameter len.
53849 * locale/weightwc.h (findidx): Likewise.
53850 * posix/fnmatch_loop.c (FCT): Adjust caller.
53851 * posix/regcomp.c (build_equiv_class): Likewise.
53852 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
53853 * posix/regexec.c (check_node_accept_bytes): Likewise.
53854 * string/strcoll_l.c (STRCOLL): Likewise.
53855 * string/strxfrm_l.c (STRXFRM): Likewise.
53857 2011-11-17 Ulrich Drepper <drepper@gmail.com>
53859 * Makefile.in: Remove CVSOPT handling.
53860 * configure.in: Remove use of AC_REVISION.
53861 * iconvdata/Makefile (distribute): No need to filter out CVS.
53862 * scripts/list-sources.sh: Remove CVS, subversion and monotone
53865 2011-11-16 Andreas Schwab <schwab@redhat.com>
53867 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
53868 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
53869 [USE_AS_STRNCASECMP_L]: Likewise.
53870 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
53871 NO_TLS_DIRECT_SEG_REFS.
53872 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
53873 Fix argument offsets for non-PIC.
53874 [USE_AS_STRNCASECMP_L]: Likewise.
53875 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
53876 NO_TLS_DIRECT_SEG_REFS.
53878 2011-11-15 Ulrich Drepper <drepper@gmail.com>
53880 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
53882 * locale/loadlocale.c (_nl_load_locale): Likewise.
53884 2011-11-15 Andreas Schwab <schwab@redhat.com>
53886 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
53887 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
53888 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
53889 (SYSCALL_GETTIME): Set errno on error.
53891 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
53892 count references to noai6ai_cached.
53894 2011-11-15 Ulrich Drepper <drepper@gmail.com>
53896 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
53898 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
53899 FD_CLOEXEC for /proc/self/maps.
53901 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
53902 FD_CLOEXEC for /proc/meminfo.
53904 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
53907 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
53908 FD_CLOEXEC for given file.
53910 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
53912 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
53913 FD_CLOEXEC for /etc/hosts.
53914 (_gethtent): Likewise.
53916 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
53918 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
53919 cancellation and set FD_CLOEXEC for /etc/netgroup.
53921 * nss/nss_files/files-key.c (search): Don't allow cancellation when
53922 reading /etc/publickey.
53924 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
53925 allow cancellation when reading /etc/group.
53927 * nss/nss_files/files-alias.c (internal_setent): Don't allow
53929 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
53931 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
53932 when using data file.
53934 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
53936 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
53937 (write_nis_obj): Use "c" and "e" in fopen.
53939 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
53941 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
53943 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
53945 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
53947 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
53950 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
53952 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
53954 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
53956 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
53957 file parsing and set FD_CLOEXEC.
53959 2011-11-14 Ulrich Drepper <drepper@gmail.com>
53961 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
53963 2011-11-14 Andreas Schwab <schwab@redhat.com>
53965 * malloc/arena.c (arena_get2): Don't call reused_arena when
53966 _int_new_arena failed.
53968 2011-11-14 Ulrich Drepper <drepper@gmail.com>
53970 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
53971 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
53972 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
53973 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53974 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53975 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
53976 to compile strcasecmp and strncasecmp.
53977 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
53978 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
53980 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
53982 2011-11-13 Ulrich Drepper <drepper@gmail.com>
53984 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
53985 locale-defines.sym to gen-as-const-headers.
53986 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
53987 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
53988 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
53989 to compile strcasecmp and strncasecmp.
53990 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
53991 strcasecmp_l and strncasecmp_l.
53992 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
53993 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
53994 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
53995 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
53996 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
53997 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
53998 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
53999 * sysdeps/i386/i686/multiarch/strncase.S: New file.
54000 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
54001 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
54002 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
54004 2011-11-12 Ulrich Drepper <drepper@gmail.com>
54006 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
54007 result of SYSDEP_GETTIME_CPU to retval.
54008 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
54009 parameter list to macro. Remove trailing semicolon. Adjust users.
54011 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
54014 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
54016 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
54018 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
54019 from unused variable.
54021 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
54023 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
54026 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
54029 * sunrpc/rpc_prot.c (rejected): Fix case value.
54031 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
54032 unsigned long long int to avoid warnings in shift.
54034 * posix/regex_internal.c (re_string_reconstruct): Actually use result
54036 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
54039 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
54040 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
54041 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
54043 * nis/nis_table.c (nis_list): Use variable of correct type for
54044 result of __follow_path call.
54046 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54048 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
54049 of math functions ceil, trunc, floor, round, and sqrt, when
54050 avaliable on the platform.
54051 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
54053 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54054 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54055 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
54057 2011-10-30 Marek Polacek <mpolacek@redhat.com>
54059 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
54060 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54062 2011-11-11 Roland McGrath <roland@hack.frob.com>
54064 * include/unistd.h: Fix __readlink return type.
54065 Reported by Chris Metcalf <cmetcalf@tilera.com>.
54067 2011-11-11 Ulrich Drepper <drepper@gmail.com>
54069 * stdlib/ucontext.h: Undo last change for makecontext.
54071 2011-11-11 Andreas Schwab <schwab@redhat.com>
54073 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
54075 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
54076 * setjmp/setjmp.h: Mark functions as non-leaf.
54077 * setjmp/bits/setjmp2.h: Likewise.
54078 * stdlib/ucontext.h: Likewise.
54080 2011-11-10 Andreas Schwab <schwab@redhat.com>
54082 * malloc/arena.c (_int_new_arena): Don't increment narenas.
54083 (reused_arena): Don't check arena limit.
54084 (arena_get2): Atomically check arena limit.
54086 2011-11-08 Ulrich Drepper <drepper@gmail.com>
54088 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
54089 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
54091 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
54094 2011-11-07 Andreas Schwab <schwab@redhat.com>
54096 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
54097 handler when locking.
54099 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54100 Fix size of allocated buffer.
54102 2011-11-04 Andreas Schwab <schwab@redhat.com>
54105 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
54106 declarations for long double functions.
54107 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
54109 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
54111 2011-11-03 Andreas Schwab <schwab@redhat.com>
54113 * nscd/nscd.c (main): Don't start AVC thread until credentials are
54116 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
54119 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
54121 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
54123 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
54125 * include/alloca.h (stackinfo_alloca_round): Define.
54126 (extend_alloca): Use it.
54127 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
54128 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
54131 * scripts/check-local-headers.sh: Ignore libaudit.h.
54133 * nscd/Makefile (extra-objs): Make recursively expanded.
54135 2011-11-01 Ulrich Drepper <drepper@gmail.com>
54137 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
54138 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
54140 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
54141 * posix/tst-rfc3484-2.c: Likewise.
54142 * posix/tst-rfc3484-3.c: Likewise.
54144 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54146 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
54148 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
54149 process_vm_writev from libc using GLIBC_2.15 version.
54151 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
54153 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
54155 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
54158 2011-10-31 Ulrich Drepper <drepper@gmail.com>
54161 * nss/getent.c (initgroups_keys): Show error message in case no group
54164 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
54165 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
54166 __bump_nl_timestamp.
54167 * nscd/connections (nscd_init): When host database is served open
54168 netlink socket and request notification about configuration changes.
54169 (main_loop_poll): Track netlink file descriptor and bump timestamp
54170 in case data becomes available.
54171 (main_loop_epoll): Likewise.
54172 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
54173 (database_pers_head): Add extra_data fileds.
54174 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
54175 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
54176 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
54178 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
54179 in6ai data, call __free_in6ai.
54180 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
54181 Add -DHAVE_NETLINK.
54182 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
54183 interface information. Reuse previous data if netlink timestamp
54185 (__bump_nl_timestamp): New function.
54186 (__free_in6ai): New function.
54188 2011-10-30 Ulrich Drepper <drepper@gmail.com>
54190 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
54191 close_not_cancel_no_status here.
54192 (__check_pf): Reorganize code a bit to not call close twice if OOM.
54194 2011-10-29 Ulrich Drepper <drepper@gmail.com>
54197 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
54200 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
54201 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
54202 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
54204 2011-07-03 Andreas Jaeger <aj@suse.de>
54207 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
54208 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
54209 * math/libm-test.inc (sin_test): Add test case.
54211 2011-10-29 Ulrich Drepper <drepper@gmail.com>
54214 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
54215 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54217 * elf/chroot_canon.c (chroot_canon): Cleanups.
54219 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
54222 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
54223 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54225 * string/test-strchr.c: Make usable for strchrnul testing.
54226 * string/test-strchrnul.c: New file.
54227 * string/Makefile (strop-tests): Add strchrnul.
54229 * po/it.po: Update from translation team.
54230 * po/es.po: Likewise.
54232 2011-10-28 Ulrich Drepper <drepper@gmail.com>
54234 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
54235 the three constants needed as parameters. Drop the others.
54236 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
54237 __m128i_strloadu_tolower.
54238 Create and initialize variable zero and use it in all the places
54239 where _mm_setzero_si128 was used.
54241 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
54242 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
54243 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
54244 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
54246 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
54247 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
54248 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
54249 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
54250 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
54251 __mpranred, __mptan.
54252 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
54253 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
54254 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
54255 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
54256 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
54257 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
54258 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
54259 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
54260 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
54262 2011-10-28 Andreas Schwab <schwab@redhat.com>
54264 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
54265 redefine if SHARED.
54266 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
54268 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
54269 wide char related routines to wcsmbs subdir.
54271 2011-10-27 Andreas Schwab <schwab@redhat.com>
54274 * misc/sys/cdefs.h (__THROWNL): Define.
54275 * posix/unistd.h: Use __THREADNL instead of __THREAD
54276 for memory synchronization functions.
54278 2011-10-26 Roland McGrath <roland@hack.frob.com>
54281 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
54283 * manual/stdio.texi (Obstack Streams): Node removed.
54285 2011-10-26 Andreas Schwab <schwab@redhat.com>
54287 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
54288 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54289 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54291 * math/math_private.h (math_force_eval): Allow non-addressable
54293 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
54295 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54297 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
54298 file is not needed.
54300 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
54301 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
54302 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54303 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54304 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54305 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54306 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54307 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
54309 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
54310 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
54311 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
54312 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
54313 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
54314 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
54315 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
54316 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
54317 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
54318 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
54319 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
54320 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
54321 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
54322 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
54323 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
54324 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
54325 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
54326 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
54327 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
54329 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
54330 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
54332 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
54333 place. Use VEX encoding when compiling for AVX.
54335 2011-10-25 Andreas Schwab <schwab@redhat.com>
54337 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
54338 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54340 * string/test-strchr.c (do_test): Don't generate NUL bytes.
54342 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54344 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
54345 useless if() expression.
54346 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54347 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54348 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54349 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54350 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54351 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54352 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54353 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54354 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54355 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54356 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54357 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54358 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54359 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54360 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54361 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54362 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54363 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54364 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54366 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
54368 2011-10-25 Andreas Schwab <schwab@redhat.com>
54370 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
54372 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54374 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54376 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
54377 .text section. Avoid duplicate constants.
54378 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54379 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54380 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54381 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54382 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54383 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54384 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54385 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54386 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54387 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
54388 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54389 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54390 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54391 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54392 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54393 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54394 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54395 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54396 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54397 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54398 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54399 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54400 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54401 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
54402 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
54403 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
54404 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
54405 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
54406 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
54407 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
54408 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
54409 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
54410 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54411 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
54412 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
54413 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
54414 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
54415 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
54416 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
54417 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
54418 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
54419 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
54420 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
54421 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
54422 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
54424 2011-10-24 Ulrich Drepper <drepper@gmail.com>
54426 * sysdeps/x86_64/dla.h: Move to ...
54427 * sysdeps/x86_64/fpu/dla.h: ...here.
54428 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
54429 situations. Use __builtin_fma only for gcc 4.6 and up.
54431 * config.make.in: Add have-mfma4 entry.
54432 * configure.in: Substitute libc_cv_cc_fma4.
54433 * math/Makefile (dbl-only-routines): Add sincostab.
54434 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
54435 Use __sincostab not sincos.
54436 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
54438 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54439 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54440 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54441 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
54443 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
54444 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
54445 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
54446 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
54448 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
54449 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
54451 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
54452 define aliases when function name is a macro.
54453 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
54454 sysdeps/ieee754/dbl-64/sincos.tbl.
54455 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
54456 fma4-enabled routines.
54457 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
54458 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
54459 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
54460 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
54461 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
54462 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
54463 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
54464 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
54465 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
54466 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
54467 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
54468 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
54469 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
54470 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
54471 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
54472 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
54473 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
54474 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
54475 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
54476 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
54477 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
54478 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
54479 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
54480 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
54481 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
54482 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
54483 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
54484 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
54485 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
54486 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
54488 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
54490 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54491 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54492 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54493 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54494 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54495 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54496 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54497 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54499 2011-10-24 Andreas Schwab <schwab@redhat.com>
54501 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
54503 2011-10-23 Ulrich Drepper <drepper@gmail.com>
54505 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
54507 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
54509 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
54511 * string/strnlen.c: Don't define STRNLEN, reverse logic.
54512 Remove unused variable magic_bits.
54513 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
54515 * string/strnlen.c: Define and use STRNLEN macro.
54516 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
54517 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
54518 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
54519 * wcsmbs/wcslen.c: Define and use WCSLEN.
54520 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
54521 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
54522 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
54523 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
54524 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
54525 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
54526 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
54528 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54530 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54531 strnlen-sse2-no-bsf.
54532 Rename strlen-no-bsf to strlen-sse2-no-bsf.
54533 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
54534 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
54535 Add strnlen support.
54536 (USE_AS_STRNLEN): New macro.
54537 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
54538 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
54539 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
54540 * sysdeps/x86_64/wcslen.S: New file.
54542 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
54544 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54545 XMM-moves are used for copying on small sizes.
54547 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54549 * wcsmbs/Makefile (strop-tests): Add wcschr.
54550 * wcsmbs/test-wcschr.c: New file.
54551 * string/test-strchr.c: Update.
54552 Add wcschr support.
54555 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54557 * wcsmbs/Makefile (strop-tests): Add wcslen.
54558 * wcsmbs/test-wcslen.c: New file.
54559 * string/test-strlen.c: Update.
54560 Add wcslen support.
54563 2011-10-23 Ulrich Drepper <drepper@gmail.com>
54565 * po/it.po: Update from translation team.
54567 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54569 * sysdeps/x86_64/wcscmp.S: Update.
54570 Fix wrong comparison semantics.
54571 wcscmp shall use signed comparison not unsigned.
54572 Don't use substraction to avoid overflow bug.
54573 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
54574 * wcsmbc/wcscmp.c: Likewise.
54575 * string/test-strcmp.c: Likewise.
54576 Add new tests to check cases with negative values.
54578 2011-10-23 Ulrich Drepper <drepper@gmail.com>
54580 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
54581 * sysdeps/x86_64/dla.h: ...here. New file.
54582 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
54583 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54584 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54585 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54586 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54587 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54588 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54589 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54590 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54592 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
54594 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
54595 __ynl_finite aliases.
54597 2011-10-22 Ulrich Drepper <drepper@gmail.com>
54599 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54601 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
54603 [DLA_FMA] (EMULV): Use DLA_FMA.
54604 [DLA_FMA] (MUL12): Use EMULV.
54605 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
54606 that are not needed.
54607 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54608 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54609 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54610 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54611 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54612 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54613 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54615 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
54617 * math/s_nan.c: Undef __nan.
54618 * math/s_nanf.c: Undef __nanf.
54619 * math/s_nanl.c: Undef __nanl.
54620 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
54623 2011-10-22 Ulrich Drepper <drepper@gmail.com>
54625 * math/s_catan.c: Add branch predictions.
54626 * math/s_catanf.c: Likewise.
54627 * math/s_catanh.c: Likewise.
54628 * math/s_catanhf.c: Likewise.
54629 * math/s_catanhl.c: Likewise.
54630 * math/s_catanl.c: Likewise.
54631 * math/s_cexp.c: Likewise.
54632 * math/s_cexpf.c: Likewise.
54633 * math/s_cexpl.c: Likewise.
54634 * math/s_clog.c: Likewise.
54635 * math/s_clog10.c: Likewise.
54636 * math/s_clog10f.c: Likewise.
54637 * math/s_clog10l.c: Likewise.
54638 * math/s_clogf.c: Likewise.
54639 * math/s_clogl.c: Likewise.
54640 * math/s_csqrt.c: Likewise.
54641 * math/s_csqrtf.c: Likewise.
54642 * math/s_csqrtl.c: Likewise.
54643 * math/s_ctanf.c: Likewise.
54644 * math/s_ctanh.c: Likewise.
54645 * math/s_ctanhf.c: Likewise.
54646 * math/s_ctanhl.c: Likewise.
54647 * math/s_ctanl.c: Likewise.
54649 * math/math_private.h: Define __nan, __nanf, __nanl.
54650 * math/s_cacosh.c: Include <math_private.h>.
54651 * math/s_cacoshl.c: Likewise.
54652 * math/s_casinh.c: Likewise.
54653 * math/s_casinhf.c: Likewise.
54654 * math/s_casinhl.c: Likewise.
54655 * math/s_ccos.c: Rely entire on ccosh.
54656 * math/s_ccosf.c: Rely entire on ccoshf.
54657 * math/s_ccosl.c: Rely entirely on ccoshl.
54658 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
54659 Remove tests for FE_INVALID.
54660 * math/s_ccoshf.c: Likewise.
54661 * math/s_ccoshl.c: Likewise.
54662 * math/s_csin.c: Likewise.
54663 * math/s_csinf.c: Likewise.
54664 * math/s_csinh.c Likewise.
54665 * math/s_csinhf.c: Likewise.
54666 * math/s_csinhl.c: Likewise.
54667 * math/s_csinl.c: Likewise.
54668 * math/s_ctan.c: Likewise.
54669 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
54670 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
54671 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
54673 2011-10-21 Ulrich Drepper <drepper@gmail.com>
54675 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
54676 compilation problems.
54678 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
54681 2011-10-20 Ulrich Drepper <drepper@gmail.com>
54683 * sysdeps/i386/configure.in: Test for -mfma4 option.
54684 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
54685 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
54686 COMMON_CPUID_INDEX_80000001.
54687 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
54688 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
54689 use it if FMA3 is not supported.
54690 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
54692 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
54693 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54695 2011-10-20 Andreas Schwab <schwab@redhat.com>
54698 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
54699 it would create a cycle with a link time dependency.
54701 2011-10-19 Ulrich Drepper <drepper@gmail.com>
54703 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
54705 * string/Makefile (strop-tests): Add rawmemchr.
54706 * string/test-rawmemchr.c: New file.
54708 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
54709 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
54710 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
54711 when compiling str{,n}casecmp and when AVX is available. Hook up
54712 new optimized code in initializers.
54714 2011-10-19 Andreas Schwab <schwab@redhat.com>
54716 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
54717 __feraiseexcept instead of feraiseexcept.
54719 2011-10-18 Ulrich Drepper <drepper@gmail.com>
54721 * math/math_private.h: Define defaults for libc_fetestexcept and
54723 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
54724 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
54725 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54726 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54727 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54728 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54729 libc_fetestexcept and libc_feupdateenv.
54731 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
54732 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
54733 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
54734 * sysdeps/x86_64/fpu/math_private.h: Define special version of
54735 libc_feholdexcept_setround.
54737 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
54738 Add s_nearbyint-c and s_nearbyintf-c.
54739 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
54740 nearbyintf inlines.
54741 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
54742 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
54743 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
54744 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
54746 * math/math_private.h: Define defaults for libc_fegetround,
54747 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
54748 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
54749 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
54750 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
54751 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
54752 standard functions.
54753 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54754 Remove comments and hacks for old compiler versions.
54755 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54756 libc_fegetround, libc_fesetround, libc_feholdexcept, and
54757 libc_feholdexceptl.
54759 2011-10-18 Andreas Schwab <schwab@redhat.com>
54761 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
54762 (__feraiseexcept_renamed): Add __NTH.
54763 (feraiseexcept): Add __NTH. Rename local variables to fix
54764 namespace violations.
54766 2011-10-17 Ulrich Drepper <drepper@gmail.com>
54768 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
54770 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
54772 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
54773 recently added interfaces.
54774 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
54776 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
54777 about macro parameter expansion.
54779 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
54780 __NO_MATH_INLINES is defined. Cleanups.
54782 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
54783 and __floorf is target has SSE4.1.
54784 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
54785 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
54786 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
54787 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
54789 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
54791 (floorf): Likewise.
54793 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
54795 2011-10-17 Andreas Schwab <schwab@redhat.com>
54797 * misc/sys/cdefs.h: Fix last change.
54799 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
54802 2011-10-16 Ulrich Drepper <drepper@gmail.com>
54804 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
54806 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
54807 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54808 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54809 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54810 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54811 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54812 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54813 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54814 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54815 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
54816 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
54817 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
54818 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
54819 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
54820 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
54821 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
54822 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
54823 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
54824 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
54825 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
54826 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
54827 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
54829 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
54830 ceil, ceilf, floor, floorf.
54832 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
54833 Perform IRELATIVE relocations last.
54835 * elf/do-rel.h: Add another parameter nrelative, replacing the
54836 local variable with the same name. Change name of the function
54837 to end in Rel or Rela (uppercase).
54838 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
54839 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
54840 elf_dynamic_do_##reloc function.
54842 2011-10-15 Ulrich Drepper <drepper@gmail.com>
54844 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
54845 is sufficient, at least on modern CPUs.
54847 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
54849 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
54850 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
54852 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
54854 * math/bits/math-finite.h: Add entries for exp.
54855 * math/e_expl.c: Add __*_finite alias.
54856 * sysdeps/i386/fpu/e_exp.S: Likewise.
54857 * sysdeps/i386/fpu/e_expf.S: Likewise.
54858 * sysdeps/i386/fpu/e_expl.c: Likewise.
54859 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54860 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54861 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54862 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54863 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
54864 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54865 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54867 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
54868 is sufficient, at least on modern CPUs.
54870 * ctype/ctype-info.c (__ctype_init): Define.
54871 * include/ctype.h (__ctype_init): Declare.
54872 (__ctype_b_loc): The variable is always initialized.
54873 (__ctype_toupper_loc): Likewise.
54874 (__ctype_tolower_loc): Likewise.
54875 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
54876 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
54878 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
54880 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
54882 * configure.in: Also look in $cxxmachine/include for C++ system
54885 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54887 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
54888 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
54889 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
54890 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
54891 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
54892 (USE_AS_WMEMCMP): New macro.
54894 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
54895 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
54896 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
54897 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
54898 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54899 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
54900 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
54901 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
54902 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
54903 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
54904 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
54905 (USE_AS_WMEMCMP): New macro.
54906 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
54907 * sysdeps/string/test-memcmp.c: Update.
54908 Fix simple_wmemcmp.
54910 * wcsmbs/wmemcmp.c: Update.
54911 (WMEMCMP): New macro.
54914 2011-10-12 Andreas Jaeger <aj@suse.de>
54917 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
54919 2011-10-15 Ulrich Drepper <drepper@gmail.com>
54921 * libio/iofwide.c (do_length): Avoid warning.
54923 * ctype/ctype.h (__isctype_f): Add missing __THROW.
54925 2011-10-14 Ulrich Drepper <drepper@gmail.com>
54927 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
54929 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
54930 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
54931 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
54932 * sysdeps/i386/i686/fpu/e_log.S: New file.
54933 * sysdeps/i386/i686/fpu/e_logf.S: New file.
54934 * sysdeps/i386/i686/fpu/e_logl.S: New file.
54936 * ctype/ctype.h: Add support for inlined isXXX functions when
54937 compiling C++ code.
54939 2011-10-14 Andreas Schwab <schwab@redhat.com>
54941 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54943 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
54945 2011-10-13 Roland McGrath <roland@hack.frob.com>
54948 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
54950 2011-10-13 Andreas Schwab <schwab@redhat.com>
54952 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
54953 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
54956 * sysdeps/x86_64/memrchr.S: Check for zero size.
54958 * string/stratcliff.c: Add memrchr tests.
54960 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54962 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54963 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
54964 rawmemchr-sse2 rawmemchr-sse2-bsf.
54965 * sysdeps/i386/i686/multiarch/memchr.S: New file.
54966 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
54967 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
54968 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
54969 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
54970 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
54971 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
54972 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
54973 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
54974 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
54975 * string/memrchr.c (MEMRCHR): New macro.
54977 2011-10-12 Ulrich Drepper <drepper@gmail.com>
54979 Add integration with gcc's -ffinite-math-only and optimize wrapper
54981 * Versions.def: Define GLIBC_2.15 version for libm.
54982 * math/Makefile (headers): Add bits/math-finite.h.
54983 * math/bits/math-finite.h: New file.
54984 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
54985 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
54986 * math/e_acoshl.c: Add __*_finite alias.
54987 * math/e_acosl.c: Likewise.
54988 * math/e_asinl.c: Likewise.
54989 * math/e_atan2l.c: Likewise.
54990 * math/e_atanhl.c: Likewise.
54991 * math/e_coshl.c: Likewise.
54992 * math/e_exp10.c: Likewise.
54993 * math/e_exp10f.c: Likewise.
54994 * math/e_exp10l.c: Likewise.
54995 * math/e_exp2l.c: Likewise.
54996 * math/e_fmodl.c: Likewise.
54997 * math/e_gammal_r.c: Likewise.
54998 * math/e_hypotl.c: Likewise.
54999 * math/e_j0l.c: Likewise.
55000 * math/e_j1l.c: Likewise.
55001 * math/e_jnl.c: Likewise.
55002 * math/e_lgammal_r.c: Likewise.
55003 * math/e_log10l.c: Likewise.
55004 * math/e_log2l.c: Likewise.
55005 * math/e_logl.c: Likewise.
55006 * math/e_powl.c: Likewise.
55007 * math/e_sinhl.c: Likewise.
55008 * math/e_sqrtl.c: Likewise.
55009 * math/e_scalb.c: Completely rewritten and optimized.
55010 * math/e_scalbf.c: Likewise.
55011 * math/e_scalbl.c: Likewise.
55012 * math/w_acos.c: Likewise.
55013 * math/w_acosf.c: Likewise.
55014 * math/w_acosl.c: Likewise.
55015 * math/w_acosh.c: Likewise.
55016 * math/w_acoshf.c: Likewise.
55017 * math/w_acoshl.c: Likewise.
55018 * math/w_asin.c: Likewise.
55019 * math/w_asinf.c: Likewise.
55020 * math/w_asinl.c: Likewise.
55021 * math/w_atan2.c: Likewise.
55022 * math/w_atan2f.c: Likewise.
55023 * math/w_atan2l.c: Likewise.
55024 * math/w_atanh.c: Likewise.
55025 * math/w_atanhf.c: Likewise.
55026 * math/w_atanhl.c: Likewise.
55027 * math/w_exp10.c: Likewise.
55028 * math/w_exp10f.c: Likewise.
55029 * math/w_exp10l.c: Likewise.
55030 * math/w_fmod.c: Likewise.
55031 * math/w_fmodf.c: Likewise.
55032 * math/w_fmodl.c: Likewise.
55033 * math/w_j0.c: Likewise.
55034 * math/w_j0f.c: Likewise.
55035 * math/w_j0l.c: Likewise.
55036 * math/w_j1.c: Likewise.
55037 * math/w_j1f.c: Likewise.
55038 * math/w_j1l.c: Likewise.
55039 * math/w_jn.c: Likewise.
55040 * math/w_jnf.c: Likewise.
55041 * math/w_log.c: Likewise.
55042 * math/w_logf.c: Likewise.
55043 * math/w_logl.c: Likewise.
55044 * math/w_log10.c: Likewise.
55045 * math/w_log10f.c: Likewise.
55046 * math/w_log10l.c: Likewise.
55047 * math/w_log2.c: Likewise.
55048 * math/w_log2f.c: Likewise.
55049 * math/w_log2l.c: Likewise.
55050 * math/w_pow.c: Likewise.
55051 * math/w_powf.c: Likewise.
55052 * math/w_powl.c: Likewise.
55053 * math/w_remainder.c: Likewise.
55054 * math/w_remainderf.c: Likewise.
55055 * math/w_remainderl.c: Likewise.
55056 * math/w_scalb.c: Likewise.
55057 * math/w_scalbf.c: Likewise.
55058 * math/w_scalbl.c: Likewise.
55059 * math/w_sqrt.c: Likewise.
55060 * math/w_sqrtf.c: Likewise.
55061 * math/w_sqrtl.c: Likewise.
55062 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
55063 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
55065 * math/math_private.h: Declare __kernel_standard_f.
55066 * math/w_cosh.c: Remove cruft and optimize a bit.
55067 * math/w_coshf.c: Likewise.
55068 * math/w_coshl.c: Likewise.
55069 * math/w_exp2.c: Likewise.
55070 * math/w_exp2f.c: Likewise.
55071 * math/w_exp2l.c: Likewise.
55072 * math/w_hypot.c: Likewise.
55073 * math/w_hypotf.c: Likewise.
55074 * math/w_hypotl.c: Likewise.
55075 * math/w_lgamma.c: Likewise.
55076 * math/w_lgamma_r.c: Likewise.
55077 * math/w_lgammaf.c: Likewise.
55078 * math/w_lgammaf_r.c: Likewise.
55079 * math/w_lgammal.c: Likewise.
55080 * math/w_lgammal_r.c: Likewise.
55081 * math/w_sinh.c: Likewise.
55082 * math/w_sinhf.c: Likewise.
55083 * math/w_sinhl.c: Likewise.
55084 * math/w_tgamma.c: Likewise.
55085 * math/w_tgammaf.c: Likewise.
55086 * math/w_tgammal.c: Likewise.
55087 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55088 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55089 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
55090 Minor optimizations. Pretty printing. Remove cruft.
55091 * sysdeps/i386/fpu/e_acosf.S: Likewise.
55092 * sysdeps/i386/fpu/e_acosh.S: Likewise.
55093 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55094 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55095 * sysdeps/i386/fpu/e_acosl.c: Likewise.
55096 * sysdeps/i386/fpu/e_asin.S: Likewise.
55097 * sysdeps/i386/fpu/e_asinf.S: Likewise.
55098 * sysdeps/i386/fpu/e_atan2.S: Likewise.
55099 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
55100 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
55101 * sysdeps/i386/fpu/e_atanh.S: Likewise.
55102 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55103 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55104 * sysdeps/i386/fpu/e_exp10.S: Likewise.
55105 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
55106 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
55107 * sysdeps/i386/fpu/e_exp2.S: Likewise.
55108 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
55109 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
55110 * sysdeps/i386/fpu/e_fmod.S: Likewise.
55111 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
55112 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
55113 * sysdeps/i386/fpu/e_hypot.S: Likewise.
55114 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
55115 * sysdeps/i386/fpu/e_log.S: Likewise.
55116 * sysdeps/i386/fpu/e_log10.S: Likewise.
55117 * sysdeps/i386/fpu/e_log10f.S: Likewise.
55118 * sysdeps/i386/fpu/e_log10l.S: Likewise.
55119 * sysdeps/i386/fpu/e_log2.S: Likewise.
55120 * sysdeps/i386/fpu/e_log2f.S: Likewise.
55121 * sysdeps/i386/fpu/e_log2l.S: Likewise.
55122 * sysdeps/i386/fpu/e_logf.S: Likewise.
55123 * sysdeps/i386/fpu/e_logl.S: Likewise.
55124 * sysdeps/i386/fpu/e_pow.S: Likewise.
55125 * sysdeps/i386/fpu/e_powf.S: Likewise.
55126 * sysdeps/i386/fpu/e_powl.S: Likewise.
55127 * sysdeps/i386/fpu/e_remainder.S: Likewise.
55128 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
55129 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
55130 * sysdeps/i386/fpu/e_scalb.S: Likewise.
55131 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55132 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55133 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
55134 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
55135 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
55136 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55137 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55138 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55139 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55140 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55141 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55142 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
55143 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55144 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55145 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55146 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55147 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55148 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55149 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55150 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55151 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55152 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55153 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55154 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55155 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55156 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55157 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55158 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55159 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55160 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55161 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55162 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55163 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55164 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
55165 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55166 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55167 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55168 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55169 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55170 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55171 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55172 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55173 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55174 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55175 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55176 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55177 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55178 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55179 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55180 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55181 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55182 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55183 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55184 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55185 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
55186 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55187 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55188 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55189 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55190 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55191 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55192 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55193 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55194 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55195 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55196 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55197 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55198 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55199 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55200 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55201 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55202 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55203 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55204 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
55205 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55206 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55207 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55208 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55209 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55210 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55211 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55212 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55213 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55214 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55215 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55216 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55217 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55218 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
55219 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55220 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55221 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55222 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55223 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55224 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55225 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55226 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55227 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55228 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55229 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55230 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55231 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55232 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55233 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
55234 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
55235 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
55236 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
55237 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
55238 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
55239 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
55240 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55241 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55242 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55243 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55244 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
55245 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55246 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
55247 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
55248 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
55249 (__isnanf): Likewise.
55250 (__isinf_ns): Likewise.
55251 (__isinf_nsf): Likewise.
55252 (__finite): Likewise.
55253 (__finitef): Likewise.
55254 (__ieee754_sqrt): Define as macro.
55255 (__ieee754_sqrtf): Define as macro.
55256 (__ieee754_sqrtl): Define as macro.
55257 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
55259 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
55260 __FINITE_MATH_ONLY__ consistent.
55261 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
55263 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
55265 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
55268 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
55270 2011-10-09 Ulrich Drepper <drepper@gmail.com>
55272 * po/ja.po: Update from translation team.
55274 2011-10-08 Roland McGrath <roland@hack.frob.com>
55276 * locale/programs/locarchive.c (prepare_address_space): New function.
55277 (create_archive, enlarge_archive, open_archive): Use it.
55279 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
55280 inside [SHARED], where it is used.
55282 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
55284 * nss/getent.c (netgroup_keys): Remove unused variable.
55285 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55287 2011-10-08 Ulrich Drepper <drepper@gmail.com>
55289 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
55290 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
55291 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
55292 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
55293 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
55294 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
55295 * math/Makefile (libm-calls): Add s_isinf_ns.
55296 * math/divtc3.c: Use __isinf_nsl instead of isinf.
55297 * math/multc3.c: Likewise.
55298 * math/s_casin.c: Likewise.
55299 * math/s_casinf.c: Likewise.
55300 * math/s_casinl.c: Likewise.
55301 * math/s_ccos.c: Likewise.
55302 * math/s_ccosf.c: Likewise.
55303 * math/s_ccosl.c: Likewise.
55304 * math/s_ctan.c: Likewise.
55305 * math/s_ctanf.c: Likewise.
55306 * math/s_ctanh.c: Likewise.
55307 * math/s_ctanhf.c: Likewise.
55308 * math/s_ctanhl.c: Likewise.
55309 * math/s_ctanl.c: Likewise.
55310 * math/w_fmod.c: Likewise.
55311 * math/w_fmodf.c: Likewise.
55312 * math/w_fmodl.c: Likewise.
55313 * math/w_remainder.c: Likewise.
55314 * math/w_remainderf.c: Likewise.
55315 * math/w_remainderl.c: Likewise.
55316 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
55317 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
55318 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
55319 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
55320 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
55321 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
55322 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
55323 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
55325 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
55327 * stdio-common/printf_fphex.c: Likewise.
55328 * stdio-common/printf_size.c: Likewise.
55330 * math/e_exp10.c: Include math_private.h using <...> not "...".
55331 * math/e_exp10f.c: Likewise.
55332 * math/e_exp10l.c: Likewise.
55333 * math/e_exp2l.c: Likewise.
55334 * math/e_j0l.c: Likewise.
55335 * math/e_j1l.c: Likewise.
55336 * math/e_jnl.c: Likewise.
55337 * math/e_lgammal_r.c: Likewise.
55338 * math/e_rem_pio2l.c: Likewise.
55339 * math/e_scalb.c: Likewise.
55340 * math/e_scalbf.c: Likewise.
55341 * math/e_scalbl.c: Likewise.
55342 * math/k_cosl.c: Likewise.
55343 * math/k_sinl.c: Likewise.
55344 * math/k_tanl.c: Likewise.
55345 * math/s_cacoshf.c: Likewise.
55346 * math/s_catan.c: Likewise.
55347 * math/s_catanf.c: Likewise.
55348 * math/s_catanh.c: Likewise.
55349 * math/s_catanhf.c: Likewise.
55350 * math/s_catanhl.c: Likewise.
55351 * math/s_catanl.c: Likewise.
55352 * math/s_ccosh.c: Likewise.
55353 * math/s_ccoshf.c: Likewise.
55354 * math/s_ccoshl.c: Likewise.
55355 * math/s_cexp.c: Likewise.
55356 * math/s_cexpf.c: Likewise.
55357 * math/s_cexpl.c: Likewise.
55358 * math/s_clog.c: Likewise.
55359 * math/s_clog10.c: Likewise.
55360 * math/s_clog10f.c: Likewise.
55361 * math/s_clog10l.c: Likewise.
55362 * math/s_clogf.c: Likewise.
55363 * math/s_clogl.c: Likewise.
55364 * math/s_csin.c: Likewise.
55365 * math/s_csinf.c: Likewise.
55366 * math/s_csinh.c: Likewise.
55367 * math/s_csinhf.c: Likewise.
55368 * math/s_csinhl.c: Likewise.
55369 * math/s_csinl.c: Likewise.
55370 * math/s_csqrt.c: Likewise.
55371 * math/s_csqrtf.c: Likewise.
55372 * math/s_csqrtl.c: Likewise.
55373 * math/s_ctan.c: Likewise.
55374 * math/s_ctanf.c: Likewise.
55375 * math/s_ctanh.c: Likewise.
55376 * math/s_ctanhf.c: Likewise.
55377 * math/s_ctanhl.c: Likewise.
55378 * math/s_ctanl.c: Likewise.
55379 * math/s_ldexp.c: Likewise.
55380 * math/s_ldexpf.c: Likewise.
55381 * math/s_ldexpl.c: Likewise.
55382 * math/s_significand.c: Likewise.
55383 * math/s_significandf.c: Likewise.
55384 * math/s_significandl.c: Likewise.
55385 * math/w_acos.c: Likewise.
55386 * math/w_acosf.c: Likewise.
55387 * math/w_acosh.c: Likewise.
55388 * math/w_acoshf.c: Likewise.
55389 * math/w_acoshl.c: Likewise.
55390 * math/w_acosl.c: Likewise.
55391 * math/w_asin.c: Likewise.
55392 * math/w_asinf.c: Likewise.
55393 * math/w_asinl.c: Likewise.
55394 * math/w_atan2.c: Likewise.
55395 * math/w_atan2f.c: Likewise.
55396 * math/w_atan2l.c: Likewise.
55397 * math/w_atanh.c: Likewise.
55398 * math/w_atanhf.c: Likewise.
55399 * math/w_atanhl.c: Likewise.
55400 * math/w_cosh.c: Likewise.
55401 * math/w_coshf.c: Likewise.
55402 * math/w_coshl.c: Likewise.
55403 * math/w_dremf.c: Likewise.
55404 * math/w_exp10.c: Likewise.
55405 * math/w_exp10f.c: Likewise.
55406 * math/w_exp10l.c: Likewise.
55407 * math/w_exp2.c: Likewise.
55408 * math/w_exp2f.c: Likewise.
55409 * math/w_fmod.c: Likewise.
55410 * math/w_fmodf.c: Likewise.
55411 * math/w_fmodl.c: Likewise.
55412 * math/w_hypot.c: Likewise.
55413 * math/w_hypotf.c: Likewise.
55414 * math/w_hypotl.c: Likewise.
55415 * math/w_j0.c: Likewise.
55416 * math/w_j0f.c: Likewise.
55417 * math/w_j0l.c: Likewise.
55418 * math/w_j1.c: Likewise.
55419 * math/w_j1f.c: Likewise.
55420 * math/w_j1l.c: Likewise.
55421 * math/w_jn.c: Likewise.
55422 * math/w_jnf.c: Likewise.
55423 * math/w_jnl.c: Likewise.
55424 * math/w_lgamma.c: Likewise.
55425 * math/w_lgamma_r.c: Likewise.
55426 * math/w_lgammaf.c: Likewise.
55427 * math/w_lgammaf_r.c: Likewise.
55428 * math/w_lgammal.c: Likewise.
55429 * math/w_lgammal_r.c: Likewise.
55430 * math/w_log.c: Likewise.
55431 * math/w_log10.c: Likewise.
55432 * math/w_log10f.c: Likewise.
55433 * math/w_log10l.c: Likewise.
55434 * math/w_log2.c: Likewise.
55435 * math/w_log2f.c: Likewise.
55436 * math/w_log2l.c: Likewise.
55437 * math/w_logf.c: Likewise.
55438 * math/w_logl.c: Likewise.
55439 * math/w_pow.c: Likewise.
55440 * math/w_powf.c: Likewise.
55441 * math/w_powl.c: Likewise.
55442 * math/w_remainder.c: Likewise.
55443 * math/w_remainderf.c: Likewise.
55444 * math/w_remainderl.c: Likewise.
55445 * math/w_scalb.c: Likewise.
55446 * math/w_scalbf.c: Likewise.
55447 * math/w_scalbl.c: Likewise.
55448 * math/w_sinh.c: Likewise.
55449 * math/w_sinhf.c: Likewise.
55450 * math/w_sinhl.c: Likewise.
55451 * math/w_sqrt.c: Likewise.
55452 * math/w_sqrtf.c: Likewise.
55453 * math/w_sqrtl.c: Likewise.
55454 * math/w_tgamma.c: Likewise.
55455 * math/w_tgammaf.c: Likewise.
55456 * math/w_tgammal.c: Likewise.
55458 * po/ja.po: Update from translation team.
55460 2011-09-29 Andreas Jaeger <aj@suse.de>
55463 * sunrpc/netname.c (netname2host): Fix logic.
55467 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
55469 * math/w_remainder.c (__remainder): Likewise.
55470 * math/w_remainderf.c (__remainderf): Likewise.
55471 * math/libm-test.inc (remainder_test): Add test cases.
55473 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55475 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
55478 2011-10-07 Ulrich Drepper <drepper@gmail.com>
55480 * string/test-memcmp.c: Avoid unncessary #defines.
55481 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55483 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55485 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
55486 Use new sse2 version for core i3 - i7 as it's faster
55487 than sse42 version.
55488 (bit_Prefer_PMINUB_for_stringop): New.
55489 * sysdeps/x86_64/rawmemchr.S: Update.
55490 Replace with faster SSE2 version.
55491 * sysdeps/x86_64/memrchr.S: New file.
55492 * sysdeps/x86_64/memchr.S: Update.
55493 Replace with faster SSE2 version.
55495 2011-09-12 Marek Polacek <mpolacek@redhat.com>
55497 * elf/dl-load.c (lose): Add cast to avoid warning.
55499 2011-10-07 Ulrich Drepper <drepper@gmail.com>
55501 * po/ca.po: Update from translation team.
55503 * inet/getnetgrent_r.c: Hook up nscd.
55504 * nscd/Makefile (routines): Add nscd_netgroup.
55505 (nscd-modules): Add netgroupcache.
55506 (CFLAGS-netgroupcache.c): Define.
55507 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
55508 (cache_search): Add const to second parameter.
55509 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
55511 (dbs): Add netgrdb entry.
55512 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
55513 (verify_persistent_db): Handle netgrdb.
55514 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
55515 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
55517 (netgroup_response_header): Define.
55518 (innetgroup_response_header): Define.
55519 (datahead): Add netgroup_response_header and innetgroup_response_header
55521 * nscd/nscd.conf: Add entries for netgroup cache.
55522 * nscd/nscd.h (dbtype): Add netgrdb.
55523 (_PATH_NSCD_NETGROUP_DB): Define.
55524 (netgroup_iov_disabled): Declare.
55525 (xmalloc, xcalloc, xrealloc): Move declarations here.
55526 (cache_search): Adjust prototype.
55527 Add netgroup-related prototypes.
55528 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
55529 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
55530 (__nscd_innetgr): Declare.
55531 * nscd/selinux.c (perms): Use access_vector_t as element type and
55532 add netgroup-related initializers.
55533 * nscd/netgroupcache.c: New file.
55534 * nscd/nscd_netgroup.c: New file.
55535 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
55536 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
55537 For four parameters use innetgr.
55538 * nss/nss_files/files-init.c: Add definition and callback for netgr.
55539 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
55540 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
55541 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
55543 * nscd/connections.c (register_traced_file): Don't register file
55544 for disabled databases.
55546 2011-10-06 Ulrich Drepper <drepper@gmail.com>
55548 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
55550 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
55551 from tree and freeing node.
55553 2011-09-25 Jiri Olsa <jolsa@redhat.com>
55555 * nss/nsswitch.c (__nss_database_lookup): Handle
55556 nss_parse_service_list out of memory case.
55558 2011-09-15 Jiri Olsa <jolsa@redhat.com>
55560 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
55561 out of memory case.
55563 2011-10-04 Andreas Schwab <schwab@redhat.com>
55565 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
55566 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
55568 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
55569 elf_machine_rela, elf_machine_lazy_rel.
55570 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
55571 (ELF_DYNAMIC_DO_REL): Likewise.
55572 (ELF_DYNAMIC_DO_RELA): Likewise.
55573 (ELF_DYNAMIC_RELOCATE): Likewise.
55574 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
55575 to ELF_DYNAMIC_DO_REL.
55576 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
55577 (dl_main): In trace mode always set __RTLD_NOIFUNC.
55578 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
55580 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
55581 skip_ifunc, don't call ifunc function if non-zero.
55582 (elf_machine_rela): Likewise.
55583 (elf_machine_lazy_rel): Likewise.
55584 (elf_machine_lazy_rela): Likewise.
55585 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
55586 (elf_machine_lazy_rel): Likewise.
55587 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
55589 (elf_machine_lazy_rel): Likewise.
55590 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55592 (elf_machine_lazy_rel): Likewise.
55593 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
55594 (elf_machine_lazy_rel): Likewise.
55595 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
55596 (elf_machine_lazy_rel): Likewise.
55597 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55598 (elf_machine_lazy_rel): Likewise.
55599 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
55600 (elf_machine_lazy_rel): Likewise.
55601 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
55602 (elf_machine_lazy_rel): Likewise.
55603 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55604 (elf_machine_lazy_rel): Likewise.
55606 2011-09-28 Ulrich Drepper <drepper@gmail.com>
55608 * nss/nss_files/files-init.c (_nss_files_init): Use static
55609 initialization for all the *_traced_file variables.
55611 2011-09-28 Andreas Schwab <schwab@redhat.com>
55613 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55615 2011-09-27 Roland McGrath <roland@hack.frob.com>
55618 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
55620 2011-09-27 Andreas Schwab <schwab@redhat.com>
55622 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55623 Reread the line before reparsing it.
55625 2011-09-26 Andreas Schwab <schwab@redhat.com>
55627 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
55629 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
55630 Maxim Kuvyrkov <maxim@codesourcery.com>
55631 Joseph Myers <joseph@codesourcery.com>
55633 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
55634 if needed for __stack_chk_guard.
55636 2011-09-19 Roland McGrath <roland@hack.frob.com>
55638 * sysdeps/posix/spawni.c (script_execute): Always define it.
55639 It will be optimized away if unused.
55640 (maybe_script_execute): New function.
55641 (__spawni): Call it.
55643 * Makerules: Don't include tls.make.
55644 (config-tls): Always set to thread.
55645 * tls.make.c: File removed.
55647 2011-09-19 Mike Frysinger <vapier@gentoo.org>
55649 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
55650 * config.make.in (CPPFLAGS-config): New substituted variable.
55652 2011-09-15 Ulrich Drepper <drepper@gmail.com>
55654 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
55657 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
55658 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
55660 2011-09-15 Roland McGrath <roland@hack.frob.com>
55662 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
55663 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
55664 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55665 (CALL_FAIL): Likewise.
55666 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
55667 (CALL_FAIL): Macro removed.
55668 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
55670 2011-09-15 Ulrich Drepper <drepper@gmail.com>
55672 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
55673 for __FINITE_MATH_ONLY__ == 1.
55675 2011-09-15 Andreas Schwab <schwab@redhat.com>
55677 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
55678 __ieee754_sqrt instead of sqrt.
55679 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
55680 __ieee754_sqrtf instead of sqrtf.
55681 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
55682 __floorf instead of floorf.
55683 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
55684 __floorf, __truncf instead of floorf, truncf.
55686 2011-09-14 Ulrich Drepper <drepper@gmail.com>
55688 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
55690 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
55691 __extern_always_inline.
55692 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
55695 2011-09-14 Andreas Schwab <schwab@redhat.com>
55697 * elf/rtld.c (dl_main): Also relocate in dependency order when
55698 doing symbol dependency testing.
55700 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
55702 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55703 Always define `refsym'.
55705 2011-09-13 Andreas Schwab <schwab@redhat.com>
55707 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
55708 (__FD_ELT): Renamed from __FDELT.
55709 * misc/bits/select2.h (__FD_ELT): Likewise.
55710 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
55711 __FD_MASK instead of __FDELT, __FDMASK.
55712 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55714 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55717 * elf/Makefile (gen-ldd): Fix pattern.
55719 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
55720 (init_tls): Likewise.
55722 2011-09-12 Ulrich Drepper <drepper@gmail.com>
55724 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
55726 2011-09-12 Andreas Schwab <schwab@redhat.com>
55728 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
55729 `struct cmsghdr *' instead of `void *'.
55730 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
55733 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
55735 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
55737 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
55738 ldd_rewrite_script.
55740 2011-09-11 Ulrich Drepper <drepper@gmail.com>
55742 * configure.in: Remove --with-tls option.
55743 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
55744 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
55745 out in case it is missing.
55746 * sysdeps/ia64/elf/configure.in: Likewise.
55747 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
55748 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
55749 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
55750 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
55751 * sysdeps/sh/elf/configure.in: Likewise.
55752 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
55753 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55754 * sysdeps/x86_64/elf/configure.in: Likewise.
55755 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
55756 * sysdeps/mach/hurd/tls.h: Likewise.
55759 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
55762 * configure.in: Fix use of AC_INIT.
55764 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
55766 2011-09-10 Ulrich Drepper <drepper@gmail.com>
55768 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
55770 * malloc/hooks.c: Likewise.
55773 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
55774 variables statically.
55775 (narenas): Initialize.
55776 (list_lock): Initialize.
55777 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
55778 initializtion of main_arena and list_lock. Small cleanups.
55779 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
55780 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
55781 Add initializers to main_arena and mp_.
55782 (malloc_state): Remove pagesize member. Change all users to use
55785 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
55786 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
55787 is always initialized.
55789 * malloc/malloc.c: Removed unused configurations and dead code.
55790 * malloc/arena.c: Likewise.
55791 * malloc/hooks.c: Likewise.
55792 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
55794 * include/tls.h: Removed. USE___THREAD must always be defined.
55795 * bits/libc-tsd.h: Don't handle !USE___THREAD.
55796 * elf/dl-libc.c: Likewise.
55797 * elf/dl-tsd.c: Likewise.
55798 * include/errno.h: Likewise.
55799 * include/netdb.h: Likewise.
55800 * include/resolv.h: Likewise.
55801 * inet/herrno-loc.c: Likewise.
55802 * inet/herrno.c: Likewise.
55803 * malloc/arena.c: Likewise.
55804 * malloc/hooks.c: Likewise.
55805 * malloc/malloc.c: Likewise.
55806 * resolv/res-state.c: Likewise.
55807 * resolv/res_libc.c: Likewise.
55808 * sysdeps/i386/dl-machine.h: Likewise.
55809 * sysdeps/ia64/dl-machine.h: Likewise.
55810 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
55811 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55812 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
55813 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
55814 * sysdeps/sh/dl-machine.h: Likewise.
55815 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55816 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55817 * sysdeps/unix/i386/sysdep.S: Likewise.
55818 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
55819 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
55820 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
55821 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
55822 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
55823 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
55824 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
55825 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55826 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55827 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
55828 * sysdeps/unix/x86_64/sysdep.S: Likewise.
55829 * sysdeps/x86_64/dl-machine.h: Likewise.
55830 * tls.make.c: Likewise.
55832 * configure.in: Remove --with-__thread option. Make tests for
55833 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
55834 tls_model attribute fail if no support is available. Remove
55836 * Makeconfig: Adjust for dropped configure option. All features are
55838 * Makerules: Likewise.
55839 * Versions.def: Likewise.
55840 * argp/argp-fmtstream.c: Likewise.
55841 * argp/argp-fmtstream.h: Likewise.
55842 * argp/argp-help.c: Likewise.
55843 * assert/assert.c: Likewise.
55844 * config.h.in: Likewise.
55845 * config.make.in: Likewise.
55846 * configure: Likewise.
55847 * configure.in: Likewise.
55848 * csu/Versions: Likewise.
55849 * csu/init.c: Likewise.
55850 * elf/tst-audit2.c: Likewise.
55851 * elf/tst-tls10.c: Likewise.
55852 * elf/tst-tls10.h: Likewise.
55853 * elf/tst-tls11.c: Likewise.
55854 * elf/tst-tls12.c: Likewise.
55855 * elf/tst-tls14.c: Likewise.
55856 * elf/tst-tlsmod11.c: Likewise.
55857 * elf/tst-tlsmod12.c: Likewise.
55858 * elf/tst-tlsmod13.c: Likewise.
55859 * elf/tst-tlsmod13a.c: Likewise.
55860 * elf/tst-tlsmod14a.c: Likewise.
55861 * elf/tst-tlsmod15b.c: Likewise.
55862 * elf/tst-tlsmod16a.c: Likewise.
55863 * elf/tst-tlsmod16b.c: Likewise.
55864 * elf/tst-tlsmod7.c: Likewise.
55865 * elf/tst-tlsmod8.c: Likewise.
55866 * elf/tst-tlsmod9.c: Likewise.
55867 * gmon/gmon.c: Likewise.
55868 * grp/fgetgrent_r.c: Likewise.
55869 * grp/putgrent.c: Likewise.
55870 * hurd/fopenport.c: Likewise.
55871 * include/libc-symbols.h: Likewise.
55872 * include/tls.h: Likewise.
55873 * intl/gettextP.h: Likewise.
55874 * intl/loadinfo.h: Likewise.
55875 * locale/global-locale.c: Likewise.
55876 * locale/localeinfo.h: Likewise.
55877 * mach/devstream.c: Likewise.
55878 * malloc/arena.c: Likewise.
55879 * malloc/set-freeres.c: Likewise.
55880 * misc/err.c: Likewise.
55881 * misc/getttyent.c: Likewise.
55882 * misc/mntent_r.c: Likewise.
55883 * posix/getopt.c: Likewise.
55884 * posix/wordexp.c: Likewise.
55885 * pwd/fgetpwent_r.c: Likewise.
55886 * resolv/Versions: Likewise.
55887 * resolv/res_hconf.c: Likewise.
55888 * shadow/fgetspent_r.c: Likewise.
55889 * shadow/putspent.c: Likewise.
55890 * stdio-common/printf_fphex.c: Likewise.
55891 * stdio-common/tmpfile.c: Likewise.
55892 * stdlib/abort.c: Likewise.
55893 * stdlib/fmtmsg.c: Likewise.
55894 * sunrpc/auth_unix.c: Likewise.
55895 * sunrpc/clnt_perr.c: Likewise.
55896 * sunrpc/clnt_tcp.c: Likewise.
55897 * sunrpc/clnt_udp.c: Likewise.
55898 * sunrpc/clnt_unix.c: Likewise.
55899 * sunrpc/openchild.c: Likewise.
55900 * sunrpc/svc_simple.c: Likewise.
55901 * sunrpc/svc_tcp.c: Likewise.
55902 * sunrpc/svc_udp.c: Likewise.
55903 * sunrpc/svc_unix.c: Likewise.
55904 * sunrpc/xdr.c: Likewise.
55905 * sunrpc/xdr_array.c: Likewise.
55906 * sunrpc/xdr_rec.c: Likewise.
55907 * sunrpc/xdr_ref.c: Likewise.
55908 * sunrpc/xdr_stdio.c: Likewise.
55910 2011-09-09 Ulrich Drepper <drepper@gmail.com>
55912 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55914 2011-07-03 Andreas Jaeger <aj@suse.de>
55916 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
55917 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
55918 regenerate with gen-libm-tests.pl.
55920 2010-05-12 Petr Baudis <pasky@suse.cz>
55923 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
55924 around j0() zero points by switching to j1().
55925 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55926 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55927 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55928 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55930 2011-09-09 Ulrich Drepper <drepper@gmail.com>
55932 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
55934 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
55936 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55937 Patch in part by Pavel Roskin <proski@gnu.org>.
55940 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
55942 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
55943 Free memory block if necessary.
55946 * libio/genops.c (INTDEF): For string streams the _lock pointer can
55947 be NULL. Don't lock in this case.
55949 2011-09-09 Roland McGrath <roland@hack.frob.com>
55951 * elf/elf.h (ELFOSABI_GNU): New macro.
55952 (ELFOSABI_LINUX): Define to that.
55954 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
55956 * string/strncat.c (strncat): Undef the symbol in case it has been
55957 defined in bits/string.h.
55959 2011-09-09 Ulrich Drepper <drepper@gmail.com>
55961 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
55963 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
55966 2011-08-17 Andreas Jaeger <aj@suse.de>
55968 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
55970 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
55971 Ian Lance Taylor <iant@google.com>
55973 * math/libm-test.inc (lround_test): New testcase.
55974 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
55976 2011-09-08 Ulrich Drepper <drepper@gmail.com>
55978 * Makefile: Remove support for automatic cvs check-ins.
55979 * Makerules: Likewise.
55980 * config.make.in: Likewise.
55981 * configure.in: Likewise.
55982 * intl/Makefile: Likewise.
55983 * locale/Makefile: Likewise.
55984 * po/Makefile: Likewise.
55985 * posix/Makefile: Likewise.
55986 * sysdeps/gnu/Makefile: Likewise.
55987 * sysdeps/mach/hurd/Makefile: Likewise.
55988 * sysdeps/sparc/sparc32/Makefile: Likewise.
55991 * posix/Makefile (bug-regex32-ENV): Define.
55992 Patch by John Stanley <jpsinthemix@verizon.net>.
55994 * misc/Makefile (headers): Add bits/select2.h.
55995 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
55996 * misc/bits/select2.h: New file.
55997 * include/bits/select2.h: New file.
55998 * debug/Makefile (routines): Add fdelt_chk.
55999 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
56000 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
56002 * debug/fdelt_chk.c: New file.
56004 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
56005 * wcsmbs/test-wmemcmp.c: Likewise.
56006 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
56007 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
56009 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56011 * string/Makefile (strop-tests): Add memcmp.
56012 * string/test-wmemcmp.c: New file.
56013 * string/test-memcmp.c: Add wmemcmp support.
56015 2011-09-08 Roland McGrath <roland@hack.frob.com>
56018 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
56021 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
56022 garbage value in a __mach_port_mod_refs call in the cases of the
56023 task-self and thread-self ports.
56025 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56027 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
56029 2011-09-08 Andreas Schwab <schwab@redhat.com>
56031 * elf/dl-load.c (lose): Check for non-null L.
56033 2011-09-07 Ulrich Drepper <drepper@gmail.com>
56035 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
56037 * elf/dl-libc.c (dlerror_run): Pass back error code from
56041 * elf/dl-load.c (lose): Free l_origin if it is valid.
56043 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
56045 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
56046 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56047 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56048 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56049 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
56050 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
56052 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56054 * sysdeps/powerpc/fpu/e_hypot.c: New file.
56055 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
56056 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
56057 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
56058 * sysdeps/powerpc/fpu/k_cosf.c: New file.
56059 * sysdeps/powerpc/fpu/k_sinf.c: New file.
56060 * sysdeps/powerpc/fpu/s_cosf.c: New file.
56061 * sysdeps/powerpc/fpu/s_sinf.c: New file.
56062 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
56063 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
56065 2011-08-15 Alan Modra <amodra@gmail.com>
56068 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
56069 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
56070 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
56071 ppc_mcount to static-only-routines.
56072 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
56074 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
56075 __mcount_internal with usual JUMPTARGET. Remove useless nop.
56077 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
56079 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
56080 for finite and infinity parameters.
56082 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
56084 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
56085 and add nop instructions for throughput optimization.
56086 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56088 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
56090 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
56091 aligned copy for power7 with vector-scalar instructions.
56092 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56094 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
56096 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
56099 2011-09-07 Andreas Schwab <schwab@redhat.com>
56102 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
56105 2011-09-07 Ulrich Drepper <drepper@gmail.com>
56107 * sysdeps/unix/sysv/linux/x86_64/init-first.c
56108 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
56109 syscall wrapper around clock_gettime in __vdso_clock_gettime.
56110 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
56113 2011-09-06 Ulrich Drepper <drepper@gmail.com>
56115 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
56116 Forgot to demangle the pointer.
56118 * sysdeps/i386/sysdep.h: Define atom_text_section.
56119 * sysdeps/x86_64/sysdep.h: Likewise.
56120 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
56121 section with atom_text_section.
56122 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56123 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56124 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
56125 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56126 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
56128 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
56129 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
56130 already be defined. Change to take two parameters and don't assign
56131 result to variable. Adjust all users.
56132 Define INTERNAL_GETTIME if not already defined.
56133 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
56135 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
56136 HAVE_CLOCK_GETTIME_VSYSCALL.
56137 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
56139 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
56140 gettimeofday vsyscall, just use time.
56142 2011-09-06 Andreas Schwab <schwab@redhat.com>
56144 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
56147 2011-09-06 Ulrich Drepper <drepper@gmail.com>
56149 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
56151 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
56153 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
56154 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
56155 syscall if possible.
56157 2011-09-05 Ulrich Drepper <drepper@gmail.com>
56159 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
56160 e_ident. Don't pass to find_mapsXX.
56161 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
56163 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56165 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56166 strchr-sse2-no-bsf strrchr-sse2-no-bsf
56167 * sysdeps/x86_64/multiarch/strchr.S: Update.
56168 Check bit_slow_BSF bit.
56169 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56170 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
56171 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
56173 2011-09-05 Ulrich Drepper <drepper@gmail.com>
56176 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
56178 (tryshell): Define.
56179 (__spawni): Change last parameter to be flag. Test
56180 SPAWN_XFLAGS_USE_PATH flag to use path or not.
56181 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
56182 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
56183 * posix/spawni.c: Likewise.
56184 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
56185 * posix/spawnp.c: Likewise. Change normal version to use
56186 SPAWN_XFLAGS_USE_PATH.
56187 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
56188 SPAWN_XFLAGS_TRY_SHELL.
56191 * posix/glob.h: Remove gcc 1.x support.
56194 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
56196 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56198 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56199 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
56201 * sysdeps/i386/i686/multiarch/strchr.S: New file.
56202 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
56203 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
56204 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
56205 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
56206 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
56208 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56210 * sysdeps/x86_64/wcscmp.S: New file.
56212 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
56213 wcscmp-c wcscmp-sse2
56214 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
56215 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
56216 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
56217 * wcsmbs/wcscmp.c: Allow renaming.
56219 2011-09-05 David S. Miller <davem@davemloft.net>
56221 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
56222 stack slot, rather than the struct return pointer slot.
56223 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
56224 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
56225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
56226 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
56228 2011-09-05 Ulrich Drepper <drepper@gmail.com>
56230 * po/ja.po: Update from translation team.
56233 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
56234 kernel in 64-bit binaries.
56236 2011-09-01 David S. Miller <davem@davemloft.net>
56238 * elf/elf.h (HWCAP_SPARC_*): Move to..
56239 * sysdeps/sparc/sysdep.h: this new file and add new values.
56240 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
56241 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
56242 _DL_HWCAP_COUNT to 24.
56243 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
56245 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
56246 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
56247 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
56248 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
56249 instead of magic constants.
56250 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56252 2011-08-31 David S. Miller <davem@davemloft.net>
56254 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
56255 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
56256 Reimplement to do errno handling inline.
56257 (SYSCALL_ERROR_HANDLER): New macro.
56258 (__SYSCALL_STRING): Do not do errno handling in asm.
56259 (__CLONE_SYSCALL_STRING): Delete.
56260 (__INTERNAL_SYSCALL_STRING): Delete.
56261 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
56262 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
56263 (PSEUDO): Reimplement to do errno handling inline.
56264 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
56265 (SYSCALL_ERROR_HANDLER): New macro.
56266 (__SYSCALL_STRING): Do not do errno handling in asm.
56267 (__CLONE_SYSCALL_STRING): Delete.
56268 (__INTERNAL_SYSCALL_STRING): Delete.
56269 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
56270 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
56272 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
56273 (inline_syscall*): Add 'err' argument.
56274 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
56275 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
56276 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
56277 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
56279 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
56280 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
56282 2011-08-30 Andreas Schwab <schwab@redhat.com>
56284 * elf/rtld.c (dl_main): Relocate objects in dependency order.
56286 2011-08-29 Jiri Olsa <jolsa@redhat.com>
56288 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
56291 2011-08-24 David S. Miller <davem@davemloft.net>
56293 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
56295 2011-08-24 Andreas Schwab <schwab@redhat.com>
56297 * elf/Makefile: Add rules to build and run unload8 test.
56298 * elf/unload8.c: New file.
56299 * elf/unload8mod1.c: New file.
56300 * elf/unload8mod1x.c: New file.
56301 * elf/unload8mod2.c: New file.
56302 * elf/unload8mod3.c: New file.
56304 * elf/dl-close.c (_dl_close_worker): Reset private search list if
56307 2011-08-23 David S. Miller <davem@davemloft.net>
56309 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
56310 subtract stack bias.
56311 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
56312 %sp not %fp in calculations.
56313 (_JMPBUF_UNWINDS_ADJ): Likewise.
56315 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
56316 (aio_suspend): Call it to force an exception region around the
56317 AIO_MISC_WAIT() invocation.
56319 2011-08-23 Andreas Schwab <schwab@redhat.com>
56321 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
56324 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
56326 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
56328 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
56329 and <dl-machine.h>.
56330 (Elf64_FuncDesc): Remove.
56332 2011-08-22 David S. Miller <davem@davemloft.net>
56334 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
56335 sigaltstack check, add missing cfi directives.
56336 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
56337 missing cfi directives, and sigaltstack handling.
56339 2011-08-16 Andreas Schwab <schwab@redhat.com>
56342 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
56343 object is seen twice.
56344 * elf/dl-fini.c (_dl_sort_fini): Likewise.
56346 * elf/Makefile (distribute): Add tst-initorder2.c.
56347 (tests): Add tst-initorder2.
56348 (modules-names): Add tst-initorder2a tst-initorder2b
56349 tst-initorder2c tst-initorder2d. Add rules to build them.
56350 ($(objpfx)tst-initorder2.out): New rule.
56351 * elf/tst-initorder2.c: New file.
56352 * elf/tst-initorder2.exp: New file.
56354 2011-08-22 Andreas Schwab <schwab@redhat.com>
56356 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
56358 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
56359 dependencies back to end of function.
56361 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56362 $(elfobjdir)/ld.so.
56364 2011-08-21 Ulrich Drepper <drepper@gmail.com>
56366 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
56367 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
56368 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
56369 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
56370 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
56371 of __vdso_gettimeofday.
56372 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
56373 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
56375 (_libc_vdso_platform_setup): Remove initialization of
56376 __vdso_gettimeofday and __vdso_time.
56378 2011-08-20 Ulrich Drepper <drepper@gmail.com>
56380 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
56381 and fgetc_unlocked.
56382 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
56385 * elf/dl-open.c (add_to_global): Report additions to the global scope
56386 for LD_DEBUG=scopes.
56387 (dl_open_worker): Also print scope of newly loaded dependencies.
56388 (_dl_show_scope): Indicate if there is no scope.
56391 * stdio-common/Makefile (tests): Add bug24.
56392 * stdio-common/bug24.c: New file.
56394 2011-08-19 Andreas Jaeger <aj@suse.de>
56397 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
56398 non-existant file when using close-on-exec mode.
56400 2011-08-20 Ulrich Drepper <drepper@gmail.com>
56402 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
56403 the very first instruction.
56405 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
56406 the CFI state in the end.
56407 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
56408 inclusion of dl-trampoline.h.
56409 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
56411 2011-08-19 Andreas Schwab <schwab@redhat.com>
56413 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
56414 expectations for long double.
56416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
56417 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
56419 2011-08-14 David S. Miller <davem@davemloft.net>
56421 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
56422 artificual limit depends upon the system page size.
56424 2011-08-17 Ulrich Drepper <drepper@gmail.com>
56426 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
56427 * resolv/Makefile: Define CFLAGS-libresolv.
56429 2011-08-17 Andreas Schwab <schwab@redhat.com>
56431 * nss/makedb.c (compute_tables): Make variables used in nested
56434 2011-08-17 Ulrich Drepper <drepper@gmail.com>
56436 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
56437 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
56438 if buffer was too small.
56440 * elf/pldd.c (main): Attach to all threads in the process.
56441 Rewrite /proc handling to use *at functions.
56443 2011-08-16 Ulrich Drepper <drepper@gmail.com>
56445 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
56446 specifies first scope to show.
56447 (dl_open_worker): Update callers. Move printing scope of new
56448 object to before the relocation.
56449 * elf/rtld.c (dl_main): Update _dl_show_scope call.
56450 * sysdeps/generic/ldsodefs.h: Update declaration.
56452 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
56453 string for the scope number.
56455 2011-08-14 Ulrich Drepper <drepper@gmail.com>
56457 * nscd/servicescache.c (cache_addserv): Make sure written is always
56460 2011-08-14 Roland McGrath <roland@hack.frob.com>
56462 * sysdeps/i386/i486/bits/atomic.h
56463 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
56464 statement expression, so as to suppress "set but not used" warning.
56465 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
56467 * string/strncat.c (STRNCAT): Use prototype definition.
56469 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
56470 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
56472 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
56473 (localedef-modules): Add localedef.
56474 (locale-modules): Add locale.
56476 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
56477 * elf/rtld.c (dl_main): Invert order of assignment in last change,
56478 to avoid a warning.
56480 2011-08-14 David S. Miller <davem@davemloft.net>
56482 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
56483 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
56485 2011-08-13 Ulrich Drepper <drepper@gmail.com>
56487 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
56488 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
56489 * elf/rtld.c (dl_main): Set l_name of vDSO.
56490 Call _dl_show_scope when DL_DEBUG_SCOPES.
56491 (process_dl_debug): Recognize scopes flag and also set it for all.
56492 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
56493 Declare _dl_show_scope.
56495 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
56496 (do_dlopen): Pass caller_dlopen to dl_open.
56497 (__libc_dlopen_mode): Initialize caller_dlopen.
56499 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
56500 of libc. Make tolower call locale-independent. Optimize a bit by
56501 using isdigit instead of isalnum.
56502 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
56504 2011-08-12 Ulrich Drepper <drepper@gmail.com>
56506 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
56507 was a dependency or dynamically loaded.
56509 2011-08-11 Ulrich Drepper <drepper@gmail.com>
56511 * intl/l10nflist.c: Allow architecture-specific pop function.
56512 * sysdeps/x86_64/l10nflist.c: New file.
56514 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
56517 2011-08-10 Andreas Schwab <schwab@redhat.com>
56519 * include/dirent.h: Add libc_hidden_proto for scandirat and
56520 scandirat64. Don't declare __scandirat64.
56521 * dirent/scandirat.c: Add libc_hidden_def.
56522 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
56523 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
56525 2011-08-10 David S. Miller <davem@davemloft.net>
56527 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
56529 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56530 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56531 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56533 2011-08-09 Ulrich Drepper <drepper@gmail.com>
56535 * Versions.def [libc]: Add GLIBC_2.15.
56536 * dirent/Makefile (routines): Add scandirat and scandirat64.
56537 * dirent/Versions [libc]: Export scandirat and scandirat64 for
56539 * dirent/dirent.h: Declare scandirat and scandirat64.
56540 * dirent/scandirat.c: New file.
56541 * dirent/scandirat64.c: New file.
56542 * sysdeps/wordsize-64/scandirat.c: New file.
56543 * sysdeps/wordsize-64/scandirat64.c: New file.
56544 * dirent/opendir.c: Define opendirat.
56545 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
56547 * dirent/scandir64.c: Adjust for scandir.c change.
56548 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
56549 __scandirat64, and __scandir_cancel_handler.
56550 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
56551 additional parameter and use openat instead of open (outside of ld.so).
56552 Add new __opendir as wrapper around __opendirat.
56553 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
56554 here without requiring old scandirat implementation.
56556 2011-08-08 Ulrich Drepper <drepper@gmail.com>
56558 * dirent/scandir.c (cancel_handler): Renamed to
56559 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
56560 defined. Adjust users.
56561 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
56562 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
56564 2011-08-04 Ulrich Drepper <drepper@gmail.com>
56566 * string/test-string.h (IMPL): Use __STRING to expand name and then
56569 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
56572 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56574 * string/Makefile: Update.
56575 (strop-tests): Append strncat.
56576 * string/test-wcscmp.c: New file.
56577 New comprehensive test for wcscmp.
56578 * string/test-strcmp.c: Update.
56579 (WIDE): New define.
56581 2011-07-22 Andreas Schwab <schwab@redhat.com>
56583 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
56586 2011-07-26 Andreas Schwab <schwab@redhat.com>
56588 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56589 encoding to ACE if AI_IDN.
56591 2011-08-01 Jakub Jelinek <jakub@redhat.com>
56593 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
56594 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
56596 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56598 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
56599 Fix overflow bug in strncat.
56600 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
56602 * string/test-strncat.c: Update.
56603 Add new tests for checking overflow bugs.
56605 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56607 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56608 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
56609 * sysdeps/i386/i686/multiarch/strcat.S: New file.
56610 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
56611 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
56612 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
56613 * sysdeps/i386/i686/multiarch/strncat.S: New file.
56614 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
56615 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
56617 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
56618 (USE_AS_STRCAT): Define.
56619 Add strcat and strncat support.
56620 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56622 2011-07-25 Andreas Schwab <schwab@redhat.com>
56624 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
56625 __n bigger than INT_MAX+1.
56626 (__strncmp_g): Likewise.
56628 2011-07-23 Ulrich Drepper <drepper@gmail.com>
56630 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
56631 * libio/stido.h: Likewise.
56633 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
56635 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
56638 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
56639 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56640 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56641 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
56642 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56645 * scripts/test-installation.pl: Don't expect libnss_test1 to be
56648 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
56650 (_dl_x86_64_save_sse): Likewise.
56652 2011-07-22 Ulrich Drepper <drepper@gmail.com>
56654 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
56656 (_dl_x86_64_save_sse): Likewise.
56658 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
56660 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
56662 2011-07-21 Andreas Schwab <schwab@redhat.com>
56664 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
56666 (_dl_x86_64_save_sse): Use correct AVX check.
56668 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56670 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
56671 bug in strncpy/strncat.
56672 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
56674 2011-07-21 Ulrich Drepper <drepper@gmail.com>
56676 * string/tester.c (test_strcat): Add tests for different alignments
56677 of source and destination.
56678 (test_strncat): Likewise.
56680 2011-07-20 Ulrich Drepper <drepper@gmail.com>
56683 * posix/glob.c (glob): Check passed in values before using them in
56684 expressions to avoid some overflows.
56685 (glob_in_dir): Likewise.
56688 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
56689 check for AVX enablement so that we don't crash with old kernels and
56691 * elf/tst-audit4.c: Add same checks here.
56692 * elf/tst-audit6.c: Likewise.
56694 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
56696 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
56698 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
56700 2011-07-20 Ulrich Drepper <drepper@gmail.com>
56702 * po/cs.po: Update from translation team.
56703 * po/bg.po: Likewise.
56705 2011-07-12 Marek Polacek <mpolacek@redhat.com>
56707 * misc/sys/cdefs.h: Add support for const attribute.
56708 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
56709 to gnu_dev_{major,minor,makedev} functions.
56711 2011-07-20 Marek Polacek <mpolacek@redhat.com>
56713 * intl/dcigettext.c (get_output_charset): Add missing bracket.
56715 2011-07-20 Andreas Schwab <schwab@redhat.com>
56717 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
56720 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56722 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
56723 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
56724 register in order to avoid conflicts with the soft frame pointer
56725 being held in r11 when necessary.
56726 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
56727 (INTERNAL_VSYSCALL_NCS): Likewise.
56729 2011-07-14 Marek Polacek <mpolacek@redhat.com>
56731 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
56732 * elf/dl-fini.c (_dl_fini): Adjust caller.
56733 * elf/dl-close.c (_dl_close_worker): Likewise.
56734 * sysdeps/generic/ldsodefs.h: Adjust declaration.
56736 2011-07-15 Marek Polacek <mpolacek@redhat.com>
56738 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
56739 "aux_cache->nlibs < 0".
56741 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
56742 in the reload-count case.
56744 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56746 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56747 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
56748 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
56749 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
56750 * sysdeps/x86_64/multiarch/strcat.S: New file.
56751 * sysdeps/x86_64/multiarch/strncat.S: New file.
56752 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
56753 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
56754 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
56755 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
56756 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
56757 (USE_AS_STRCAT): Define.
56758 Add strcat and strncat support.
56759 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56760 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
56761 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
56762 * string/strncat.c: Update.
56763 (USE_AS_STRNCAT): Define.
56764 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56765 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
56767 * sysdeps/x86_64/multiarch/init-arch.h
56768 (bit_Prefer_PMINUB_for_stringop): New.
56769 (index_Prefer_PMINUB_for_stringop): Likewise.
56770 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
56771 bit_Prefer_PMINUB_for_stringop.
56773 2011-07-19 Ulrich Drepper <drepper@gmail.com>
56775 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
56777 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
56778 of casting of buffer.
56779 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
56780 buffer32 and buffer64.
56781 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
56782 writes instead of casting of buffer.
56783 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
56785 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
56788 2011-07-19 Andreas Schwab <schwab@redhat.com>
56790 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
56792 2011-07-19 Ulrich Drepper <drepper@gmail.com>
56794 * nscd/nscd.c (termination_handler): Don't do anything for a database
56795 if it has not yet been initialized.
56797 2011-07-18 Ulrich Drepper <drepper@gmail.com>
56799 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56801 2011-07-15 Marek Polacek <mpolacek@redhat.com>
56803 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56805 2011-07-18 Ulrich Drepper <drepper@gmail.com>
56807 * po/nl.po: Update from translation team.
56808 * po/sv.po: Likewise.
56810 2011-07-16 Roland McGrath <roland@hack.frob.com>
56812 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
56813 now disallowed by GCC.
56815 * configure.in (use-default-link): Default to yes if a test -shared
56816 link meets our qualifications.
56817 * configure: Regenerated.
56819 * config.make.in (output-format): New variable.
56820 * configure.in: Check for ld --print-output-format support.
56821 * configure: Regenerated.
56822 * Makerules ($(common-objpfx)format.lds)
56823 [$(output-format) != unknown]: Just use $(output-format),
56824 instead of the linker-script munging.
56826 2011-07-14 Roland McGrath <roland@hack.frob.com>
56828 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
56829 of $(common-objpfx)shlib.lds.
56830 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
56832 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
56833 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
56835 * configure.in (-z relro check): Adjust test code to add a large
56836 writable data section after it.
56837 * configure: Regenerated.
56839 2011-07-11 Roland McGrath <roland@hack.frob.com>
56841 * configure.in (-z relro check): Fix test code to make the variable
56843 * configure: Regenerated.
56845 2011-07-11 Ulrich Drepper <drepper@gmail.com>
56847 * nscd/nscd.h (struct traced_file): Define.
56848 (struct database_dyn): Remove inotify_descr, reset_res, and filename
56849 elements. Add traced_files.
56850 (inotify_fd): Declare.
56851 (register_traced_file): Declare.
56852 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
56853 (inotify_fd): Export.
56854 (resolv_conf_descr): Remove.
56855 (nscd_init): Move inotify descriptor creation to main.
56856 Don't register files for notification here.
56857 (register_traced_file): New function.
56858 (invalidate_cache): Don't use reset_res to determine whether to call
56859 res_init, go through the list of registered files.
56860 (main_loop_poll): The inotify descriptors are now stored in the
56861 structures for the traced files.
56862 (main_loop_epoll): Likewise
56863 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
56864 to __nss_disable_nscd.
56865 * nscd/cache.c (prune_cache): There is no single inotify descriptor
56866 for a database anymore. Check the records for all the registered
56868 * nss/Makefile (libnss_files-routines): Add files-init.
56869 (libnss_db-routines): Add db-init.
56870 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
56871 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
56872 * nss/nss_db/db-init.c: New file.
56873 * nss/nss_files/files-init.c: New file.
56874 * nss/nsswitch.c (nss_load_library): New function. Broken out of
56875 __nss_lookup_function.
56876 (__nss_lookup_function): Call nss_load_library.
56877 (nss_load_all_libraries): New function.
56878 (__nss_disable_nscd): Take parameter with callback function for files
56879 to register. Set is_nscd. Load all the DSOs for the NSS modules
56880 used for the cached services.
56881 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
56882 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
56883 options for features to all the files in nscd.
56885 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
56887 2011-07-10 Roland McGrath <roland@hack.frob.com>
56889 * csu/elf-init.c (__libc_csu_init): Comment typo.
56891 2011-07-09 Ulrich Drepper <drepper@gmail.com>
56893 * po/pl.po: Update from translation team.
56894 * po/ja.po: Likewise.
56895 * po/ru.po: Likewise.
56896 * po/ko.po: Likewise.
56897 * po/fr.po: Likewise.
56899 2011-07-09 Roland McGrath <roland@hack.frob.com>
56901 * configure.in (.ctors/.dtors header and trailer check):
56902 Use an empirical test on a built program.
56903 * configure: Regenerated.
56905 * configure.in (-z relro check): Use an empirical test on a built DSO.
56906 Detect, but do not require, on ia64.
56907 * configure: Regenerated.
56909 * configure.in (READELF): Find it with AC_CHECK_TOOL.
56910 Update tests that use readelf to use $READELF instead.
56911 * configure: Regenerated.
56913 2011-07-08 Ulrich Drepper <drepper@gmail.com>
56915 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
56916 if the result is not used.
56918 2011-07-05 Andreas Jaeger <aj@suse.de>
56921 * stdlib/tst-strtod.c: Add testcase.
56923 2011-07-07 Ulrich Drepper <drepper@gmail.com>
56925 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
56926 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
56927 The latter has a higher limit. Take additional parameter to pass to
56929 (__pathconf): Pass file to __statfs_link_max.
56930 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
56932 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
56936 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
56937 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56939 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
56940 (__statfs_filesize_max): Likewise.
56941 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
56943 2011-07-05 Andreas Jaeger <aj@suse.de>
56945 * resolv/res_comp.c (dn_skipname): Remove unused variable.
56947 2011-07-06 Marek Polacek <mpolacek@redhat.com>
56949 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
56951 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
56954 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
56956 * Makefile (strop-tests): Add strncat.
56957 * string/test-strncat.c: New file.
56959 2011-06-30 Marek Polacek <mpolacek@redhat.com>
56961 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
56963 2011-06-21 Andreas Jaeger <aj@suse.de>
56965 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
56966 Copy rule from iconvdata/Makefile.
56968 2011-07-06 Ulrich Drepper <drepper@gmail.com>
56971 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
56972 but no long options are defined, just return 'W'.
56974 2011-06-22 Marek Polacek <mpolacek@redhat.com>
56977 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
56979 2011-07-06 Ulrich Drepper <drepper@gmail.com>
56981 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
56983 (innetgr): Likewise.
56985 2011-07-05 Roland McGrath <roland@hack.frob.com>
56987 * config.make.in (install_root): Default to $(DESTDIR).
56989 2011-07-05 Ulrich Drepper <drepper@gmail.com>
56991 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
56993 2011-07-02 Roland McGrath <roland@hack.frob.com>
56995 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
56997 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
56998 containing directory rather than embedding absolute directory names.
57000 * scripts/check-local-headers.sh: Rewritten using awk.
57001 Match by word, not by line. Print error messages for matches.
57002 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
57004 * Makerules [shlib-lds-flags empty]:
57005 ($(common-objpfx)libc_pic.opts): New target.
57006 ($(common-objpfx)libc_pic.os.clean): New target.
57007 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
57009 * config.make.in (OBJCOPY): New variable.
57010 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
57011 * configure: Regenerated.
57013 * config.make.in (use-default-link): New variable.
57014 * configure.in (use_default_link): Grok --with-default-link to set it.
57015 * configure: Regenerated.
57016 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
57017 (shlib-lds, shlib-lds-flags): Define to empty.
57019 * Makerules (shlib-lds): New variable.
57020 (shlib-lds-flags): New variable.
57021 (build-shlib, build-moduile, build-module-asneeded): Use it.
57022 ($(common-objpfx)libc.so): Use $(shlib-lds).
57023 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
57024 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
57026 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
57027 DT_FLAGS/DT_FLAGS_1 with zero flags.
57029 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
57030 linker script munging.
57032 2011-07-02 Ulrich Drepper <drepper@gmail.com>
57034 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
57036 * crypt/sha512.c (sha512_process_block): Perform total addition using
57037 128-bit if possible.
57038 (__sha512_finish_ctx): Likewise.
57039 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
57041 * crypt/sha256.c (SWAP64): Define.
57042 (sha256_process_block): Perform total addition using 64-bit if
57044 (__sha256_finish_ctx): Likewise.
57046 2011-07-01 Ulrich Drepper <drepper@gmail.com>
57048 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
57049 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57050 * nscd/hstcache.c (cache_addhst): Likewise.
57051 * nscd/grpcache.c (cache_addgr): Likewise.
57052 * nscd/aicache.c (addhstaiX): Likewise
57053 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
57055 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
57057 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
57058 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57059 * nscd/hstcache.c (cache_addhst): Likewise.
57060 * nscd/grpcache.c (cache_addgr): Likewise.
57061 * nscd/aicache.c (addhstaiX): Likewise
57063 2011-07-01 Andreas Schwab <schwab@redhat.com>
57065 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
57066 domain only when needed.
57068 2011-06-30 Andreas Schwab <schwab@redhat.com>
57070 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
57071 is always restored.
57073 2011-06-29 Ulrich Drepper <drepper@gmail.com>
57075 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
57076 are re-adding the entry.
57077 * nscd/servicescache.c (cache_addserv): Likewise.
57079 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
57081 * sysdeps/generic/dl-irel.h: fix protection against multiple
57083 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
57085 2011-06-28 Ulrich Drepper <drepper@gmail.com>
57088 * malloc/memusage.sh: Fix quoting in message.
57089 * debug/xtrace.sh: Likewise.
57091 * configure.in: Remove support for --experimental-malloc option, make
57093 * config.make.in: Likewise.
57094 * malloc/Makefile: Likewise.
57096 2011-06-27 Andreas Schwab <schwab@redhat.com>
57098 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
57099 two-byte characters.
57101 2011-06-27 Roland McGrath <roland@hack.frob.com>
57103 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
57104 AC_CACHE_CHECK invocation.
57105 * configure: Regenerated.
57107 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
57109 2011-06-27 Ulrich Drepper <drepper@gmail.com>
57112 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
57113 bit from old_res_options.
57115 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
57117 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
57118 value type for setfct.
57120 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
57122 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57123 __gettimeofday instead of gettimeofday.
57125 2011-06-26 Ulrich Drepper <drepper@gmail.com>
57127 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
57129 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
57131 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
57133 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
57136 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
57138 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57139 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57140 strcpy-sse2-unaligned strncpy-sse2-unaligned
57141 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
57142 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
57143 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
57144 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
57145 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
57146 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
57147 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
57148 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
57149 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
57150 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
57151 (STRCPY): Support SSE2 and SSSE3 versions.
57153 2011-06-24 Ulrich Drepper <drepper@gmail.com>
57156 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
57157 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
57158 kernels which artificially limit size of requests.
57160 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
57162 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57163 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57164 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
57165 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
57166 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
57167 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
57168 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
57169 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
57170 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
57171 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
57172 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
57173 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
57174 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
57175 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
57176 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
57177 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57178 Enable unaligned load optimization for Intel Core i3, i5 and i7
57180 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
57182 (index_Fast_Unaligned_Load): Define.
57183 (HAS_FAST_UNALIGNED_LOAD): Define.
57185 2011-06-23 Marek Polacek <mpolacek@redhat.com>
57187 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
57189 2011-06-22 Ulrich Drepper <drepper@gmail.com>
57192 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
57193 until it is clear that the information is realy needed.
57194 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
57196 2011-06-22 Andreas Schwab <schwab@redhat.com>
57198 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
57200 2011-06-22 Ulrich Drepper <drepper@gmail.com>
57202 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57203 /sys/devices/system/cpu/online if it is usable.
57205 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
57206 reading the information from the /proc filesystem to once a second.
57208 2011-06-21 Andreas Jaeger <aj@suse.de>
57210 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
57211 NULL after inclusion of kernel headers.
57213 2011-06-21 Ulrich Drepper <drepper@gmail.com>
57215 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
57216 calls to internal_setent.
57219 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
57220 addresses using gethostbyname4_r ignore IPv4 addresses.
57222 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
57223 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
57225 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
57227 2011-06-20 David S. Miller <davem@davemloft.net>
57229 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
57231 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
57233 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
57234 (elf_irel): Use it.
57235 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
57236 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
57237 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
57238 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
57239 * sysdeps/x86_64/dl-irel.h: Likewise.
57241 * elf/dl-runtime.c: Use elf_ifunc_invoke.
57242 * elf/dl-sym.c: Likewise.
57244 2011-06-15 Ulrich Drepper <drepper@gmail.com>
57246 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
57247 need to dereference resplen2.
57249 2011-06-14 Andreas Schwab <schwab@redhat.com>
57251 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
57253 2011-06-15 Ulrich Drepper <drepper@gmail.com>
57255 * Makeconfig: Define vardbdir and inst_vardbdir.
57256 * nss/Makefile: Add rules to install db-Makefile.
57258 * nss/nss_db/db-XXX.c: Cleanup.
57260 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
57261 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
57263 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
57264 * nss/makedb.c: Implement -g option to specify that value strings
57265 are generated and should not be added to table iterated over for
57267 * nss/nss_db/db-initgroups.c: New file.
57269 * nss/getent.c: Add support for initgroups lookups through getgrouplist
57272 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
57273 (internal_getgrouplist): Adjust to name change.
57274 Update use_initgroups_entry if this is not the first call.
57275 * nss/databases.def: Add initgroups entry.
57277 * nss/makedb.c (compute_tables): Check result of multiple hash table
57278 sizes to minimize maximum chain length.
57280 2011-06-14 Ulrich Drepper <drepper@gmail.com>
57282 * Versions.def: Add entry for libnss_db.
57283 * shlib-versions: Likewise.
57284 * nss/Makefile: Add rules to build libnss_db.
57285 * nss/Versions: Add libnss_db information. Organize libnss_files
57287 * nss/db-Makefile: Add gshadow support. Change rules for the new
57288 makedb progra. Some minor improvements to generate smaller files.
57289 * nss/nss_db/nss_db.h: Move NSS database header data structures to
57291 * nss/makedb.c: ...here.
57292 Improve database format to be smaller and require less memory at
57294 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
57296 * nss/nss_db/db-netgrp.c: Likewise.
57297 * nss/nss_db/db-open.c: Likewise.
57298 * nss/nss_files/flies-XXX.x: Adjust comments.
57299 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
57300 * nss/nss_files/files-grp.c: Likewise.
57301 * nss/nss_files/files-hosts.c: Likewise.
57302 * nss/nss_files/files-network.c: Likewise.
57303 * nss/nss_files/files-proto.c: Likewise.
57304 * nss/nss_files/files-pwd.c: Likewise.
57305 * nss/nss_files/files-rpc.c: Likewise.
57306 * nss/nss_files/files-service.c: Likewise.
57307 * nss/nss_files/files-sgrp.c: Likewise.
57308 * nss/nss_files/files-spwd.c: Likewise.
57309 * nss/nss_db/db-alias.c: Removed.
57310 * nss/nss_db/dummy-db.h: Removed.
57312 2011-06-02 Ulrich Drepper <drepper@gmail.com>
57314 * nss/makedb.c: Rewritten to not use database library.
57315 * nss/Makefile: Update to build new makedb program.
57317 2011-06-14 Andreas Jaeger <aj@suse.de>
57319 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
57320 memset declaration.
57322 2011-06-10 Andreas Schwab <schwab@redhat.com>
57324 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
57327 2011-06-10 Roland McGrath <roland@hack.frob.com>
57329 * Makerules (shlib.lds): Fail if the linker script comes out empty.
57330 * elf/Makefile ($(objpfx)ld.so): Likewise.
57332 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
57333 Don't list ld.so twice in dependencies.
57335 * posix/bug-regex31.c: Include <stdlib.h>.
57337 * nscd/hstcache.c (cache_addhst): Remove unused variable.
57339 * nis/nss_compat/compat-spwd.c
57340 (getspent_next_nss_netgr): Remove unused variable.
57341 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
57343 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
57344 nonmembers" output to use the right array.
57346 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
57348 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
57350 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
57351 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
57352 * catgets/gencat.c (read_input_file): Likewise.
57353 * locale/programs/locarchive.c (enlarge_archive): Likewise.
57355 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
57356 variable definition inside #if's controlling its use.
57358 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
57360 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
57362 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
57364 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
57367 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
57369 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
57370 * configure: Regenerated.
57372 * Makerules: Revert last change.
57373 * elf/Makefile: Likewise.
57375 2011-06-09 Roland McGrath <roland@hack.frob.com>
57377 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
57378 * elf/Makefile ($(objpfx)librtld.os): Likewise.
57379 (reloc-link): Likewise.
57381 2011-06-09 Ulrich Drepper <drepper@gmail.com>
57383 * elf/Makefile: Add rules to build pldd.
57384 * elf/pldd.c: New file.
57385 * elf/pldd-xx.c: New file.
57387 2011-06-07 Ulrich Drepper <drepper@gmail.com>
57389 * version.h: Update for 2.15 development version.
57391 2011-06-07 David S. Miller <davem@davemloft.net>
57393 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
57395 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
57396 elf_machine_lazy_rel): Likewise.
57397 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57398 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
57399 elf_machine_lazy_rel): Likewise.
57400 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
57401 dl_hwcap via passed in argument.
57402 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
57405 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57407 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
57409 2011-06-06 Roland McGrath <roland@hack.frob.com>
57412 * manual/fdl-1.1.texi: New file, verbatim from:
57413 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
57414 * manual/lgpl-2.1.texi: New file, verbatim from:
57415 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
57416 * manual/Makefile (licenses): New variable, list those new file names.
57418 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
57420 * manual/fdl.texi: File removed.
57421 * manual/lesser.texi: File removed.
57422 * manual/libc.texinfo (Copying, Documentation License):
57423 Use new @include file names, put @appendix directive before @include.
57425 2011-06-04 Jakub Jelinek <jakub@redhat.com>
57428 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
57429 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
57430 (mq_open): Add __NTH.
57432 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
57434 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57435 Assume Intel Core i3/i5/i7 processor if AVX is available.
57437 2011-05-31 Ulrich Drepper <drepper@gmail.com>
57439 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
57442 2011-05-31 Andreas Schwab <schwab@redhat.com>
57444 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
57445 memory. Use alloca_account. Fix memory leak when retrying.
57447 2011-05-31 Ulrich Drepper <drepper@gmail.com>
57449 * version.h (RELEASE): Bump for 2.14 release.
57450 * include/features.h (__GLIBC_MINOR__): Bump to 14.
57452 * config.make.in (RANLIB): Remove entry.
57454 2011-05-30 Ulrich Drepper <drepper@gmail.com>
57456 * po/Makefile (po-sed-cmd): Add ksh to extensions.
57457 (libc.pot): Work around missing support for .ksh extension in xgettext.
57460 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
57461 if both request failed.
57462 (send_dg): In case of server errors clear resplen or *resplen2.
57465 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
57466 when there are multiple maps.
57467 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
57468 (_dl_fini): Remove test here.
57470 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
57472 2011-05-29 Ulrich Drepper <drepper@gmail.com>
57475 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
57476 bit from old_res_options.
57477 (gaih_inet): Likewise.
57480 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
57483 * resolv/res_init.c (res_setoptions): Make the code more compact.
57486 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
57490 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
57492 * malloc/malloc.h: Mark malloc hook variables as deprecated.
57495 * malloc/malloc.h: Declare malloc hook variables as volatile.
57497 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
57501 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
57502 raise in the comment.
57503 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57504 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57505 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
57507 2011-05-28 Ulrich Drepper <drepper@gmail.com>
57510 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
57511 grow the buffers more if it already has to be sufficient.
57512 (build_wcs_upper_buffer): Likewise.
57513 * posix/regexec.c (check_matching): Likewise.
57514 (clean_state_log_if_needed): Likewise.
57515 (extend_buffers): Don't enlarge buffers beyond size of the input
57517 Patches mostly by Emil Wojak <emil@wojak.eu>.
57518 * posix/bug-regex32.c: New file.
57519 * posix/Makefile (tests): Add bug-regex32.
57521 * locale/findlocale.c (_nl_find_locale): Return right away if
57522 _nl_explode_name failed.
57523 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
57525 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
57527 * debug/xtrace.sh: Unify messages.
57528 * malloc/memusage.sh: Likewise.
57531 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
57532 time symbol from vDSO. Substitute with vsyscall if not available.
57533 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
57536 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
57537 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
57538 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
57539 Add sendmmsg and internal_sendmmsg.
57540 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
57541 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
57542 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
57544 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
57545 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
57546 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
57548 2011-05-27 Ulrich Drepper <drepper@gmail.com>
57551 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
57552 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
57554 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
57558 * iconvdata/Makefile (tests): Add bug-iconv9.
57559 * iconvdata/bug-iconv9.c: New file.
57561 2011-05-27 Andreas Schwab <schwab@redhat.com>
57564 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
57566 2011-05-25 Jakub Jelinek <jakub@redhat.com>
57568 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57569 (struct user_regs_struct): Change intcs field back to cs.
57571 2011-05-25 Ulrich Drepper <drepper@gmail.com>
57573 * po/ja.po: Update from translation team.
57575 2011-05-23 Ulrich Drepper <drepper@gmail.com>
57578 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
57579 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
57581 2011-05-20 Andreas Schwab <schwab@redhat.com>
57583 * stdlib/longlong.h: Update from GCC.
57585 2011-05-23 Andreas Schwab <schwab@redhat.com>
57587 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
57589 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
57590 Add parameter name.
57591 (__sysconf): Pass it down.
57593 2011-05-22 Ulrich Drepper <drepper@gmail.com>
57596 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
57598 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57599 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
57600 add in in __libc_use_alloca calls. Adjust callers.
57601 (glob): Use malloc in some situations.
57603 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
57604 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
57607 2011-05-21 Ulrich Drepper <drepper@gmail.com>
57609 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
57610 and CLOCK_BOOTTIME_ALARM.
57613 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
57616 * string/_strerror.c (__strerror_r): Print negative errors as signed
57620 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
57621 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
57622 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
57624 * configure.in: Fix typo in redirection and correct removal of test
57625 files in two cases.
57628 * locale/setlocale.c (new_composite_name): Fix test to check for
57629 identical name of all categories.
57632 * libio/filedoalloc.c (local_isatty): New function.
57633 (_IO_file_doallocate): Use local_isatty.
57634 * stdio-common/perror.c (perror): In case a new stream is used
57635 forward the stream error.
57636 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
57639 2011-05-20 Ulrich Drepper <drepper@gmail.com>
57642 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
57644 * include/alloca.h (extend_alloca_account): Define.
57647 * posix/regex.h: Fix comments with documentation of user-accessible
57648 fields after compilation and describe correct free'ing of pattern
57649 after re_compile_pattern.
57650 Patch by Reuben Thomas <rrt@sc3d.org>.
57652 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
57654 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
57655 and -mno-altivec to prevent the compiler from using Altivec and/or
57656 VSX instructions when the corresponding registers are not available.
57658 2011-05-19 Andreas Schwab <schwab@redhat.com>
57660 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
57662 2011-05-19 Ulrich Drepper <drepper@gmail.com>
57664 * libio/freopen.c (freopen): Use __dup2, not dup2.
57665 * libio/freopen64.c (freopen64): Likewise.
57667 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
57670 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
57671 * math/Makefile (tests): Add test-powl.
57672 (CFLAGS-test-powl.c): Define.
57673 * math/test-powl.c: New file.
57675 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
57677 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
57679 2011-05-17 Ulrich Drepper <drepper@gmail.com>
57682 * iconvdata/gb18030.c: Update to GB18020-2005.
57684 2011-05-16 Ulrich Drepper <drepper@gmail.com>
57686 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
57687 RE_SYNTAX_POSIX_AWK): Update to match recent development.
57688 Patch by Aharon Robbins <arnold@skeeve.com>.
57691 * stdlib/putenv.c (putenv): Don't always create copy of the variable
57695 * misc/pselect.c (__pselect): Handle timeout value errors hidden
57696 through underflows.
57699 * misc/error.c (error_at_line): Ensure file_name and old_file_name
57700 point to strings before performing equality test for error_one_per_line
57704 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
57707 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57708 (struct user_fpregs_struct): Avoid __uint*_t types.
57711 * malloc/mtrace.c (tr_where): Add additional parameter to point to
57712 symbol info. Use it instead of calling _dl_addr locally.
57713 (lock_and_info): New function.
57714 (tr_freehook): Call lock_and_info and pass symbol info as additional
57715 parameter to tr_where.
57716 (tr_mallochook): Likewise.
57717 (tr_reallochook): Likewise.
57718 (tr_memalignhook): Likewise.
57720 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
57721 used and couldn't be at all thread-safe.
57723 2011-05-15 Ulrich Drepper <drepper@gmail.com>
57725 * libio/freopen.c (freopen): Don't close old file descriptor
57726 before the new one is opened. Instead dup the new file descriptor
57727 to the old one after the new stream is created.
57728 * libio/freopen64.c (freopen64): Likewise.
57729 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
57730 * libio/fileops.c (_IO_new_file_close_it): Handle new
57731 _IO_FLAGS2_NOCLOSE flag.
57732 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
57733 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
57734 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
57735 _IO_FLAGS2_NOCLOSE flag.
57736 * include/unistd.h: Add hidden_proto for dup3.
57737 Define __have_dup3.
57738 * io/dup3.c: Define hidden symbol.
57739 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
57742 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
57743 when an incomplete long option is used.
57744 * posix/tst-getopt_long1.c: New file.
57745 * posix/Makefile (tests): Add tst-getopt_long1.
57748 * scripts/config.guess: Update from autoconf-2.68.
57749 * scripts/config.sub: Likewise.
57752 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
57754 (has_cpuclock): ...this. New function.
57755 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
57756 macro here based on has_cpuclock code.
57759 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57760 First byte (not low byte) is now always NUL.
57761 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
57763 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57764 Use non-cancelable interfaces.
57767 * locale/iso-639.def: Add entry for Sorani.
57770 * include/stdlib.h: Move include protection to the right place.
57771 Define abort_msg_s. Declare __abort_msg with it.
57772 * stdlib/abort.c (__abort_msg): Adjust type.
57773 * assert/assert.c (__assert_fail_base): New function. Majority
57774 of code from __assert_fail. Allocate memory for __abort_msg with
57776 (__assert_fail): Now call __assert_fail_base.
57777 * assert/assert-perr.c: Remove bulk of implementation. Use
57778 __assert_fail_base.
57779 * include/assert.hL Declare __assert_fail_base.
57780 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
57782 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
57784 2011-05-14 Ulrich Drepper <drepper@gmail.com>
57788 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
57789 until all modules are registered in the DTV.
57790 * elf/Makefile: Add rules to build and run tst-tls19.
57791 * elf/tst-tls19.c: New file.
57792 * elf/tst-tls19mod1.c: New file.
57793 * elf/tst-tls19mod2.c: New file.
57794 * elf/tst-tls19mod3.c: New file.
57795 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
57798 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
57802 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
57803 two-byte sequence errors.
57804 * iconvdata/Makefile (tests): Add bug-iconv8.
57805 * iconvdata/bug-iconv8.c: New file.
57808 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
57811 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
57814 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
57815 (dummy_getcfa): New function.
57816 (init): Get _Unwind_GetCFA address, use dummy if not found.
57817 (backtrace_helper): In recursion check, also check whether CFA changes.
57818 (__backtrace): Completely initialize arg.
57820 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
57821 storing incomplete byte sequence in state object. Avoid testing for
57822 guaranteed too small input if we know there is enough data available.
57824 2011-05-11 Andreas Schwab <schwab@redhat.com>
57826 * Makeconfig (+link-pie): Indent.
57827 * Rules (binaries-pie): Define if $(have-fpie) and
57829 (binaries-shared): Also filter out $(binaries-pie).
57830 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
57831 * nscd/Makefile (others-pie): Add nscd.
57832 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
57833 ($(objpfx)nscd): Remove command override.
57834 * login/Makefile (others-pie): Add pt_chown.
57835 ($(objpfx)pt_chown): Remove command override.
57836 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
57837 remove command overrides.
57839 2011-05-13 Ulrich Drepper <drepper@gmail.com>
57841 * libio/tst_putwc.c: Fix error messages.
57844 * libio/fileops.c (_IO_new_file_close_it): Always flush when
57845 currently writing and seek to current position when not.
57846 * libio/Makefile (tests): Add bug-fclose1.
57847 * libio/bug-fclose1.c: New file.
57849 2011-05-12 Ulrich Drepper <drepper@gmail.com>
57852 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
57853 don't set DF_1_NODELETE here.
57854 (do_lookup_x): When entering new entry test for copy relocation
57855 and if necessary set DF_1_NODELETE flag.
57856 * elf/tst-unique4.cc: New file.
57857 * elf/tst-unique4.h: New file.
57858 * elf/tst-unique4lib.cc: New file.
57859 * elf/Makefile: Add rules to build and run tst-unique4.
57860 Patch by Piotr Bury <pbury@goahead.com>.
57862 2011-05-11 Ulrich Drepper <drepper@gmail.com>
57865 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
57868 * misc/mntent_r.c (addmntent): Flush the stream after the output
57871 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
57872 (is_trusted_path_normalize): Skip initial colon. Append slash
57873 to empty buffer. Duplicate is_trusted_path code but allow
57874 constructed patch to be prefix.
57875 (is_dst): Allow $ORIGIN followed by /.
57876 (_dl_dst_substitute): Correct clearing of check_for_trusted.
57877 Correct testing of result of is_trusted_path_normalize
57878 (decompose_rpath): Fix warning.
57880 2011-05-10 Ulrich Drepper <drepper@gmail.com>
57883 * grp/initgroups.c (internal_getgrouplist): When we found the service
57884 list through the initgroups entry in nsswitch.conf do not always
57885 continue on a successful lookup. Don't always use the
57886 __nss_group_database value if it is set.
57887 * nss/nsswitch.conf (initgroups): Change action for successful db
57888 lookup to continue for compatibility.
57890 2011-05-09 Ulrich Drepper <drepper@gmail.com>
57893 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
57895 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
57897 * iconvdata/tst-tables.sh: Likewise.
57898 * iconvdata/cp770.c: New file.
57899 * iconvdata/cp771.c: New file.
57900 * iconvdata/cp772.c: New file.
57901 * iconvdata/cp773.c: New file.
57902 * iconvdata/cp774.c: New file.
57903 * iconvdata/testdata/CP770: New file.
57904 * iconvdata/testdata/CP770..UTF8: New file.
57905 * iconvdata/testdata/CP771: New file.
57906 * iconvdata/testdata/CP771..UTF8: New file.
57907 * iconvdata/testdata/CP772: New file.
57908 * iconvdata/testdata/CP772..UTF8: New file.
57909 * iconvdata/testdata/CP773: New file.
57910 * iconvdata/testdata/CP773..UTF8: New file.
57911 * iconvdata/testdata/CP774: New file.
57912 * iconvdata/testdata/CP774..UTF8: New file.
57914 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
57916 * iconvdata/gen-8bit-gap.sh: Likewise.
57917 * iconvdata/gen-8bit.sh: Likewise.
57919 * locale/iso-639.def: Add ary entry.
57922 * locale/C-translit.h.in: Add U20A1 transliteration.
57925 * locale/iso-639.def: Add wae entry.
57926 Patch by Kevin Bortis <bortis@translate-wae.ch>.
57929 * locale/programs/localedef.c (construct_output_path): Use ssize_t
57933 * locale/C-translit.h.in: Add entry for U20B9.
57934 Patch by pravin.d.s@gmail.com.
57936 2011-05-08 Ulrich Drepper <drepper@gmail.com>
57939 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
57940 ENAMETOOLONG use generic getcwd.
57941 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
57942 in rtld. Use *stat64.
57943 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
57944 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
57945 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
57946 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
57947 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
57948 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
57949 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
57950 __fstatat64 macros.
57951 * include/dirent.h: Add libc_hidden_proto for rewinddir.
57952 * dirent/rewinddir.c: Add libc_hidden_def.
57953 * sysdeps/mach/hurd/rewinddir.c: Likewise.
57954 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
57956 * include/dirent.h (__alloc_dir): Add flags parameter.
57957 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
57958 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
57960 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
57961 from fdopendir if O_CLOEXEC is already set.
57963 2011-03-15 Alan Modra <amodra@gmail.com>
57965 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
57966 l_tls_firstbyte_offset non-zero. Save padding offset in
57967 l_tls_firstbyte_offset for later use.
57968 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
57969 freeing static tls block.
57971 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
57973 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
57974 where #ifdef was intended. The intent is to prevent ARG_MAX from
57975 being defined by the kernel headers.
57977 2011-05-07 Ulrich Drepper <drepper@gmail.com>
57980 * resolv/resolv.h: Define RES_NOTLDQUERY.
57981 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
57982 no-tld-query and set RES_NOTLDQUERY.
57983 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
57984 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
57985 modern BIND to search name as TLD unless forbidden.
57987 2011-05-07 Petr Baudis <pasky@suse.cz>
57988 Ulrich Drepper <drepper@gmail.com>
57991 * elf/dl-load.c (fillin_rpath): Move trusted path check...
57992 (is_trusted_path): ...to here.
57993 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
57994 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
57995 using is_trusted_path_normalize() in setuid scripts.
57997 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
57999 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
58000 __BEGIN/__END_DECLS.
58002 2011-05-06 Ulrich Drepper <drepper@gmail.com>
58004 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
58005 NSS_STATUS_NOTFOUND if no record was found.
58007 2011-05-05 Andreas Schwab <schwab@redhat.com>
58009 * sunrpc/Makefile (headers): Add rpc/netdb.h.
58010 (headers-not-in-tirpc): Remove rpc/netdb.h
58011 * resolv/netdb.h: Revert last change.
58013 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
58015 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
58016 circular dependency between libgcc.a and libc.a.
58018 2011-05-05 Andreas Schwab <schwab@redhat.com>
58020 * resolv/netdb.h: Don't include <rpc/netdb.h>.
58021 * nis/Makefile: Don't install rpcsvc/*.
58022 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
58023 instead of <rpc/types.h>.
58024 (MAXHOSTNAMELEN): Define.
58026 2011-05-03 Andreas Schwab <schwab@redhat.com>
58028 * elf/ldconfig.c (add_dir): Don't crash on empty path.
58030 2011-04-28 Maciej Babinski <mbabinski@google.com>
58033 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
58034 gethostbyname4_r when IPv6 results are possible.
58036 2011-05-02 Ulrich Drepper <drepper@gmail.com>
58039 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
58040 _PC_PIPE_BUF handling.
58042 2011-04-30 Bruno Haible <bruno@clisp.org>
58045 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
58046 * resolv/netdb.h (getnameinfo): Change type of flags parameter
58048 * inet/getnameinfo.c (getnameinfo): Likewise.
58050 2011-04-29 Ulrich Drepper <drepper@gmail.com>
58052 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
58053 to groups setting in database lookup.
58054 * nss/nsswitch.conf: Add initgroups entry.
58056 2011-04-22 Ulrich Drepper <drepper@gmail.com>
58059 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
58061 Patch by Eric Blake <eblake@redhat.com>.
58063 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
58065 * sunrpc/Makefile (need-export-routines): Add svc_run.
58066 (routines): Remove svc_run.
58067 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
58068 * sunrpc/clnt_perr.c (clnt_perrno): Export.
58069 * sunrpc/svc_run.c (svc_run): Likewise.
58070 * sunrpc/svc_udp.c (svcudp_create): Likewise.
58072 2011-04-21 Ulrich Drepper <drepper@gmail.com>
58074 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
58075 problem in reallocation in last patch.
58077 2011-04-20 Ulrich Drepper <drepper@gmail.com>
58079 * sunrpc/Makefile: Move inclusion of Rules.
58081 2011-04-19 Ulrich Drepper <drepper@gmail.com>
58083 * nss/nss_files/files-initgroups.c: New file.
58084 * nss/Makefile (libnss_files-routines): Add files-initgroups.
58085 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
58086 _nss_files_initgroups_dyn.
58088 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
58090 * elf/elf.h (R_ARM_IRELATIVE): Define.
58092 2011-04-19 Ulrich Drepper <drepper@gmail.com>
58094 * po/ru.po: Update from translation team.
58096 2011-04-17 Ulrich Drepper <drepper@gmail.com>
58098 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
58101 2011-02-06 Mike Frysinger <vapier@gentoo.org>
58104 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
58105 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
58106 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58107 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58108 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58110 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
58112 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
58114 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58115 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58116 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58118 2011-04-17 Ulrich Drepper <drepper@gmail.com>
58121 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
58123 * stdlib/bug-getcontext.c: New file.
58124 * stdlib/Makefile: Add rules to build and run bug-getcontext.
58126 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58128 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
58129 instructions into .machine "z9-109".
58130 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
58131 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
58133 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58135 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
58136 between environment variables and auxiliary vector.
58138 2011-04-16 Ulrich Drepper <drepper@gmail.com>
58140 * Makefile: Add rules to build linkobj/libc.so.
58141 * include/libc-symbols.h: Define libc_hidden_nolink.
58142 * include/rpc/auth.h: Mark functions which are to be hidden.
58143 * include/rpc/auth_des.h: Likewise.
58144 * include/rpc/auth_unix.h: Likewise.
58145 * include/rpc/clnt.h: Likewise.
58146 * include/rpc/des_crypt.h: Likewise.
58147 * include/rpc/key_prot.h: Likewise.
58148 * include/rpc/pmap_clnt.h: Likewise.
58149 * include/rpc/pmap_prot.h: Likewise.
58150 * include/rpc/pmap_rmt.h: Likewise.
58151 * include/rpc/rpc_msg.h: Likewise.
58152 * include/rpc/svc.h: Likewise.
58153 * include/rpc/svc_auth.h: Likewise.
58154 * include/rpc/xdr.h: Likewise.
58155 * nis/Makefile: Link all DSOs against linkobj/libc.so.
58156 * nss/Makefile: Likewise.
58157 * sunrpc/Makefile: Don't install headers. Build library with normal
58158 entry points. Don't build rpcinfo. Link RPC tests appropriately.
58159 * sunrpc/auth_des.c: Hide exported symbols by default, export some
58160 for the compat linking library. Remove use of INTDEF/INTUSE.
58161 * sunrpc/auth_none.c: Likewise.
58162 * sunrpc/auth_unix.c: Likewise.
58163 * sunrpc/authdes_prot.c: Likewise.
58164 * sunrpc/authuxprot.c: Likewise.
58165 * sunrpc/clnt_gen.c: Likewise.
58166 * sunrpc/clnt_perr.c: Likewise.
58167 * sunrpc/clnt_raw.c: Likewise.
58168 * sunrpc/clnt_simp.c: Likewise.
58169 * sunrpc/clnt_tcp.c: Likewise.
58170 * sunrpc/clnt_udp.c: Likewise.
58171 * sunrpc/clnt_unix.c: Likewise.
58172 * sunrpc/des_crypt.c: Likewise.
58173 * sunrpc/des_soft.c: Likewise.
58174 * sunrpc/get_myaddr.c: Likewise.
58175 * sunrpc/key_call.c: Likewise.
58176 * sunrpc/key_prot.c: Likewise.
58177 * sunrpc/netname.c: Likewise.
58178 * sunrpc/pm_getmaps.c: Likewise.
58179 * sunrpc/pm_getport.c: Likewise.
58180 * sunrpc/pmap_clnt.c: Likewise.
58181 * sunrpc/pmap_prot.c: Likewise.
58182 * sunrpc/pmap_prot2.c: Likewise.
58183 * sunrpc/pmap_rmt.c: Likewise.
58184 * sunrpc/publickey.c: Likewise.
58185 * sunrpc/rpc_cmsg.c: Likewise.
58186 * sunrpc/rpc_common.c: Likewise.
58187 * sunrpc/rpc_dtable.c: Likewise.
58188 * sunrpc/rpc_prot.c: Likewise.
58189 * sunrpc/rpc_thread.c: Likewise.
58190 * sunrpc/rtime.c: Likewise.
58191 * sunrpc/svc.c: Likewise.
58192 * sunrpc/svc_auth.c: Likewise.
58193 * sunrpc/svc_authux.c: Likewise.
58194 * sunrpc/svc_raw.c: Likewise.
58195 * sunrpc/svc_run.c: Likewise.
58196 * sunrpc/svc_simple.c: Likewise.
58197 * sunrpc/svc_tcp.c: Likewise.
58198 * sunrpc/svc_udp.c: Likewise.
58199 * sunrpc/svc_unix.c: Likewise.
58200 * sunrpc/svcauth_des.c: Likewise.
58201 * sunrpc/xcrypt.c: Likewise.
58202 * sunrpc/xdr.c: Likewise.
58203 * sunrpc/xdr_array.c: Likewise.
58204 * sunrpc/xdr_float.c: Likewise.
58205 * sunrpc/xdr_intXX_t.c: Likewise.
58206 * sunrpc/xdr_mem.c: Likewise.
58207 * sunrpc/xdr_rec.c: Likewise.
58208 * sunrpc/xdr_ref.c: Likewise.
58209 * sunrpc/xdr_sizeof.c: Likewise.
58210 * sunrpc/xdr_stdio.c: Likewise.
58212 2011-04-10 Ulrich Drepper <drepper@gmail.com>
58215 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
58216 * sysdeps/ia64/dl-tls.h: Likewise.
58217 * sysdeps/powerpc/dl-tls.h: Likewise.
58218 * sysdeps/s390/dl-tls.h: Likewise.
58219 * sysdeps/sh/dl-tls.h: Likewise.
58220 * sysdeps/sparc/dl-tls.h: Likewise.
58221 * sysdeps/x86_64/dl-tls.h: Likewise.
58222 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
58224 2011-03-14 Andreas Schwab <schwab@redhat.com>
58226 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
58227 rpath element also skip the following colon.
58228 (expand_dynamic_string_token): Add is_path parameter and pass
58229 down to DL_DST_REQUIRED and _dl_dst_substitute.
58230 (decompose_rpath): Call expand_dynamic_string_token with
58231 non-zero is_path. Ignore empty rpaths.
58232 (_dl_map_object_from_fd): Call expand_dynamic_string_token
58235 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
58237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58240 2011-04-09 Ulrich Drepper <drepper@gmail.com>
58243 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
58244 Patch by Filipe David Manana <fdmanana@apache.org>.
58246 2011-04-07 Andreas Schwab <schwab@redhat.com>
58248 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
58249 Maintain aligned stack.
58250 (CHECK_RSP): Remove unused macro.
58252 2011-04-03 Ulrich Drepper <drepper@gmail.com>
58254 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
58255 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
58257 2011-04-02 Ulrich Drepper <drepper@gmail.com>
58259 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
58261 * include/features.h: Mention __USE_XOPEN2K8 in comment.
58263 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
58266 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
58267 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
58268 * sysdeps/x86_64/memmove.c: New file.
58269 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
58270 (memcpy): Renamed to ...
58271 (__new_memcpy): This.
58272 (memcpy): Provide GLIBC_2_14 memcpy.
58273 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
58274 (memcpy): Provide GLIBC_2_2_5 memcpy.
58276 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58279 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
58281 2011-03-30 Andreas Schwab <schwab@redhat.com>
58283 * misc/syncfs.c: New file.
58284 * misc/Makefile (routines): Add syncfs.
58285 * posix/unistd.h: Declare syncfs.
58286 * sysdeps/unix/syscalls.list: Add syncfs.
58288 2011-04-01 Andreas Schwab <schwab@redhat.com>
58290 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
58292 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58293 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58294 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58295 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58296 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58297 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
58298 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58300 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58302 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
58303 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58304 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
58305 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58306 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58307 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58308 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58310 * io/Makefile: Compile fallocate.c, fallocate64.c, and
58311 sync_file_range.c with -fexceptions.
58312 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
58313 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
58314 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
58315 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
58316 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
58317 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58318 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
58319 sync_file_range as cancellation point
58320 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
58321 now a wrapper around __call_sync_file_range with cancellation handling.
58322 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
58323 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
58324 function name to __call_sync_file_range.
58325 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
58326 Add call_sync_file_range.
58328 2011-04-01 Andreas Schwab <schwab@redhat.com>
58330 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58333 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58335 * iconv/iconv.h: Fix typo in comment.
58336 * io/fcntl.h: Likewise.
58337 * libio/stdio.h: Likewise.
58338 * posix/spawn.h: Likewise.
58339 * posix/unistd.h: Likewise.
58340 * stdlib/stdlib.h: Likewise.
58341 * time/time.h: Likewise.
58342 * wcsmbs/wchar.h: Likewise.
58344 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
58345 open_by_handle): Add.
58346 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
58347 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
58348 Augment a few comments.
58349 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58350 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58351 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58352 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58353 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58354 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
58357 * io/fcntl.h (AT_EMPTY_PATH): Define.
58359 2011-03-30 Ulrich Drepper <drepper@gmail.com>
58361 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
58362 * sysdeps/unix/sysv/linux/bits/time.h: New file.
58363 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
58365 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
58366 * Versions.def: Add GLIBC_2.14.
58367 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
58370 2011-03-22 Ulrich Drepper <drepper@gmail.com>
58372 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
58374 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58376 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
58379 * string/test-strncmp.c (do_page_test): New function.
58380 (check2): Likewise.
58381 (test_main): Call check2.
58382 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
58384 2011-03-20 Ulrich Drepper <drepper@gmail.com>
58387 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
58388 Handle cache information in CPU leaf 4.
58389 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58391 2011-03-18 Ulrich Drepper <drepper@gmail.com>
58394 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
58395 character representation.
58396 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
58398 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
58400 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
58401 END(__isnan) to END(__isnanf) to match function entry point/label
58402 EALIGN(__isnanf,...).
58404 2011-03-10 Jakub Jelinek <jakub@redhat.com>
58406 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
58408 2011-03-10 Ulrich Drepper <drepper@gmail.com>
58411 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
58412 copy from the symbol referenced in the relocation to initialize the
58414 Patch by Piotr Bury <pbury@goahead.com>.
58415 * elf/Makefile: Add rules to build and tst-unique3.
58416 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
58417 * elf/tst-unique3.cc: New file.
58418 * elf/tst-unique3.h: New file.
58419 * elf/tst-unique3lib.cc: New file.
58420 * elf/tst-unique3lib2.cc: New file.
58422 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
58424 2011-03-10 Mike Frysinger <vapier@gentoo.org>
58426 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
58427 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
58430 2011-03-06 Ulrich Drepper <drepper@gmail.com>
58432 * elf/dl-load.c (_dl_map_object): If we are looking for the first
58433 to-be-loaded object along a path to loader is ld.so.
58435 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
58436 Ulrich Drepper <drepper@gmail.com>
58438 * sysdeps/x86_64/memset.S: After aligning destination, code
58439 branches to different locations depending on the value of
58440 misalignment, when multiarch is enabled. Fix this.
58442 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
58444 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
58445 Set _x86_64_preferred_memory_instruction for AMD processsors.
58446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58447 Set bit_Prefer_SSE_for_memop for AMD processors.
58449 2011-03-04 Ulrich Drepper <drepper@gmail.com>
58451 * libio/fmemopen.c (fmemopen): Optimize a bit.
58453 2011-03-03 Andreas Schwab <schwab@redhat.com>
58455 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
58457 2011-03-03 Roland McGrath <roland@redhat.com>
58459 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
58461 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
58463 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
58464 __bzero_ultra1 instead of __memset_ultra1.
58466 2011-02-23 Andreas Schwab <schwab@redhat.com>
58467 Ulrich Drepper <drepper@gmail.com>
58470 * include/link.h (struct link_map): Add l_orig_initfini.
58471 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
58472 returning unsuccessfully.
58473 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
58474 close of a file loaded at startup, restore the original l_initfini
58476 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
58477 list, store the pointer.
58478 * elf/Makefile ($(objpfx)noload-mem): New rule.
58479 (noload-ENV): Define.
58480 (tests): Add $(objpfx)noload-mem.
58481 * elf/noload.c: Include <memcheck.h>.
58482 (main): Call mtrace. Close all opened handles.
58484 2011-02-17 Andreas Schwab <schwab@redhat.com>
58487 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
58488 dependencies are missing.
58490 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
58492 Fix __if_freereq crash: Unlike the generic version which uses free,
58494 * sysdeps/mach/hurd/ifreq.h: New file.
58496 2011-01-27 Petr Baudis <pasky@suse.cz>
58497 Ulrich Drepper <drepper@gmail.com>
58500 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
58501 to extend_alloca().
58502 * stdio-common/bug23.c: New file.
58503 * stdio-common/Makefile (tests): Add bug23.
58505 2010-09-28 Andreas Schwab <schwab@redhat.com>
58506 Ulrich Drepper <drepper@gmail.com>
58509 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
58510 before performing relro protection. At old place add assertion
58511 to make sure nothing changed.
58513 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
58514 Glauber de Oliveira Costa <glommer@gmail.com>
58516 * elf/elf.h: Add new ARM TLS relocs.
58518 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
58520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
58521 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
58523 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
58525 * sysdeps/wordsize-64/tst-writev.c: New file.
58527 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
58529 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
58530 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
58531 insns in _dl_start to prevent a TOC reference before relocs are
58534 2011-02-15 Ulrich Drepper <drepper@gmail.com>
58537 * Makeconfig: Remove RANLIB definition.
58538 * Makerules: Don't use RANLIB.
58539 * aclocal.m4: Remove ranlib test.
58540 * configure.in: No need to check for ranlib.
58541 * elf/rtld-Rules: Don't use RANLIB.
58543 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
58545 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
58547 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
58548 inclusion protection macro.
58550 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
58551 SIGRTMIN and SIGRTMAX and print information in that case only when
58552 SIGRTMIN is defined.
58554 2011-02-11 Jakub Jelinek <jakub@redhat.com>
58556 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
58557 arginfo fn returning -1.
58559 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
58560 and thousands string is zero terminated.
58562 2011-02-03 Andreas Schwab <schwab@redhat.com>
58564 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
58565 sysdeps/unix/sysv/linux/bits/socket.h.
58567 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
58569 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
58570 (__CPU_COUNT): Remove old macros.
58571 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
58572 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
58573 (__CPU_ALLOC, __CPU_FREE): Add macros.
58574 (__sched_cpualloc, __sched_cpufree): Add declarations.
58576 2011-02-05 Ulrich Drepper <drepper@gmail.com>
58578 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
58579 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
58580 * nscd/aicache.c (addhstaiX): Return timeout of added value.
58581 (readdhstai): Return value of addhstaiX call.
58582 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
58583 (addgrbyX): Return value returned by cache_addgr.
58584 (readdgrbyname): Return value returned by addgrbyX.
58585 (readdgrbygid): Likewise.
58586 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
58587 (addpwbyX): Return value returned by cache_addpw.
58588 (readdpwbyname): Return value returned by addhstbyX.
58589 (readdpwbyuid): Likewise.
58590 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
58591 (addservbyX): Return value returned by cache_addserv.
58592 (readdservbyname): Return value returned by addservbyX:
58593 (readdservbyport): Likewise.
58594 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
58595 (addhstbyX): Return value returned by cache_addhst.
58596 (readdhstbyname): Return value returned by addhstbyX.
58597 (readdhstbyaddr): Likewise.
58598 (readdhstbynamev6): Likewise.
58599 (readdhstbyaddrv6): Likewise.
58600 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
58601 (readdinitgroups): Return value returned by addinitgroupsX.
58602 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
58603 (prune_cache): Keep track of timeout value of re-added entries.
58604 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
58605 * nscd/nscd.h: Adjust prototypes of readd* functions.
58607 2011-02-04 Roland McGrath <roland@redhat.com>
58609 * nis/nis_server.c (nis_servstate): Use the right name for 0.
58610 (nis_stats): Likewise.
58611 * nis/nis_modify.c (nis_modify): Likewise.
58612 * nis/nis_remove.c (nis_remove): Likewise.
58613 * nis/nis_add.c (nis_add): Likewise.
58615 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
58617 * posix/fnmatch_loop.c: Add some consts.
58619 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
58621 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
58624 * config.make.in (config-cflags-novzeroupper): Define.
58625 * configure.in: Substitute libc_cv_cc_novzeroupper.
58626 * elf/Makefile (AVX-CFLAGS): Define.
58627 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
58628 (CFLAGS-tst-auditmod4a.c): Likewise.
58629 (CFLAGS-tst-auditmod4b.c): Likewise.
58630 (CFLAGS-tst-auditmod6b.c): Likewise.
58631 (CFLAGS-tst-auditmod6c.c): Likewise.
58632 (CFLAGS-tst-auditmod7b.c): Likewise.
58633 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
58635 2011-02-02 Ulrich Drepper <drepper@gmail.com>
58637 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
58638 function to the callback.
58639 Patch partly by Jiri Olsa <jolsa@redhat.com>.
58641 2011-02-02 Andreas Schwab <schwab@redhat.com>
58643 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
58646 2011-01-19 Ulrich Drepper <drepper@gmail.com>
58649 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
58651 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
58653 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
58656 * elf/Makefile: Add rules to build and run new test.
58657 * elf/tst-initorder.c: New file.
58658 * elf/tst-initorder.exp: New file.
58659 * elf/tst-initordera1.c: New file.
58660 * elf/tst-initordera2.c: New file.
58661 * elf/tst-initordera3.c: New file.
58662 * elf/tst-initordera4.c: New file.
58663 * elf/tst-initorderb1.c: New file.
58664 * elf/tst-initorderb2.c: New file.
58665 * elf/tst-order-a1.c: New file.
58666 * elf/tst-order-a2.c: New file.
58667 * elf/tst-order-a3.c: New file.
58668 * elf/tst-order-a4.c: New file.
58669 * elf/tst-order-b1.c: New file.
58670 * elf/tst-order-b2.c: New file.
58671 * elf/tst-order-main.c: New file.
58672 New test case by George Gensure <werkt0@gmail.com>.
58674 2010-10-01 Andreas Schwab <schwab@redhat.com>
58676 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58677 decoding ACE if AI_CANONIDN.
58679 2011-01-18 Ulrich Drepper <drepper@gmail.com>
58681 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
58683 2011-01-17 Ulrich Drepper <drepper@gmail.com>
58685 * version.h (RELEASE): Bump for 2.13 release.
58686 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
58688 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
58690 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
58692 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
58693 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
58694 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58695 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
58696 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58697 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58699 * posix/getconf.c: Update copyright year.
58700 * catgets/gencat.c: Likewise.
58701 * csu/version.c: Likewise.
58702 * debug/catchsegv.sh: Likewise.
58703 * debug/xtrace.sh: Likewise.
58704 * elf/ldconfig.c: Likewise.
58705 * elf/ldd.bash.in: Likewise.
58706 * elf/sprof.c (print_version): Likewise.
58707 * iconv/iconv_prog.c: Likewise.
58708 * iconv/iconvconfig.c: Likewise.
58709 * locale/programs/locale.c: Likewise.
58710 * locale/programs/localedef.c: Likewise.
58711 * malloc/memusage.sh: Likewise.
58712 * malloc/mtrace.pl: Likewise.
58713 * nscd/nscd.c (print_version): Likewise.
58714 * nss/getent.c: Likewise.
58716 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
58717 PF_CAIF, and PF_ALG.
58718 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58720 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
58722 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
58723 (modules-names): Use them.
58724 (ifunc-test-modules, ifunc-pie-tests): Define.
58725 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
58726 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
58727 (test-extras): Likewise.
58728 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
58729 $(compile-command.c).
58730 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
58731 (all-built-dso): Define.
58732 (check-textrel.out, check-execstack.out): Depend on it.
58734 * configure.in: Don't override --enable-multi-arch.
58736 2011-01-15 Ulrich Drepper <drepper@gmail.com>
58739 * nscd/hstcache.c (tryagain): Define.
58740 (cache_addhst): Return tryagain not notfound for temporary errors.
58741 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
58744 2011-01-14 Ulrich Drepper <drepper@gmail.com>
58747 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
58748 to make the syscall.
58749 * sysdeps/unix/sysv/linux/setgroups.c: New file.
58752 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
58753 and fall back to matching as normal character if the string ends before
58754 the matching ']' is found. This is what POSIX requires.
58755 * posix/testfnm.c: Adjust test result.
58756 * posix/globtest.sh: Adjust test result. Add new test.
58757 * posix/tst-fnmatch.input: Likewise.
58758 * posix/tst-fnmatch2.c: Add new test.
58760 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
58762 * elf/Makefile (check-execstack): Revert last change. Depend on
58764 (check-execstack.h): New target.
58765 (generated): Add check-execstack.h.
58766 * elf/check-execstack.c: Include "check-execstack.h".
58767 (main): Revert last change.
58768 (handle_file): Return zero if GNU_STACK is absent and
58769 DEFAULT_STACK_PERMS doesn't include PF_X.
58771 2011-01-13 Ulrich Drepper <drepper@gmail.com>
58773 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
58774 in child fails because the descriptor is already closed.
58775 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
58776 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
58777 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
58780 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
58784 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
58785 temporary buffer used to handle multi lookups locally.
58786 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
58788 2011-01-12 Ulrich Drepper <drepper@gmail.com>
58790 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
58793 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
58795 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
58796 alignment for SSE2.
58798 2011-01-12 Ulrich Drepper <drepper@gmail.com>
58801 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
58802 characters. When rounding increased number of integer digits recompute
58804 * stdio-common/tst-grouping.c: New file.
58805 * stdio-common/Makefile: Add rules to build and run tst-grouping.
58807 2011-01-09 Ulrich Drepper <drepper@gmail.com>
58809 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
58810 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
58812 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
58814 * bits/select.h: Likewise.
58816 2011-01-08 Ulrich Drepper <drepper@gmail.com>
58818 * po/ja.po: Update from translation team.
58820 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
58823 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
58824 implementation just like for lxstat, fxstatat, et al.
58826 2010-12-27 Jim Meyering <meyering@redhat.com>
58829 * posix/regexec.c (build_trtable): Return failure indication upon
58830 calloc failure. Otherwise, re_search_internal could infloop on OOM.
58832 2010-12-25 Ulrich Drepper <drepper@gmail.com>
58835 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
58836 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
58837 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
58838 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
58841 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
58844 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
58845 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
58847 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
58849 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
58850 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
58851 script has SORT_BY_INIT_PRIORITY.
58852 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
58853 NO_CTORS_DTORS_SECTIONS is defined.
58854 * elf/soinit.c: Likewise.
58855 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
58856 NO_CTORS_DTORS_SECTIONS is defined.
58857 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
58858 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
58859 * sysdeps/sh/init-first.c: Likewise.
58860 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
58862 2010-12-24 Ulrich Drepper <drepper@gmail.com>
58864 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
58865 always use the slow path.
58867 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
58869 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
58870 similar rule which adds the sysdep directories to the header search in
58871 order to pick up the correct platform stackinfo.h.
58872 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
58873 perform test if it is, otherwise return successfully without testing.
58874 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
58875 DEFAULT_STACK_PERMS define in stackinfo.h.
58876 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
58877 defined in stackinfo.h.
58878 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
58879 DEFAULT_STACK_PERMS defined in stackinfo.h.
58880 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
58881 * sysdeps/ia64/stackinfo.h: Likewise.
58882 * sysdeps/s390/stackinfo.h: Likewise.
58883 * sysdeps/sh/stackinfo.h: Likewise.
58884 * sysdeps/sparc/stackinfo.h: Likewise.
58885 * sysdeps/x86_64/stackinfo.h: Likewise.
58886 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
58887 PF_X for powerpc64. Retain PF_X for powerpc32.
58889 2010-12-19 Ulrich Drepper <drepper@gmail.com>
58891 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
58893 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
58894 GETDENTS_64BIT_ALIGNED.
58896 2010-12-14 Ulrich Drepper <dreper@gmail.com>
58898 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
58900 2010-12-10 Andreas Schwab <schwab@redhat.com>
58902 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
58905 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
58906 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
58908 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
58909 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
58911 2010-12-09 Ulrich Drepper <drepper@gmail.com>
58914 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
58917 2010-12-09 Jakub Jelinek <jakub@redhat.com>
58919 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
58921 2010-12-03 Ulrich Drepper <drepper@gmail.com>
58923 * po/it.po: Update from translation team.
58925 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
58927 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
58930 2010-11-30 Ulrich Drepper <drepper@gmail.com>
58932 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
58934 2010-11-24 Andreas Schwab <schwab@redhat.com>
58936 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
58938 (gaih_getanswer_slice): Likewise.
58940 2010-10-20 Jakub Jelinek <jakub@redhat.com>
58942 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
58944 2010-05-31 Petr Baudis <pasky@suse.cz>
58947 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
58948 silently even in the chroot mode.
58950 2010-11-22 Ulrich Drepper <drepper@gmail.com>
58952 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
58953 last patch a bit. Pretty printing
58955 2010-05-31 Petr Baudis <pasky@suse.cz>
58958 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
58959 initialization of skip_initgroups_dyn.
58961 2010-11-19 Ulrich Drepper <drepper@gmail.com>
58963 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
58964 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58966 2010-11-16 Ulrich Drepper <drepper@gmail.com>
58968 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
58970 2010-11-11 Andreas Schwab <schwab@redhat.com>
58972 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
58973 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
58974 (tst-fnmatch-ENV): Set MALLOC_TRACE.
58975 ($(objpfx)tst-fnmatch-mem): New rule.
58976 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
58977 * posix/tst-fnmatch.c (main): Call mtrace.
58979 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
58981 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58982 Support Intel processor model 6 and model 0x2c.
58984 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
58986 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
58989 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
58992 * string/test-strncasecmp.c (check_result): New function.
58993 (do_one_test): Use it.
58994 (check1): New function.
58995 (test_main): Use it.
58996 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
58997 Support strcasecmp and strncasecmp.
58999 2010-11-08 Ulrich Drepper <drepper@gmail.com>
59002 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
59003 * sysdeps/x86_64/bits/byteswap.h: Likewise.
59005 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
59007 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
59009 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59011 * sysdeps/x86_64/multiarch/bzero.S: New file.
59012 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
59013 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
59014 * sysdeps/x86_64/multiarch/memset.S: New file.
59015 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
59016 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59017 Set bit_Prefer_SSE_for_memop for Intel processors.
59018 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
59020 (index_Prefer_SSE_for_memop): Define.
59021 (HAS_PREFER_SSE_FOR_MEMOP): Define.
59023 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
59025 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
59026 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
59028 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
59031 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59032 (__x86_64_raw_data_cache_size_half): Likewise.
59033 (__x86_64_raw_shared_cache_size): Likewise.
59034 (__x86_64_raw_shared_cache_size_half): Likewise.
59036 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59037 (__x86_64_raw_data_cache_size_half): Likewise.
59038 (__x86_64_raw_shared_cache_size): Likewise.
59039 (__x86_64_raw_shared_cache_size_half): Likewise.
59040 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
59041 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
59042 and __x86_64_raw_shared_cache_size_half. Round
59043 __x86_64_data_cache_size_half, __x86_64_data_cache_size
59044 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
59045 to multiple of 256 bytes.
59047 2010-11-03 Ulrich Drepper <drepper@gmail.com>
59050 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
59051 of inacessible symlinks. Verify result of symlink before returning it.
59052 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
59053 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
59055 2010-10-28 Erich Ritz <erichritz@gmail.com>
59057 * math/math.h (isinf): Fix typo in comment.
59059 2010-11-01 Ulrich Drepper <drepper@gmail.com>
59061 * po/da.po: Update from translation team.
59063 2010-10-26 Ulrich Drepper <drepper@gmail.com>
59065 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
59066 is added to the list.
59068 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59069 Ulrich Drepper <drepper@gmail.com>
59071 * elf/dl-object.c (_dl_new_object): Don't append the new object to
59072 the global list here. Move code to...
59073 (_dl_add_to_namespace_list): ...here. New function.
59074 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
59075 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
59076 * elf/dl-load.c (lose): Don't remove the element from the list.
59077 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
59078 (_dl_map_object): Likewise.
59080 2010-10-25 Ulrich Drepper <drepper@gmail.com>
59083 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
59084 into all bytes of SSE register.
59085 Patch by Richard Li <richardpku@gmail.com>.
59087 2010-10-24 Ulrich Drepper <drepper@gmail.com>
59090 * malloc/malloc.c (_int_free): Fill correct number of bytes when
59093 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
59095 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
59096 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
59097 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
59098 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
59099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
59101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
59103 2010-10-22 Andreas Schwab <schwab@redhat.com>
59105 * include/dlfcn.h (__RTLD_SECURE): Define.
59106 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
59107 mode & __RTLD_SECURE instead.
59108 (open_path): Rename preloaded parameter to secure.
59109 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
59110 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
59111 * elf/dl-deps.c (openaux): Likewise.
59112 * elf/rtld.c (struct map_args): Remove is_preloaded.
59113 (map_doit): Don't use it.
59114 (dl_main): Likewise.
59115 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
59116 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
59118 2010-09-09 Andreas Schwab <schwab@redhat.com>
59120 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
59121 (sysd-rules-targets): Remove duplicates.
59122 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
59123 rtld-%.$o dependency.
59125 2010-10-18 Andreas Schwab <schwab@redhat.com>
59127 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
59128 _dl_map_object do it.
59130 2010-10-19 Ulrich Drepper <drepper@gmail.com>
59132 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
59133 fast fma builtins, define the macros in the C99 standard.
59134 (FP_FAST_FMAF): Likewise.
59135 (FP_FAST_FMAL): Likewise.
59136 * sysdeps/x86_64/bits/mathdef.h: Likewise.
59138 * bits/mathdef.h: Update copyright year.
59139 * sysdeps/powerpc/bits/mathdef.h: Likewise.
59141 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
59143 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
59144 builtins, define the macros in the C99 standard.
59145 (FP_FAST_FMAF): Likewise.
59146 (FP_FAST_FMAL): Likewise.
59147 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
59149 (FP_FAST_FMAF): Likewise.
59151 2010-10-15 Jakub Jelinek <jakub@redhat.com>
59154 * math/libm-test.inc (fma_test): Some new testcases.
59155 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
59156 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
59157 y and infinite z. Do multiplication by C already in long double.
59158 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
59159 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
59160 y and infinite z. Do bitwise or of inexact bit into u.d.
59161 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
59162 * sysdeps/i386/fpu/s_fmaf.S: Removed.
59163 * sysdeps/i386/fpu/s_fma.S: Removed.
59164 * sysdeps/i386/fpu/s_fmal.S: Removed.
59166 2010-10-16 Jakub Jelinek <jakub@redhat.com>
59169 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
59170 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
59171 computation is not scheduled after fetestexcept. Fix value
59172 of minimum denormal long double.
59174 2010-10-14 Jakub Jelinek <jakub@redhat.com>
59177 * math/libm-test.inc (fma_test): Add some more tests.
59178 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
59181 2010-10-15 Andreas Schwab <schwab@redhat.com>
59183 * scripts/data/localplt-s390-linux-gnu.data: New file.
59184 * scripts/data/localplt-s390x-linux-gnu.data: New file.
59186 2010-10-13 Jakub Jelinek <jakub@redhat.com>
59189 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
59190 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
59192 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
59194 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
59195 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
59196 if one of x and y is very large and the other is subnormal.
59197 * sysdeps/s390/fpu/s_fmaf.c: New file.
59198 * sysdeps/s390/fpu/s_fma.c: New file.
59199 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
59200 * sysdeps/powerpc/fpu/s_fma.S: New file.
59201 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
59202 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
59203 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
59205 2010-10-12 Jakub Jelinek <jakub@redhat.com>
59208 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
59210 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
59211 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
59212 * sysdeps/i386/i686/multiarch/s_fma.c: Include
59213 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
59214 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
59215 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
59216 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
59218 2010-10-12 Ulrich Drepper <drepper@redhat.com>
59221 * posix/regcomp.c (parse_branch): One more memory leak plugged.
59222 * posix/bug-regex31.input: Add test case.
59224 2010-10-11 Ulrich Drepper <drepper@gmail.com>
59226 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
59227 * posix/bug-regex31.input: New file.
59230 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
59231 (parse_sub_exp): Fix last change, use postorder.
59233 * posix/bug-regex31.c: New file.
59234 * posix/Makefile: Add rules to build and run bug-regex31.
59236 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
59239 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
59242 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
59243 to have entries in sys_siglist.
59246 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
59249 2010-10-07 Jakub Jelinek <jakub@redhat.com>
59252 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
59253 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
59254 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
59255 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
59256 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59257 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
59258 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
59259 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
59260 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
59261 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
59262 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
59263 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
59264 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
59265 * math/ftestexcept.c (fetestexcept): Likewise.
59266 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
59267 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
59268 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
59269 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
59270 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
59271 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
59272 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59274 2010-10-11 Ulrich Drepper <drepper@gmail.com>
59277 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
59280 2010-10-06 Ulrich Drepper <drepper@gmail.com>
59282 * string/bug-strstr1.c: New file.
59283 * string/Makefile: Add rules to build and run bug-strstr1.
59285 2010-10-05 Eric Blake <eblake@redhat.com>
59288 * string/str-two-way.h (two_way_long_needle): Always clear memory
59289 when skipping input due to the shift table.
59291 2010-10-03 Ulrich Drepper <drepper@gmail.com>
59294 * malloc/mcheck.c: Handle large requests.
59297 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
59298 for strncmp and strncasecmp.
59299 * string/stratcliff.c: Add tests for strcmp and strncmp.
59300 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
59302 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
59304 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
59307 2010-09-30 Andreas Jaeger <aj@suse.de>
59309 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
59310 (CGROUP_SUPER_MAGIC): Define.
59311 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59312 Handle btrfs and cgroup file systems.
59313 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59316 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
59318 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
59319 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
59321 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59324 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
59325 trying to locate the ELF header.
59327 2010-09-27 Andreas Schwab <schwab@redhat.com>
59330 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
59331 Mask out sign-bit copies when constructing f_fsid.
59333 2010-09-24 Petr Baudis <pasky@suse.cz>
59335 * debug/stack_chk_fail_local.c: Add missing licence exception.
59336 * debug/warning-nop.c: Likewise.
59338 2010-09-15 Joseph Myers <joseph@codesourcery.com>
59340 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
59341 implementing getdents64 using getdents syscall, set d_type if
59342 __ASSUME_GETDENTS32_D_TYPE.
59344 2010-09-16 Andreas Schwab <schwab@redhat.com>
59346 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
59347 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
59349 2010-09-21 Ulrich Drepper <drepper@redhat.com>
59352 * posix/unistd.h: Undo change of feature selection for ftruncate from
59355 2010-09-20 Ulrich Drepper <drepper@redhat.com>
59357 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
59360 2010-09-20 Andreas Schwab <schwab@redhat.com>
59362 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
59364 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59366 2010-09-14 Andreas Schwab <schwab@redhat.com>
59368 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
59369 variables after CHECK_SP call.
59370 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
59372 2010-09-13 Andreas Schwab <schwab@redhat.com>
59373 Ulrich Drepper <drepper@redhat.com>
59375 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
59376 re-relocationg ld.so.
59377 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
59378 _dl_init_paths call.
59379 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
59382 2010-09-14 Ulrich Drepper <drepper@redhat.com>
59384 * resolv/res_init.c (__res_vinit): Count the default server we added.
59386 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
59387 Ulrich Drepper <drepper@redhat.com>
59390 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59391 (____longjmp_chk): Use %ebx for saving value across system call.
59394 2010-09-06 Andreas Schwab <schwab@redhat.com>
59396 * manual/Makefile: Don't mix pattern rules with normal rules.
59398 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
59400 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
59402 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
59403 * libio/iofopncook.c (_IO_cookie_init): Likewise.
59404 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
59405 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
59406 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59409 2010-09-04 Ulrich Drepper <drepper@redhat.com>
59412 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
59413 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
59415 2010-09-02 Ulrich Drepper <drepper@redhat.com>
59417 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
59418 * sysdeps/x86_64/addmul_1.S: Likewise.
59419 * sysdeps/x86_64/lshift.S: Likewise.
59420 * sysdeps/x86_64/mul_1.S: Likewise.
59421 * sysdeps/x86_64/rshift.S: Likewise.
59422 * sysdeps/x86_64/sub_n.S: Likewise.
59423 * sysdeps/x86_64/submul_1.S: Likewise.
59425 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
59427 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
59428 Define __sched_param instead of SCHED_* and sched_param when
59429 <bits/sched.h> is included with __need_schedparam defined.
59430 * bits/sched.h [__need_schedparam]
59431 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
59432 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
59433 (__defined_schedparam): Define to 1.
59434 (__sched_param): New structure, identical to sched_param.
59435 (__need_schedparam): Undefine.
59437 2010-08-31 Mike Frysinger <vapier@gentoo.org>
59439 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
59440 (epoll_create1): Declare.
59442 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
59444 2010-08-31 Andreas Schwab <schwab@redhat.com>
59447 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
59448 shifting retval into place.
59450 2010-09-01 Ulrich Drepper <drepper@redhat.com>
59452 * nis/rpcsvc/nis.h: Update copyright notice.
59453 * nis/rpcsvc/nis.x: Likewise.
59454 * nis/rpcsvc/nis_callback.h: Likewise.
59455 * nis/rpcsvc/nis_callback.x: Likewise.
59456 * nis/rpcsvc/nis_object.x: Likewise.
59457 * nis/rpcsvc/nis_tags.h: Likewise.
59458 * nis/rpcsvc/yp.h: Likewise.
59459 * nis/rpcsvc/yp.x: Likewise.
59460 * nis/rpcsvc/ypupd.h: Likewise.
59461 * nis/yp_xdr.c: Likewise.
59462 * nis/ypupdate_xdr.c: Likewise.
59464 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
59465 mainly the body of pmap_getport. Add parameters to specify timeouts.
59466 (pmap_getport): Use __libc_rpc_getport.
59467 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
59468 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
59469 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
59471 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
59473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
59476 2010-08-27 Roland McGrath <roland@redhat.com>
59478 * sysdeps/i386/i686/multiarch/Makefile
59479 (CFLAGS-varshift.c): New variable.
59481 2010-08-27 Ulrich Drepper <drepper@redhat.com>
59483 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
59484 * sysdeps/i386/i686/multiarch/varshift.c: New file.
59486 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
59488 * sysdeps/x86_64/strlen.S: Minimal code improvement.
59490 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
59492 * sysdeps/x86_64/strlen.S: Unroll the loop.
59493 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59494 strlen-sse2 strlen-sse2-bsf.
59495 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
59496 __strlen_no_bsf if bit_Slow_BSF is set.
59497 (__strlen_sse42): Removed.
59498 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
59499 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
59501 2010-08-25 Roland McGrath <roland@redhat.com>
59503 * sysdeps/x86_64/multiarch/varshift.S: File removed.
59504 * sysdeps/x86_64/multiarch/varshift.c: New file.
59505 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
59506 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
59507 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
59508 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59510 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
59512 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59513 strlen-sse2 strlen-sse2-bsf.
59514 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
59515 __strlen_sse2_bsf if bit_Slow_BSF is unset.
59516 (__strlen_sse2): Removed.
59517 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
59518 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
59519 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
59520 bit_Slow_BSF for Atom.
59521 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
59522 (index_Slow_BSF): Define.
59523 (HAS_SLOW_BSF): Define.
59525 2010-08-25 Ulrich Drepper <drepper@redhat.com>
59528 * resolv/res_init.c (__res_vinit): When no server address at all
59529 is given default to loopback.
59531 2010-08-24 Roland McGrath <roland@redhat.com>
59533 * configure.in: Remove config-name.h generation.
59534 * configure: Regenerated.
59535 * config-name.in: File removed.
59536 * scripts/config-uname.sh: New file.
59537 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
59538 ($(objdir)config-name.h): New target.
59540 * sunrpc/rpc_parse.h: Avoid nested comment.
59542 2010-08-24 Richard Henderson <rth@redhat.com>
59543 Ulrich Drepper <drepper@redhat.com>
59544 H.J. Lu <hongjiu.lu@intel.com>
59546 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
59547 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
59548 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
59549 Replace _mm_srli_si128 with __m128i_shift_right. Replace
59550 _mm_alignr_epi8 with _mm_loadu_si128.
59551 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
59552 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
59553 (__m128i_shift_right): Removed.
59554 * sysdeps/i386/i686/multiarch/varshift.h: New file.
59555 * sysdeps/i386/i686/multiarch/varshift.S: New file.
59556 * sysdeps/x86_64/multiarch/varshift.h: New file.
59557 * sysdeps/x86_64/multiarch/varshift.S: New file.
59559 2010-08-21 Mike Frysinger <vapier@gentoo.org>
59561 * configure.in: Move assembler checks to before sysdep dir checking.
59563 2010-08-20 Petr Baudis <pasky@suse.cz>
59565 * LICENSES: Sync the sunrpc license.
59567 2010-08-19 Ulrich Drepper <drepper@redhat.com>
59569 * sunrpc/auth_des.c: Update copyright notice once again.
59570 * sunrpc/auth_none.c: Likewise.
59571 * sunrpc/auth_unix.c: Likewise.
59572 * sunrpc/authdes_prot.c: Likewise.
59573 * sunrpc/authuxprot.c: Likewise.
59574 * sunrpc/bindrsvprt.c: Likewise.
59575 * sunrpc/clnt_gen.c: Likewise.
59576 * sunrpc/clnt_perr.c: Likewise.
59577 * sunrpc/clnt_raw.c: Likewise.
59578 * sunrpc/clnt_simp.c: Likewise.
59579 * sunrpc/clnt_tcp.c: Likewise.
59580 * sunrpc/clnt_udp.c: Likewise.
59581 * sunrpc/clnt_unix.c: Likewise.
59582 * sunrpc/des_crypt.c: Likewise.
59583 * sunrpc/des_soft.c: Likewise.
59584 * sunrpc/get_myaddr.c: Likewise.
59585 * sunrpc/getrpcport.c: Likewise.
59586 * sunrpc/key_call.c: Likewise.
59587 * sunrpc/key_prot.c: Likewise.
59588 * sunrpc/openchild.c: Likewise.
59589 * sunrpc/pm_getmaps.c: Likewise.
59590 * sunrpc/pm_getport.c: Likewise.
59591 * sunrpc/pmap_clnt.c: Likewise.
59592 * sunrpc/pmap_prot.c: Likewise.
59593 * sunrpc/pmap_prot2.c: Likewise.
59594 * sunrpc/pmap_rmt.c: Likewise.
59595 * sunrpc/rpc/auth.h: Likewise.
59596 * sunrpc/rpc/auth_unix.h: Likewise.
59597 * sunrpc/rpc/clnt.h: Likewise.
59598 * sunrpc/rpc/des_crypt.h: Likewise.
59599 * sunrpc/rpc/key_prot.h: Likewise.
59600 * sunrpc/rpc/netdb.h: Likewise.
59601 * sunrpc/rpc/pmap_clnt.h: Likewise.
59602 * sunrpc/rpc/pmap_prot.h: Likewise.
59603 * sunrpc/rpc/pmap_rmt.h: Likewise.
59604 * sunrpc/rpc/rpc.h: Likewise.
59605 * sunrpc/rpc/rpc_des.h: Likewise.
59606 * sunrpc/rpc/rpc_msg.h: Likewise.
59607 * sunrpc/rpc/svc.h: Likewise.
59608 * sunrpc/rpc/svc_auth.h: Likewise.
59609 * sunrpc/rpc/types.h: Likewise.
59610 * sunrpc/rpc/xdr.h: Likewise.
59611 * sunrpc/rpc_clntout.c: Likewise.
59612 * sunrpc/rpc_cmsg.c: Likewise.
59613 * sunrpc/rpc_common.c: Likewise.
59614 * sunrpc/rpc_cout.c: Likewise.
59615 * sunrpc/rpc_dtable.c: Likewise.
59616 * sunrpc/rpc_hout.c: Likewise.
59617 * sunrpc/rpc_main.c: Likewise.
59618 * sunrpc/rpc_parse.c: Likewise.
59619 * sunrpc/rpc_parse.h: Likewise.
59620 * sunrpc/rpc_prot.c: Likewise.
59621 * sunrpc/rpc_sample.c: Likewise.
59622 * sunrpc/rpc_scan.c: Likewise.
59623 * sunrpc/rpc_scan.h: Likewise.
59624 * sunrpc/rpc_svcout.c: Likewise.
59625 * sunrpc/rpc_tblout.c: Likewise.
59626 * sunrpc/rpc_util.c: Likewise.
59627 * sunrpc/rpc_util.h: Likewise.
59628 * sunrpc/rpcinfo.c: Likewise.
59629 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
59630 * sunrpc/rpcsvc/key_prot.x: Likewise.
59631 * sunrpc/rpcsvc/klm_prot.x: Likewise.
59632 * sunrpc/rpcsvc/mount.x: Likewise.
59633 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
59634 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
59635 * sunrpc/rpcsvc/rex.x: Likewise.
59636 * sunrpc/rpcsvc/rstat.x: Likewise.
59637 * sunrpc/rpcsvc/rusers.x: Likewise.
59638 * sunrpc/rpcsvc/sm_inter.x: Likewise.
59639 * sunrpc/rpcsvc/spray.x: Likewise.
59640 * sunrpc/rpcsvc/yppasswd.x: Likewise.
59641 * sunrpc/rtime.c: Likewise.
59642 * sunrpc/svc.c: Likewise.
59643 * sunrpc/svc_auth.c: Likewise.
59644 * sunrpc/svc_authux.c: Likewise.
59645 * sunrpc/svc_raw.c: Likewise.
59646 * sunrpc/svc_run.c: Likewise.
59647 * sunrpc/svc_simple.c: Likewise.
59648 * sunrpc/svc_tcp.c: Likewise.
59649 * sunrpc/svc_udp.c: Likewise.
59650 * sunrpc/svc_unix.c: Likewise.
59651 * sunrpc/svcauth_des.c: Likewise.
59652 * sunrpc/xcrypt.c: Likewise.
59653 * sunrpc/xdr.c: Likewise.
59654 * sunrpc/xdr_array.c: Likewise.
59655 * sunrpc/xdr_float.c: Likewise.
59656 * sunrpc/xdr_mem.c: Likewise.
59657 * sunrpc/xdr_rec.c: Likewise.
59658 * sunrpc/xdr_ref.c: Likewise.
59659 * sunrpc/xdr_sizeof.c: Likewise.
59660 * sunrpc/xdr_stdio.c: Likewise.
59662 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
59665 2010-08-19 Andreas Schwab <schwab@redhat.com>
59667 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
59669 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
59671 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
59672 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
59673 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
59674 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
59675 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
59676 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
59677 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
59678 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
59679 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
59680 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
59681 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
59682 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
59683 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
59684 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
59686 2010-07-26 Anton Blanchard <anton@samba.org>
59688 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
59689 * malloc/arena.c (heap_trim): Likewise.
59691 2010-08-16 Ulrich Drepper <drepper@redhat.com>
59693 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
59695 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
59696 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
59698 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
59700 * sysdeps/i386/elf/Makefile: New file.
59702 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
59704 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
59705 from fanotify_init.
59706 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
59707 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59709 2010-08-15 Ulrich Drepper <drepper@redhat.com>
59711 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
59713 * sysdeps/multiarch/strcmp.S: Likewise.
59715 2010-08-14 Ulrich Drepper <drepper@redhat.com>
59717 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59718 strncase_l-nonascii.
59719 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59720 Add strncase_l-ssse3.
59721 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
59722 * sysdeps/x86_64/strcmp.S: Likewise.
59723 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
59724 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
59725 * sysdeps/x86_64/strncase.S: New file.
59726 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
59727 * sysdeps/x86_64/strncase_l.S: New file.
59728 * string/Makefile (strop-tests): Add strncasecmp.
59729 * string/test-strncasecmp.c: New file.
59731 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
59734 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
59735 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
59737 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
59739 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
59741 2010-08-12 Ulrich Drepper <drepper@redhat.com>
59743 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
59744 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
59745 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
59747 2010-05-01 Alan Modra <amodra@gmail.com>
59749 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
59750 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
59751 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
59752 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
59753 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
59754 tidying. Don't tail-call __sigjmp_save for static lib.
59755 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
59757 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
59758 (CALL_MCOUNT): Add eh info, and nop after bl.
59759 (TAIL_CALL_SYSCALL_ERROR): New macro.
59760 (PSEUDO_RET): Use it.
59761 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
59762 Correct save location of integer regs and cr.
59763 (_dl_profile_resolve): Correct cr save location. Delete nops
59764 after bl when SHARED. Reduce cfi size a little by better
59765 placement of cfi directives.
59766 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
59767 make a stack frame. Instead use parm save area as a temp.
59768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
59769 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
59770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
59771 Don't make a stack frame for parent, use parm save area.
59772 Increase child stack frame to 112 bytes. Don't save unused reg,
59773 and adjust reg usage. Set up cfi on error recovery and
59774 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
59775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59776 (__makecontext): Add dummy nop after jump to exit.
59777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
59778 Use correct parm save area and cr save, reduce stack frame.
59779 Correct cfi for possible PSEUDO_RET frame setup.
59780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
59781 Branch to local label emitted by PSEUDO_RET rather than
59784 2010-08-12 Andreas Schwab <schwab@redhat.com>
59787 * locale/programs/locale.c (print_assignment): New function.
59788 (show_locale_vars): Use it.
59790 2010-08-11 Ulrich Drepper <drepper@redhat.com>
59792 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
59794 (struct statfs64): Likewise.
59795 (_STATFS_F_FLAGS): Define.
59796 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
59797 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59798 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
59799 (ST_VALID): Define locally.
59800 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
59801 __statvfs_getflags, use the provided value.
59802 * sysdeps/unix/sysv/linux/kernel-features.h: Define
59803 __ASSUME_STATFS_F_FLAGS.
59805 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
59807 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
59808 Add sys/fanotify.h.
59809 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
59810 fanotify_mask for GLIBC_2.13.
59811 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
59812 fanotify_init and fanotify_mark.
59813 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59814 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
59816 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
59818 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
59819 prlimit64 for GLIBC_2.13.
59820 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
59822 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
59824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
59825 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59826 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
59827 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
59828 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
59830 * sysdeps/unix/sysv/linux/prlimit.c: New file.
59833 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
59834 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
59836 * nss/Makefile: Add rules to build and run tst-nss-test1.
59837 * shlib-versions: Add entry for libnss_test1.
59838 * nss/nss_test1.c: New file.
59839 * nss/tst-nss-test1.c: New file.
59841 * nss/nsswitch.c (__nss_database_custom): Define new variable.
59842 (__nss_configure_lookup): Set appropriate entry in
59843 __nss_configure_lookup to true.
59844 * nss/nsswitch.h: Define enum with indeces of databases in
59845 databases and __nss_database_custom arrays. Declare
59846 __nss_database_custom.
59847 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
59848 to avoid using nscd when custom rules are installed.
59849 * nss/getXXbyYY_r.c: Likewise.
59850 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59852 * nss/nss_files/files-parse.c: Whitespace fixes.
59854 2010-08-09 Ulrich Drepper <drepper@redhat.com>
59857 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
59858 * posix/fnmatch_loop.c: Likewise.
59860 2010-07-17 Andi Kleen <ak@linux.intel.com>
59862 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
59863 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
59864 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
59865 * Versions.def [GLIBC_2.13]: Add.
59867 2010-08-06 Ulrich Drepper <drepper@redhat.com>
59869 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
59870 Also fail if tpwd after pwuid call is NULL.
59872 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
59874 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
59875 when converting to ms.
59877 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
59879 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
59880 EOPNOTSUPP errors with ENOTTY.
59881 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
59882 EOPNOTSUPP errors with ENOTTY.
59884 2010-07-31 Ulrich Drepper <drepper@redhat.com>
59886 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59887 Add strcasecmp_l-ssse3.
59888 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
59890 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
59891 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
59892 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
59894 2010-07-30 Ulrich Drepper <drepper@redhat.com>
59896 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
59898 * string/Makefile (strop-tests): Add strcasecmp.
59899 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59900 strcasecmp_l-nonascii.
59901 (gen-as-const-headers): Add locale-defines.sym.
59902 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
59903 * sysdeps/x86_64/strcasecmp.S: New file.
59904 * sysdeps/x86_64/strcasecmp_l.S: New file.
59905 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
59906 * sysdeps/x86_64/locale-defines.sym: New file.
59907 * string/test-strcasecmp.c: New file.
59909 * string/test-strcasestr.c: Test both ends of the range of characters.
59910 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
59912 2010-07-29 Roland McGrath <roland@redhat.com>
59915 * manual/locale.texi (Yes-or-No Questions): Fix example code.
59917 2010-07-27 Ulrich Drepper <drepper@redhat.com>
59919 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
59922 2010-07-27 Andreas Schwab <schwab@redhat.com>
59924 * manual/memory.texi (Malloc Tunable Parameters): Document
59927 2010-07-26 Roland McGrath <roland@redhat.com>
59930 * configure.in (-fgnu89-inline check): Set and substitute
59931 gnu89_inline, not libc_cv_gnu89_inline.
59932 * configure: Regenerated.
59933 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
59935 2010-07-26 Ulrich Drepper <drepper@redhat.com>
59937 * string/test-strnlen.c: New file.
59938 * string/Makefile (strop-tests): Add strnlen.
59939 * string/tester.c (test_strnlen): Add a few more test cases.
59940 * string/tst-strlen.c: Better error reporting.
59942 * sysdeps/x86_64/strnlen.S: New file.
59944 2010-07-24 Ulrich Drepper <drepper@redhat.com>
59946 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
59947 lower-latency instructions.
59949 2010-07-23 Ulrich Drepper <drepper@redhat.com>
59951 * string/test-strcasestr.c: New file.
59952 * string/test-strstr.c: New file.
59953 * string/Makefile (strop-tests): Add strstr and strcasestr.
59954 * string/str-two-way.h: Don't undefine MAX.
59955 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
59957 2010-07-21 Andreas Schwab <schwab@redhat.com>
59959 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59960 strcasestr-nonascii.
59961 (CFLAGS-strcasestr-nonascii.c): Define.
59962 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
59963 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
59964 Remove unused attribute.
59966 2010-07-20 Roland McGrath <roland@redhat.com>
59968 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
59969 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
59970 ld.so.cache was broken. With it, there is no way to disable dsocaps
59971 like LD_HWCAP_MASK can disable hwcaps.
59973 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
59975 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
59977 2010-07-16 Ulrich Drepper <drepper@redhat.com>
59979 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
59980 call in strcasestr.
59981 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
59982 __strcasestr_sse42_nonascii.
59983 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
59984 strcasestr-nonascii.c.
59985 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
59987 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
59989 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
59990 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
59991 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
59992 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
59994 2010-07-09 Ulrich Drepper <drepper@redhat.com>
59996 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
59999 2010-07-06 Andreas Schwab <schwab@redhat.com>
60002 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
60005 2010-07-06 Ulrich Drepper <drepper@redhat.com>
60007 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
60008 _PC_PIPE_BUF using F_GETPIPE_SZ.
60010 2010-07-05 Roland McGrath <roland@redhat.com>
60012 * manual/arith.texi (Rounding Functions): Fix rint description
60013 implicit in round description.
60015 2010-07-02 Ulrich Drepper <drepper@redhat.com>
60017 * elf/Makefile: Fix linking for a few tests to make recent linker
60020 2010-06-30 Andreas Schwab <schwab@redhat.com>
60022 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60023 $(common-objpfx)libc_nonshared.a.
60025 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
60027 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
60028 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
60029 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60030 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60031 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
60032 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
60033 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60034 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
60036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
60037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
60038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
60040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
60042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
60043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
60044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
60045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
60047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
60049 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
60050 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
60051 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
60052 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
60053 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
60054 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
60055 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
60056 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
60057 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
60058 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
60059 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
60060 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
60061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
60062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
60063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
60064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
60065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
60066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
60067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
60068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
60069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
60070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
60071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
60072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
60073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
60074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
60076 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
60078 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
60079 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
60080 * string/memmove.c (memmove): Renamed to ...
60081 (MEMMOVE): ...this. Default to memmove.
60082 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
60083 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
60085 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60086 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
60087 mempcpy-ssse3-back memmove-ssse3-back.
60088 * sysdeps/x86_64/multiarch/bcopy.S: New file .
60089 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
60090 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
60091 * sysdeps/x86_64/multiarch/memcpy.S: New file.
60092 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
60093 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
60094 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
60095 * sysdeps/x86_64/multiarch/memmove.c: New file.
60096 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
60097 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
60098 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
60099 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
60100 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
60101 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
60103 (index_Fast_Copy_Backward): Define.
60104 (HAS_ARCH_FEATURE): Define.
60105 (HAS_FAST_REP_STRING): Define.
60106 (HAS_FAST_COPY_BACKWARD): Define.
60108 2010-06-21 Andreas Schwab <schwab@redhat.com>
60110 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60111 Restore proper fallback handling.
60113 2010-06-19 Ulrich Drepper <drepper@redhat.com>
60116 * posix/group_member.c (__group_member): Correct checking loop.
60118 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
60119 OOM in getpwuid_r correctly. Return error number when the caller
60120 should return, otherwise -1.
60121 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
60122 call returning > 0 value.
60123 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
60125 2010-06-07 Andreas Schwab <schwab@redhat.com>
60127 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
60128 libc_nonshared.a from targets in modules-names.
60130 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
60132 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
60135 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
60137 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
60138 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
60139 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
60140 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
60142 2010-06-02 Andreas Schwab <schwab@redhat.com>
60144 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
60146 2010-06-14 Ulrich Drepper <drepper@redhat.com>
60148 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
60150 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60151 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60152 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60153 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60154 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60155 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
60157 2010-06-14 Roland McGrath <roland@redhat.com>
60159 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
60161 2010-06-07 Jakub Jelinek <jakub@redhat.com>
60163 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
60164 __REDIRECT followed by __THROW.
60165 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
60166 * posix/getopt.h (getopt): Likewise.
60168 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
60170 * hurd/lookup-at.c (__file_name_lookup_at): Accept
60171 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
60172 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
60174 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
60175 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
60177 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
60179 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
60181 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
60184 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60185 Properly check family and model.
60187 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
60189 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
60191 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
60193 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
60195 2010-05-21 Ulrich Drepper <drepper@redhat.com>
60197 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
60200 2010-05-19 Andreas Schwab <schwab@redhat.com>
60202 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
60205 2010-05-21 Andreas Schwab <schwab@redhat.com>
60207 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
60208 and internal_recvmmsg.
60209 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
60210 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
60211 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
60212 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
60214 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
60215 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
60216 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
60218 2010-05-20 Andreas Schwab <schwab@redhat.com>
60220 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
60222 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
60224 POWER7 optimizations.
60225 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
60226 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
60228 2010-05-19 Ulrich Drepper <drepper@redhat.com>
60230 * version.h: Update for 2.13 development version.
60232 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
60234 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
60235 exceptions. Return 0.
60237 2010-05-07 Roland McGrath <roland@redhat.com>
60239 * elf/ldconfig.c (main): Add a const.
60241 2010-05-06 Ulrich Drepper <drepper@redhat.com>
60243 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
60244 (args_options): Add no-idn option.
60245 (ahosts_keys_int): Add idn_flags to ai_flags.
60246 (parse_option): Handle 'i' option to clear idn_flags.
60248 * malloc/malloc.c (_int_free): Possible race in the most recently
60249 added check. Only act on the data if no current modification
60252 See ChangeLog.17 for earlier changes.