1 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
3 * sysdeps/x86_64/fpu/Makefile: New file.
4 * sysdeps/x86_64/fpu/Versions: New file.
5 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
6 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
7 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
8 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
9 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
10 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
11 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
12 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
13 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
14 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
15 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
16 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
17 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
18 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19 build of SSE, AVX2 and AVX512 IFUNC versions.
20 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
21 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
22 * sysdeps/x86_64/configure.ac: Options for libmvec build.
23 * sysdeps/x86_64/configure: Regenerated.
24 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
25 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
26 * manual/install.texi (Configuring and compiling): Document
28 * INSTALL: Regenerated.
29 * NEWS: Mention addition of libmvec and x86_64 vector cos.
31 * math/Makefile: Added rules for vector tests.
32 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
33 declaration under condition.
34 * math/test-double-vlen2.h: New file.
35 * math/test-double-vlen4.h: New file.
36 * math/test-double-vlen8.h: New file.
37 * math/test-vec-loop.h: Added initialization macro.
38 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
39 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
40 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
41 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
42 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
43 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
44 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
45 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
46 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
47 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
48 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
50 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
51 * sysdeps/x86_64/fpu/Versions: New versions added.
52 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
53 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
54 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
55 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
56 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
57 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
58 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
59 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
60 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
61 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
62 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
63 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
64 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
65 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
66 build of SSE, AVX2 and AVX512 IFUNC versions.
67 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
68 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
69 * NEWS: Mention addition of x86_64 vector cosf.
71 * math/Makefile: Added CFLAGS for new tests.
72 * math/test-float-vlen16.h: New file.
73 * math/test-float-vlen4.h: New file.
74 * math/test-float-vlen8.h: New file.
75 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
76 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
77 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
78 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
79 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
80 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
81 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
82 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
83 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
84 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
85 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
87 2015-06-09 Marko Myllynen <myllynen@redhat.com>
89 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
90 * locale/programs/ld-ctype.c: Likewise.
92 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
94 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
95 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
96 bit_ZMM16_31_state): New macro.
97 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
98 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
100 2015-06-08 Joseph Myers <joseph@codesourcery.com>
102 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
104 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
106 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
108 2015-06-05 Joseph Myers <joseph@codesourcery.com>
111 * libio/memstream.c (open_memstream): Rename to __open_memstream
112 and define as weak alias of __open_memstream.
113 * include/stdio.h (__open_memstream): Declare. Use
115 (open_memstream): Don't use libc_hidden_proto.
116 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
118 * posix/getopt.c (_getopt_internal_r): Likewise.
119 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
121 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
122 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
123 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
126 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
130 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
131 [__USE_XOPEN2K8]. Remove redundant #endif.
132 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
133 Remove redundant #if.
134 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
136 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
137 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
140 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
141 (__iswlower): Likewise.
142 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
143 (__iswlower): Likewise.
144 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
146 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
147 instead of iswlower. Call __towupper instead of towupper.
148 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
151 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
153 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
156 2015-06-05 Florian Weimer <fweimer@redhat.com>
160 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
161 Check for overflow properly. Check for O_APPEND. Ignore large
162 file system block sizes. Add comments about problems.
163 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
164 * manual/filesys.texi (Storage Allocation): New node.
166 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
168 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
169 cancellable syscalls.
170 (SYS_ify): Add guard to no redefine it.
171 (INLINE_SYSCALL): Likewise.
172 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
173 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
174 SYSCALL_CANCEL instead.
175 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
176 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
177 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
178 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
179 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
180 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
181 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
182 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
183 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
184 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
185 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
186 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
187 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
188 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
189 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
190 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
192 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
193 (__libc_pread64): Likewise.
194 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
195 (__libc_preadv): Likewise.
196 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
197 (__libc_readv64): Likewise.
198 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
199 (__libc_pwrite): Likewise.
200 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
201 (__libc_pwrite64): Likewise.
202 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
203 (__libc_pwritev): Likewise.
204 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
205 (__libc_pwritev64): Likewise.
206 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
207 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
208 (sync_file_range): Likewise.
209 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
211 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
213 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
214 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
215 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
216 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
217 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
218 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
219 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
220 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
224 (__libc_read64): Likewise.
225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
234 (__libc_pread64): Likewise.
235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
238 (__libc_pwrite64): Likewise.
239 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
240 (sync_file_range): Likewise.
241 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
242 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
243 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
244 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
245 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
246 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
247 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
248 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
249 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
250 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
251 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
252 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
253 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
254 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
255 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
256 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
257 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
258 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
259 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
261 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
263 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
264 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
266 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
267 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
268 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
269 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
271 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
272 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
273 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
274 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
275 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
277 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
279 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
281 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
282 Use VDSO routines for gettimeofday, clock_gettime if
284 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
285 Declare VDSO symbols.
286 * sysdeps/unix/sysv/linux/arm/sysdep.h:
287 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
288 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
289 * sysdeps/unix/sysv/linux/arm/Versions: Add
290 __vdso_clock_gettime.
292 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
294 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
295 be an inline implementation regardless of library is built within.
296 (open_not_cancel_2): Likewise.
297 (__read_nocancel): Likewise.
298 (__write_nocancel): Likewise.
299 (openat_not_cancel): Likewise.
300 (openat_not_cancel_3): Likewise.
301 (openat64_not_cancel): Likewise.
302 (openat64_not_cancel_3): Likewise.
303 (__close_nocancel): Likewise.
304 (pause_not_cancel): Likewise.
305 (nanosleep_not_cancel): Likewise.
306 (sigsuspend_not_cancel): Likewise.
308 2015-06-04 Torvald Riegel <triegel@redhat.com>
311 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
313 (__pthread_rwlock_rdlock_slow): Likewise.
314 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
316 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
318 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
319 * nptl/tst-rwlock16.c: New file.
320 * nptl/Makefile (tests): Add new test.
322 2015-06-04 Torvald Riegel <triegel@redhat.com>
325 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
326 missing wake-up of readers.
327 * nptl/tst-rwlock15.c: New file.
328 * nptl/Makefile (tests): Add new test.
330 2015-06-03 Roland McGrath <roland@hack.frob.com>
332 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
333 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
334 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
335 and __nacl_supply_interface_rtld.
336 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
337 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
338 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
339 Add __nacl_supply_interface_rtld.
340 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
342 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
344 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
346 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
347 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
349 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
351 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
352 __signbit* with standard C99 macros.
353 * math/e_exp10l.c: Likewise.
354 * math/e_exp2l.c: Likewise.
355 * math/e_scalb.c: Likewise.
356 * math/e_scalbf.c: Likewise.
357 * math/e_scalbl.c: Likewise.
358 * math/s_ldexp.c: Likewise.
359 * math/s_ldexpf.c: Likewise.
360 * math/s_ldexpl.c: Likewise.
361 * math/w_atan2.c: Likewise.
362 * math/w_atan2f.c: Likewise.
363 * math/w_atan2l.c: Likewise.
364 * math/w_cosh.c: Likewise.
365 * math/w_coshf.c: Likewise.
366 * math/w_coshl.c: Likewise.
367 * math/w_exp10.c: Likewise.
368 * math/w_exp10f.c: Likewise.
369 * math/w_exp10l.c: Likewise.
370 * math/w_exp2.c: Likewise.
371 * math/w_exp2f.c: Likewise.
372 * math/w_exp2l.c: Likewise.
373 * math/w_fmod.c: Likewise.
374 * math/w_fmodf.c: Likewise.
375 * math/w_fmodl.c: Likewise.
376 * math/w_hypot.c: Likewise.
377 * math/w_hypotf.c: Likewise.
378 * math/w_hypotl.c: Likewise.
379 * math/w_jnl.c: Likewise.
380 * math/w_lgamma.c: Likewise.
381 * math/w_lgamma_r.c: Likewise.
382 * math/w_lgammaf.c: Likewise.
383 * math/w_lgammaf_r.c: Likewise.
384 * math/w_lgammal.c: Likewise.
385 * math/w_lgammal_r.c: Likewise.
386 * math/w_pow.c: Likewise.
387 * math/w_powf.c: Likewise.
388 * math/w_powl.c: Likewise.
389 * math/w_remainder.c: Likewise.
390 * math/w_remainderf.c: Likewise.
391 * math/w_remainderl.c: Likewise.
392 * math/w_scalb.c: Likewise.
393 * math/w_scalbf.c: Likewise.
394 * math/w_scalbl.c: Likewise.
395 * math/w_scalbln.c: Likewise.
396 * math/w_scalblnf.c: Likewise.
397 * math/w_scalblnl.c: Likewise.
398 * math/w_sinh.c: Likewise.
399 * math/w_sinhf.c: Likewise.
400 * math/w_sinhl.c: Likewise.
401 * math/w_tgamma.c: Likewise.
402 * math/w_tgammaf.c: Likewise.
403 * math/w_tgammal.c: Likewise.
404 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
405 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
406 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
407 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
408 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
409 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
410 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
411 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
412 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
413 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
414 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
415 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
416 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
417 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
418 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
419 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
420 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
421 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
422 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
423 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
424 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
425 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
426 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
427 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
428 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
429 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
430 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
431 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
432 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
433 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
434 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
435 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
436 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
437 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
438 * stdio-common/printf_fp.c: Likewise.
439 * stdio-common/printf_fphex.c: Likewise.
440 * stdio-common/printf_size.c: Likewise.
442 2015-06-03 Joseph Myers <joseph@codesourcery.com>
445 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
447 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
449 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
450 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
451 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
452 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
453 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
454 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
455 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
456 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
457 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
458 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
461 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
462 weak alias of __wmemchr. Use libc_hidden_weak.
463 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
464 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
467 2015-06-02 Roland McGrath <roland@hack.frob.com>
470 * elf/tst-tlsalign-extern.c: New file.
471 * elf/tst-tlsalign-extern-static.c: New file.
472 * elf/tst-tlsalign-vars.c: New file.
473 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
474 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
475 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
476 ($(objpfx)tst-tlsalign-extern-static): Likewise.
477 (test-xfail-tst-tlsalign-extern-static): New variable.
479 2015-06-02 Joseph Myers <joseph@codesourcery.com>
481 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
482 Use variable name _sc_err instead of err.
483 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
485 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
486 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
487 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
488 (INLINE_SYSCALL): Likewise.
490 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
491 * include/string.h (__strnlen): Use libc_hidden_proto.
492 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
493 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
494 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
495 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
496 (libc_hidden_def): Undefine and redefine.
497 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
498 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
500 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
502 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
505 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
506 weak alias of __towlower. Use libc_hidden_weak.
507 (towupper): Rename to __towupper and define as weak alias of
508 __towupper. Use libc_hidden_weak.
509 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
510 (__towupper): Likewise.
511 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
512 __towlower instead of towlower.
514 2015-06-02 Roland McGrath <roland@hack.frob.com>
516 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
517 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
519 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
521 * sysdeps/aarch64/libm-test-ulps: Update.
523 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
525 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
527 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
528 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
529 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
530 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
531 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
532 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
533 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
535 2015-06-01 Martin Sebor <msebor@redhat.com>
538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
539 (__setcontext): Use extended four-operand version of mtsf whenever
541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
542 (__novec_swapcontext): Likewise.
544 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
546 * benchtests/scripts/compare_bench.py: New file.
547 * benchtests/scripts/import_bench.py (mean): New function.
548 (split_list): Likewise.
549 (do_for_all_timings): Likewise.
550 (compress_timings): Likewise.
552 * benchtests/scripts/import_bench.py: New file.
553 * benchtests/scripts/validate_benchout.py: Import import_bench
554 instead of jsonschema.
555 (validate_bench): Remove function.
556 (main): Use import_bench.
558 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
560 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
561 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
563 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
567 2015-05-28 Roland McGrath <roland@hack.frob.com>
569 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
570 set THREAD_SELF->tid to a magic value and futex-wake it.
571 Pass its address to the thread_exit system call.
572 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
574 * sysdeps/nacl/lowlevellock.h: New file.
575 * sysdeps/nacl/lll_timedwait_tid.c: New file.
577 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
578 Add TIMEOUT to current time, don't subtract it.
580 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
583 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
584 ($(objpfx)tst-audit2.out): Also depend on
585 $(objpfx)tst-auditmod9b.so.
586 * elf/tst-audit2.c: Include <dlfcn.h>.
587 (calloc_called): New.
588 (calloc): Allow to be called more than once.
589 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
591 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
593 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
594 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
596 2015-05-27 Marko Myllynen <myllynen@redhat.com>
598 * stdlib/monetary.h: Fix comment.
600 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
602 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
603 Avoid using variables in #defines that might cause shadowing.
604 (INTERNAL_VSYSCALL_CALL): Likewise.
606 2015-05-26 Roland McGrath <roland@hack.frob.com>
608 * sysdeps/nacl/lll_timedlock_wait.c: New file.
610 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
611 * nptl/lll_timedlock_wait.c: ... to this new file.
612 * nptl/Makefile (libpthread-routines): Add it.
613 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
614 * nptl/lll_timedwait_tid.c: ... to this new file.
615 * nptl/Makefile (libpthread-routines): Add it.
616 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
617 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
618 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
619 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
620 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
621 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
622 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
623 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
624 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
625 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
627 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
629 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
630 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
631 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
632 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
633 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
634 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
635 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
636 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
637 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
638 * sysdeps/unix/sysv/linux/tile/sysdep.h
639 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
640 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
641 using vDSO syscall macro.
643 2015-05-26 Andriy Rysin <arysin@gmail.com>
646 * uk_UA: Fix sorting order for Ukrainian locale
648 2015-05-26 Marko Myllynen <myllynen@redhat.com>
650 * stdlib/monetary.h: Fix comment.
652 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
655 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
656 st_mtim and st_ctim members.
657 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
658 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
659 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
660 (struct stat64): Likewise.
661 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
662 (struct stat64): Likewise.
663 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
664 (struct stat64): Likewise.
666 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
668 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
669 Define and include sysdep-vdso.h.
670 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
672 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
674 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
675 Define with VDSO_SYMBOL and use PTR_MANGLE.
676 (__vdso_clock_gettime): Likewise.
677 (__vdso_clock_getres): Likewise.
678 (_libc_vdso_platform_setup): Likewise.
679 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
681 (_libc_vdso_platform_setup): Likewise.
682 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
684 (__vdso_clock_gettime): Likewise.
685 (__vdso_clock_getres): Likewise.
686 (__vdso_get_tbfreq): Likewise.
687 (__vdso_getcpu): Likewise.
688 (__vdso_time): Likewise.
689 (__vdso_sigtramp_rt64): Likewise.
690 (__vdso_signtramp32): Likewise.
691 (__vdso_sigtramp_rt32): Likewise.
692 (_libc_vdso_platform_setup): Likewise.
693 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
695 (__vdso_clock_gettime): Likewise.
696 (__vdso_clock_getres): Likewise.
697 (_libc_vdso_platform_setup): Likewise.
698 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
700 (__vdso_clock_gettime): Likewise.
701 (_libc_vdso_platform_setup): Likewise.
702 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
704 (__vdso_getcpu): Likewise.
705 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
706 Use VDSO_SYMBOL macro to define.
707 (__vdso_clock_gettime): Likewise.
708 (__vdso_clock_getres): Likewise.
709 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
711 (__vdso_clock_gettime): Likewise.
712 (__vdso_clock_getres): Likewise.
713 (__vdso_get_tbfreq): Likewise.
714 (__vdso_getcpu): Likewise.
715 (__vdso_time): Likewise.
716 (__vdso_sigtramp_rt64): Likewise.
717 (__vdso_signtramp32): Likewise.
718 (__vdso_sigtramp_rt32): Likewise.
719 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
721 (__vdso_clock_gettime): Likewise.
722 (__vdso_clock_getres): Likewise.
723 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
725 (__vdso_clock_gettime): Likewise.
726 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
728 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
730 (INTERNAL_VSYSCALL): Likewise.
731 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
733 (INTERNAL_VSYSCALL): Likewise.
734 (INTERNAL_VSYSCALL_NCS): Likewise.
735 (INTERNAL_VSYSCALL_CALL): New macro.
736 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
737 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
739 (INTERNAL_VSYSCALL): Likewise.
740 (INTERNAL_VSYSCALL_NCS): Likewise.
741 (INTERNAL_VSYSCALL_CALL): New macro.
742 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
744 (INLINE_VSYSCALL): Remove macro.
745 (INTERNAL_VSYSCALL): Remove macro.
746 (INTERNAL_VSYSCALL_NCS): Remove macro.
747 (INTERNAL_VSYSCALL_CALL): New macro.
748 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
749 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
750 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
751 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
752 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
754 (INLINE_VSYSCALL): Remove macro.
755 (INTERNAL_VSYSCALL): Likewise.
756 (INTERNAL_VSYSCALL_NCS): Likewise.
757 (INTERNAL_VSYSCALL_CALL): New macro.
758 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
759 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
760 PTR_DEMANGLE on vDSO pointer.
761 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
762 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
764 (INTERNAL_SYSCALL): Likewise.
765 (INTERNAL_VSYSCALL_NCS): Remove macro.
766 (INTERNAL_VSYSCALL_CALL): New macro.
767 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
769 (INTERNAL_VSYSCALL): Likewise.
770 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
771 sysdep-vdso.h instead of libc-vdso.h.
772 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
774 (INLINE_VSYSCALL): Likewise.
775 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
776 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
778 (INLINE_VSYSCALL): Likewise.
779 (INTERNAL_VSYSCALL): Likewise.
780 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
781 * sysdeps/unix/sysv/linux/timespec_get.c
782 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
783 (timespec_get): Use ANSI prototype.
784 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
785 and definition for Linux.
787 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
789 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
790 * include/libc-symbols.h: libmvec_hidden_* macro series added.
792 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
795 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
796 for missing DT_PLTRELSZ.
798 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
800 Remove obsolete aliases that broke 'locale -a'
802 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
803 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
804 breaking some applications that use 'locale -a' output.
805 Change the encoding of this file from Latin-1 to ASCII to avoid
806 other potential problems with people grepping this file.
808 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
810 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
811 -fasynchronous-unwind-tables.
812 (CFLAGS-sendto.c): Likewise.
813 (CFLAGS-sendmsg.c): Likewise.
814 (CFLAGS-connect.c): Likewise.
815 (CFLAGS-recvmsg.c): Likewise.
816 (CFLAGS-recvfrom.c): Likewise.
817 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
818 (SOCKETCALL): New macro: non-cancellable socketcall.
819 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
820 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
821 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
822 * sysdeps/unix/sysv/linux/accept.c: New file.
823 * sysdeps/unix/sysv/linux/bind.c: Likewise.
824 * sysdeps/unix/sysv/linux/connect.c: Likewise.
825 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
826 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
827 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
828 * sysdeps/unix/sysv/linux/listen.c: Likewise.
829 * sysdeps/unix/sysv/linux/recv.c: Likewise.
830 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
831 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
832 * sysdeps/unix/sysv/linux/send.c: Likewise.
833 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
834 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
835 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
836 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
837 * sysdeps/unix/sysv/linux/socket.c: Likewise.
838 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
839 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
841 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
842 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
843 instead of __internal_xxx function.
844 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
846 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
847 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
848 instead of __internal_xxx function.
849 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
851 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
852 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
853 instead of __internal_xxx function.
854 * sysdeps/unix/sysv/linux/accept.S: Remove file.
855 * sysdeps/unix/sysv/linux/bind.S: Likewise.
856 * sysdeps/unix/sysv/linux/connect.S: Likewise.
857 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
858 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
859 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
860 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
861 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
862 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
863 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
864 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
865 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
866 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
867 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
868 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
869 * sysdeps/unix/sysv/linux/listen.S: Likewise.
870 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
871 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
872 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
873 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
876 * sysdeps/unix/sysv/linux/recv.S: Likewise.
877 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
878 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
879 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
880 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
881 * sysdeps/unix/sysv/linux/send.S: Likewise.
882 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
883 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
884 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
885 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
886 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
887 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
888 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
889 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
890 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
891 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
892 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
893 socketcall is implemented in GLIBC.
895 2015-05-22 Joseph Myers <joseph@codesourcery.com>
897 * soft-fp/fmadf4.c: Include <libc-internal.h>.
898 (__fma): Ignore uninitialized warnings around packing.
899 * soft-fp/fmasf4.c: Include <libc-internal.h>.
900 (__fmaf): Ignore uninitialized warnings around packing.
901 * soft-fp/fmatf4.c: Include <libc-internal.h>.
902 (__fmal): Ignore uninitialized warnings around packing.
904 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
905 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
906 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
907 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
909 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
910 switch statement into default case.
911 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
913 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
914 a conditional in forcing "inexact".
915 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
918 2015-05-22 Roland McGrath <roland@hack.frob.com>
920 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
921 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
922 for each INTERNAL_SYSCALL use.
924 2015-05-22 Joseph Myers <joseph@codesourcery.com>
927 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
928 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
932 * string/basename.c (basename): Rename to __basename and define as
933 weak alias of __basename. Use libc_hidden_weak.
934 * include/string.h (__basename): Declare. Use libc_hidden_proto.
935 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
936 __basename instead of basename.
937 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
939 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
941 2015-05-18 Florian Weimer <fweimer@redhat.com>
943 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
944 (_IO_JUMPS_FILE_plus): New.
945 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
946 _IO_CAST_FIELD_ACCESS.
947 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
948 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
949 * libio/freopen.c (freopen): Likewise.
950 * libio/freopen64.c (freopen64): Likewise.
951 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
952 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
953 * libio/iofwide.c (_IO_fwide): Likewise.
954 * libio/memstream.c (open_memstream): Likewise.
955 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
956 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
957 * libio/oldiopopen.c (_IO_old_popen): Likewise.
959 2015-05-21 Joseph Myers <joseph@codesourcery.com>
961 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
962 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
964 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
965 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
967 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
968 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
971 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
974 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
975 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
977 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
978 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
979 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
981 2015-05-21 Florian Weimer <fweimer@redhat.com>
983 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
984 Adjust jump table label generation macros.
986 2015-05-21 Florian Weimer <fweimer@redhat.com>
988 * stdio-common/vfprintf.c (vfprintf): Move local variables
989 args_malloced, specs, specs_malloced, and the code after
990 do_positional to the printf_positional function.
991 (printf_positional): New function.
993 2015-05-21 Florian Weimer <fweimer@redhat.com>
995 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
997 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
998 STEP4_TABLE, process_arg): Move macro definitions
999 out of the vfprintf function. (Cosmetic change only.)
1001 2015-05-21 Carlos O'Donell <carlos@redhat.com>
1003 * benchtests/Makefile (stdio-common-bench): Define.
1004 (benchset): Add stdio-common-bench.
1005 * sprintf-inputs: New file.
1006 * sprintf-source.c: New file.
1008 2015-05-21 Andreas Schwab <schwab@suse.de>
1012 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
1013 of struct __res_state.
1014 * resolv/res_send.c (__libc_res_nsend): Likewise.
1015 (get_nsaddr): New function.
1016 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
1019 2015-05-20 Joseph Myers <joseph@codesourcery.com>
1021 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
1022 -D_POSIX_C_SOURCE=199506L.
1024 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
1026 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
1027 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
1028 Do not mention otherwise.
1029 [POSIX] (_XOPEN_VERSION): Do not expect.
1030 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
1031 [POSIX] (_POSIX2_C_BIND): Likewise.
1032 [POSIX] (_POSIX2_VERSION): Likewise.
1033 [POSIX] (_XOPEN_XPG2): Likewise.
1034 [POSIX] (_XOPEN_XPG3): Likewise.
1035 [POSIX] (_XOPEN_XPG4): Likewise.
1036 [POSIX] (_XOPEN_UNIX): Likewise.
1037 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
1038 [POSIX] (_POSIX_BARRIERS): Likewise.
1039 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
1040 [POSIX] (_POSIX_CPUTIME): Likewise.
1041 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
1042 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
1043 [POSIX] (_POSIX_SHELL): Likewise.
1044 [POSIX] (_POSIX_SPAWN): Likewise.
1045 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
1046 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
1047 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
1048 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
1049 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
1050 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
1051 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
1052 [POSIX] (_XBS5_LP64_OFF64): Likewise.
1053 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
1054 [POSIX] (_POSIX_TIMEOUTS): Likewise.
1055 [POSIX] (_POSIX2_PBS): Likewise.
1056 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
1057 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
1058 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
1059 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
1060 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
1061 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
1062 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
1063 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
1064 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
1065 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
1066 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
1067 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
1068 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
1069 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
1070 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
1071 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
1072 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
1073 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
1074 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
1075 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
1076 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
1077 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
1078 [POSIX] (_SC_2_C_BIND): Likewise.
1079 [POSIX] (_SC_2_C_VERSION): Likewise.
1080 [POSIX] (_SC_2_PBS): Likewise.
1081 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
1082 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
1083 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
1084 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
1085 [POSIX] (_SC_2_PBS_TRACK): Likewise.
1086 [POSIX] (_SC_ATEXIT_MAX): Likewise.
1087 [POSIX] (_SC_BARRIERS): Likewise.
1088 [POSIX] (_SC_BASE): Likewise.
1089 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
1090 [POSIX] (_SC_DEVICE_IO): Likewise.
1091 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
1092 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
1093 [POSIX] (_SC_FD_MGMT): Likewise.
1094 [POSIX] (_SC_FIFO): Likewise.
1095 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
1096 [POSIX] (_SC_FILE_LOCKING): Likewise.
1097 [POSIX] (_SC_FILE_SYSTEM): Likewise.
1098 [POSIX] (_SC_IOV_MAX): Likewise.
1099 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
1100 [POSIX] (_SC_NETWORKING): Likewise.
1101 [POSIX] (_SC_PAGE_SIZE): Likewise.
1102 [POSIX] (_SC_PASS_MAX): Likewise.
1103 [POSIX] (_SC_PIPE): Likewise.
1104 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
1105 [POSIX] (_SC_REGEXP): Likewise.
1106 [POSIX] (_SC_SHELL): Likewise.
1107 [POSIX] (_SC_SIGNALS): Likewise.
1108 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
1109 [POSIX] (_SC_SPIN_LOCKS): Likewise.
1110 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
1111 [POSIX] (_SC_USER_GROUPS): Likewise.
1112 [POSIX] (_SC_USER_GROUPS_R): Likewise.
1113 [POSIX] (_SC_STREAMS): Likewise.
1114 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
1115 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
1116 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
1117 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
1118 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
1119 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
1120 [POSIX] (_PC_FILESIZEBITS): Likewise.
1121 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
1122 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
1123 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
1124 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
1125 [POSIX] (uid_t): Likewise.
1126 [POSIX] (gid_t): Likewise.
1127 [POSIX] (off_t): Likewise.
1128 [POSIX] (pid_t): Likewise.
1129 [POSIX] (cuserid): Allow.
1130 (_SC_2_CHAR_TERM): Require constant.
1131 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
1132 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
1135 2015-05-20 Roland McGrath <roland@hack.frob.com>
1137 * sysdeps/nacl/pthread-pids.h: New file.
1138 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
1139 (create_thread): Use __nacl_get_tid to initialize PD->tid.
1141 * nptl/pthread-pids.h: New file.
1142 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
1143 * nptl/nptl-init.c: Include <pthread-pids.h>.
1144 (__pthread_initialize_minimal_internal):
1145 Call __pthread_initialize_pids instead of set_tid_address syscall.
1147 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
1148 * sysdeps/posix/usleep.c: ... here.
1150 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1152 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
1153 call_pselect6 object.
1154 [$(subdir) = io]: Remove call_sync_file_range object.
1155 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
1156 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
1157 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
1158 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
1160 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
1162 * math/s_cproj.c: Add include "math_private.h".
1163 * math/s_cprojf.c: Likewise.
1164 * math/s_cprojl.c: Likewise.
1166 2015-05-19 Joseph Myers <joseph@codesourcery.com>
1169 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
1170 high mantissa bit when testing whether P is a NaN.
1171 * math/libm-test.inc (remainder_test_data): Add more tests.
1172 (remquo_test_data): Likewise.
1175 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
1176 below -32, return the argument, with underflow if subnormal.
1177 * math/auto-libm-test-in: Add more tests of atanh.
1178 * math/auto-libm-test-out: Regenerated.
1180 2015-05-19 Roland McGrath <roland@hack.frob.com>
1183 * nptl/tst-sem15.c: New file.
1184 * nptl/Makefile (tests): Add it.
1185 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
1186 s/<</>>/ to fix typo in EOVERFLOW check.
1187 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
1189 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1191 * manual/strings.texi (envz_remove): Fix typo in safety
1194 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
1195 Steve Ellcey <sellcey@imgtec.com>
1197 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
1198 in order to avoid strict alias warnings.
1199 (iruserok_af): Ditto for ra.
1201 2015-05-19 James Lemke <jwlemke@codesourcery.com>
1205 (magicbyte): Convert to a function and avoid returning 0x01.
1206 (mem2mem_check): Avoid using a length byte equal to the magic byte.
1207 (mem2chunk_check): Fix unsigned comparisons to zero.
1208 Hoist defs of sz and magic.
1210 2015-05-19 Richard Henderson <rth@redhat.com>
1212 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
1214 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1216 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1219 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
1220 * malloc/arena.c (arena_lock): Check if arena is corrupt.
1221 (reused_arena): Find a non-corrupt arena.
1222 (heap_trim): Pass arena to unlink.
1223 * malloc/hooks.c (malloc_check_get_size): Pass arena to
1225 (top_check): Likewise.
1226 (free_check): Likewise.
1227 (realloc_check): Likewise.
1228 * malloc/malloc.c (malloc_printerr): Add arena argument.
1230 (munmap_chunk): Adjust.
1231 (ARENA_CORRUPTION_BIT): New macro.
1232 (arena_is_corrupt): Likewise.
1233 (set_arena_corrupt): Likewise.
1234 (sysmalloc): Use mmap if there are no usable arenas.
1235 (_int_malloc): Likewise.
1236 (__libc_malloc): Don't fail if arena_get returns NULL.
1237 (_mid_memalign): Likewise.
1238 (__libc_calloc): Likewise.
1239 (__libc_realloc): Adjust for additional argument to
1241 (_int_free): Likewise.
1242 (malloc_consolidate): Likewise.
1243 (_int_realloc): Likewise.
1244 (_int_memalign): Don't touch corrupt arenas.
1245 * malloc/tst-malloc-backtrace.c: New test case.
1247 * Makefile (summarize-tests): Fix return value on success.
1249 * manual/string.texi (Envz Functions): Add envz_remove.
1251 2015-05-18 Roland McGrath <roland@hack.frob.com>
1253 * sysdeps/posix/opendir.c: Include <stdbool.h>.
1254 (invalid_name): New function, broken out of ...
1255 (__opendirat): ... here. Call it.
1256 (need_isdir_precheck): New function, broken out of ...
1257 (__opendirat): ... here. Call it.
1258 Use __fxstatat64, not __xstatat64.
1259 (opendir_oflags): New function, broken out of ...
1260 (__opendirat): ... here. Call it.
1261 (opendir_tail): New function, broken out of ...
1262 (__opendirat): ... here. Call it.
1263 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
1264 opendir_tail, rather than punting to __opendirat.
1265 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
1267 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1269 * .gitignore: Ignore generated *.pyc.
1271 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
1273 * include/stdio.h: Define __need_wint_t.
1274 * test-skeleton.c: Avoid `for' loop initial declaration.
1275 * nptl/tst-initializers1.c: Use test-skeleton.c.
1277 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1280 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
1282 2015-05-15 Joseph Myers <joseph@codesourcery.com>
1285 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
1286 (__ieee754_atanh): Force underflow exception for results with
1287 small absolute value.
1288 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
1289 (__ieee754_atanhf): Force underflow exception for results with
1290 small absolute value.
1291 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
1292 (__ieee754_atanh): Force underflow exception for results with
1293 small absolute value.
1294 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
1295 (__ieee754_atanhf): Force underflow exception for results with
1296 small absolute value.
1297 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
1298 (__ieee754_atanhl): Force underflow exception for results with
1299 small absolute value.
1300 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
1301 (__ieee754_atanhl): Force underflow exception for results with
1302 small absolute value.
1303 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
1304 (__ieee754_atanhl): Force underflow exception for results with
1305 small absolute value.
1306 * math/auto-libm-test-in: Do not allow missing underflow
1307 exceptions from atanh.
1308 * math/auto-libm-test-out: Regenerated.
1311 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
1312 2**-28 as threshold for returning x or +/- 1/x.
1313 * math/auto-libm-test-in: Add more tests of tan.
1314 * math/auto-libm-test-out: Regenerated.
1317 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1318 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
1319 * math/auto-libm-test-in: Add another test of lgamma.
1320 * math/auto-libm-test-out: Regenerated.
1322 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
1324 * stdio-common/printf_fp.c (___printf_fp): Use abs.
1325 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
1326 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
1327 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
1328 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
1329 (ADD2A): Use fabs. (SUB2A): Use fabs.
1330 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
1331 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
1332 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
1333 (log1): Use fabs. (my_log2): Use fabs.
1334 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
1335 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
1336 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
1337 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
1338 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
1339 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
1340 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
1341 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
1342 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
1343 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
1344 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
1346 2015-05-15 Joseph Myers <joseph@codesourcery.com>
1349 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
1350 as threshold for returning 1 - x.
1351 * math/auto-libm-test-in: Add more tests of erfc.
1352 * math/auto-libm-test-out: Regenerated.
1354 2015-05-14 Joseph Myers <joseph@codesourcery.com>
1357 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
1358 threshold for large arguments.
1359 * math/auto-libm-test-in: Add another test of atan.
1360 * math/auto-libm-test-out: Regenerated.
1363 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
1364 (__log1p): Force underflow exception for results with small
1366 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
1367 (__log1pf): Force underflow exception for results with small
1369 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
1370 (__log1p): Force underflow exception for results with small
1372 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
1373 (__log1pf): Force underflow exception for results with small
1375 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
1376 (__log1pl): Force underflow exception for results with small
1378 * math/auto-libm-test-in: Do not allow missing underflow
1379 exceptions from log1p.
1380 * math/auto-libm-test-out: Regenerated.
1382 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
1383 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1386 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
1388 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
1390 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
1391 (libmvec): New variable.
1392 * configure.ac: Added option for mathvec build.
1393 * configure: Regenerated.
1394 * mathvec/Depend: New file.
1395 * mathvec/Makefile: New file.
1396 * shlib-versions: Added libmvec.
1397 * math/Makefile: Added rule for libm.so installation.
1399 * bits/math-vector.h: New file.
1400 * bits/libm-simd-decl-stubs.h: New header.
1401 * math/Makefile (headers): Added new header
1402 libm-simd-decl-stubs.h.
1403 * math/math.h (__MATHCALL_VEC): New macro.
1405 * math/gen-libm-have-vector-test.sh: Script generates series of macros
1406 for conditions in testing functions.
1407 * math/Makefile: Added call of libm-have-vector-test.sh.
1408 * math/libm-test.inc (HAVE_VECTOR): New macros.
1410 * math/libm-test.inc: START refactored.
1411 * math/test-double.c (TEST_MATHVEC): Add define.
1412 * math/test-float.c: Likewise.
1413 * math/test-idouble.c: Likewise.
1414 * math/test-ifloat.c: Likewise.
1415 * math/test-ildoubl.c: Likewise.
1416 * math/test-ldouble.c: Likewise.
1417 * sysdeps/generic/math-tests-arch.h
1418 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
1421 * math/test-double.c (FUNC_TEST): New macro.
1422 * math/test-float.c: Likewise.
1423 * math/test-idouble.c: Likewise.
1424 * math/test-ifloat.c: Likewise.
1425 * math/test-ildoubl.c: Likewise.
1426 * math/test-ldouble.c: Likewise.
1427 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
1429 2015-05-13 Roland McGrath <roland@hack.frob.com>
1431 * sysdeps/nacl/fdopendir.c: New file.
1433 * dirent/scandir-tail.c: New file.
1434 * dirent/scandir64-tail.c: New file.
1435 * dirent/Makefile (routines): Add them.
1436 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
1437 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
1438 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
1439 [!SCANDIR] (SCANDIR_TAIL): New macro.
1440 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
1441 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
1442 (SCANDIRAT): Macro removed.
1443 (SCANDIR_TAIL): New macro.
1444 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
1445 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
1446 (SCANDIRAT): Just call __opendirat and __scandir_tail.
1447 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
1448 (READDIR): Macro removed.
1449 (SCANDIR_TAIL): New macro.
1450 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
1451 (SCANDIR_TAIL): New macro.
1453 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
1454 * dirent/scandir-cancel.c: ... to this new file.
1455 * dirent/Makefile (routines): Add it.
1456 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
1457 * sysdeps/unix/sysv/linux/i386/scandir64.c
1458 (SKIP_SCANDIR_CANCEL): Macro removed.
1459 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
1461 * dirent/tst-scandir.c: New file.
1462 * dirent/tst-scandir64.c: New file.
1463 * dirent/Makefile (tests): Add them.
1465 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
1468 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
1470 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1472 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
1475 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
1477 * benchtests/bench-strcoll.c: New benchmark.
1478 * benchtests/Makefile: Generate locales and run benchmark.
1479 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
1480 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
1481 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
1482 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
1483 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
1484 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
1485 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
1486 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
1487 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
1488 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
1489 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
1490 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
1491 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
1492 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
1493 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
1494 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
1495 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
1496 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
1497 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
1498 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
1499 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
1500 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
1501 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
1502 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
1504 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
1506 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
1507 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1509 2015-05-12 Roland McGrath <roland@hack.frob.com>
1511 * posix/uname-values.h: New file.
1512 * posix/uname.c: Include that instead of <config-name.h>.
1513 * sysdeps/nacl/uname-values.h: New file.
1514 * sysdeps/arm/nacl/uname-values.h: New file.
1516 2015-05-12 Joseph Myers <joseph@codesourcery.com>
1518 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
1519 splitting into fields.
1521 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
1523 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
1524 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
1525 * locale/localeinfo.h: Add enum collation_encoding_type.
1526 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
1527 * programs/ld-collate.c (collate_output): Add encoding type info.
1528 * string/strcoll_l.c (STRDIFF): New function.
1529 * (STRCOLL): Use STRDIFF to skip over equal prefix.
1530 * wcsmbs/wcscoll_l.c: Define STRDIFF.
1532 2015-05-11 Joseph Myers <joseph@codesourcery.com>
1535 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
1536 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
1537 <fpu_control.h> instead of <math/fpu_control.c>.
1538 * sysdeps/mips/mips32/fpu/Makefile: New file.
1540 2015-05-11 Andreas Schwab <schwab@suse.de>
1543 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
1545 (_nss_compat_endgrent): Call nss_endgrent.
1546 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
1548 (_nss_compat_endpwent): Call nss_endpwent.
1549 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
1550 needent, call nss_setspent only if non-zero.
1551 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
1552 (internal_endspent): Don't call nss_endspent.
1553 (_nss_compat_endspent): Call nss_endspent.
1554 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
1555 Remove. All uses removed.
1556 (internal_setent): Remove parameter stayopen, add parameter
1557 stream. Use it instead of global variable.
1558 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
1559 (internal_endent, internal_getent): Add parameter stream. Use it
1560 instead of global variable.
1561 (CONCAT(_nss_files_end,ENTNAME))
1562 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
1563 (_nss_files_get##name##_r): Pass local stream. Remove locking.
1564 * nss/nss_files/files-alias.c (position, last_use): Remove. All
1566 (internal_setent, internal_endent): Add parameter stream. Use it
1567 instead of global variable.
1568 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
1570 (get_next_alias): Add parameter stream.
1571 (_nss_files_getaliasent_r): Pass global stream.
1572 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
1573 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
1574 (_nss_files_gethostbyname4_r): Pass local stream to
1575 internal_setent, internal_getent and internal_endent. Remove
1578 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1580 * tst-strfmon1.c (tests): Update expected currency symbol.
1582 2015-05-08 Roland McGrath <roland@hack.frob.com>
1584 * sysdeps/nacl/gethostname.c: New file.
1586 2015-05-08 Joseph Myers <joseph@codesourcery.com>
1588 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
1590 * math/auto-libm-test-out: Regenerated.
1591 * sysdeps/i386/fpu/libm-test-ulps: Update.
1592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1594 2015-05-08 Carlos O'Donell <carlos@redhat.com>
1597 * stdlib/tst-setcontext3.c: New file.
1598 * stdlib/tst-setcontext3.sh: New file.
1599 * stdlib/Makefile (tests): Add tst-setcontext3.
1600 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
1601 to verify test program created output file.
1602 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
1603 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
1604 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
1605 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
1607 2015-05-06 Roland McGrath <roland@hack.frob.com>
1610 * elf/tst-tlsalign.c: New file.
1611 * elf/tst-tlsalign-static.c: New file.
1612 * elf/tst-tlsalign-lib.c: New file.
1613 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
1614 (tests-static): Add tst-tlsalign-static.
1615 (modules-names): Add tst-tlsalign-lib.
1616 (test-xfail-tst-tlsalign): New variable.
1617 (test-xfail-tst-tlsalign-static): New variable.
1619 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
1620 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
1622 2015-05-06 Joseph Myers <joseph@codesourcery.com>
1624 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
1625 csqrt, erfc, sin and sincos.
1626 * math/auto-libm-test-out: Regenerated.
1627 * sysdeps/i386/fpu/libm-test-ulps: Update.
1628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1630 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
1632 * sysdeps/aarch64/libm-test-ulps: Update.
1634 2015-05-05 Joseph Myers <joseph@codesourcery.com>
1636 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
1637 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
1638 * math/auto-libm-test-out: Regenerated.
1639 * sysdeps/i386/fpu/libm-test-ulps: Update.
1640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1642 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
1645 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
1646 (wcsncpy): Likewise.
1648 2015-05-05 Florian Weimer <fweimer@redhat.com>
1650 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1651 Assume __ASSUME_FALLOCATE is always true.
1652 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1653 (__posix_fallocate64_l64): Likweise.
1654 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
1655 (posix_fallocate): Likewise.
1656 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
1657 (__posix_fallocate64_l64): Likewise.
1658 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1659 [!__ASSUME_FALLOCATE]: Add comment.
1661 2015-05-05 Florian Weimer <fweimer@redhat.com>
1663 * sysdeps/unix/sysv/linux/i386/Makefile
1664 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
1665 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
1666 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
1667 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
1668 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
1669 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
1670 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
1672 2015-05-02 Joseph Myers <joseph@codesourcery.com>
1674 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
1675 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
1677 * math/auto-libm-test-out: Regenerated.
1678 * sysdeps/i386/fpu/libm-test-ulps: Update.
1679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1681 2015-05-01 Joseph Myers <joseph@codesourcery.com>
1683 * math/auto-libm-test-in: Add more tests of tgamma.
1684 * math/auto-libm-test-out: Regenerated.
1685 * sysdeps/i386/fpu/libm-test-ulps: Update.
1686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1688 * math/auto-libm-test-in: Add more tests of tanh.
1689 * math/auto-libm-test-out: Regenerated.
1690 * sysdeps/i386/fpu/libm-test-ulps: Update.
1691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1693 * math/auto-libm-test-in: Add more tests of tan.
1694 * math/auto-libm-test-out: Regenerated.
1695 * sysdeps/i386/fpu/libm-test-ulps: Update.
1696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1698 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
1699 * math/auto-libm-test-out: Regenerated.
1700 * sysdeps/i386/fpu/libm-test-ulps: Update.
1701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1703 * math/auto-libm-test-in: Add another test of pow.
1704 * math/auto-libm-test-out: Regenerated.
1705 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1707 * math/auto-libm-test-in: Add more tests of lgamma.
1708 * math/auto-libm-test-out: Regenerated.
1709 * sysdeps/i386/fpu/libm-test-ulps: Update.
1710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1712 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
1714 * math/auto-libm-test-out: Regenerated.
1715 * sysdeps/i386/fpu/libm-test-ulps: Update.
1716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1718 2015-05-01 Mark Wielaard <mjw@redhat.com>
1720 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
1721 Elf64_Chdr structs and ELFCOMPRESS constants.
1723 2015-05-01 Joseph Myers <joseph@codesourcery.com>
1725 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
1727 * math/auto-libm-test-out: Regenerated.
1728 * sysdeps/i386/fpu/libm-test-ulps: Update.
1729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1731 * math/auto-libm-test-in: Add more tests of erf and erfc.
1732 * math/auto-libm-test-out: Regenerated.
1733 * sysdeps/i386/fpu/libm-test-ulps: Update.
1734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1736 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1738 * config.h.in (HAVE_AARCH64_BE): Add.
1740 2015-04-30 Joseph Myers <joseph@codesourcery.com>
1742 * math/auto-libm-test-in: Add more tests of csqrt.
1743 * math/auto-libm-test-out: Regenerated.
1744 * sysdeps/i386/fpu/libm-test-ulps: Update.
1745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1747 * math/auto-libm-test-in: Add more tests of cosh and sinh.
1748 * math/auto-libm-test-out: Regenerated.
1749 * sysdeps/i386/fpu/libm-test-ulps: Update.
1750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1752 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
1754 2015-04-29 Roland McGrath <roland@hack.frob.com>
1756 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
1757 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
1759 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
1760 (euidaccess, eaccess): Define as weak aliases.
1762 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
1763 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
1764 but __suseconds_t is often 'long int' so some sources assume that
1765 type is being used (e.g. they use %ld to print tv_usec).
1767 2015-04-29 Florian Weimer <fweimer@redhat.com>
1770 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
1772 * nss/tst-nss-getpwent.c: New file.
1773 * nss/Makefile (tests): Add new test.
1775 2015-04-28 Joseph Myers <joseph@codesourcery.com>
1778 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
1779 exponents less than 48 as cases where high part of mantissa needs
1780 examining to determine whether argument is integral.
1781 * math/libm-test.inc (round_test_data): Add more tests.
1783 2015-04-28 Mark Wielaard <mjw@redhat.com>
1785 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
1787 2015-04-27 David S. Miller <davem@davemloft.net>
1789 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
1791 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1793 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
1796 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
1798 2015-04-27 Florian Weimer <fweimer@redhat.com>
1801 * time/tzset.c (parse_tzname): Return error on memory allocation
1803 * test-skeleton.c (struct temp_name_list): Change type of name
1804 member to non-const.
1805 (add_temp_file): Create a copy of the file name.
1806 (delete_temp_files): Deallocate memory.
1807 (create_temp_file): Add comment.
1809 2015-04-24 Florian Weimer <fweimer@redhat.com>
1811 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
1812 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
1814 2015-04-24 Roland McGrath <roland@hack.frob.com>
1816 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
1817 * sysdeps/arm/configure: Regenerated.
1819 2015-04-24 Florian Weimer <fweimer@redhat.com>
1822 * time/tzfile.c (__tzfile_read): Check for large values of
1823 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
1824 * time/tzset.c (__tzstring_len): New function, based on the old
1825 __tzstring function.
1826 (__tzstring): Call __tzstring_len.
1827 (parse_tzname): New helper function extracted from
1828 __tzset_parse_tz. Call __tzstring_len, without making a copy of
1830 (parse_offset): New helper function extracted from
1831 __tzset_parse_tz. Replace switch with fallthrough with
1832 initialization before sscanf.
1833 (parse_rule): Likewise.
1834 (__tzset_parse_tz): Rewrite using the new helper functions. Use
1835 new-style function definition.
1836 * timezone/Makefile (tests): Add tst-tzset.
1837 (tst-tzset.out): Dependencies on time zone files.
1838 (tst-tzset-ENV): Set TZDIR.
1839 (testdata/XT%): Copy crafted time zone files.
1840 * timezone/README: Mention crafted time zone files.
1841 * timezone/testdata/XT1, timezone/testdata/XT2,
1842 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
1844 * timezone/tst-tzset.c: New test.
1846 2015-04-24 Florian Weimer <fweimer@redhat.com>
1848 * Makeconfig (+gccwarn): Remove -Winline.
1850 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1852 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
1854 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1856 * NEWS: Mention sysconf() cache information support for s390.
1857 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
1859 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
1861 * math/k_casinh.c (__kernel_casinh): Use __copysign.
1862 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
1863 (__nearbyint): Likewise.
1864 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
1865 (copysignl): Likewise.
1867 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
1870 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
1871 based on padding. (CVE-2015-1781)
1873 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1875 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
1877 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
1878 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
1879 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
1880 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1881 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1882 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
1883 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
1884 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1885 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1886 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
1887 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1888 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1889 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
1890 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
1891 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1892 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
1893 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
1894 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
1895 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
1896 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
1897 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
1898 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
1899 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
1901 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
1903 * stdlib/setenv.c (__add_to_environ):
1904 Dump core quickly if setenv (..., NULL, ...) is called.
1905 This time, do it the right way, and pacify GCC with a pragma.
1907 2015-04-17 Roland McGrath <roland@hack.frob.com>
1909 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
1910 IMAP->l_prev cannot be null, and #if out the code for the contrary
1911 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
1912 believe that NS (&_dl_ns[NSID]) could point outside the array.
1914 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
1915 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
1916 before using NSID as an index.
1918 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
1921 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
1922 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
1923 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1925 2015-04-17 Roland McGrath <roland@hack.frob.com>
1927 Add preliminary port to Google Native Client on ARM.
1928 * abi-tags (.*-.*-nacl.*): New entry.
1929 * sysdeps/arm/nacl: New directory.
1930 * sysdeps/nacl: New directory.
1932 2015-04-16 David S. Miller <davem@davemloft.net>
1934 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
1935 lowlevellock-futex.h
1937 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
1939 * sysdeps/tile/configure.ac: New file.
1940 * sysdeps/tile/configure: Regenerated.
1942 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1944 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
1945 conditionals for weak_alias and libc_hidden_weak.
1946 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
1947 libc_hidden_weak and weak_alias.
1948 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
1949 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
1950 and weak_alias for static one.
1952 2015-04-15 David S. Miller <davem@davemloft.net>
1954 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1956 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1959 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
1960 Use signed comparision instead of substraction to avoid
1962 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
1963 Take the sign of ret.
1964 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
1965 Do not expect precise return values. Only the sign matters.
1966 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
1967 * wcsmbs/test-wcsncmp.c: New File.
1968 * string/test-strncmp.c: Add wcsncmp support.
1970 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1973 * math/w_log1p.c: New file.
1974 * math/w_log1pf.c: Likewise.
1975 * math/w_log1pl.c: Likewise.
1976 * math/Makefile (libm-calls): Add w_log1p.
1977 * math/s_log1pl.c (log1pl): Remove weak_alias.
1978 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
1979 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
1980 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
1981 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
1982 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
1983 [NO_LONG_DOUBLE] (log1pl): Likewise.
1984 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
1985 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
1986 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
1987 (log1p): Remove long_double_symbol.
1988 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
1989 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
1990 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
1991 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
1992 remove weak_alias for corresponding log1p function.
1993 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
1994 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
1995 * sysdeps/ia64/fpu/w_log1p.c: New file.
1996 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
1997 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
1998 * math/libm-test.inc (log1p_test_data): Add errno expectations.
2000 2015-04-10 Joseph Myers <joseph@codesourcery.com>
2003 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
2004 decimal exponent by 1.
2005 * stdlib/tst-strtod-round-data: Add more tests.
2006 * stdlib/tst-strtod-round.c (tests): Regenerated.
2008 2015-04-09 Joseph Myers <joseph@codesourcery.com>
2010 * math/auto-libm-test-in: Add more tests of clog and clog10.
2011 * math/auto-libm-test-out: Regenerated.
2012 * sysdeps/i386/fpu/libm-test-ulps: Update.
2013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2015 2015-04-09 Roland McGrath <roland@hack.frob.com>
2017 * Makeconfig (module-cppflags): Exclude all .v.i files.
2018 (skip-module-cppflags): Variable removed.
2020 * configure.ac (libc_config_ok): Initialize before reading
2021 preconfigure scripts, not after.
2022 * configure: Regenerated.
2024 * test-skeleton.c (TIMEOUT): Move #define to top level.
2025 (main): Grok environment variable TEST_DIRECT. If set, print
2026 test expectation details into that file and then behave as if
2029 2015-04-09 Florian Weimer <fweimer@redhat.com>
2031 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
2034 2015-04-08 David S. Miller <davem@davemloft.net>
2036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2038 2015-04-08 Joseph Myers <joseph@codesourcery.com>
2040 * math/auto-libm-test-in: Add more tests of atanh.
2041 * math/auto-libm-test-out: Regenerated.
2042 * sysdeps/i386/fpu/libm-test-ulps: Update.
2043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2045 * math/auto-libm-test-in: Add more tests of atan.
2046 * math/auto-libm-test-out: Regenerated.
2047 * sysdeps/i386/fpu/libm-test-ulps: Update.
2048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2050 2015-04-08 Florian Weimer <fweimer@redhat.com>
2052 * elf/pldd.c (main): Rewrite to use struct
2053 scratch_buffer instead of extend_alloca.
2054 * elf/pldd-xx.c (find_maps): Likewise.
2055 * grp/initgroups.c: Include <scratch_buffer.h> instead of
2057 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
2058 scratch_buffer instead of extend_alloca.
2059 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
2060 grp/compat-initgroups.c.
2061 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
2062 Rewrite to use struct scratch_buffer instead of extend_alloca.
2063 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
2064 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2066 2015-04-08 Joseph Myers <joseph@codesourcery.com>
2068 * math/auto-libm-test-in: Add more tests of cbrt.
2069 * math/auto-libm-test-out: Regenerated.
2070 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2072 * math/auto-libm-test-in: Add more tests of cabs.
2073 * math/auto-libm-test-out: Regenerated.
2074 * sysdeps/i386/fpu/libm-test-ulps: Update.
2075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2079 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
2080 (__ieee754_atan2): Set FE_TONEAREST mode for internal
2082 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
2084 * math/auto-libm-test-out: Regenerated.
2085 * sysdeps/i386/fpu/libm-test-ulps: Update.
2086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2089 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
2090 (atan): Set FE_TONEAREST mode for internal computations.
2091 * math/auto-libm-test-in: Add more tests of atan.
2092 * math/auto-libm-test-out: Regenerated.
2094 2015-04-07 James Cowgill <james410@cowgill.org.uk>
2097 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
2099 2015-04-07 Florian Weimer <fweimer@redhat.com>
2101 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
2103 2015-04-07 Florian Weimer <fweimer@redhat.com>
2105 * include/scratch_buffer.h: New file.
2106 * malloc/scratch_buffer_grow.c: Likewise.
2107 * malloc/scratch_buffer_grow_preserve.c: Likewise.
2108 * malloc/scratch_buffer_set_array_size.c: Likewise.
2109 * malloc/tst-scratch_buffer.c: Likewise.
2110 * malloc/Makefile (routines): Add scratch_buffer_grow.
2111 (tests): Add test case.
2112 * malloc/Versions (GLIBC_PRIVATE): Export
2113 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
2114 __libc_scratch_buffer_set_array_size.
2116 2015-04-06 Richard Henderson <rth@redhat.com>
2118 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
2119 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2121 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
2122 unsigned int before printing.
2124 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2127 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
2128 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2130 2015-04-02 Florian Weimer <fweimer@redhat.com>
2132 * include/libc-internal.h (libc_max_align_t): Define.
2134 2015-04-02 Andreas Schwab <schwab@suse.de>
2137 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
2139 2015-04-02 Mel Gorman <mgorman@suse.de>
2142 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
2143 as well as the main arena.
2145 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2148 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
2149 sharing L2 cache to 2 for Silvermont/Knights Landing.
2151 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2154 * config.make.in (have-protected-data): New.
2155 * configure.ac: Check linker support for protected data symbol.
2156 * configure: Regenerated.
2157 * elf/Makefile (modules-names): Add tst-protected1moda and
2158 tst-protected1modb if $(have-protected-data) is yes.
2159 (tests): Add tst-protected1a and tst-protected1b if
2160 $(have-protected-data) is yes.
2161 ($(objpfx)tst-protected1a): New.
2162 ($(objpfx)tst-protected1b): Likewise.
2163 (tst-protected1modb.so-no-z-defs): Likewise.
2164 * elf/tst-protected1a.c: New file.
2165 * elf/tst-protected1b.c: Likewise.
2166 * elf/tst-protected1mod.h: Likewise.
2167 * elf/tst-protected1moda.c: Likewise.
2168 * elf/tst-protected1modb.c: Likewise.
2170 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2173 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
2174 indicates it is called from do_lookup_x on relocation against
2175 protected data, skip the data definion in the executable from
2177 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
2178 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
2179 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
2180 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
2181 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
2183 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2184 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
2185 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
2186 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2187 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
2188 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
2190 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
2192 * sysdeps/nptl/pthread.h: Remove duplicate definition of
2193 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
2195 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
2197 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
2199 * sysdeps/x86_64/nptl/tls.h: Ditto.
2201 2015-03-27 Roland McGrath <roland@hack.frob.com>
2203 * dlfcn/tststatic.c (main): Converted to ...
2204 (do_test): ... this.
2205 (TEST_FUNCTION): New macro.
2206 Include test-skeleton.c.
2208 2015-03-26 Alan Modra <amodra@gmail.com>
2210 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
2211 Don't segfault if ifunc resolver returns a NULL. Do set plt to
2212 zero for undefined weak.
2213 (elf_machine_plt_conflict): Similarly.
2215 2015-03-25 Joseph Myers <joseph@codesourcery.com>
2217 * math/auto-libm-test-in: Add more tests of acosh, asinh and
2219 * math/auto-libm-test-out: Regenerated.
2220 * sysdeps/i386/fpu/libm-test-ulps: Update.
2221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2223 * math/auto-libm-test-in: Add another test of asin.
2224 * math/auto-libm-test-out: Regenerated.
2225 * sysdeps/i386/fpu/libm-test-ulps: Update.
2226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2228 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
2230 (LLL_EBX_REG): Likewise.
2231 (LLL_ENTER_KERNEL): Likewise.
2233 * math/auto-libm-test-in: Add more tests of asin.
2234 * math/auto-libm-test-out: Regenerated.
2235 * sysdeps/i386/fpu/libm-test-ulps: Update.
2236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2239 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
2240 libc_do_syscall_args): New structure.
2241 (INTERNAL_SYSCALL_MAIN_0): New macro.
2242 (INTERNAL_SYSCALL_MAIN_1): Likewise.
2243 (INTERNAL_SYSCALL_MAIN_2): Likewise.
2244 (INTERNAL_SYSCALL_MAIN_3): Likewise.
2245 (INTERNAL_SYSCALL_MAIN_4): Likewise.
2246 (INTERNAL_SYSCALL_MAIN_5): Likewise.
2247 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
2248 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
2249 Replace conditional definitions by conditional definitions of ....
2250 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
2251 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
2252 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
2253 (libpthread-sysdep_routines): Add libc-do-syscall.
2254 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
2255 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
2256 to __NR_futex not 240.
2258 2015-03-25 Alan Modra <amodra@gmail.com>
2260 * NEWS: Advertise TLS optimization.
2261 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
2262 (DT_PPC_NUM): Increment.
2263 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
2264 (CHECK_STATIC_TLS): Use here.
2265 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
2267 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2268 * sysdeps/powerpc/dl-tls.c: New file.
2269 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
2270 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
2271 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
2272 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
2273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
2274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2277 2015-03-25 Alan Modra <amodra@gmail.com>
2279 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
2280 for overlapping .opd entries" to "support...".
2281 * sysdeps/powerpc/powerpc64/configure: Regenerate
2283 2015-03-25 Joseph Myers <joseph@codesourcery.com>
2285 * math/auto-libm-test-in: Add more tests of acos.
2286 * math/auto-libm-test-out: Regenerated.
2287 * sysdeps/i386/fpu/libm-test-ulps: Update.
2288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2290 * math/auto-libm-test-in: Add more tests of expm1.
2291 * math/auto-libm-test-out: Regenerated.
2292 * sysdeps/i386/fpu/libm-test-ulps: Update.
2293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2295 2015-03-24 Joseph Myers <joseph@codesourcery.com>
2297 * math/auto-libm-test-in: Add more tests of cosh and sinh.
2298 * math/auto-libm-test-out: Regenerated.
2299 * sysdeps/i386/fpu/libm-test-ulps: Update.
2300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2302 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2305 * math/auto-libm-test-in: Add more tests of log2.
2306 * math/auto-libm-test-out: Regenerated.
2307 * sysdeps/i386/fpu/libm-test-ulps: Update.
2308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2310 2015-03-23 Roland McGrath <roland@hack.frob.com>
2312 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
2313 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
2314 _IO_IS_APPENDING bit in READ_WRITE instead.
2316 2015-03-23 Florian Weimer <fweimer@redhat.com>
2318 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
2319 (__determine_cpumask_size): Replace extend_alloca with a
2320 variable-length array. Do not treat res == 0 as an error.
2322 2015-03-23 Florian Weimer <fweimer@redhat.com>
2325 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
2326 and integer overflow.
2327 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
2328 (main): Add integer overflow tests.
2329 * manual/pattern.texi (Calling Wordexp): Document additional use
2332 2015-03-23 Alan Modra <amodra@gmail.com>
2334 * config.h.in: Remove HAVE_ASM_PPC_REL16.
2335 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
2336 and false branch of conditional.
2337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2340 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
2342 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
2344 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
2345 unused declaration of _hurd_intr_rpc_msg_in_trap.
2346 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
2347 defined instead of whether it is non-zero.
2348 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
2349 input constraint instead of both input and output constraint. Use ecx
2350 clobber instead of %ecx.
2351 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
2352 mutex_unlock): Use a statement expression instead of an expression list.
2353 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
2354 type to vm_size_t instead of vm_address_t.
2355 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
2356 defined instead of whether it is non-zero.
2357 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
2358 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
2359 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
2360 comparisons with mapaddr.
2361 * nscd/nscd-client.h: Include <time.h>.
2362 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
2363 9th parameter to __vm_region instead of int.
2364 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
2365 * scripts/check-local-headers.sh (exclude): Add device/,
2366 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
2369 2015-03-19 Roland McGrath <roland@hack.frob.com>
2371 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
2372 to account for alignment padding.
2373 * sysdeps/arm/memmove.S: Likewise.
2375 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
2377 * sysdeps/unix/sysv/linux/generic/README: New file.
2379 2015-03-18 Joseph Myers <joseph@codesourcery.com>
2382 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
2383 (futex_abstimed_wait)
2384 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
2385 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
2386 of lll_futex_timed_wait.
2388 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
2391 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
2393 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
2400 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
2401 entries with Static TLS too. Skip entries past the end of the
2402 allocated DTV, from Alan Modra.
2403 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
2404 Static TLS DTV entry set up from...
2405 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
2406 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
2407 * nptl/allocatestack.c (init_one_static_tls): ... and here...
2408 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
2410 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
2411 that the slot we find is associated with the given map before
2412 using its generation count.
2413 * nptl_db/db_info.c: Include ldsodefs.h.
2414 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
2415 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
2416 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
2417 (link_map::l_tls_offset): New struct field.
2418 (dtv_t::counter): Likewise.
2419 (rtld_global): New struct.
2420 (_rtld_global): New rtld variable.
2421 (dl_tls_dtv_slotinfo_list): New rtld global field.
2422 (dtv_slotinfo_list): New struct.
2423 (dtv_slotinfo): Likewise.
2424 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
2425 (td_lookup): Rename to...
2426 (td_mod_lookup): ... this. Use new mod parameter instead of
2428 * nptl_db/td_thr_tlsbase.c: Include link.h.
2429 (dtv_slotinfo_list, dtv_slotinfo): New functions.
2430 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
2431 addresses even if the DTV is out of date or missing them.
2432 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
2433 index zero-length arrays.
2434 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
2435 (td_lookup): Make it a macro implemented in terms of...
2436 (td_mod_lookup): ... this declaration.
2437 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
2438 (DB_MAIN_VARIABLE): Likewise.
2440 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
2443 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2445 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
2447 * stdlib/setenv.c (__add_to_environ): Revert previous change.
2449 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
2452 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
2453 (atomic_add, atomic_increment_and_test)
2454 (atomic_decrement_and_test): Fix 64-bit arithmetic.
2456 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
2458 * stdlib/setenv.c (__add_to_environ):
2459 Dump core quickly if setenv (..., NULL, ...) is called.
2461 2015-03-13 Roland McGrath <roland@hack.frob.com>
2463 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
2464 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
2465 all the necessary asm magic in one place.
2466 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
2469 2015-03-13 Carlos O'Donell <carlos@redhat.com>
2472 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
2473 traced file mtime. Use consistent log message.
2474 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
2475 (register_traced_file): Call install_watches. Always set mtime.
2476 (invalidate_cache): Iterate over all trace files. Call install_watches.
2477 (inotify_check_files): Don't inline. Handle watching parent
2478 directories and configuration file movement in and out.
2479 (handle_inotify_events): New function.
2480 (main_loop_poll): Call handle_inotify_events.
2481 (main_loop_epoll): Likewise.
2482 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
2483 (struct traced_file): Use array of inotify fds. Add parent directory,
2485 (struct database_dyn): Remove unused file_mtime.
2486 (init_traced_file): New inline function.
2487 (define_traced_file): New macro.
2488 * nss/nss_db/db-init.c: Use define_traced_file.
2489 (_nss_db_init): Use init_traced_file.
2490 * nss/nss_files/files-init.c: Use define_traced_file.
2491 (_nss_files_init): Use init_traced_file.
2493 2015-03-12 Joseph Myers <joseph@codesourcery.com>
2495 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
2496 [_LIBC]: Do not include <stdlib.h>.
2497 [!_LIBC] (abort): Remove declaration.
2498 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
2499 _FP_STATIC_ASSERT instead of conditionally calling abort.
2500 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
2501 (_FP_EXTEND_CNAN): Likewise.
2502 (FP_TRUNC): Likewise.
2503 (__FP_CLZ): Likewise.
2504 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
2506 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
2508 * manual/string.texi (XPG basename): Fix prototype.
2510 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2513 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
2514 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2515 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
2516 (__setcontext): Likewise.
2517 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
2518 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2519 Call rt_sigprocmask syscall one time to set new signal mask
2520 and retrieve the current signal mask instead of two calls.
2521 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
2522 (__swapcontext): Likewise.
2523 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
2524 * stdlib/tst-setcontext2.c: New file.
2526 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2528 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2530 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
2533 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
2536 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2539 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
2541 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2543 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
2544 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
2546 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
2547 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
2548 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
2549 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
2550 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
2551 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
2553 * nptl_db/td_symbol_list.c (td_lookup): Remove
2554 HAVE_ASM_GLOBAL_DOT_NAME code.
2555 * sysdeps/powerpc/powerpc64/configure.ac: Remove
2556 HAVE_ASM_GLOBAL_DOT_NAME check.
2557 * sysdeps/powerpc/powerpc64/configure: Regenerate.
2558 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
2559 (DOT_LABEL): Remove define.
2560 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
2561 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
2562 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
2563 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
2564 (__TLS_GET_ADDR): Likewise.
2565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
2566 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
2568 2015-03-11 Carlos O'Donell <carlos@redhat.com>
2571 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
2572 (_FPU_SETCW): Initialize cw from fpsr before storing.
2573 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
2574 (fesetexceptflag): Rewrite using fpu_control.h.
2575 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
2577 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
2580 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
2582 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2584 2015-03-11 Joseph Myers <joseph@codesourcery.com>
2586 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
2587 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
2589 (_FP_FMA): Likewise.
2590 (_FP_DIV): Likewise.
2592 2015-03-10 Roland McGrath <roland@hack.frob.com>
2594 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
2595 with 0 in that case.
2596 * Makefile (summarize-tests): New canned sequence, factored out of
2597 commands for targets tests and xtests. Display summary lines that
2598 don't start with PASS: or XFAIL: rather than ones that do start with
2599 ERROR: or FAIL:. Make the commands fail if any summary lines fail
2600 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
2601 do start with ERROR: or FAIL:.
2602 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
2603 (except for [$(build-shared) = yes]).
2604 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
2605 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
2606 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
2607 * nptl/Makefile: Revert 2015-03-04 changes.
2608 [$(CXX) empty] (tests-unsupported): New variable.
2609 * debug/Makefile: Likewise.
2611 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
2612 gnulib file. Replace __attribute with __attribute__ throughout.
2614 2015-03-10 Carlos O'Donell <carlos@redhat.com>
2616 * sysdeps/hppa/fpu/libm-test-ulps: Update.
2618 2015-03-10 Joseph Myers <joseph@codesourcery.com>
2621 * math/auto-libm-test-in: Add another test of pow.
2622 * math/auto-libm-test-out: Regenerated.
2624 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2626 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
2627 $(config-cflags-nofma).
2629 2015-03-10 Joseph Myers <joseph@codesourcery.com>
2631 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
2632 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
2633 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
2634 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
2635 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
2636 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
2637 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
2638 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
2639 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
2640 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
2641 Add comment on closing #endif.
2643 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2645 * posix/wordexp.c (CHAR_IN_SET): New macro.
2646 (parse_param): Use it.
2648 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2650 * sysdeps/powerpc/fpu/libm-test-ulps: update.
2652 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2655 * posix/wordexp.c (parse_param): Fix buffer overflow.
2656 * posix/wordexp-test.c (test_case): Add test case.
2658 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2661 * posix/wordexp.c (parse_backtick): Fix off-by-one.
2662 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
2664 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2667 * posix/wordexp-test.c (test_case): Add test for BZ #18043
2668 (do_bz18043): Delete.
2670 (testit): Refactor to have words at the edge of unreadable page.
2672 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2675 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
2676 Cleanup read-only streams as well.
2677 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
2679 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
2681 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
2684 2015-03-07 Joseph Myers <joseph@codesourcery.com>
2686 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
2688 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
2689 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
2690 * soft-fp/op-common.h (_FP_DECL): Likewise.
2692 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
2694 * elf/ifuncdep2.c (global): Replace
2695 __attribute__((visibility("protected"))) with
2696 asm (".protected global").
2697 * elf/ifuncmod1.c (global): Likewise.
2698 * elf/ifuncmod5.c (global): Likewise.
2700 2015-03-06 Joseph Myers <joseph@codesourcery.com>
2702 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
2703 <asm/sfp-machine.h> instead of <sfp-machine.h>.
2705 2015-03-06 Roland McGrath <roland@hack.frob.com>
2707 * manual/install.texi (Configuring and compiling):
2708 Document test-wrapper-env-only.
2709 * INSTALL: Regenerated.
2711 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2714 * posix/wordexp.c (parse_param): Fix buffer overflow.
2715 * posix/wordexp-test.c (do_bz18043): Add test case.
2717 2015-03-06 Vincent Bernat <vincent@bernat.im>
2719 * time/tst-strptime2.c (do_test): Ensure failing tests are
2721 * time/tst-strptime3.c (do_test): Likewise.
2723 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
2725 Fix aio_error thread-safety.
2726 * sysdeps/pthread/aio_error.c: New file
2727 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
2730 2015-03-06 Florian Weimer <fweimer@redhat.com>
2732 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
2733 (group_number, vfprintf): Use it.
2734 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
2735 (JUMP, REF): Use it.
2736 (WORK_BUFFER_SIZE): New enum constant.
2737 (process_arg, vfprintf): Use it.
2739 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
2741 * manual/errno.texi (Error Messages): Complete example function
2742 by adding missing #define.
2743 (program_invocation_name): Add statement indicating GNU
2744 extension and reference which header file declares the variable.
2745 (program_invocation_short_name): Likewise.
2747 2015-03-06 Mike Frysinger <vapier@gentoo.org>
2749 * manual/errno.texi (Error Messages): Delete strerror ISO C89
2752 2015-03-05 Roland McGrath <roland@hack.frob.com>
2754 * Makeconfig (test-wrapper-env-only): New variable.
2755 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
2756 then use that with $(test-wrapper-env-only) rather than using
2757 $(test-wrapper-env) $(run-program-env) $($*-ENV).
2759 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
2762 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
2763 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
2764 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
2765 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
2766 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
2767 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
2768 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
2769 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2771 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
2772 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
2774 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
2776 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
2778 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
2780 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
2781 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
2783 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
2785 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
2786 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
2788 2015-03-04 Roland McGrath <roland@hack.frob.com>
2790 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
2791 (ETH_ALEN): New macro.
2792 (struct ether_addr): Use it for length of ether_addr_octet.
2794 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
2795 (setdb): Don't call __nss_configure_lookup for "rpc".
2796 (do_test): Don't call test_rpc.
2797 (output_rpcent, test_rpc): Functions moved ...
2798 * sunrpc/test-rpcent.c: ... to this new file.
2799 * sunrpc/Makefile (tests): Add it.
2801 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
2803 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
2804 * nptl/tst-signal6.c: Likewise.
2805 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
2806 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
2808 * configure.ac (libc_cv_cxx_link_ok): New check.
2809 Reset CXX to empty if it fails to link.
2810 * configure: Regenerated.
2811 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
2812 bug-atexit3-lib only if $(CXX) is nonempty.
2813 * nptl/Makefile (tests): Likewise for tst-cancel24.
2814 (tests, tests-static): Likewise for tst-cancel24-static.
2815 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
2816 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
2817 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
2818 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
2820 2015-03-04 Andreas Schwab <schwab@suse.de>
2823 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
2824 for non-GCC compilers.
2825 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2828 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2831 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
2832 integer before bitwise and assembly operations.
2833 (feclearexcept): Likewise.
2834 * math/test-fenvinline.c: New file.
2835 * math/Makefile: Add test-fenvinline test.
2837 2015-03-03 Alan Modra <amodra@gmail.com>
2840 * scripts/localplt.awk: Strip off symbol version.
2841 * NEWS: Mention bug fix.
2843 2015-03-02 Roland McGrath <roland@hack.frob.com>
2845 * sysdeps/pthread/timer_routines.c
2846 (timer_free_list, thread_free_list, thread_active_list): Make static.
2848 2015-03-02 Joseph Myers <joseph@codesourcery.com>
2851 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2852 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2854 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2855 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2857 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2858 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2861 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2864 * posix/fnmatch_loop.c (END): Detect invalid pattern.
2865 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
2867 2015-03-02 Andreas Schwab <schwab@suse.de>
2869 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
2872 2015-03-02 Florian Weimer <fweimer@redhat.com>
2874 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
2875 Return error status.
2877 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
2880 * locale/findlocale.c (_nl_find_locale): Introduce const
2881 version of loc_name and drop unsafe type casts.
2883 2015-02-27 Roland McGrath <roland@hack.frob.com>
2885 * dlfcn/tststatic2.c (main): Converted to ...
2886 (do_test): ... this.
2887 (TEST_FUNCTION): New macro.
2888 Include test-skeleton.c.
2890 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
2893 * elf/Makefile (tests): Add vismain only if PIE is enabled.
2894 (tests-pie): Add vismain.
2895 (CFLAGS-vismain.c): New.
2896 * elf/vismain.c: Add comments for PIE requirement.
2898 2015-02-27 Joseph Myers <joseph@codesourcery.com>
2902 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
2903 0x1p-56L as threshold for just returning the argument.
2904 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
2905 0x1p-32L as threshold for just returning the argument.
2906 * math/auto-libm-test-in: Add more tests of atanh.
2907 * math/auto-libm-test-out: Regenerated.
2908 * sysdeps/i386/fpu/libm-test-ulps: Update.
2909 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
2911 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
2913 * string/bcopy.c (bcopy): Call memmove for performance.
2915 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
2917 * string/bzero.c (__bzero): Call memset for performance.
2919 2015-02-27 John David Anglin <dave.anglin@bell.net>
2922 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
2925 2015-02-27 Joseph Myers <joseph@codesourcery.com>
2927 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
2929 2015-02-26 Joseph Myers <joseph@codesourcery.com>
2931 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
2932 (__kernel_standard): Use CSTR macro when setting exc.name.
2933 * sysdeps/ieee754/Makefile [$(subdir) = math]
2934 (CFLAGS-k_standard.c): Remove variable.
2936 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
2937 setting p and q from "else if" to "else".
2939 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
2941 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
2943 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
2945 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
2947 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
2952 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
2953 return pi/2 for arguments below 0x1p-113L.
2954 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
2955 return pi/2 for arguments below 0x1p-106L.
2956 * math/auto-libm-test-in: Add more tests of acos.
2957 * math/auto-libm-test-out: Regenerated.
2960 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
2962 (__ieee754_asin): Force underflow exception for results with small
2964 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
2966 (__ieee754_asinf): Force underflow exception for results with
2967 small absolute value.
2968 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
2969 (__ieee754_asin): Force underflow exception for results with small
2971 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
2972 (__ieee754_asinf): Force underflow exception for results with
2973 small absolute value.
2974 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
2975 (__ieee754_asinl): Force underflow exception for results with
2976 small absolute value.
2977 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
2978 (__ieee754_asinl): Force underflow exception for results with
2979 small absolute value.
2980 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
2981 (__ieee754_asinl): Force underflow exception for results with
2982 small absolute value.
2983 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
2985 * math/auto-libm-test-in: Do not mark underflow exceptions as
2986 possibly missing for bug 16351.
2987 * math/auto-libm-test-out: Regenerated.
2990 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
2991 of power of 2 down when low part has opposite sign.
2992 * math/libm-test.inc (logb_test_data): Add more tests.
2994 2015-02-26 Andreas Schwab <schwab@suse.de>
2997 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
2998 over collating symbol inside a bracket expression. Minor cleanup.
2999 * posix/tst-fnmatch3.c (do_test): Add test case.
3001 2015-02-26 Joseph Myers <joseph@codesourcery.com>
3004 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
3005 Adjust exponent of power of 2 down when low part has opposite
3007 * math/libm-test.inc (ilogb_test_data): Add more tests.
3009 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
3012 * locale/findlocale.c (_nl_find_locale): Fix constness error in
3013 the previous change.
3016 * locale/findlocale.c (_nl_find_locale): Retry archive search
3017 after alias expansion.
3019 2015-02-25 Roland McGrath <roland@hack.frob.com>
3021 * iconv/tst-iconv3.c (main): Converted to ...
3022 (do_test): ... this.
3023 (TEST_FUNCTION): New macro.
3024 Include test-skeleton.c.
3026 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
3027 (convert): Make function static.
3028 (test_unalign): Likewise. Add const to argument pointee types.
3029 (main): Replace with static function do_test.
3030 Print "Succeeded." only if RET is zero.
3031 (TEST_FUNCTION): New macro.
3032 Include test-skeleton.c.
3034 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
3035 returns a null pointer.
3037 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3039 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
3040 to __memcpy_ppc only for static builds.
3042 2015-02-25 Joseph Myers <joseph@codesourcery.com>
3045 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
3046 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
3047 * math/auto-libm-test-in: Add more tests of asinh.
3048 * math/auto-libm-test-out: Regenerated.
3049 * sysdeps/i386/fpu/libm-test-ulps: Update.
3050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3052 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
3055 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
3056 and ip6_mtuinfo definitions here.
3057 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
3058 in this define too. Update comment.
3060 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
3062 * elf/sprof.c (load_shobj): Tweak error message to match others.
3064 2015-02-24 Kevin Easton <kevin@guarana.org>
3066 [BZ #16145] (partial fix)
3067 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
3068 to reduce lock contention.
3070 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
3072 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
3073 (struct timex): Update time comment.
3074 (ADJ_SETOFFSET): Define.
3076 2015-02-24 Joseph Myers <joseph@codesourcery.com>
3079 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3080 2**56 not 2**28 as threshold for log (2x) formula.
3081 * math/auto-libm-test-in: Add more tests of acosh.
3082 * math/auto-libm-test-out: Regenerated.
3083 * sysdeps/i386/fpu/libm-test-ulps: Update.
3084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3086 2015-02-24 Mike Frysinger <vapier@gentoo.org>
3088 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
3089 parenthesis around the buf assignment.
3090 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
3092 2015-02-24 Joseph Myers <joseph@codesourcery.com>
3095 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
3096 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
3097 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
3098 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3099 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3100 * math/libm-test.inc (scalb_test_data): Add more tests.
3102 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3105 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
3106 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
3108 2015-02-24 Eric Rannaud <e@nanocritical.com>
3111 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
3112 * io/bits/fcntl2.h (open): Use it.
3114 * io/open.c (__libc_open): Likewise.
3115 * io/open64.c (__libc_open64): Likewise.
3116 * io/open64_2.c (__open64_2): Likewise.
3117 * io/open_2.c (__open_2): Likewise.
3118 * io/openat.c (__openat): Likewise.
3119 * io/openat64.c (__openat64): Likewise.
3120 * io/openat64_2.c (__openat64_2): Likewise.
3121 * io/openat_2.c (__openat_2): Likewise.
3122 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
3123 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3124 * sysdeps/posix/open64.c (__libc_open64): Likewise.
3125 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3126 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3127 (__open_nocancel): Likewise.
3128 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3129 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3130 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
3132 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3135 * resolv/gethnamaddr.c (getanswer): Skip logging if
3136 RES_USE_DNSSEC is set.
3137 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3139 2015-02-24 Mike Frysinger <vapier@gentoo.org>
3141 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
3143 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
3145 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3146 201304L, for Unicode 7.
3148 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
3151 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
3152 shared library. Add gmon-start.os otherwise.
3153 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
3154 $(objpfx)gmon-start.os if builing shared library.
3155 ($(objpfx)g$(static-start-installed-name)): Likewise.
3157 2015-02-23 Andreas Schwab <schwab@suse.de>
3159 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
3161 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3164 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
3165 (enlarge_userbuf): Likewise.
3167 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
3169 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
3170 * math/atest-exp.c (TIMEOUT): Adjust to 200.
3171 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
3172 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
3174 2015-02-20 Joseph Myers <joseph@codesourcery.com>
3176 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
3177 expression inside statement expression.
3179 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3181 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
3182 <sysdeps/nptl/lowlevellock.h> and remove macros and
3183 functions that are now defined there.
3184 (SYS_futex): Remove.
3185 (lll_compare_and_swap): Remove.
3186 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
3188 2015-02-19 Joseph Myers <joseph@codesourcery.com>
3191 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
3192 instead of scandirat.
3193 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
3194 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
3195 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
3197 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
3198 (__scandirat): Declare. Use libc_hidden_proto.
3199 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
3201 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3203 2015-02-18 Joseph Myers <joseph@codesourcery.com>
3206 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
3208 (__ieee754_atan2): For results with small absolute value, force
3209 underflow exception and remove excess range and precision from
3211 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
3213 (__ieee754_atan2f): For results with small absolute value, force
3214 underflow exception and remove excess range and precision from
3216 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
3218 (__atan): For results with small absolute value, force underflow
3219 exception and remove excess range and precision from return value.
3220 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
3222 (__atanf): For results with small absolute value, force underflow
3223 exception and remove excess range and precision from return value.
3224 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
3226 (__ieee754_atan2): Force underflow exception for results with
3227 small absolute value.
3228 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
3230 (atan): Force underflow exception for results with small absolute
3232 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
3233 (__atanf): Force underflow exception for results with small
3235 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
3237 (__atanl): Force underflow exception for results with small
3239 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
3240 (__atanl): Force underflow exception for results with small
3242 * sysdeps/x86/fpu/bits/mathinline.h
3243 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
3244 (__ieee754_atan2): Only define inline for long double.
3245 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
3246 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
3247 * math/auto-libm-test-in: Do not mark underflow exceptions as
3248 possibly missing for bug 15319. Add more tests of atan2.
3249 * math/auto-libm-test-out: Regenerated.
3250 * math/libm-test.inc (casin_test_data): Do not mark underflow
3251 exceptions as possibly missing for bug 15319.
3252 (casinh_test_data): Likewise.
3253 * sysdeps/i386/fpu/libm-test-ulps: Update.
3255 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
3257 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
3258 * sysdeps/mips/bits/endian.h: Fix comments.
3260 2015-02-18 Joseph Myers <joseph@codesourcery.com>
3263 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
3264 (hdestroy_r): Likewise.
3265 (hsearch_r): Likewise.
3266 (__hcreate_r): Declare and use libc_hidden_proto.
3267 (__hdestroy_r): Likewise.
3268 (__hsearch_r): Likewise.
3269 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
3270 (hcreate): Call __hcreate_r instead of hcreate_r.
3271 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
3272 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
3273 as weak alias of __hcreate_r.
3274 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
3276 (hsearch_r): Rename to __hsearch_r and define as weak alias of
3278 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
3280 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3281 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3282 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3283 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3285 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3287 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
3288 arena_lock into a single arena_get.
3290 2015-02-17 Carlos O'Donell <carlos@redhat.com>
3292 * dl-reloc.c: Inlucde libc-internal.h.
3293 (_dl_try_allocate_static_tls): Call ALIGN_UP.
3294 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
3295 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
3296 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
3297 (grow_heap): Likewise.
3298 * malloc/malloc.c: Include libc-internal.h.
3299 (do_check_malloc): Call powerof2.
3300 (sysmalloc): Use pagesize. Call ALIGN_UP.
3301 (systrim): Use pagesize.
3302 (mremap_chunk): Use pagesize. Call ALIGN_UP.
3303 (__libc_valloc): Use pagesize.
3304 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
3306 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3309 * include/sys/resource.h (__getrlimit64): Declare. Use
3311 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
3312 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
3313 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
3315 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
3317 [!getrlimit64] (getrlimit64): Define as weak alias of
3318 __getrlimit64. Use libc_hidden_weak.
3319 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
3320 using __getrlimit64 not __new_getrlimit64.
3321 (__GI_getrlimit64): Likewise.
3322 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
3324 (__GI_getrlimit64): Likewise.
3325 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
3326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
3327 (getrlimit): Add __getrlimit64 alias.
3328 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
3330 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
3332 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3333 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3335 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
3337 * libio/fileops.c: Add missing sys/mman.h
3338 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
3340 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3342 * manual/math.texi (Errors in Math Functions): Clarify goals
3343 regarding inexact and underflow exceptions.
3345 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
3347 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
3348 * sysdeps/mips/memset.S: Ditto.
3350 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
3352 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
3354 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3356 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
3357 (__v1longjmp): Remove versioned symbol.
3358 (__v1siglongjmp): Remove alias and versioned symbol.
3359 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
3360 (__v2siglongjmp): Likewise.
3362 2015-02-16 Torvald Riegel <triegel@redhat.com>
3364 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
3366 2015-02-16 Mike Frysinger <vapier@gentoo.org>
3368 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
3370 2015-02-16 Joseph Myers <joseph@codesourcery.com>
3373 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
3374 zero result does not depend on the sign resulting from
3376 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3378 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3379 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3380 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3381 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3382 * math/libm-test.inc (remquo_test_data): Add more tests.
3384 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
3386 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
3387 Problem reported by J William Piggott.
3389 2015-02-16 Joseph Myers <joseph@codesourcery.com>
3392 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
3393 products 4 * y and 2 * y where those would overflow.
3394 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3396 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3397 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3398 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3399 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3400 * math/libm-test.inc (remquo_test_data): Add more tests.
3402 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
3404 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
3405 [defined _COMPILING_NEWLIB].
3406 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
3407 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
3409 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
3410 [!defined __mips_isa_rev || __mips_isa_rev < 6].
3412 2015-02-16 Torvald Riegel <triegel@redhat.com>
3414 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
3417 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
3420 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
3421 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
3422 HOST_STACK_END_ADDR): Likewise.
3424 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
3426 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
3427 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
3428 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
3430 2015-02-13 Roland McGrath <roland@hack.frob.com>
3432 * sysdeps/generic/c++-types.data: New file.
3433 * sysdeps/generic/ld.abilist: New file.
3434 * sysdeps/generic/libBrokenLocale.abilist: New file.
3435 * sysdeps/generic/libanl.abilist: New file.
3436 * sysdeps/generic/libc.abilist: New file.
3437 * sysdeps/generic/libcrypt.abilist: New file.
3438 * sysdeps/generic/libdl.abilist: New file.
3439 * sysdeps/generic/libm.abilist: New file.
3440 * sysdeps/generic/libpthread.abilist: New file.
3441 * sysdeps/generic/libresolv.abilist: New file.
3442 * sysdeps/generic/librt.abilist: New file.
3444 2015-02-13 Joseph Myers <joseph@codesourcery.com>
3447 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3448 Compute absolute value of x as modified by fmod, not original
3450 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
3451 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
3452 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
3453 RUN_TEST_ffI_f1_mod8.
3454 (remquo_test_data): Add more tests.
3456 2015-02-13 Roland McGrath <roland@hack.frob.com>
3458 * sysdeps/init_array/pt-crti.S: New file.
3460 2015-02-13 Joseph Myers <joseph@codesourcery.com>
3463 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
3464 __builtin_fmaf instead of relying on contraction of a * b + c.
3466 2015-02-12 J William Piggott <elseifthen@gmx.com>
3469 * manual/time.texi: correct the zoneinfo path in the TZ Variable
3472 2015-02-12 Joseph Myers <joseph@codesourcery.com>
3475 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
3476 __builtin_fma instead of relying on contraction of a * b + c.
3478 2015-02-12 Roland McGrath <roland@hack.frob.com>
3480 * Makeconfig (ASFLAGS): Add -Werror=undef.
3481 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
3482 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
3483 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
3485 * Makeconfig (after-link): New variable.
3486 (+link-pie, +link-pie-tests): Use it.
3487 (+link-static, +link-static-tests): Likewise.
3488 (+link, +link-tests): Likewise.
3489 * Makerules (build-module, build-module-asneeded): Likewise.
3490 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
3492 * elf/Makefile ($(objpfx)ld.so): Likewise.
3494 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
3497 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
3498 both struct timeval and struct timespec.
3500 2015-02-12 Joseph Myers <joseph@codesourcery.com>
3503 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3505 (__ieee754_exp2l): Do not multiply small fractional parts by
3507 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
3509 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3510 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3511 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
3512 * math/auto-libm-test-in: Add more tests of exp2.
3513 * math/auto-libm-test-out: Regenerated.
3515 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3517 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
3520 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3522 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
3525 2015-02-12 Andreas Schwab <schwab@suse.de>
3528 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
3529 Filter out elision flags from value returned in kind.
3530 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
3531 * nptl/tst-pthread-mutexattr.c: New file.
3533 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
3535 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
3536 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
3537 into gnu-gnu, and update comment to refer to abi-tags.
3539 2015-02-11 Joseph Myers <joseph@codesourcery.com>
3542 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
3543 (__sincos): Set errno to EDOM for infinite argument.
3544 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
3545 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
3546 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
3547 (__sincosl): Set errno to EDOM for infinite argument.
3548 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
3549 (__sincosl): Set errno to EDOM for infinite argument.
3550 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
3551 (__sincosl): Set errno to EDOM for infinite argument.
3552 * math/libm-test.inc (sincos_test_data): Test errno setting.
3554 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
3556 * string/strxfrm_l.c: Remove #define STRCMP.
3557 * string/strcoll_l.c: Remove #define STRLEN.
3558 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
3559 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
3561 2015-02-10 Joseph Myers <joseph@codesourcery.com>
3563 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
3564 * sysdeps/mips/mips32/sfp-machine.h: ... here.
3565 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
3566 * sysdeps/mips/mips64/Makefile: ... here.
3567 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
3568 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
3569 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
3570 * sysdeps/mips/mips64/sfp-machine.h: ... here.
3571 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
3572 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
3573 * sysdeps/mips/mips64/n64/Implies: Likewise.
3575 2015-02-10 Roland McGrath <roland@hack.frob.com>
3577 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
3578 <sys/time.h>, <string.h>, and <errno.h>.
3579 (dest_offset, dest_address, value, zero): Remove unused variables.
3580 (ldouble): Remove typedef.
3581 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
3582 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
3584 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
3585 (check): Function removed.
3587 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
3588 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
3589 Don't call set_sigaction_FP and remove_sigaction_FP here.
3590 (ldouble_test): Just use 'long double' as macro argument, no need for
3591 the 'ldouble' typedef.
3592 (do_test): Set up SIGFPE handler at start, using plain signal rather
3593 than sigaction. Fix code style.
3595 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
3598 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
3601 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3603 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
3604 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3606 * sysdeps/powerpc/configure.ac: Remove file.
3607 * sysdeps/powerpc/configure: Likewise.
3609 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3610 [sysdep_routines]: Remove wordcopy-power6 object.
3611 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3612 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
3613 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
3614 (__memmove_ppc32): Likewise.
3615 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
3617 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
3618 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
3619 Remove preprocessor.
3621 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3622 [sysdep_routines]: Remove wide chars objects.
3623 [wcsmbs]: New rule for wide char objects.
3625 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3626 Remove wordcopy-power6 obejct.
3627 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
3628 Use local call for wordcopy and memcpy symbols.
3629 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
3630 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
3631 implementation for loader.
3632 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
3634 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3635 Remove wordcopy-power7 object.
3636 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
3637 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
3638 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
3639 (_wordcopy_fwd_dest_aligned): Likewise.
3640 (_wordcopy_bwd_aligned): Likewise.
3641 (_wordcopy_bwd_dest_aligned): Likewise.
3643 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
3644 Rewrite to call __memmove_ppc instead of include default
3647 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3648 Remove wide chars objects.
3649 [wcsmbs]: New rule for wide char objects.
3651 2015-02-09 Andreas Schwab <schwab@suse.de>
3654 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3655 in terms of __O_DIRECTORY.
3657 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
3659 * time/getdate.c: Include <stdbool.h>.
3660 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
3662 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
3665 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
3667 Add ersatz _Static_assert on older C hosts
3668 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
3669 pre-C11 C platform that is not known to support _Static_assert.
3671 2015-02-07 Richard Braun <rbraun@sceen.net>
3673 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
3675 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
3677 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3679 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
3680 priority against unexistent AIO_PRIO_DELTA_MAX.
3681 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
3683 * misc/fchflags.c (fchflags): Likewise.
3684 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3685 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3686 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
3687 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
3688 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
3690 [__USE_MISC] (chflags, fchflags): Declare functions.
3691 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
3692 EINVAL when nfds is greater than FD_SETSIZE.
3693 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
3694 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
3696 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
3697 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
3698 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
3700 * hurd/hurd/signal.h (_hurd_self_sigstate,
3701 _hurd_critical_section_lock, _hurd_critical_section_unlock):
3702 Explicit casts from void *.
3703 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
3704 * abi-tags: Rename gnu-gnu os into gnu.
3707 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
3708 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
3709 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
3710 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
3711 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
3712 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
3715 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
3716 duplicates ADDR->sun_path with sockaddr LEN limitation.
3717 * sysdeps/mach/hurd/connect.c: Include <string.h>
3718 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
3719 * sysdeps/mach/hurd/sendmsg.c: Likewise.
3720 * sysdeps/mach/hurd/sendto.c: Likewise.
3721 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
3722 implementing it by hand.
3724 2015-02-06 Roland McGrath <roland@hack.frob.com>
3726 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
3727 Use sfi_breg on ldr.
3728 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
3731 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
3733 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
3734 Test SIGSETXID only if it's defined.
3736 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
3738 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
3739 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
3741 * nptl/tst-align2.c: Moved ...
3742 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
3743 * nptl/Makefile (tests): Remove tst-align2.
3744 * sysdeps/unix/sysv/linux/Makefile
3745 [$(subdir) = nptl] (tests): Add tst-align-clone.
3746 * nptl/tst-getpid1.c: Moved ...
3747 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
3748 * nptl/tst-getpid2.c: Moved ...
3749 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
3750 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
3751 * sysdeps/unix/sysv/linux/Makefile
3752 [$(subdir) = nptl] (tests): ... here.
3753 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
3754 * sysdeps/unix/sysv/linux/Makefile
3755 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
3757 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
3758 Drop trailing \n from perror argument. Use return rather than exit.
3760 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
3762 * nptl/tst-cancel21.c (do_test): Likewise.
3763 * debug/tst-backtrace6.c: Include <signal.h> first thing.
3764 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
3765 [!SA_SIGINFO]: Make it a stub test.
3767 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
3768 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
3770 * posix/tst-getlogin.c: Move to ...
3771 * login/tst-getlogin.c: ... here.
3772 * posix/Makefile (tests): Move tst-getlogin to ...
3773 * login/Makefile (tests): ... here.
3775 * libio/tst-atime.c (do_test): Move local variables SV and E
3776 inside [ST_NOATIME] conditional.
3778 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
3780 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
3782 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
3783 (wait_code): New function replaces macro.
3784 Call nanosleep rather than syscall.
3786 * nptl/pt-system.c: Rewritten. Put everything under
3787 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3788 Use IFUNC to redirect when possible.
3790 * nptl/pt-longjmp.c: Rewritten. Put everything under
3791 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3792 Use IFUNC to redirect when possible.
3794 * nptl/pt-fork.c: Rewritten. Put everything under
3795 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3796 Use IFUNC to redirect when possible.
3797 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
3799 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
3800 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
3801 unconditionally nowadays. This included the only reference to
3802 __vdso_clock_gettime that appears outside libc proper.
3803 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
3804 Remove version set (containing only __vdso_clock_gettime).
3805 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3806 Add attribute_hidden.
3807 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3808 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
3809 libc_hidden_data_def.
3810 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3811 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3813 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
3814 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
3815 setrpcent, and getrpcport to ...
3816 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
3817 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
3818 getrpcbynumber_r, and getrpcent_r to ...
3819 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
3820 * inet/getrpcbyname.c: Moved ...
3821 * sunrpc/getrpcbyname.c: ... here.
3822 * inet/getrpcbyname_r.c: Moved ...
3823 * sunrpc/getrpcbyname_r.c: ... here.
3824 * inet/getrpcbynumber.c: Moved ...
3825 * sunrpc/getrpcbynumber.c: ... here.
3826 * inet/getrpcbynumber_r.c: Moved ...
3827 * sunrpc/getrpcbynumber_r.c: ... here.
3828 * inet/getrpcent.c: Moved ...
3829 * sunrpc/getrpcent.c: ... here.
3830 * inet/getrpcent_r.c: Moved ...
3831 * sunrpc/getrpcent_r.c: ... here.
3832 * inet/Makefile (routines): Move those to ...
3833 * sunrpc/Makefile (routines): ... here.
3834 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
3835 the $(subdirs) list.
3836 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
3837 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
3838 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
3839 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
3841 * elf/Makefile (routines): Include $(all-dl-routines), not just
3843 (rtld-routines): Likewise. Use = rather than :=.
3844 * sysdeps/aarch64/Makefile [$(subdir) = elf]
3845 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
3846 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
3847 * sysdeps/arm/Makefile: Likewise.
3848 * sysdeps/i386/Makefile: Likewise.
3849 * sysdeps/x86_64/Makefile: Likewise.
3850 * sysdeps/hppa/Makefile [$(subdir) = elf]
3851 (sysdep_routines, sysdep-rtld-routines): Don't add
3852 $(sysdep-dl-routines) to these.
3853 * sysdeps/ia64/Makefile: Likewise.
3854 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
3855 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
3856 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
3857 Don't add dl-static to these; sysdep-dl-routines alone is enough.
3858 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
3859 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
3860 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
3861 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
3862 * sysdeps/powerpc/Makefile [$(subdir) = elf]
3863 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
3864 these; sysdep-dl-routines alone is enough.
3866 2015-02-06 Joseph Myers <joseph@codesourcery.com>
3869 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
3870 where multiplication results in zero and third argument is finite
3872 * math/auto-libm-test-in: Add more tests of fma.
3873 * math/auto-libm-test-out: Regenerated.
3875 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
3876 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
3877 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
3878 (_FP_CMP_EQ): Likewise.
3879 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
3881 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
3882 extra argument CHECK_NAN. Redefine as wrapper around
3885 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
3887 * version.h (RELEASE): Set to "stable".
3888 (VERSION): Set to "2.21"
3889 * include/features.h (__GLIBC_MINOR__): Set to 21.
3891 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
3893 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3894 Paul Eggert <eggert@cs.ucla.edu>
3897 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
3898 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
3899 size in bytes. Store needed elements in wpmax. Use needed size
3900 in bytes for extend_alloca.
3902 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
3904 * manual/install.texi: Latest tested versions are GCC 4.9.2,
3905 binutls 2.25, and texinfo 5.2.
3906 * INSTALL: Regenerate.
3907 * sysdeps/nios2/configure: Regenerate.
3908 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
3909 * manual/contrib.texi: Update.
3933 * po/pt_BR.po: Update.
3942 * po/zh_CN.po: Update.
3943 * po/zh_TW.po: Update.
3945 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
3946 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
3947 * sysdeps/hppa/dl-irel.h: Remove #warning.
3948 * sysdeps/hppa/entry.h: Provide prototype for
3949 __canonicalize_funcptr_for_compare and cast argument.
3950 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
3951 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
3952 * sysdeps/hppa/sotruss-lib.c: New file.
3953 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
3954 (atomic_compare_and_exchange_val_acq): Use __typeof__.
3955 (atomic_compare_and_exchange_bool_acq): Likewise.
3956 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
3957 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
3959 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
3960 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
3961 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
3963 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
3965 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
3966 called function in non-PIC case.
3968 2015-01-31 David S. Miller <davem@davemloft.net>
3970 * sysdeps/sparc/sparc32/bits/atomic.h
3971 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
3972 unlock not after it.
3973 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
3974 volatile register usage warnings from the compiler.
3976 * sysdeps/sparc/nptl/sem_init.c: Delete.
3977 * sysdeps/sparc/nptl/sem_post.c: Delete.
3978 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
3979 * sysdeps/sparc/nptl/sem_wait.c: Delete.
3980 * sysdeps/sparc/sparc32/sem_init.c: New file.
3981 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
3982 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
3983 padding explicitly initialized.
3984 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
3985 padding for in-semaphore spinlock.
3986 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
3987 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
3988 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
3989 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
3990 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
3991 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
3992 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
3993 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
3995 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
3996 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
3998 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
4001 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4002 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
4003 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
4005 (index_AVX_Fast_Unaligned_Load): Likewise.
4006 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
4007 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
4008 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
4009 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
4010 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4011 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
4012 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
4013 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
4014 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
4016 2015-01-29 Andreas Schwab <schwab@suse.de>
4018 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
4020 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4023 * nscd/nscd_stat.c (send_stats): Initialize DATA.
4025 2015-01-28 Martin Sebor <msebor@redhat.com>
4027 * math/README.libm-test: Clarify. Add "How to read the test output."
4029 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
4031 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
4034 2015-01-28 Joseph Myers <joseph@codesourcery.com>
4036 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
4037 (__HAVE_64B_ATOMICS): Define to 0.
4039 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4042 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
4043 value to set as new flag.
4046 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
4047 and use _ARCH_PPCSQ instead.
4048 (__ieee754_sqrt): Likewise.
4049 (__ieee754_sqrtf): Likewise.
4050 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
4051 _ARCH_PPCSQ is defined.
4052 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
4054 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
4055 _ARCH_PPCSQ is defined.
4056 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
4058 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
4060 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4062 * iconv/loop.c: Suppress array out of bound warning caused by GCC
4063 bug (GCC BZ #64739).
4065 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
4067 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
4068 Mark _retval as used.
4069 (lll_futex_wake_unlock): Likewise.
4070 (lll_futex_timed_wait_requeue_pi): Likewise.
4072 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4073 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
4076 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
4079 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
4080 (__bswap_64): Mark as __always_inline.
4082 2015-01-25 Bram <bug_rh@spam.wizbit.be>
4085 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
4086 when none of the search directories exist.
4088 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4091 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
4092 power8 in .machine directive.
4095 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
4096 set dependency from opd value.
4098 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
4100 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4101 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
4104 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
4107 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
4109 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
4111 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
4112 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
4113 Replace 1UL with (uint64_t) 1.
4114 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
4117 2015-01-23 Roland McGrath <roland@hack.frob.com>
4119 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
4120 (if_freenameindex): Likewise.
4122 * resource/getrlimit64.c: Add missing libc_hidden_def.
4124 2015-01-22 Joseph Myers <joseph@codesourcery.com>
4126 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
4128 (_FP_FMA): Likewise.
4129 (_FP_TO_INT_ROUND): Likewise.
4130 (_FP_FROM_INT): Likewise.
4132 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4135 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4136 Make code racy and cancel safe.
4138 2015-01-21 Carlos O'Donell <carlos@redhat.com>
4140 * sysdeps/arm/unwind-resume.h: Fix copyright year.
4141 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
4144 * pwd/tst-getpw.c: Rewrite.
4147 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
4148 (modules-names): Add moddummy1 and moddummy2.
4149 ($(objpfx)tst-rec-dlopen): Define.
4150 * dlfcn/moddummy1.c: New file.
4151 * dlfcn/moddummy2.c: New file.
4152 * dlfcn/tst-rec-dlopen.c: New file.
4153 * elf/dl-cache.c (_dl_load_cache_lookup):
4154 Return char*. Copy result with alloca/strcpy/strdup.
4155 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
4156 returns char*. Free cached. If not saving realname
4158 * elf/dl-open.c (dl_open_worker): Do not assert that
4159 _r_debug->r_state is RT_CONSISTENT.
4160 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
4163 2015-01-21 Torvald Riegel <triegel@redhat.com>
4164 Carlos O'Donell <carlos@redhat.com>
4167 * nptl/sem_waitcommon.c: New file.
4168 * nptl/sem_wait.c: Include sem_waitcommon.c.
4169 (__sem_wait_cleanup, do_futex_wait): Remove.
4170 (__new_sem_wait): Adapt.
4171 (__new_sem_trywait): New function.
4172 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
4173 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
4174 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
4175 (sem_timedwait): Adapt.
4176 * nptl/sem_post.c (__new_sem_post): Adapt.
4177 (futex_wake): New function.
4178 (__old_sem_post): Add release MO fence.
4179 * nptl/sem_open.c (sem_open): Adapt.
4180 * nptl/sem_init.c (__new_sem_init): Adapt.
4181 (futex_private_if_supported): New function.
4182 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
4183 (__old_sem_getvalue): Add using previous code.
4184 * sysdeps/nptl/internaltypes.h: Adapt.
4185 * nptl/tst-sem13.c (do_test): Adapt.
4186 * nptl/tst-sem11.c (main): Adapt.
4187 * nptl/sem_trywait.c: Remove.
4188 * nptl/DESIGN-sem.txt: Remove.
4189 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
4190 (gen-as-const-headers): Remove structsem.sym.
4191 * nptl/structsem.sym: Remove.
4192 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
4193 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
4194 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
4195 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
4196 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
4197 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
4198 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
4199 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
4200 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
4201 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
4202 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
4203 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
4204 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
4205 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
4206 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
4207 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
4208 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
4209 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
4210 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
4211 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
4212 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
4213 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
4215 2015-01-20 Carlos O'Donell <carlos@redhat.com>
4217 * INSTALL: Regenerated.
4219 * po/libc.pot: Regenerated.
4221 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
4222 Sandra Loosemore <sandra@codesourcery.com>
4223 Andrew Jenner <andrew@codesourcery.com>
4224 Joseph Myers <joseph@codesourcery.com>
4225 Nathan Sidwell <nathan@codesourcery.com>
4227 * NEWS: Mention new Nios II port.
4228 * sysdeps/nios2/Implies: New file.
4229 * sysdeps/nios2/Makefile: New file.
4230 * sysdeps/nios2/Subdirs: New file.
4231 * sysdeps/nios2/Versions: New file.
4232 * sysdeps/nios2/__longjmp.S: New file.
4233 * sysdeps/nios2/abort-instr.h: New file.
4234 * sysdeps/nios2/backtrace.c: New file.
4235 * sysdeps/nios2/bits/endian.h: New file.
4236 * sysdeps/nios2/bits/fenv.h: New file.
4237 * sysdeps/nios2/bits/link.h: New file.
4238 * sysdeps/nios2/bits/setjmp.h: New file.
4239 * sysdeps/nios2/bsd-_setjmp.S: New file.
4240 * sysdeps/nios2/bsd-setjmp.S: New file.
4241 * sysdeps/nios2/configure: New generated file.
4242 * sysdeps/nios2/configure.ac: New file.
4243 * sysdeps/nios2/crti.S: New file.
4244 * sysdeps/nios2/crtn.S: New file.
4245 * sysdeps/nios2/dl-init.c: New file.
4246 * sysdeps/nios2/dl-machine.h: New file.
4247 * sysdeps/nios2/dl-sysdep.h: New file.
4248 * sysdeps/nios2/dl-tls.h: New file.
4249 * sysdeps/nios2/dl-trampoline.S: New file.
4250 * sysdeps/nios2/gccframe.h: New file.
4251 * sysdeps/nios2/gmp-mparam.h: New file.
4252 * sysdeps/nios2/jmpbuf-offsets.h: New file.
4253 * sysdeps/nios2/jmpbuf-unwind.h: New file.
4254 * sysdeps/nios2/ldsodefs.h: New file.
4255 * sysdeps/nios2/libc-tls.c: New file.
4256 * sysdeps/nios2/libm-test-ulps: New file.
4257 * sysdeps/nios2/machine-gmon.h: New file.
4258 * sysdeps/nios2/math-tests.h: New file.
4259 * sysdeps/nios2/math_private.h: New file.
4260 * sysdeps/nios2/memusage.h: New file.
4261 * sysdeps/nios2/nptl/Makefile: New file.
4262 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
4263 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
4264 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
4265 * sysdeps/nios2/nptl/pthreaddef.h: New file.
4266 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
4267 * sysdeps/nios2/nptl/tls.h: New file.
4268 * sysdeps/nios2/preconfigure: New file.
4269 * sysdeps/nios2/s_fma.c: New file.
4270 * sysdeps/nios2/s_fmaf.c: New file.
4271 * sysdeps/nios2/setjmp.S: New file.
4272 * sysdeps/nios2/sfp-machine.h: New file.
4273 * sysdeps/nios2/sotruss-lib.c: New file.
4274 * sysdeps/nios2/stackguard-macros.h: New file.
4275 * sysdeps/nios2/stackinfo.h: New file.
4276 * sysdeps/nios2/start.S: New file.
4277 * sysdeps/nios2/sysdep.h: New file.
4278 * sysdeps/nios2/tls-macros.h: New file.
4279 * sysdeps/nios2/tst-audit.h: New file.
4280 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
4281 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
4282 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
4283 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
4284 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
4285 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
4286 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
4287 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
4288 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
4289 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
4290 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
4291 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
4292 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
4293 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
4294 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
4295 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
4296 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
4297 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
4298 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
4299 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
4300 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
4301 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
4302 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
4303 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
4304 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
4305 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
4306 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
4307 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
4308 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
4309 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
4310 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
4311 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
4312 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
4313 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
4314 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
4315 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
4316 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
4317 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
4318 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
4319 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
4320 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
4321 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
4322 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
4323 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
4325 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4328 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
4329 (getutent): Use weak_alias in non SHARED case
4330 and default_symbol_version in SHARED case.
4331 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
4332 (getutent_r, pututline): Likewise.
4333 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
4334 (getutid): Likewise.
4335 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
4336 (getutid_r): Likewise.
4337 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
4338 (getutline): Likewise.
4339 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
4340 (getutline_r): Likewise.
4341 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
4342 (updwtmp): Likewise.
4344 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4347 * sysdeps/s390/s390-32/memcmp.S
4348 (memcmp_g5): Rename to __memcmp_g5.
4349 * sysdeps/s390/s390-32/memcpy.S
4350 (memcpy_g5): Rename to __memcpy_g5.
4351 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4352 (memcpy_mvcle) Rename to __memcpy_mvcle.
4353 * sysdeps/s390/s390-32/memset.S
4354 (memset_g5): Rename to __memset_g5.
4355 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4356 (IFUNC_RESOLVE): Prefix ifunc-resolve function
4357 and use prefixed functions.
4358 * sysdeps/s390/s390-32/multiarch/memcmp.S
4359 (memcmp_z196): Rename to __memcmp_z196.
4360 (memcmp_z10): Rename to __memcmp_z10.
4361 (memcmp): Set alias to __memcmp_g5.
4362 (bcmp): Set alias to __memcmp_g5.
4363 * sysdeps/s390/s390-32/multiarch/memcpy.S
4364 (memcpy_z196): Rename to __memcpy_z196.
4365 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4366 (memcpy_z10): Rename to __memcpy_z10.
4367 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4368 (memcpy): Set alias to __memcpy_g5.
4369 * sysdeps/s390/s390-32/multiarch/memset.S
4370 (memset_z196): Rename to __memset_z196.
4371 Jump to __memset_mvcle instead of memset_mvcle.
4372 (memset_z10): Rename to __memset_z10.
4373 Jump to __memset_mvcle instead of memset_mvcle.
4374 (memset_mvcle) Rename to __memset_mvcle.
4375 (memset): Set alias to __memset_g5.
4376 * sysdeps/s390/s390-64/memcmp.S
4377 (memcmp_z900): Rename to __memcmp_z900.
4378 * sysdeps/s390/s390-64/memcpy.S
4379 (memcpy_z900): Rename to __memcpy_z900.
4380 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4381 (memcpy_mvcle) Rename to __memcpy_mvcle.
4382 * sysdeps/s390/s390-64/memset.S
4383 (memset_z900): Rename to __memset_z900.
4384 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
4385 (IFUNC_RESOLVE): Prefix ifunc-resolve function
4386 and use prefixed functions.
4387 * sysdeps/s390/s390-64/multiarch/memcmp.S
4388 (memcmp_z196): Rename to __memcmp_z196.
4389 (memcmp_z10): Rename to __memcmp_z10.
4390 (memcmp): Set alias to __memcmp_z900.
4391 (bcmp): Set alias to __memcmp_z900.
4392 * sysdeps/s390/s390-64/multiarch/memcpy.S
4393 (memcpy_z196): Rename to __memcpy_z196.
4394 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4395 (memcpy_z10): Rename to __memcpy_z10.
4396 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4397 (memcpy): Set alias to __memcpy_z900.
4398 * sysdeps/s390/s390-64/multiarch/memset.S
4399 (memset_z196): Rename to __memset_z196.
4400 Jump to __memset_mvcle instead of memset_mvcle.
4401 (memset_z10): Rename to __memset_z10.
4402 Jump to __memset_mvcle instead of memset_mvcle.
4403 (memset_mvcle) Rename to __memset_mvcle.
4404 (memset): Set alias to __memset_z900.
4406 2015-01-14 Joseph Myers <joseph@codesourcery.com>
4409 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
4410 __fesetenv instead of fesetenv.
4412 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4414 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
4417 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4419 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
4422 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
4423 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
4424 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4425 strncmp-power8 object.
4426 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4427 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
4428 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
4431 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4432 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4434 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
4435 trailing byte check.
4437 2015-01-13 David S. Miller <davem@davemloft.net>
4439 * include/signal.h (__sigreturn): Guard with __USE_MISC.
4441 2015-01-13 Roland McGrath <roland@hack.frob.com>
4443 * login/logout.c (logout): Use memset rather than bzero.
4444 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
4445 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
4446 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
4447 (_gethtbyaddr): Likewise.
4448 * locale/programs/simple-hash.c (bcopy): Macro removed.
4450 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4452 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4453 Add strcmp-power8 object.
4454 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4455 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
4456 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
4457 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
4458 __strcmp_power8 implementation.
4459 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
4462 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4463 Add strncpy-power8 and stpncpy-power8 objects.
4464 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4465 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
4467 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
4468 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
4469 __stpncpy_power8 implementation.
4470 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
4471 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
4472 __strncpy_power8 implementation.
4473 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
4474 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
4477 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
4478 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
4479 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
4481 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4482 strncat-power8 object.
4483 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
4484 __strcat_power8 implementation.
4485 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4486 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
4487 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
4488 optimized strcat for power8.
4490 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4491 strcpy-power8 and stpcpy-power8 objects.
4492 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4493 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
4495 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
4496 multiarch stpcpy implementation for POWER8.
4497 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
4498 multiarch strcpy implementation for POWER8.
4499 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
4500 __strcpy_power8 function.
4501 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
4503 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
4507 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
4510 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
4511 weights and rules. Use do_xfrm_cached if data fits in cache,
4512 do_xfrm otherwise. Moved former main loop to...
4513 * (do_xfrm_cached): New function.
4514 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
4515 find_idx, find_position and stack_push.
4516 * (find_idx): New function.
4517 * (find_position): Likewise.
4518 * localedata/sort-test.sh: Added test run for do_xfrm.
4519 * localedata/xfrm-test.c (main): Added command line option
4520 -nocache to run the test with strings that are too large for
4523 2015-01-13 Torvald Riegel <triegel@redhat.com>
4525 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
4526 variable to lll_futex_wake call, not the value itself.
4528 2015-01-12 Joseph Myers <joseph@codesourcery.com>
4531 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
4532 twom64. Adjust value to 0x1p-64L.
4533 (__scalblnl): Only return standard underflowing result for K <=
4534 -64 not K <= -63; adjust exponent for underflowing result by 64
4536 * math/libm-test.inc (scalbn_test_data): Add more tests.
4537 (scalbln_test_data): Likewise.
4540 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
4542 (__scalblnl): Get new exponent of adjusted subnormal value from ES
4544 * math/libm-test.inc (scalbn_test_data): Add more tests.
4545 (scalbln_test_data): Likewise.
4547 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4548 Stefani Seibold <stefani@seibold.net>
4550 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
4551 (sysdep_routines): Add dl-vdso here, ...
4552 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
4553 (sysdep_routines): ... not here.
4554 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
4555 fallback when vDSO is not presented.
4556 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4557 Define with libc_hidden_proto/libc_hidden_data_def definitions.
4558 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
4559 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
4560 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
4561 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
4562 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
4563 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
4564 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
4565 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
4566 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
4567 fallback configurable symbol when vDSO is not available.
4568 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
4569 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
4570 be able to redefine fallback symbol when vDSO is not available.
4571 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
4572 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
4574 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4576 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
4577 (TLS_INIT_TP): Add tm_capable initialization.
4578 (TLS_DEFINE_INIT_TP): Likewise.
4579 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
4581 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
4582 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
4584 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
4585 transactoion is lock elision is built and TCB tm_capable is set.
4586 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
4587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4588 (INTERNAL_SYSCALL_NCS): Likewise.
4589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4590 (INTERNAL_SYSCALL_NCS): Likewise.
4591 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
4593 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
4595 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4596 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
4597 and remove it for 32 bits case.
4598 [pthread_rwlock_t] (__rwelision): New field for lock elision.
4599 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
4601 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
4602 Disable lock elision with rdlocks if elision is not available.
4604 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
4605 (sysdep_routines): Add lock elision objects.
4606 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4607 [pthread_mutex_t] (__spins): Rework to add lock elision field.
4608 [pthread_mutex_t] (__elision): Add field.
4609 [__PTHREAD_SPINS]: Adjust to init lock elision field.
4610 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
4611 elision definitions for powerpc.
4612 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
4613 implementation of lock elision for powerpc.
4614 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
4615 implementation of timed lock elision for powerpc.
4616 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
4617 implementation of trylock with lock elision for powerpc.
4618 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
4619 implementaion of unlock for lock elision for powerpc.
4620 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
4621 automatic enable lock elision for mutexes.
4622 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
4623 transaction execution definitions for powerpc.
4624 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
4626 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
4627 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
4628 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
4629 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
4632 2015-01-09 Roland McGrath <roland@hack.frob.com>
4634 * sysdeps/posix/shm-directory.c: Use <> rather than ""
4635 for #include of <shm-directory.h>.
4637 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
4639 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
4640 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
4642 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
4645 * NEWS: Mention bug fix.
4646 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
4647 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
4648 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
4650 2015-01-09 Torvald Riegel <triegel@redhat.com>
4652 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
4654 2015-01-09 Torvald Riegel <triegel@redhat.com>
4656 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
4658 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4660 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
4661 pointer and cast to uintptr_t.
4663 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4665 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
4667 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
4669 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4671 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
4674 2015-01-08 Roland McGrath <roland@hack.frob.com>
4676 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
4677 <nptl/pthreadP.h> instead.
4678 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
4680 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
4682 [__SIGRTMIN] (init): Function removed.
4683 [__SIGRTMIN] (initialized): Variable removed.
4684 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
4685 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
4686 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
4687 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
4688 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
4689 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
4690 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
4691 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
4692 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
4693 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
4694 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
4695 * sysdeps/nptl/allocrtsig.c: New file.
4696 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
4697 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
4698 * sysdeps/generic/testrtsig.h: File removed.
4700 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
4701 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
4703 * nptl/nptl-init.c (pthread_functions): Conditionalize
4704 .ptr__nptl_setxid initialization on [SIGSETXID].
4706 * sysdeps/nptl/sys/procfs.h: New file.
4707 * nptl_db/Makefile (headers): Add it.
4708 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
4710 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
4711 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
4712 * nptl/pthread_attr_setaffinity.c: Include it.
4713 * nptl/pthread_setattr_default_np.c: Likewise.
4714 * nptl/check-cpuset.h: New file.
4716 2015-01-08 Richard Henderson <rth@redhat.com>
4718 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
4719 (CFLAGS-tst-execstack-prog.c): Likewise.
4720 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
4722 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
4723 Sandra Loosemore <sandra@codesourcery.com>
4724 Andrew Jenner <andrew@codesourcery.com>
4725 Joseph Myers <joseph@codesourcery.com>
4726 Nathan Sidwell <nathan@codesourcery.com>
4728 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
4729 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
4730 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
4731 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
4732 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
4733 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
4734 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
4735 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
4736 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
4737 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
4738 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
4739 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
4740 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
4741 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
4742 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
4743 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
4744 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
4746 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4748 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
4749 timespec struct member in syscall macro.
4750 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
4751 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
4752 first timeval struct member in syscall macro.
4753 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
4755 2015-01-07 Joseph Myers <joseph@codesourcery.com>
4758 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
4759 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
4760 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
4761 __feupdateenv and define as weak alias of __feupdateenv. Use
4763 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
4765 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
4766 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
4767 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4768 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
4770 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
4771 __feupdateenv and define as weak alias of __feupdateenv. Use
4773 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
4775 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
4776 __feupdateenv and define as weak alias of __feupdateenv. Use
4778 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
4780 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4781 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
4782 (__feupdateenv): Likewise.
4783 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
4784 __feupdateenv and define as weak alias of __feupdateenv. Use
4786 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4787 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
4789 * sysdeps/tile/math_private.h (__feupdateenv): New inline
4791 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
4793 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
4794 __feupdateenv instead of feupdateenv.
4795 (default_libc_feupdateenv_test): Likewise.
4796 (libc_feresetround_ctx): Likewise.
4798 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4800 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
4803 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
4805 * posix/regcomp.c (parse_bracket_exp): Initialize type to
4806 COLL_SYM in a couple of places to avoid uninitialized variable
4807 wanings on tilegx gcc 4.8.2.
4809 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
4811 * sysdeps/aarch64/strcpy.S: New file.
4812 * sysdeps/aarch64/stpcpy.S: New file.
4815 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
4817 * sysdeps/aarch64/strrchr.S: New file.
4820 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
4823 * stdlib/setenv.c: Fix memory leak when setting large,
4826 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
4829 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
4830 and tabs from buffer before parsing fstab entry.
4831 * misc/tst-mntent.c (main): Add test for mount entry with
4832 trailing spaces and tabs.
4834 2015-01-06 Joseph Myers <joseph@codesourcery.com>
4837 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
4838 * math/fesetround.c (fesetround): Rename to __fesetround and
4839 define as weak alias of __fesetround. Use libm_hidden_weak.
4840 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
4841 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
4842 * sysdeps/arm/fesetround.c (fesetround): Likewise.
4843 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
4844 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
4845 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
4846 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
4847 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
4848 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
4849 __fesetround_inline.
4850 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
4851 __fesetround_inline instead of __fesetround.
4852 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
4853 __fesetround and define as weak alias of __fesetround. Use
4854 libm_hidden_weak. Call __fesetround_inline instead of
4856 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
4857 __fesetround and define as weak alias of __fesetround. Use
4859 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
4861 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
4862 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4863 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
4864 * sysdeps/tile/math_private.h (__fesetround): New inline function.
4865 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
4866 __fesetround and define as weak alias of __fesetround. Use
4868 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
4869 __fesetround instead of fesetround.
4870 (default_libc_feholdexcept_setround): Likewise.
4871 (libc_feholdsetround_ctx): Likewise.
4872 (libc_feholdsetround_noex_ctx): Likewise.
4875 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
4876 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
4877 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
4878 and define as weak alias of __fesetenv. Use libm_hidden_weak.
4879 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4880 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
4881 define as weak alias of __fesetenv. Use libm_hidden_weak.
4882 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4883 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4884 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4885 define as weak alias of __fesetenv. Use libm_hidden_weak.
4886 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4887 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4888 define as weak alias of __fesetenv. Use libm_hidden_weak.
4889 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
4891 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
4892 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
4894 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4895 define as weak alias of __fesetenv. Use libm_hidden_weak.
4896 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4897 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4898 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
4899 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
4900 and define as weak alias of __fesetenv. Use libm_hidden_weak.
4901 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
4902 __fesetenv instead of fesetenv.
4903 (libc_feresetround_noex_ctx): Likewise.
4904 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
4905 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4906 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
4907 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
4908 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
4909 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
4910 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4911 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
4912 (__feupdateenv): Likewise.
4913 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4914 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4915 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4916 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
4918 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
4921 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
4922 addresses have been freed.
4924 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
4926 * resolv/res_init.c (__res_vinit): Improve comments about nserv
4929 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
4931 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
4932 Clean up check_pf allocation pattern. addresses
4934 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4936 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
4937 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
4938 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
4939 * nptl/pthread_exit.c (__pthread_exit): Likewise.
4940 * nptl/pthread_join.c (pthread_join): Likewise.
4941 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
4942 * sysdeps/posix/waitid.c (__waitid): Likewise.
4943 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
4944 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
4945 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
4946 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
4947 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
4949 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
4950 (__libc_pread64): Likewise.
4951 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
4952 (__libc_pwrite): Likewise.
4953 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
4954 (__libc_pwrite64): Likewsie.
4955 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
4956 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
4957 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
4958 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
4959 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
4960 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
4961 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
4964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4965 (__libc_pread64): Likewise.
4966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
4968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4969 (__libc_pwrite64): Likewise.
4970 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
4971 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4972 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
4973 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
4974 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4975 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4976 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
4977 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
4978 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
4979 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
4980 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
4981 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4982 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
4983 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
4984 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4985 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
4988 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4990 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
4991 (CFLAGS-test-double.c): Likewise.
4992 (CFLAGS-test-ldouble.c): Likewise.
4993 (CPPFLAGS-test-ifloat.c): Likewise.
4994 (CPPFLAGS-test-idouble.c): Likewise.
4995 (CPPFLAGS-test-ildoubl.c): Likewise.
4996 (CFLAGS-test-test-fenv.c): Remove variable.
4997 (CFLAGS-test-misc.c): Likewise.
4999 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
5002 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
5003 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
5004 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
5005 CLOCKS_PER_SEC == 1000000.
5006 * time/clocktest.c (main): Replace %ld with %jd and cast to
5009 2015-01-05 Roland McGrath <roland@hack.frob.com>
5011 * sysdeps/generic/unwind-resume.h: New file.
5012 * sysdeps/gnu/unwind-resume.c: Include it.
5013 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
5014 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
5016 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
5017 global rather than static.
5018 (_Unwind_Resume): Update user.
5019 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
5020 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
5021 rather than static. Add __attribute__ ((cold)).
5022 (_Unwind_Resume, __gcc_personality_v0): Update callers.
5023 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
5024 * sysdeps/arm/arm-unwind-resume.S: New file.
5025 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
5026 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
5027 * sysdeps/arm/Makefile [$(subdir) = csu]
5028 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
5029 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5030 Add rt-arm-unwind-resume.
5032 (libpthread-sysdep_routines, libpthread-shared-only-routines):
5033 Add pt-arm-unwind-resume.
5034 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
5035 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
5037 2015-01-05 Joseph Myers <joseph@codesourcery.com>
5040 * include/fenv.h (__feholdexcept): Declare. Use
5042 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
5043 define as weak alias of __feholdexcept. Use libm_hidden_weak.
5044 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5045 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
5046 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
5047 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
5048 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
5049 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5050 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
5051 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
5052 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5053 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
5054 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
5055 (feholdexcept): Likewise.
5056 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5057 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5058 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5059 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5060 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
5061 __feholdexcept instead of feholdexcept.
5062 (default_libc_feholdexcept_setround): Likewise.
5064 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
5066 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
5067 to avoid using stl/str to align destination.
5069 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
5071 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
5073 2015-01-05 Joseph Myers <joseph@codesourcery.com>
5076 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
5077 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
5078 Define as weak alias not strong alias.
5080 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
5082 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
5083 bltzal with addiupc.
5084 (RTLD_START): Ditto.
5086 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
5088 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
5089 for __vdso_* functions in declarations.
5090 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
5092 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
5093 INTERNAL_VSYSCALL): Use struct return types to check for error.
5095 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
5096 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
5097 function with cast from llround().
5098 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
5099 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5102 2015-01-05 Joseph Myers <joseph@codesourcery.com>
5105 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
5106 Define as weak alias not strong alias.
5109 * ctype/ctype-c99.c: New file. isblank implementation moved from
5111 * ctype/ctype-extn.c: ... here.
5112 (__isblank_l): Move to ...
5113 * ctype/ctype-c99_l.c: ... here. New file.
5114 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
5115 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
5117 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5118 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5119 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5120 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5121 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5124 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
5125 (posix_fadvise64): Define as weak alias not strong alias.
5126 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5127 (posix_fallocate64): Likewise.
5128 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
5130 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5131 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5132 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5133 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5134 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5136 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
5139 * NEWS: Mention bug fix.
5140 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
5141 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
5142 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
5143 (HOST_STACK_END_ADDR): Likewise.
5145 2015-01-02 Joseph Myers <joseph@codesourcery.com>
5148 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
5149 * math/fegetround.c (fegetround): Rename to __fegetround and
5150 define as weak alias of __fegetround. Use libm_hidden_weak.
5151 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
5152 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
5153 * sysdeps/arm/fegetround.c (fegetround): Likewise.
5154 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
5155 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
5156 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
5157 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
5158 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
5159 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
5160 Undefine after rather than before function definition; use
5161 parentheses around function name in definition.
5162 (__fegetround): Also undefine macro after function definition.
5163 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
5164 __fegetround and define as weak alias of __fegetround. Use
5165 libm_hidden_weak. Do not undefine as macro.
5166 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
5168 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
5169 __fegetround and define as weak alias of __fegetround. Use
5171 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5172 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
5173 * sysdeps/tile/math_private.h (__fegetround): New inline function.
5174 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
5175 __fegetround and define as weak alias of __fegetround. Use
5177 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
5178 __fegetround instead of fegetround.
5181 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
5182 Condition macro definition on [__USE_MISC].
5185 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
5186 (struct sigaction): Change type of sa_flags field to int.
5189 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
5190 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
5193 * nptl/version.c (banner): Use single year in copyright notice.
5195 * NEWS: Update copyright dates.
5196 * catgets/gencat.c (print_version): Likewise.
5197 * csu/version.c (banner): Likewise.
5198 * debug/catchsegv.sh: Likewise.
5199 * debug/pcprofiledump.c (print_version): Likewise.
5200 * debug/xtrace.sh (do_version): Likewise.
5201 * elf/ldconfig.c (print_version): Likewise.
5202 * elf/ldd.bash.in: Likewise.
5203 * elf/pldd.c (print_version): Likewise.
5204 * elf/sotruss.sh: Likewise.
5205 * elf/sprof.c (print_version): Likewise.
5206 * iconv/iconv_prog.c (print_version): Likewise.
5207 * iconv/iconvconfig.c (print_version): Likewise.
5208 * locale/programs/locale.c (print_version): Likewise.
5209 * locale/programs/localedef.c (print_version): Likewise.
5210 * login/programs/pt_chown.c (print_version): Likewise.
5211 * malloc/memusage.sh (do_version): Likewise.
5212 * malloc/memusagestat.c (print_version): Likewise.
5213 * malloc/mtrace.pl: Likewise.
5214 * manual/libc.texinfo: Likewise.
5215 * nptl/version.c (banner): Likewise.
5216 * nscd/nscd.c (print_version): Likewise.
5217 * nss/getent.c (print_version): Likewise.
5218 * nss/makedb.c (print_version): Likewise.
5219 * posix/getconf.c (main): Likewise.
5220 * scripts/test-installation.pl: Likewise.
5221 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5223 2015-01-02 Will Newton <will.newton@linaro.org>
5225 * sysdeps/arm/armv7/configure: Removed.
5226 * sysdeps/arm/armv7/configure.ac: Likewise.
5228 2015-01-02 Joseph Myers <joseph@codesourcery.com>
5230 * All files with FSF copyright notices: Update copyright dates
5231 using scripts/update-copyrights.
5232 * intl/plural.c: Regenerated.
5233 * locale/programs/charmap-kw.h: Likewise.
5234 * locale/programs/locfile-kw.h: Likewise.
5236 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5238 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
5240 2014-12-31 Joseph Myers <joseph@codesourcery.com>
5243 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
5244 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
5245 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5246 and define as weak alias of __fegetenv. Use libm_hidden_weak.
5247 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5248 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
5249 define as weak alias of __fegetenv. Use libm_hidden_weak.
5250 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
5251 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5252 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5253 define as weak alias of __fegetenv. Use libm_hidden_weak.
5254 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5255 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5256 define as weak alias of __fegetenv. Use libm_hidden_weak.
5257 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
5259 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
5260 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
5262 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5263 define as weak alias of __fegetenv. Use libm_hidden_weak.
5264 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5265 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5266 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
5267 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5268 and define as weak alias of __fegetenv. Use libm_hidden_weak.
5269 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
5270 __fegetenv instead of fegetenv.
5271 (libc_feholdsetround_noex_ctx): Likewise.
5273 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
5275 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
5276 (Elf_MIPS_ABIFlags_v0): New structure.
5277 (EF_MIPS_FP64): Define.
5278 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
5279 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
5280 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
5281 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
5282 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
5283 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
5284 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
5285 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
5286 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
5287 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
5288 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
5289 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
5290 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
5291 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
5292 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
5293 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
5294 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
5295 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
5296 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
5297 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
5298 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
5299 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
5301 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
5303 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
5304 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
5305 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
5306 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
5307 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
5308 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
5309 * sysdeps/mips/tst-abi-interlink.c: Likewise.
5310 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
5311 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
5312 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
5313 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
5314 record the current FP ABI extension.
5315 (mips-mode-switch): Define to show if kernel headers support mode
5317 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5318 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
5319 supported SYSV ABI version to 3.
5320 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
5323 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5324 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5326 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
5328 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
5330 2014-12-31 Joseph Myers <joseph@codesourcery.com>
5332 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
5333 __fegetround and redefine to call __fegetround. Remove condition
5334 on [!__NO_MATH_INLINES].
5335 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
5337 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
5338 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5340 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
5341 instead of <fenv_libc.h>.
5342 (__llrintl): Call fegetround instead of __fegetround.
5343 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
5344 instead of <fenv_libc.h>.
5345 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5346 (__lrintl): Call fegetround instead of __fegetround.
5347 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
5348 instead of <fenv_libc.h>.
5349 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5350 (__rintl): Call fegetround instead of __fegetround.
5352 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5354 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
5357 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
5360 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
5361 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
5362 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
5364 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
5366 * sysdeps/i386/tls-macros.h: Include <features.h>.
5367 (TLS_LE): Use non-PIC version for GCC >= 5.0.
5371 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
5372 define for GCC >= 5.0.
5374 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
5376 * math/test-fenv.c (test_single_exception, set_single_exc,
5377 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
5378 feexcp_mask_test, feenable_test, fe_single_test): Add
5379 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
5380 case where they are not used.
5381 * math/libm-test.inc: Likewise.
5382 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
5383 unused in the absence of FP rounding/exception support.
5384 * stdio-common/tst-printf-round.c: Likewise.
5385 * stdlib/tst-strtod-round.c: Likewise.
5386 * stdlib/tst-strtod-underflow.c: Likewise.
5388 2014-12-30 Joseph Myers <joseph@codesourcery.com>
5391 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
5392 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
5393 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5394 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5396 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
5397 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5398 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
5400 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5401 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5403 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
5405 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
5406 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5407 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5409 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5411 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5412 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
5413 (__feraiseexcept): Likewise.
5414 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5415 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5417 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5418 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5420 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
5421 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
5422 Use libm_hidden_def.
5423 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
5425 (feraiseexcept): Define as weak not strong alias. Use
5427 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
5428 New inline function. Factored out of ...
5429 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
5430 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
5431 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
5433 * math/w_acos.c (__acos): Likewise.
5434 * math/w_asin.c (__asin): Likewise.
5435 * math/w_ilogb.c (__ilogb): Likewise.
5436 * math/w_j0.c (y0): Likewise.
5437 * math/w_j1.c (y1): Likewise.
5438 * math/w_jn.c (yn): Likewise.
5439 * math/w_log.c (__log): Likewise.
5440 * math/w_log10.c (__log10): Likewise.
5441 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
5442 * sysdeps/aarch64/fpu/math_private.h
5443 (libc_feupdateenv_test_aarch64): Likewise.
5444 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5445 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
5446 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
5447 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5448 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5449 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5450 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
5451 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5452 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5453 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5455 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
5458 * io/test-utime.c (main): Replace %ld with %jd and cast to
5460 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
5461 * nptl/tst-mutex5.c: Include <stdint.h>.
5462 (do_test): Replace %ld with %jd and cast to intmax_t.
5463 * posix/tst-regex.c (run_test): Likewise.
5464 (run_test_backwards): Likewise.
5465 * rt/tst-clock.c: Include <stdint.h>.
5466 (clock_test): Replace %ld with %jd and cast to intmax_t.
5467 * rt/tst-cpuclock1.c: Include <stdint.h>.
5468 (do_test): Replace %lu with %ju and cast to uintmax_t.
5469 * rt/tst-cpuclock2.c: Include <stdint.h>.
5470 (do_test): Replace %lu with %ju and cast to uintmax_t.
5471 * rt/tst-mqueue1.c: Include <stdint.h>.
5472 (check_attrs): Replace %ld with %jd and cast to intmax_t.
5473 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
5475 * rt/tst-mqueue4.c (do_test): Likewise.
5476 * rt/tst-timer4.c: Include <stdint.h>.
5477 (check_ts): Replace %ld with %jd and cast to intmax_t.
5478 (do_test): Likewise.
5479 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
5480 and cast to intmax_t.
5481 * sysdeps/pthread/tst-timer.c (main): Likewise.
5482 * time/clocktest.c (main): Likewise.
5483 * time/tst-posixtz.c (do_test): Likewise.
5484 * timezone/tst-timezone.c (main): Likewise.
5486 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
5487 H.J. Lu <hongjiu.lu@intel.com>
5489 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
5490 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
5491 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
5492 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
5493 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
5494 version if bit_Fast_Unaligned_Load is set.
5495 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5496 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5497 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5498 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5499 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5500 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5501 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5502 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
5503 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
5504 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
5506 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
5507 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
5508 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
5509 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
5511 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
5513 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
5514 instead of #if to avoid a Wundef warning.
5515 * stdlib/tst-limits.c (do_test): Likewise.
5517 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
5518 parallel other exception macros.
5519 (fegetenv): Convert from macro to extern inline so that it applies
5520 retroactively to inline functions already seen by the compiler.
5521 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
5523 * posix/Makefile (before-compile): Use $(objpfx) for
5524 posix-conf-vars-def.h.
5526 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5528 * posix/getconf.c (main): Use size_t for type of I.
5529 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
5532 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
5533 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
5534 * posix/posix-envs.def: Likewise.
5535 * sysdeps/posix/sysconf.c: Likewise.
5536 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
5537 (specs): Remove array.
5538 * scripts/gen-posix-conf-vars.awk: Support generation of specs
5541 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
5542 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
5543 (__sysconf): Use CONF_IS_* macros.
5545 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
5546 ($(objpfx)posix-conf-vars-def.h): New target.
5547 * posix/posix-conf-vars.list: New file.
5548 * posix/posix-conf-vars.h: New file.
5549 * posix/confstr.c: Include posix-conf-vars.h.
5550 (confstr): Use CONF_IS_* macros.
5551 * posix/posix-envs.def: Include posix-conf-vars.h. Use
5553 * scripts/gen-posix-conf-vars.awk: New file.
5555 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
5557 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
5558 fegetround): Add no-op macros to avoid linknamespace issues.
5560 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
5561 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
5563 * sysdeps/unix/sysv/linux/tile/sysdep.h
5564 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
5565 assembly-specific section to avoid a redefinition warning.
5567 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
5568 long before casting to pointer to avoid a cast warning.
5570 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
5572 * sysdeps/tile/tilegx/Implies: New file.
5574 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
5576 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
5578 2014-12-23 Florian Weimer <fweimer@redhat.com>
5580 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
5582 2014-12-22 Joseph Myers <joseph@codesourcery.com>
5584 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
5586 * sysdeps/unix/sysv/linux/utimes.c: Do not include
5587 <kernel-features.h>.
5588 (__utimes) [__NR_utimes]: Make code unconditional.
5589 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
5590 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5591 (__ASSUME_UTIMES): Do not undefine.
5592 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5593 (__ASSUME_UTIMES): Likewise.
5594 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5595 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
5596 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
5597 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
5599 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
5601 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
5603 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
5606 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
5607 alias to weak alias for j0l, y0l.
5608 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
5609 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
5612 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
5615 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
5617 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
5618 to zero if not already defined.
5620 2014-12-22 Joseph Myers <joseph@codesourcery.com>
5623 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
5624 (__kernel_standard_f): Remove. Moved to k_standardf.c.
5625 (__kernel_standard_l): Remove. Moved to k_standardl.c with
5626 (char *) casts added.
5627 * sysdeps/ieee754/k_standardf.c: New file.
5628 * sysdeps/ieee754/k_standardl.c: Likewise.
5629 * math/Makefile (libm-support): Remove k_standard.
5630 (libm-calls): Add k_standard.
5632 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5634 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5635 Optimize to avoid an unnecessary FPCR read.
5637 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5639 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
5640 Optimize to reduce FPCR/FPSR accesses.
5642 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5644 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
5645 Call libc_fetestexcept_aarch64.
5647 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5649 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
5650 Call libc_fesetround_aarch64.
5652 2014-12-22 Joseph Myers <joseph@codesourcery.com>
5655 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
5656 (__bind): Do not define as weak alias.
5657 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
5659 (__getsockname): Do not define as weak alias.
5661 2014-12-22 Will Newton <will.newton@linaro.org>
5663 * manual/install.texi: Document that we require bison 2.7
5665 * INSTALL: Regenerate.
5666 * configure.ac: Use AC_CHECK_PROG_VER instead of
5667 AC_PATH_PROG when checking for bison and check for
5668 version 2.7 or above.
5669 * configure: Regenerate.
5671 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
5674 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
5675 * sysdeps/tile/ffsll.c (ffsll): To here.
5677 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
5679 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
5681 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
5683 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
5685 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5686 hidden ___tls_get_addr.
5687 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5688 hidden __tls_get_addr.
5689 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
5690 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
5693 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
5695 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
5698 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
5700 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
5701 from "call _dl_init@PLT".
5702 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
5704 2014-12-21 Anders Kaseorg <andersk@mit.edu>
5706 * manual/search.texi: (Array Sort Function): Clarify stable sorting
5709 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
5711 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
5713 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
5716 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
5719 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
5721 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
5723 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
5724 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
5725 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
5726 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
5727 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
5729 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
5731 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
5732 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
5733 (PTR_SUBU): Use subu for mips32r6/mips64r6.
5734 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
5735 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
5737 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
5739 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
5741 * string/strncat.c (STRNCAT): Simplify implementation.
5743 2014-12-19 David S. Miller <davem@davemloft.net>
5745 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
5746 access the quad as both a long double and as a series of 4 words.
5748 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
5749 link_map->l_info array access.
5751 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
5753 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
5755 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
5756 * math/atest-exp2.c (TIMEOUT): Likewise.
5757 * math/atest-sincos.c (TIMEOUT): Likewise.
5759 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5761 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
5762 -Wno-error with -fno-builtin-lround.
5764 2014-12-19 Torvald Riegel <triegel@redhat.com>
5766 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
5767 Contains futex constants and functions moved over from ...
5768 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
5769 <lowlevellock-futex.h>.
5770 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5771 (lll_timedwait_tid): Add comments and parentheses around macro
5774 2014-12-19 Torvald Riegel <triegel@redhat.com>
5776 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
5777 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
5778 (__lll_private_flag): Remove.
5779 (lll_futex_wait): Likewise.
5780 (lll_futex_timed_wait): Likewise.
5781 (lll_futex_wake): Likewise.
5782 (lll_futex_requeue): Likewise.
5783 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5784 (__lll_timedwait_tid): Spell out argument names.
5785 (lll_timedwait_tid): Add comments and parentheses around macro
5787 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
5788 LLL_SHARED and LLL_PRIVATE usable from assembly code.
5790 2014-12-19 Torvald Riegel <triegel@redhat.com>
5792 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
5793 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5794 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5795 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
5796 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
5797 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
5798 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
5799 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
5800 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
5801 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
5802 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
5803 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
5804 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
5805 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
5806 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
5807 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
5808 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
5809 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
5810 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
5812 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5814 * sysdeps/x86_64/x32/Makefile: New file.
5816 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5818 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
5819 1L with (mp_limb_t) 1.
5821 2014-12-17 Roland McGrath <roland@hack.frob.com>
5823 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
5824 * nptl/libc_pthread_init.c: ... here.
5825 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
5826 * nptl/register-atfork.c: ... here.
5828 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
5829 Use pthread_sigmask rather than INTERNAL_SYSCALL.
5830 Use assert_perror to check its return value.
5831 (__gai_create_helper_thread): Likewise.
5833 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
5835 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
5837 2014-12-17 Joseph Myers <joseph@codesourcery.com>
5840 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
5842 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
5844 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
5846 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
5848 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
5849 (profil_counter): Likewise.
5850 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
5851 (profil_counter): Likewise.
5852 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
5854 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
5856 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
5857 (profil_counter): Likewise.
5858 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
5860 [!__profil_counter] (profil_counter): Define as weak alias of
5862 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
5863 (profil_counter): Rename to __profil_counter.
5864 [!__profil_counter] (profil_counter): Define as weak alias of
5866 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
5867 (profil_counter): Rename to __profil_counter.
5868 [!__profil_counter] (profil_counter): Define as weak alias of
5870 * sysdeps/posix/profil.c: Update comment referring to
5872 (__profil): Use __profil_counter instead of profil_counter.
5873 * sysdeps/posix/sprofil.c (profil_counter): Rename to
5874 __profil_counter. Use __profil_counter_ushort and
5875 __profil_counter_uint in definitions.
5876 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
5877 instead of profil_counter_uint and profil_counter_ushort.
5880 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
5881 define as weak alias of __inet_makeaddr.
5882 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
5883 as weak alias of __inet_addr.
5884 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
5885 as weak alias of __inet_pton. Use libc_hidden_weak.
5886 * include/arpa/inet.h (__inet_pton): Declare. Use
5888 (inet_makeaddr): Don't use libc_hidden_proto.
5889 (__inet_makeaddr): Declare. Use libc_hidden_proto.
5890 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
5891 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
5892 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
5894 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5895 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5897 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
5899 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
5901 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5903 * stdio-common/bug-vfprintf-nargs.c (do_test):
5904 Cast value to intptr_t to avoid format warning
5905 for usage with PRIdPTR printing macro.
5907 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5909 * libio/tst-widetext.c (do_test):
5910 Use format type %td instead of %Zd for ptrdiff_t
5911 in order to avoid format warning.
5913 2014-12-17 Andreas Schwab <schwab@suse.de>
5915 * nscd/mem.c (gc): Add size_t cast to match printf format.
5917 2014-12-16 Roland McGrath <roland@hack.frob.com>
5919 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
5920 (init): Apply PTR_MANGLE to pointers before storing them.
5921 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
5924 2014-12-16 Joseph Myers <joseph@codesourcery.com>
5927 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
5928 define as weak alias of __memrchr.
5929 (__memrchr): Do not define as strong alias of memrchr.
5930 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
5932 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5933 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5934 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5937 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
5938 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
5939 (if_indextoname): Rename to __if_indextoname and define as weak
5940 alias of __if_indextoname. Use libc_hidden_weak.
5941 (if_freenameindex): Rename to __if_freenameindex and define as
5942 weak alias of __if_freenameindex.
5943 (if_nameindex): Rename to __if_nameindex and define as weak alias
5945 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
5946 __if_nametoindex and define as weak alias of __if_nametoindex.
5947 Use libc_hidden_weak.
5948 (if_freenameindex): Rename to __if_freenameindex and define as
5949 weak alias of __if_freenameindex.
5950 (if_nameindex): Rename to __if_nameindex and define as weak alias
5952 (if_indextoname): Rename to __if_indextoname and define as weak
5953 alias of __if_indextoname. Use libc_hidden_weak.
5954 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
5955 __if_nametoindex and define as weak alias of __if_nametoindex.
5956 Use libc_hidden_weak.
5957 (if_freenameindex): Rename to __if_freenameindex and define as
5958 weak alias of __if_freenameindex. Use libc_hidden_weak.
5959 (if_nameindex_netlink): Use __if_freenameindex instead of
5961 (if_nameindex): Rename to __if_nameindex and define as weak alias
5962 of __if_nameindex. Use libc_hidden_weak.
5963 (if_indextoname): Rename to __if_indextoname and define as weak
5964 alias of __if_indextoname. Use libc_hidden_weak.
5965 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
5967 [!_ISOMAC] (__if_freenameindex): Likewise.
5968 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
5970 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
5972 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5973 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5974 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5975 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5976 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5977 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5978 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5980 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
5982 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5983 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5985 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5987 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
5988 subscript above bounds'
5990 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
5993 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
5995 * libio/tst-fopenloc.c: Use test-skeleton.c.
5997 * stdlib/tst-bsearch.c: Use test-skeleton.c.
5998 (entry): Rename to ITEM.
5999 (do_test, comp): Adjust.
6001 * stdio-common/tst-fseek.c: Use test-skeleton.c.
6003 2014-12-16 Torvald Riegel <triegel@redhat.com>
6005 * string/tester.c: Include <libc-internal.h>.
6006 (test_memset): Ignore -Wmemset-transposed-args.
6008 2014-12-16 Torvald Riegel <triegel@redhat.com>
6010 * misc/tst-mntent2.c (do_test): Fix warning.
6012 2014-12-16 Torvald Riegel <triegel@redhat.com>
6014 * elf/tst-unique4lib.cc(a): Mark as used.
6016 2014-12-16 Florian Weimer <fweimer@redhat.com>
6019 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
6022 2014-12-16 Allan McRae <allan@archlinux.org>
6024 * stdio-common/Makefile (tests): Re-add bug26.
6026 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
6029 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
6032 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
6034 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
6035 (__lll_lock_wait): Likewise.
6036 (__lll_timedlock_wait): Likewise.
6037 (__lll_timedwait_tid): Likewise.
6038 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
6039 (__lll_robust_timedlock_wait): Likewise.
6040 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
6041 (lll_cond_trylock): Likewise.
6042 (__lll_lock): Likewise.
6043 (__lll_robust_lock): Likewise.
6044 (__lll_cond_lock): Likewise.
6045 (lll_robust_cond_lock): Likewise.
6046 (__lll_timedlock): Likewise.
6047 (__lll_robust_timedlock): Likewise.
6048 (__lll_unlock): Likewise.
6049 (__lll_robust_unlock): Likewise.
6050 (lll_wait_tid): Likewise.
6051 (lll_timedwait_tid): Likewise.
6053 2014-12-15 Torvald Riegel <triegel@redhat.com>
6055 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
6057 2014-12-15 Torvald Riegel <triegel@redhat.com>
6059 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
6061 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
6063 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
6064 * stdio-common/tst-sprintf.c: Likewise.
6066 2014-12-15 Torvald Riegel <triegel@redhat.com>
6068 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
6070 2014-12-15 Jeff Law <law@redhat.com>
6073 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
6074 on the heap. (CVE-2012-3406)
6075 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
6076 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
6077 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
6079 2014-12-15 Will Newton <will.newton@linaro.org>
6081 * manual/install.texi: Bump required version of texinfo
6083 * INSTALL: Regenerated.
6084 * configure.ac: Check for makeinfo version 4.7 and above.
6085 * configure: Regenerated.
6087 2014-12-12 Roland McGrath <roland@hack.frob.com>
6089 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
6090 PREFIX, string constant to insert between directory and name.
6091 * sysdeps/posix/shm_open.c: Update caller.
6092 * sysdeps/posix/shm_unlink.c: Likewise.
6093 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
6094 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
6095 (SEM_SHM_PREFIX): New macro.
6096 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
6097 [$(have-thread-library) = no].
6098 * nptl/Makefile (libpthread-routines): Add shm-directory.
6099 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
6100 * sysdeps/nptl/shm-directory.h: New file.
6101 * sysdeps/posix/shm-directory.c
6102 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
6103 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
6104 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
6106 (__where_is_shmfs): Function removed.
6107 (mountpoint, defaultmount, defaultdir, __namedsem_once):
6109 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
6111 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
6113 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
6114 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
6115 unconditional for use inside libpthread.
6116 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
6118 2014-12-12 Roland McGrath <roland@hack.frob.com>
6120 * nptl/pthread_getaffinity.c: New file.
6121 * nptl/pthread_setaffinity.c: New file.
6122 * nptl/pthread_getname.c: New file.
6123 * nptl/pthread_setname.c: New file.
6125 * nptl/pthread_create.c (START_THREAD_DEFN)
6126 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
6128 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6129 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6131 * resolv/res_send.c (send_vc): Disable warning resplen may
6132 be used uninitialized.
6134 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6137 (ATTR_NULL): New define checks ATTR against NULL.
6138 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
6139 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
6141 2014-12-11 James Lemke <jwlemke@codesourcery.com>
6145 (mem2mem_check): Revert my previous change.
6146 (malloc_check_get_size): Revert my previous change.
6147 (mem2chunk_check): Revert my previous change.
6149 2014-12-11 Roland McGrath <roland@hack.frob.com>
6151 * sysdeps/posix/shm-directory.c: New file.
6152 * sysdeps/posix/shm-directory.h: New file.
6153 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
6154 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
6155 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
6156 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
6157 Transmute EPERM to EACCES.
6158 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
6160 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
6161 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
6163 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6165 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
6166 pointer and cast to uintptr_t.
6167 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
6168 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
6169 Add cast to avoid warning.
6170 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
6172 2014-12-11 Joseph Myers <joseph@codesourcery.com>
6174 * nptl/semaphore.h: Move to ...
6175 * sysdeps/pthread/semaphore.h: ... here.
6176 * Makefile (installed-headers): Change nptl/semaphore.h to
6177 sysdeps/pthread/semaphore.h.
6179 2014-12-11 Roland McGrath <roland@hack.frob.com>
6181 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
6182 generated error format strings.
6184 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
6185 -Wformat-extra-args warnings for scanf formats.
6186 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
6187 test of zero-length format (duh).
6188 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
6189 corner-case scanf format test.
6190 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
6191 generated fprintf format string.
6192 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
6193 corner-case sprintf format tests.
6194 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
6195 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
6196 -Wformat-extra-args warnings throughout.
6197 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
6198 (CFLAGS-scanf4.c): Likewise.
6199 (CFLAGS-scanf7.c): Likewise.
6200 (CFLAGS-tst-sprintf.c): Likewise.
6201 (CFLAGS-tst-printf.c): Likewise.
6202 (CFLAGS-tst-printfsz.c): Likewise.
6204 2014-12-11 Joseph Myers <joseph@codesourcery.com>
6206 * include/cpio.h: New file.
6207 * include/fmtmsg.h: Likewise.
6209 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
6210 corresponding format argument to size_t.
6211 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
6213 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
6214 corresponding format argument to size_t.
6215 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
6217 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
6218 corresponding format argument to size_t.
6219 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
6220 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
6221 (CFLAGS-tst-mbswcs2.c): Likewise.
6222 (CFLAGS-tst-mbswcs3.c): Likewise.
6223 (CFLAGS-tst-mbswcs4.c): Likewise.
6224 (CFLAGS-tst-mbswcs5.c): Likewise.
6225 (CFLAGS-tst-trans.c): Likewise
6227 2014-12-11 Roland McGrath <roland@hack.frob.com>
6229 * posix/regexbug1.c (main): Use "%s" format with regerror results,
6230 rather than assuming they won't contain any '%'s.
6232 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
6234 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
6235 inhibit_loop_to_libcall to avoid recursive calls.
6236 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
6237 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
6239 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
6241 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
6244 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
6246 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
6247 integer value instead of boolean.
6249 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
6251 * malloc/malloc.c: Fix powerof2 check.
6253 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6255 * locale/programs/locfile.h (maybe_swap_uint32):
6256 Remove inline and add unused attribute.
6258 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6260 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6261 Truncating assembler expression to a .long expression.
6263 2014-12-11 Andreas Schwab <schwab@suse.de>
6265 * elf/rtld.c (struct map_args): Constify str member.
6266 (do_preload): Constify fname argument.
6268 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6270 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
6271 constants definition.
6273 2014-12-11 Andreas Schwab <schwab@suse.de>
6276 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
6277 FORCE_ELISION instead of DO_ELISION.
6278 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
6280 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
6283 * iconvdata/gconv-modules: Remove duplicate entry.
6285 2014-12-11 Will Newton <will.newton@linaro.org>
6287 Merge gettext 0.19.3 into intl/.
6289 This involves a number of cosmetic changes to comments
6290 and ANSI function definitions and prototypes throughout
6291 all the files. The gettext copyright header is used but
6292 with the date ranges taken from the glibc copy.
6294 * NEWS: Add gettext merge to 2.21.
6295 * intl/bindtextdom.c: Switch to gettext copyright.
6296 Use ANSI definitions and prototypes.
6297 Use gl_* locking primitives rather than __libc_* ones.
6298 Use __builtin_expect rather than __glibc_likely/unlikely.
6299 * intl/dcgettext.c: Switch to gettext copyright.
6300 Use ANSI definitions and prototypes.
6301 * intl/dcigettext.c: Switch to gettext copyright.
6302 Use ANSI definitions and prototypes.
6303 (INTDIV0_RAISES_SIGFPE): New define.
6304 Use gl_* locking primitives rather than __libc_* ones.
6305 Include eval-plural.h instead of plural-eval.c.
6306 Use __builtin_expect rather than __glibc_likely/unlikely.
6307 * intl/dcngettext.c: Switch to gettext copyright.
6308 Use ANSI definitions and prototypes.
6309 * intl/dgettext.c: Likewise.
6310 * intl/dngettext.c: Likewise.
6311 * intl/plural-eval.c: Renamed to...
6312 * intl/eval-plural.h: ...this.
6313 * intl/explodename.c: Switch to gettext copyright.
6314 Use ANSI definitions and prototypes.
6315 (_nl_explode_name): Use strchr instead of __rawmemchr.
6316 * intl/finddomain.c: Switch to gettext copyright.
6317 Use ANSI definitions and prototypes.
6318 Use gl_* locking primitives rather than __libc_* ones.
6319 (_nl_find_domain): Use malloc rather than alloca for
6320 allocation of temporary locale name.
6321 * intl/gettext.c: Switch to gettext copyright.
6322 Use ANSI definitions and prototypes.
6323 * intl/gettextP.h: Switch to gettext copyright.
6324 Use ANSI definitions and prototypes.
6325 Use gl_* locking primitives rather than __libc_* ones.
6326 * intl/gmo.h: Switch to gettext copyright.
6327 (struct sysdep_string): Move struct segment_pair outside of
6329 * intl/hash-string.c: Use ANSI definitions and prototypes.
6330 * intl/hash-string.h: Switch to gettext copyright.
6331 Use ANSI definitions and prototypes.
6332 * intl/l10nflist.c: Switch to gettext copyright.
6333 Use ANSI definitions and prototypes.
6334 (_nl_normalize_codeset): Avoid integer overflow.
6335 * intl/loadinfo.h: Switch to gettext copyright.
6336 Use ANSI definitions and prototypes.
6337 (LIBINTL_DLL_EXPORTED): New define.
6338 (PATH_SEPARATOR): New define.
6339 * intl/loadmsgcat.c: Switch to gettext copyright.
6340 * intl/localealias.c: Switch to gettext copyright.
6341 Use ANSI definitions and prototypes.
6342 (_nl_expand_alias): Use PATH_SEPARATOR.
6343 * intl/ngettext.c: Switch to gettext copyright.
6344 Use ANSI definitions and prototypes.
6345 * intl/plural-exp.c: Likewise.
6346 * intl/plural-exp.h: Switch to gettext copyright.
6347 Use ANSI definitions and prototypes.
6348 (struct expression): Move definition of enum operator outside
6349 of struct definition.
6350 * intl/plural.c: Regenerate.
6351 * intl/plural.y: Switch to gettext copyright.
6352 Use ANSI definitions and prototypes.
6354 * intl/textdomain.c: Switch to gettext copyright.
6355 Use ANSI definitions and prototypes.
6356 Use gl_* locking primitives rather than __libc_* ones.
6358 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
6360 * debug/warning-nop.c: Add used atrribute.
6362 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6364 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
6366 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
6367 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
6368 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
6370 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6371 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6374 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
6375 Undefine after defining function. Define as weak alias of
6376 __wcschr. Use libc_hidden_weak.
6377 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
6378 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
6379 (libc_hidden_def): Also define __GI___wcschr alias.
6380 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
6381 __wcschr and define as weak alias of __wcschr.
6382 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
6384 [!WCSCHR] (DEFAULT_WCSCHR): Define.
6385 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
6386 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
6387 libc_hidden_weak. Do not use libc_hidden_def.
6388 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
6389 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
6390 __GI___wcschr alias.
6391 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
6392 [IS_IN (libc)] (wcschr): Define as macro expanding to
6394 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
6395 [IS_IN (libc)] (__wcschr_power6): Likewise.
6396 [IS_IN (libc)] (__wcschr_power7): Likewise.
6397 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
6399 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
6401 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
6402 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
6403 __wcschr and define as weak alias of __wcschr. Use
6404 libc_hidden_builtin_def.
6405 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
6406 as weak alias of __wcschr. Use libc_hidden_weak.
6407 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
6409 * time/era.c (_nl_init_era_entries): Likewise.
6410 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
6412 (test-xfail-XPG3/time.h/linknamespace): Likewise.
6413 (test-xfail-XPG4/time.h/linknamespace): Likewise.
6415 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6417 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
6418 format for long int variable.
6420 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
6423 * manual/search.texi: (Array Sort Function): Remove claim how to make
6426 2014-12-10 Andreas Schwab <schwab@suse.de>
6429 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
6430 user-controlled locks.
6432 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
6434 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
6437 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6439 * configure.ac (--disable-werror): New configure option.
6440 (enable_werror): New AC_SUBST.
6441 * configure: Regenerated.
6442 * config.make.in (enable-werror): New variable.
6443 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
6445 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
6446 * manual/install.texi (Configuring and compiling): Document
6448 * INSTALL: Regenerated.
6449 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
6450 (CFLAGS-tst-chk2.c): Likewise.
6451 (CFLAGS-tst-chk3.c): Likewise.
6452 (CFLAGS-tst-chk4.cc): Likewise.
6453 (CFLAGS-tst-chk5.cc): Likewise.
6454 (CFLAGS-tst-chk6.cc): Likewise.
6455 (CFLAGS-tst-lfschk1.c): Likewise.
6456 (CFLAGS-tst-lfschk2.c): Likewise.
6457 (CFLAGS-tst-lfschk3.c): Likewise.
6458 (CFLAGS-tst-lfschk4.cc): Likewise.
6459 (CFLAGS-tst-lfschk5.cc): Likewise.
6460 (CFLAGS-tst-lfschk6.cc): Likewise.
6462 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
6463 (main): Disable -Wdeprecated-declarations around calls to
6464 register_printf_function.
6466 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
6467 (do_test): Disable -Wdiv-by-zero around some calls to
6468 fwrite_unlocked and fread_unlocked.
6470 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
6471 (DIAG_POP_NEEDS_COMMENT): Likewise.
6472 (_DIAG_STR1): Likewise.
6473 (_DIAG_STR): Likewise.
6474 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
6475 * stdio-common/bug21.c: Include <libc-internal.h>.
6476 (do_test): Disable -Wformat around call to sscanf.
6477 * stdio-common/scanf14.c: Include <libc-internal.h>.
6478 (main): Disable -Wformat around some calls to scanf functions.
6480 2014-12-09 Torvald Riegel <triegel@redhat.com>
6482 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
6484 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6486 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
6487 stack variable alignment.
6489 2014-12-06 Joseph Myers <joseph@codesourcery.com>
6492 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
6493 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
6494 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
6495 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
6496 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
6497 __getrlimit instead of getrlimit.
6498 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
6499 __gettimeofday instead of gettimeofday.
6500 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6502 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
6504 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6505 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
6507 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6508 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6510 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6512 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
6513 for wide-character tests.
6515 2014-12-04 Roland McGrath <roland@hack.frob.com>
6517 * io/openat64.c: #include <libc-internal.h>
6518 (__openat64): Prototypify. Use ignore_value on MODE.
6519 * io/openat.c: Likewise.
6520 * misc/reboot.c: #include <libc-internal.h>
6521 (reboot): Prototypify. Use ignore_value on HOWTO.
6522 * misc/ptrace.c: #include <libc-internal.h>
6523 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
6525 2014-12-04 Joseph Myers <joseph@codesourcery.com>
6527 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
6528 XPG4, UNIX98 and XOPEN2K.
6529 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
6531 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6533 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6535 * libio/fileops.c: Use ISO C style for function definitions.
6536 * libio/iofopen.c: Likewise.
6537 * libio/wfileops.c: Likewise.
6540 * libio/fileops.c (_IO_new_file_underflow): Unset cached
6542 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
6543 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
6544 (fgets_func): Function pointer to fgets and fgetws.
6545 (do_ftell_test): Add test to verify ftell value after read
6547 (do_test): Set fgets_func.
6549 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
6550 O_TRUNC flag for w and w+ modes.
6551 (do_rewind_test): Likewise.
6552 (do_ftell_test): Likewise.
6553 (do_write_test): Likewise.
6556 * libio/fileops.c (do_ftell): Seek only when there are
6558 * libio/wfileops.c (do_ftell_wide): Likewise.
6559 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
6561 (do_one_test): Call it.
6563 2014-12-03 Joseph Myers <joseph@codesourcery.com>
6565 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
6566 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
6567 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
6569 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6570 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6571 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6573 2014-12-02 Joseph Myers <joseph@codesourcery.com>
6575 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
6577 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6580 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
6581 as weak alias of __getifaddrs. Use libc_hidden_weak.
6582 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6583 __freeifaddrs. Use libc_hidden_weak.
6584 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
6585 define as weak alias of __getifaddrs. Use libc_hidden_weak.
6586 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6587 __freeifaddrs. Use libc_hidden_weak.
6588 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
6589 __getifaddrs and define as weak alias of __getifaddrs. Use
6591 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6592 __freeifaddrs. Use libc_hidden_weak.
6593 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
6595 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6596 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6598 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
6601 * sysdeps/mips/start.S (__start): Use indirect jump to call
6604 2014-12-02 Joseph Myers <joseph@codesourcery.com>
6606 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
6608 * nptl/tst-mutex1.c: Include <stdbool.h>.
6609 [!ATTR] (ATTR_NULL): New macro.
6610 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
6611 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
6612 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
6614 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
6618 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
6619 Change conditional to [__USE_MISC].
6622 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
6624 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
6626 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
6628 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
6630 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6631 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6632 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6633 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6634 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6635 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6636 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6637 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6638 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6640 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
6642 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6644 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6645 Remove strpbrk objects.
6646 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6647 (__libc_ifunc_impl_list): Remove strpbrk implementation.
6648 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
6649 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
6650 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
6651 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
6653 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6654 Remove strcspn objects.
6655 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6656 (__libc_ifunc_impl_list): Remove strcspn implementation.
6657 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
6658 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
6659 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
6660 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
6662 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6663 Remove strspn objetcs.
6664 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6665 (__libc_ifunc_impl_list): Remove strspn implementation.
6666 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
6667 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6668 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
6669 * sysdeps/powerpc/powerpc64/strspn.S: New file.
6671 2014-12-01 James Lemke <jwlemke@codesourcery.com>
6675 (mem2mem_check): Add a terminator to the chain of checking blocks.
6676 (malloc_check_get_size): Use it here.
6677 (mem2chunk_check): Ditto.
6679 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6681 * sysdeps/powerpc/powerpc64/strtok.S: New file.
6682 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
6684 2014-11-29 Carlos O'Donell <carlos@redhat.com>
6686 * bits/ioctl-types.h: Indent preprocessor directives correctly.
6688 * nptl/nptl-init.c: Include libc-internal.h.
6689 (__pthread_initialize_minimal_internal): Use ROUND_UP.
6691 * elf/ldconfig.c (search_dir): Expand comment.
6693 2014-11-29 Joseph Myers <joseph@codesourcery.com>
6695 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
6697 (linknamespace-symlist-stdlibs-tests): Likewise.
6698 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
6699 instead of $(objpfx)symlist-stdlibs.
6700 (linknamespace-libs-isoc): New variable.
6701 (linknamespace-libs): Use $(linknamespace-libs-isoc).
6702 (linknamespace-libs-ISO): New variable.
6703 (linknamespace-libs-ISO99): Likewise.
6704 (linknamespace-libs-ISO11): Likewise.
6705 (linknamespace-libs-XPG3): Likewise.
6706 (linknamespace-libs-XPG4): Likewise.
6707 (linknamespace-libs-POSIX): Likewise.
6708 (linknamespace-libs-UNIX98): Likewise.
6709 (linknamespace-libs-XOPEN2K): Likewise.
6710 (linknamespace-libs-POSIX2008): Likewise.
6711 (linknamespace-libs-XOPEN2K8): Likewise.
6712 ($(objpfx)symlist-stdlibs): Replace by
6713 $(linknamespace-symlist-stdlibs-tests). Use
6714 $(linknamespace-libs-$*) as set of libraries.
6715 ($(linknamespace-header-tests)): Update dependencies. Use
6716 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
6717 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
6718 * conform/linknamespace.pl: Remove comment about considering
6719 definitions of symbols from irrelevant libraries.
6721 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
6724 * elf/dl-tls.c: Include <atomic.h>.
6725 (oom): Remove #ifdef SHARED/#endif.
6726 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
6727 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
6728 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
6730 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
6731 * nptl/Makefile (tests): Add tst-stack4.
6732 (modules-names): Add tst-stack4mod.
6733 ($(objpfx)tst-stack4): New.
6734 (tst-stack4mod.sos): Likewise.
6735 ($(objpfx)tst-stack4.out): Likewise.
6736 ($(tst-stack4mod.sos)): Likewise.
6738 * nptl/tst-stack4.c: New file.
6739 * nptl/tst-stack4mod.c: Likewise.
6741 2014-11-27 J. Brown <jb999@gmx.de>
6743 * sysdeps/x86/bits/string.h: Add recent CPUs.
6745 2014-11-27 Joseph Myers <joseph@codesourcery.com>
6747 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
6750 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
6753 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
6756 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
6758 * nscd/connections.c: Include libc-internal.h because of macro
6761 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6763 * string/bits/string3.h (__warn_memset_zero_len): Don't
6764 declare for gcc newer than 5.0.
6765 (memset): Don't test for zero-length __LEN for gcc newer than
6768 2014-11-27 Joseph Myers <joseph@codesourcery.com>
6770 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
6771 size_t for %zu format.
6773 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
6774 difference, not %ju.
6776 2014-11-26 Joseph Myers <joseph@codesourcery.com>
6778 * include/libc-internal.h (ignore_value): New macro.
6779 * nscd/connections.c (restart): Wrap calls to setuid and setgid
6782 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
6785 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
6786 pthread_cleanup_push to void *.
6788 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
6793 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
6794 instead of 1L << 52.
6796 * libio/bug-rewind.c (do_test): Check fwscanf return values.
6797 * libio/bug-rewind2.c (do_test): Likewise.
6799 * debug/test-stpcpy_chk-ifunc.c: Remove file.
6800 * debug/test-strcpy_chk-ifunc.c: Likewise.
6801 * wcsmbs/test-wcschr-ifunc.c: Likewise.
6802 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6803 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6804 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6805 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6806 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6807 * Rules [$(multi-arch) = no] (tests): Do not filter out
6809 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
6810 * debug/Makefile (tests-ifunc): Remove variable.
6811 (tests): Do not add $(tests-ifunc).
6812 * wcsmbs/Makefile (tests-ifunc): Remove variable.
6813 (tests): Do not add $(tests-ifunc).
6814 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
6815 [TEST_IFUNC]: Remove conditionals.
6816 * string/test-string.h (TEST_IFUNC): Remove macro.
6817 [TEST_IFUNC]: Remove conditionals.
6819 * string/test-strchr.c [!WIDE] (L): New macro.
6820 [WIDE] (L): Likewise.
6821 (check1): Use CHAR instead of char. Use L on string and character
6824 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
6826 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
6828 * sysdeps/powerpc/bits/atomic.h
6829 (__arch_atomic_exchange_and_add_32_acq): Add definition.
6830 (__arch_atomic_exchange_and_add_32_rel): Likewise.
6831 (atomic_exchange_and_add_acq): Likewise.
6832 (atomic_exchange_and_add_rel): Likewise.
6833 * sysdeps/powerpc/powerpc32/bits/atomic.h
6834 (__arch_atomic_exchange_and_add_64_acq): Add definition.
6835 (__arch_atomic_exchange_and_add_64_rel): Likewise.
6836 * sysdeps/powerpc/powerpc64/bits/atomic.h
6837 (__arch_atomic_exchange_and_add_64_acq): Add definition.
6838 (__arch_atomic_exchange_and_add_64_rel): Likewise.
6840 2014-11-26 Torvald Riegel <triegel@redhat.com>
6842 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
6843 Change synchronization of __sched_fifo_min_prio and
6844 __sched_fifo_max_prio.
6845 * nptl/pthread_mutexattr_getprioceiling.c
6846 (pthread_mutexattr_getprioceiling): Likewise.
6847 * nptl/pthread_mutexattr_setprioceiling.c
6848 (pthread_mutexattr_setprioceiling): Likewise.
6849 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
6850 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6853 2014-11-26 Joseph Myers <joseph@codesourcery.com>
6855 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
6858 2014-11-25 Joseph Myers <joseph@codesourcery.com>
6860 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
6861 third argument const.
6863 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
6865 fnmatch: work around GCC compiler warning bug with uninit var
6866 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
6867 This works around a bug with x86-64 GCC 4.9.2 and earlier
6868 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
6869 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
6870 used uninitialized in this function [-Wmaybe-uninitialized]".
6872 2014-11-25 Joseph Myers <joseph@codesourcery.com>
6874 * posix/bug-regex31.c (main): Return RES not 0.
6876 2014-11-25 Anton Blanchard <anton@samba.org>
6878 * sysdeps/powerpc/bits/atomic.h
6879 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
6881 2014-11-24 Sterling Augustine <saugustine@google.com>
6883 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
6885 2014-11-24 Ryan Cumming <etaoins@gmail.com>
6888 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
6890 2014-11-24 Joseph Myers <joseph@codesourcery.com>
6893 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
6894 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
6896 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6897 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6899 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
6901 * string/strncpy.c (strncpy): Improve performance by using memset.
6903 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
6905 * string/strcpy.c (strcpy):
6906 Improve performance by using strlen and memcpy.
6908 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
6910 * string/strcoll_l.c (get_next_seq): __always_inline.
6911 * string/strcoll_l.c (do_compare): __always_inline.
6913 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6915 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
6917 * include/mqueue.h: Likewise.
6918 * include/stdlib.h: Likewise.
6920 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
6921 (get_null_defines): Adjust.
6922 * sunrpc/Makefile: Adjust comment.
6923 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
6924 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
6925 (CFLAGS-interp.c): Likewise.
6926 (CFLAGS-ldconfig.c): Likewise.
6927 (CPPFLAGS-.os): Likewise.
6928 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6929 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
6930 * extra-modules.mk (extra-modules.mk): Likewise.
6931 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
6932 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
6933 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
6934 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
6935 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
6936 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
6937 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
6938 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
6939 * iconvdata/Makefile (CPPFLAGS): Likewise.
6940 (cpp-srcs-left): Add libof for all iconvdata routines.
6941 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
6942 * include/assert.h: Likewise.
6943 * include/ctype.h: Likewise.
6944 * include/errno.h: Likewise.
6945 * include/libc-symbols.h: Likewise.
6946 * include/math.h: Likewise.
6947 * include/netdb.h: Likewise.
6948 * include/resolv.h: Likewise.
6949 * include/stdio.h: Likewise.
6950 * include/stdlib.h: Likewise.
6951 * include/string.h: Likewise.
6952 * include/sys/stat.h: Likewise.
6953 * include/wctype.h: Likewise.
6954 * intl/l10nflist.c: Likewise.
6955 * libidn/idn-stub.c: Likewise.
6956 * libio/libioP.h: Likewise.
6957 * nptl/libc_multiple_threads.c: Likewise.
6958 * nptl/pthreadP.h: Likewise.
6959 * posix/regex_internal.h: Likewise.
6960 * resolv/res_hconf.c: Likewise.
6961 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
6962 * sysdeps/arm/memmove.S: Likewise.
6963 * sysdeps/arm/sysdep.h: Likewise.
6964 * sysdeps/generic/_itoa.h: Likewise.
6965 * sysdeps/generic/symbol-hacks.h: Likewise.
6966 * sysdeps/gnu/errlist.awk: Likewise.
6967 * sysdeps/gnu/errlist.c: Likewise.
6968 * sysdeps/i386/i586/memcpy.S: Likewise.
6969 * sysdeps/i386/i586/memset.S: Likewise.
6970 * sysdeps/i386/i686/memcpy.S: Likewise.
6971 * sysdeps/i386/i686/memmove.S: Likewise.
6972 * sysdeps/i386/i686/mempcpy.S: Likewise.
6973 * sysdeps/i386/i686/memset.S: Likewise.
6974 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6975 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6976 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
6977 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
6978 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6979 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6980 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
6981 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6982 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6983 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6984 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6985 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6986 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6987 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6988 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6989 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6990 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
6991 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
6992 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
6993 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6994 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6995 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6996 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6997 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6998 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6999 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7000 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
7001 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7002 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
7003 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7004 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7005 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7006 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7007 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7008 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7009 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7010 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7011 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7012 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7013 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7014 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7015 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7016 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7017 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7018 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7019 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7020 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
7021 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
7022 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7023 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7024 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7025 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
7026 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
7027 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7028 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7029 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
7030 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7031 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
7032 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
7033 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7034 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7035 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7036 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
7037 * sysdeps/nptl/bits/libc-lock.h: Likewise.
7038 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7039 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
7040 * sysdeps/posix/closedir.c: Likewise.
7041 * sysdeps/posix/opendir.c: Likewise.
7042 * sysdeps/posix/readdir.c: Likewise.
7043 * sysdeps/posix/rewinddir.c: Likewise.
7044 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
7045 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
7046 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
7047 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7048 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7049 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
7050 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
7051 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
7052 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
7053 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
7054 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
7055 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
7056 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
7057 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
7058 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
7059 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
7060 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
7061 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
7062 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
7063 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
7064 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
7065 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
7066 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
7067 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
7068 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
7069 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
7070 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
7071 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
7072 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
7073 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
7074 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
7075 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
7076 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
7077 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
7078 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
7079 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
7080 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7081 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7082 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
7083 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
7084 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
7085 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
7086 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
7087 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
7088 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
7089 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
7090 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
7091 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
7092 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
7093 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
7094 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
7095 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
7096 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
7097 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
7098 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
7099 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
7100 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
7101 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
7102 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
7103 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
7104 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
7105 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
7106 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
7107 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
7108 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
7109 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
7110 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
7111 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
7112 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
7113 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
7114 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
7115 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
7116 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
7117 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
7118 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
7119 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
7120 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
7121 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
7122 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7123 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
7124 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
7125 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7126 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
7127 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
7128 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
7129 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
7130 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
7131 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7132 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7133 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7134 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
7135 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
7136 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
7137 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7138 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7139 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
7140 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7141 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7142 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
7143 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
7144 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7145 * sysdeps/unix/alpha/sysdep.S: Likewise.
7146 * sysdeps/unix/alpha/sysdep.h: Likewise.
7147 * sysdeps/unix/make-syscalls.sh: Likewise.
7148 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7149 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7150 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7151 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
7152 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7153 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
7154 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
7155 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7156 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7157 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
7158 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7159 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7160 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7161 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7162 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7163 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7164 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7165 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7166 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7167 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7168 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
7169 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7170 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7171 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7172 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7173 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7174 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7177 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
7178 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7179 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7180 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7181 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7182 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7183 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7184 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7185 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7186 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7187 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7188 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7189 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7190 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7191 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7192 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7193 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7194 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7195 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7196 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7197 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7198 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7199 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7200 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7201 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7202 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
7203 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7204 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7205 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7206 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
7207 * sysdeps/x86_64/memcpy.S: Likewise.
7208 * sysdeps/x86_64/memmove.c: Likewise.
7209 * sysdeps/x86_64/memset.S: Likewise.
7210 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
7211 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7212 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7213 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
7214 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7215 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7216 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7217 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7218 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7219 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7220 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7221 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7222 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
7223 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7224 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7225 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
7226 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7227 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7228 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7229 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7230 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
7231 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7232 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7233 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7234 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7235 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7236 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7237 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
7238 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7239 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7240 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
7241 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7242 * sysdeps/x86_64/strcmp.S: Likewise.
7244 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
7246 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
7247 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
7248 * elf/rtld-Rules: Likewise.
7249 * elf/setup-vdso.h: Likewise.
7250 * include/assert.h: Likewise.
7251 * include/bits/stdlib-float.h: Likewise.
7252 * include/errno.h: Likewise.
7253 * include/sys/stat.h: Likewise.
7254 * include/unistd.h: Likewise.
7255 * sysdeps/aarch64/setjmp.S: Likewise.
7256 * sysdeps/alpha/setjmp.S: Likewise.
7257 * sysdeps/arm/__longjmp.S: Likewise.
7258 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
7259 * sysdeps/arm/setjmp.S: Likewise.
7260 * sysdeps/arm/sysdep.h: Likewise.
7261 * sysdeps/generic/_itoa.h: Likewise.
7262 * sysdeps/generic/dl-sysdep.h: Likewise.
7263 * sysdeps/generic/ldsodefs.h: Likewise.
7264 * sysdeps/i386/dl-tls.h: Likewise.
7265 * sysdeps/i386/setjmp.S: Likewise.
7266 * sysdeps/m68k/setjmp.c: Likewise.
7267 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
7268 * sysdeps/mach/hurd/opendir.c: Likewise.
7269 * sysdeps/posix/getcwd.c: Likewise.
7270 * sysdeps/posix/opendir.c: Likewise.
7271 * sysdeps/posix/profil.c: Likewise.
7272 * sysdeps/powerpc/dl-procinfo.h: Likewise.
7273 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7274 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7275 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7276 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7277 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
7278 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7279 * sysdeps/s390/dl-tls.h: Likewise.
7280 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7281 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7282 * sysdeps/sh/sh3/setjmp.S: Likewise.
7283 * sysdeps/sh/sh4/setjmp.S: Likewise.
7284 * sysdeps/unix/alpha/sysdep.h: Likewise.
7285 * sysdeps/unix/arm/sysdep.S: Likewise.
7286 * sysdeps/unix/i386/sysdep.S: Likewise.
7287 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7288 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7289 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7290 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7291 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7292 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7293 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7294 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7295 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7296 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7297 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
7298 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7299 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7302 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7303 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7304 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7305 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7306 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7307 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7308 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7309 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7310 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7311 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7312 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7313 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7314 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7315 * sysdeps/x86_64/setjmp.S: Likewise.
7317 * include/math.h: Use IS_IN instead of IS_IN_libm.
7318 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
7319 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7320 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7321 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7322 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7323 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7324 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7325 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7326 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7327 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7328 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
7329 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7330 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
7331 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7332 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7333 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
7334 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
7335 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7336 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
7337 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
7338 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
7339 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
7340 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
7341 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
7342 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
7343 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
7344 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
7345 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
7346 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
7347 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7348 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
7349 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
7350 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
7355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
7357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
7359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
7361 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
7362 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
7363 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
7364 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7365 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7366 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
7369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
7370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
7371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
7372 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
7373 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
7374 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7375 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7376 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7377 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7378 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7379 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7380 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
7381 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
7382 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
7383 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
7384 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
7385 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
7386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7387 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
7389 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
7390 * nptl/pthreadP.h: Likewise.
7391 * nptl_db/structs.def: Likewise.
7392 * sysdeps/arm/sysdep.h: Likewise.
7393 * sysdeps/nptl/bits/libc-lock.h: Likewise.
7394 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7395 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
7396 * sysdeps/unix/alpha/sysdep.h: Likewise.
7397 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7398 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7399 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7400 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7401 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7402 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7403 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7404 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7405 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7406 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7407 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7408 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7409 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7410 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7413 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7414 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7415 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7416 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7417 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7418 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7419 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7420 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7421 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
7422 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7424 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
7425 * nptl/pthreadP.h: Likewise.
7426 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7427 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7428 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7429 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7430 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7431 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7432 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7433 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7434 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7435 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7436 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7437 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7442 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7443 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7444 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7445 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7446 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7447 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7448 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7449 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7451 * dlfcn/dladdr.c: Use IS_IN.
7452 * dlfcn/dladdr1.c: Likewise.
7453 * dlfcn/dlclose.c: Likewise.
7454 * dlfcn/dlerror.c: Likewise.
7455 * dlfcn/dlinfo.c: Likewise.
7456 * dlfcn/dlmopen.c: Likewise.
7457 * dlfcn/dlopen.c: Likewise.
7458 * dlfcn/dlsym.c: Likewise.
7459 * dlfcn/dlvsym.c: Likewise.
7461 * include/ifaddrs.h: Use IS_IN.
7462 * inet/check_pf.c: Likewise.
7463 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7464 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
7466 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
7468 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
7469 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
7471 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
7472 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
7475 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
7477 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
7478 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7479 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7480 * include/libc-symbols.h (IS_IN_LIB): New macro.
7481 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
7482 * include/netdb.h: Likewise.
7483 * include/stap-probe.h: Remove all uses of IN_LIB.
7485 * Makeconfig (module-cppflags-real): Define MODULE_NAME
7486 instead of IN_MODULE.
7487 * include/libc-symbols.h (IN_MODULE): Define using
7489 (PASTE_NAME, PASTE_NAME1): New macros.
7490 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
7492 (STAP_PROBE_ASM): Likewise.
7494 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
7496 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
7497 __mach_init in dlopened libc.
7499 2014-11-22 Mike Frysinger <vapier@gentoo.org>
7501 * sysdeps/arm/preconfigure.ac: Delete EABI check.
7502 * sysdeps/arm/preconfigure: Regenerate.
7504 2014-11-21 Roland McGrath <roland@hack.frob.com>
7506 * nptl/pthread_create.c (__pthread_create_2_1): Set
7507 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
7508 when copying values from IATTR into PD.
7510 2014-11-21 Will Newton <will.newton@linaro.org>
7511 Andrew Pinski <andrew.pinski@caviumnetworks.com>
7513 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
7514 Refactor inline-asm. Also add comment.
7516 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
7517 ElfW macro instead of hardcoded Elf64 types.
7518 (la_aarch64_gnu_pltenter): Likewise.
7519 * sysdeps/aarch64/dl-machine.h
7520 (elf_machine_runtime_setup): Use ElfW(Addr).
7522 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
7523 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
7524 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
7525 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
7526 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
7527 (R_AARCH64_TLS_DTPMOD64): Rename to ..
7528 (R_AARCH64_TLS_DTPMOD): This.
7529 (R_AARCH64_TLS_DTPREL64): Rename to ...
7530 (R_AARCH64_TLS_DTPREL): This.
7531 (R_AARCH64_TLS_TPREL64): Rename to ...
7532 (R_AARCH64_TLS_TPREL): This.
7533 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
7534 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
7535 R_AARCH64_TLS_TPREL64.
7536 (elf_machine_rela): Likewise.
7538 2014-11-21 Torvald Riegel <triegel@redhat.com>
7540 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
7541 by setting it to 0. 64b atomics are not supported currently.
7543 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7546 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
7547 search domain names.
7549 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7553 * resolv/res_query.c (__libc_res_nquerydomain): Retain
7555 * posix/tst-getaddrinfo5.c: New.
7556 * posix/Makefile (tests): Add it.
7558 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7562 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
7563 after parsing line but before break_if_match.
7564 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
7565 if there is a protocol mismatch.
7567 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
7569 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
7570 because the potential race is on the user-supplied stream.
7572 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7574 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
7575 string literal if not passed a buffer.
7576 * manual/job.texi (ctermid): Update reasoning, note deviation
7577 from posix, suggest mtasurace when not passed a buffer, for
7578 future non-preliminary safety notes.
7580 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7582 * manual/users.texi (cuserid): Fix MT-Safety note for the case
7583 of not passing it a buffer.
7584 Reported by Peng Haitao.
7586 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7588 * manual/Makefile ($(objpfx)stamp-summary): Require
7589 check-safety.sh to pass.
7590 * manual/check-safety.sh: Wish for verification that every
7591 @deftypefn and @deftypefun is followed by a @safety remark.
7593 2014-11-20 Roland McGrath <roland@hack.frob.com>
7595 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
7597 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
7598 PTHREAD_CANCEL_ASYNCHRONOUS.
7599 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
7602 * nptl/default-sched.h: New file.
7603 * sysdeps/unix/sysv/linux/default-sched.h: New file.
7604 * nptl/pthread_create.c: Include it.
7605 (__pthread_create_2_1): Use collect_default_sched instead of making
7606 Linux syscalls here directly.
7608 2014-11-20 Torvald Riegel <triegel@redhat.com>
7610 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
7611 __pthread_once): Use C11 atomics.
7613 2014-11-20 Torvald Riegel <triegel@redhat.com>
7615 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
7617 2014-11-20 Torvald Riegel <triegel@redhat.com>
7619 * include/atomic.h (__atomic_link_error, __atomic_check_size,
7620 atomic_thread_fence_acquire, atomic_thread_fence_release,
7621 atomic_thread_fence_seq_cst, atomic_load_relaxed,
7622 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
7623 atomic_compare_exchange_weak_relaxed,
7624 atomic_compare_exchange_weak_acquire,
7625 atomic_compare_exchange_weak_release,
7626 atomic_exchange_acquire, atomic_exchange_release,
7627 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
7628 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
7629 atomic_fetch_and_acquire,
7630 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
7632 2014-11-20 Torvald Riegel <triegel@redhat.com>
7634 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
7635 USE_ATOMIC_COMPILER_BUILTINS): Define.
7636 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
7637 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7638 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
7639 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7640 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
7641 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7642 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
7643 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7644 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
7645 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7646 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
7647 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7648 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
7649 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7650 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
7651 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7652 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7653 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7654 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7655 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7656 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
7657 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7658 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7659 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7660 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
7661 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7662 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7663 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7664 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
7665 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7666 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
7667 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7668 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
7669 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7670 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7671 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7672 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
7673 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7674 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
7675 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7677 2014-11-19 Roland McGrath <roland@hack.frob.com>
7679 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
7680 the sched_priority value here. It was already checked when the user
7681 called pthread_attr_setschedparam.
7683 * nptl/tst-bad-schedattr.c: New file.
7684 * nptl/Makefile (tests): Add it.
7686 2014-11-19 Carlos O'Donell <carlos@redhat.com>
7687 Florian Weimer <fweimer@redhat.com>
7688 Joseph Myers <joseph@codesourcery.com>
7689 Adam Conrad <adconrad@0c3.net>
7690 Andreas Schwab <schwab@suse.de>
7691 Brooks <bmoses@google.com>
7694 * wordexp-test.c (__dso_handle): Add prototype.
7695 (__register_atfork): Likewise.
7696 (__app_register_atfork): New function.
7697 (registered_forks): New global.
7698 (register_fork): New function.
7699 (test_case): Add 3 new tests for WRDE_CMDSUB.
7700 (main): Call __app_register_atfork.
7701 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
7702 fork count is non-zero fail the test.
7703 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
7705 (parse_dollars): Remove check for WRDE_NOCMD.
7706 (parse_dquote): Likewise.
7708 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7710 * Makeconfig (built-modules): List non-library modules to be
7712 (module-cppflags): Include libc-modules.h for
7713 everything except shlib-versions.v.i.
7715 (before-compile): Add libc-modules.h.
7716 ($(common-objpfx)libc-modules.h,
7717 $(common-objpfx)libc-modules.stmp): New targets.
7718 (common-generated): Add libc-modules.h and libc-modules.stmp.
7719 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
7720 * include/libc-symbols.h: Don't include libc-modules.h.
7721 * include/libc-modules.h: Remove file.
7722 * scripts/gen-libc-modules.awk: New script to generate
7724 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
7725 Depend on libc-modules.stmp.
7727 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
7729 * Makeconfig (in-module): Get value of libof set for the
7731 (CPPFLAGS): Use $(in-module).
7732 * Makerules: Don't suffix routine names for nonlib.
7733 * include/libc-modules.h: New file.
7734 * include/libc-symbols.h: Include libc-modules.h
7735 (IS_IN): New macro to replace IS_IN_* macros.
7736 * elf/Makefile: Set libof-* for each routine.
7737 * elf/rtld-Rules: Likewise.
7738 * extra-modules.mk: Likewise.
7739 * iconv/Makefile: Likewise.
7740 * iconvdata/Makefile: Likewise.
7741 * locale/Makefile: Likewise.
7742 * malloc/Makefile: Likewise.
7743 * nss/Makefile: Likewise.
7744 * sysdeps/gnu/Makefile: Likewise.
7745 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
7746 * sysdeps/unix/sysv/linux/Makefile: Likewise.
7747 * sysdeps/s390/s390-64/Makefile: Likewise.
7748 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
7749 CPPFLAGS for nscd instead of nonlib.
7751 2014-11-18 Roland McGrath <roland@hack.frob.com>
7753 * nptl/createthread.c: New file.
7755 * nptl/createthread.c: Moved ...
7756 * sysdeps/unix/sysv/linux/createthread.c: ... here.
7758 * nptl/createthread.c: Add proper top-line comment.
7759 (do_clone): Folded into ...
7760 (create_thread): ... here. Take new arguments STOPPED_START and
7761 THREAD_RAN. Always set PD->stopped_start to something here. Don't
7762 increment __nptl_threads, do event-reporting logic, do
7763 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
7764 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
7765 resource cleanup if sched_setaffinity or sched_setscheduler fails,
7766 just send SIGCANCEL.
7767 * nptl/pthread_create.c: Forward-declare create_thread before
7768 including createthread.c.
7769 (start_thread): Use new macro START_THREAD_DEFN to replace defining
7770 declaration, and new macro START_THREAD_SELF to replace argument.
7771 Remove return statement.
7772 (report_thread_creation): New function.
7773 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
7774 synchronization logic, and __nptl_nthreads increment here, around
7775 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
7776 PD->parent_cancelhandling here, before create_thread. When
7777 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
7778 __deallocate_stack, and ENOMEM translation here.
7780 2014-11-18 Joseph Myers <joseph@codesourcery.com>
7783 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
7784 (mptwo): Rename to __mptwo.
7785 (__inv): Use __mptwo instead of mptwo.
7786 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
7787 (mptwo): Rename to __mptwo.
7788 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
7789 of mpone and __mptwo instead of mptwo.
7790 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
7792 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7793 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
7794 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
7795 of mpone and __mptwo instead of mptwo.
7796 (__mpranred): Use __mpone instead of mpone.
7797 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
7799 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
7800 (test-xfail-ISO99/math.h/linknamespace): Likewise.
7801 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
7802 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
7803 (test-xfail-ISO11/math.h/linknamespace): Likewise.
7804 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
7805 (test-xfail-XPG3/math.h/linknamespace): Likewise.
7806 (test-xfail-XPG4/math.h/linknamespace): Likewise.
7807 (test-xfail-POSIX/math.h/linknamespace): Likewise.
7808 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
7809 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
7810 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
7811 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
7812 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
7813 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
7814 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
7815 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
7816 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
7817 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
7819 2014-11-18 Tom de Vries <tom@codesoucery.com>
7821 * manual/signal.texi (Primitives Interrupted by Signals): In section,
7822 replace BSD Handler xref with BSD Signal Handling.
7824 2014-11-17 Richard Henderson <rth@redhat.com>
7826 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
7827 (_FP_PACK_RAW_2): Remove.
7828 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
7829 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
7830 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
7831 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
7832 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
7833 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
7834 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
7835 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
7836 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
7837 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
7838 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
7839 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
7840 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
7841 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
7842 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
7843 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
7845 2014-11-14 Roland McGrath <roland@hack.frob.com>
7847 * signal/signal.h [__USE_MISC]
7848 (struct sigvec): Remove type.
7849 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
7850 (sigvec): Remove declaration.
7851 * sysdeps/posix/sigvec.c: Moved ...
7852 * signal/sigvec.c: ... here, replacing old file.
7853 (struct sigvec): New type, copied from old signal.h definition.
7854 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
7855 (__sigvec): Convert definition to prototype.
7856 (sigvec): Replace weak_alias with compat_symbol.
7857 * signal/Versions (libc: GLIBC_2.21): New version set.
7858 * include/signal.h: Remove __sigvec declaration.
7859 * sysdeps/unix/bsd/sigvec.c: Remove file.
7860 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
7861 * manual/signal.texi (BSD Handler): Remove subsection.
7862 Move siginterrupt up to ...
7863 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
7864 (Blocking in BSD): Fold subsection into its parent.
7865 * NEWS: Mention sigvec removal.
7867 2014-11-14 Joseph Myers <joseph@codesourcery.com>
7869 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
7870 (DLA_FMS): Make definition conditional only on [__FMA4__].
7871 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
7874 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
7875 Make definition conditional only on [PROF].
7876 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
7878 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
7879 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
7881 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
7883 * include/signal.h (__sigpause): Move declaration above call to
7885 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
7887 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
7888 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
7890 2014-11-14 David S. Miller <davem@davemloft.net>
7892 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
7893 Define before including <string/memcpy.c> and <string/mempcpy.c>.
7895 2014-11-14 Joseph Myers <joseph@codesourcery.com>
7897 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
7898 * configure: Regenerated.
7899 * manual/install.texi (Tools for Compilation): Document a
7900 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
7901 compiler verified to work.
7902 * INSTALL: Regenerated.
7904 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
7905 redeclare with asm name.
7906 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
7907 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
7908 including <string.h>.
7909 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7910 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
7911 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7912 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
7913 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7914 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7915 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7917 2014-11-13 Joseph Myers <joseph@codesourcery.com>
7919 * stdlib/strtol.c (__strtol): Use prototype definition.
7922 * stdlib/strtol.c (SYM__): New macro.
7924 (__strtol): Likewise.
7925 (strtol): Rename to __strtol and define as weak alias of
7926 __strtol. Use libc_hidden_weak.
7928 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7930 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
7931 Use numbered labels in inline assembly.
7933 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7935 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
7936 Add setjmp LIBC_PROBE.
7937 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
7939 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
7940 Add longjmp, longjmp_target LIBC_PROBE.
7941 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
7944 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7946 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7947 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
7948 to get rid of unused variable warning.
7950 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7952 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
7953 Check for unwind_backtrace == NULL only in SHARED case.
7954 (__backchain_backtrace): Compile only in SHARED case.
7955 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
7957 (__backchain_backtrace): Declare as static.
7959 2014-11-12 Roland McGrath <roland@hack.frob.com>
7961 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
7962 (__libc_multiple_threads_ptr): Variable moved ...
7963 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
7965 2014-11-12 Joseph Myers <joseph@codesourcery.com>
7967 * conform/GlibcConform.pm: New file.
7968 * conform/conformtest.pl: Use GlibcConform module.
7969 * conform/linknamespace.pl: New file.
7970 * conform/list-header-symbols.pl: Likewise.
7971 * conform/Makefile (linknamespace-symlists-base): New variable.
7972 (linknamespace-symlists-tests): Likewise.
7973 (linknamespace-header-base): Likewise.
7974 (linknamespace-header-tests): Likewise.
7975 (tests-special): Add new tests.
7976 ($(linknamespace-symlists-tests)): New rule.
7977 (linknamespace-libs): New variable.
7978 ($(objpfx)symlist-stdlibs): New rule.
7979 ($(linknamespace-header-tests)): Likewise.
7980 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
7981 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
7982 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
7983 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
7984 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
7985 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
7986 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
7987 (test-xfail-ISO/math.h/linknamespace): Likewise.
7988 (test-xfail-ISO/signal.h/linknamespace): Likewise.
7989 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
7990 (test-xfail-ISO/time.h/linknamespace): Likewise.
7991 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
7992 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
7993 (test-xfail-ISO99/math.h/linknamespace): Likewise.
7994 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
7995 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
7996 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
7997 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
7998 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7999 (test-xfail-ISO11/math.h/linknamespace): Likewise.
8000 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8001 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8002 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8003 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8004 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
8005 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
8006 (test-xfail-XPG3/math.h/linknamespace): Likewise.
8007 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
8008 (test-xfail-XPG3/search.h/linknamespace): Likewise.
8009 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
8010 (test-xfail-XPG3/time.h/linknamespace): Likewise.
8011 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
8012 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
8013 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8014 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
8015 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
8016 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
8017 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
8018 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
8019 (test-xfail-XPG4/math.h/linknamespace): Likewise.
8020 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
8021 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8022 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
8023 (test-xfail-XPG4/search.h/linknamespace): Likewise.
8024 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
8025 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
8026 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
8027 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
8028 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
8029 (test-xfail-XPG4/time.h/linknamespace): Likewise.
8030 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
8031 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
8032 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
8033 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
8034 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
8035 (test-xfail-POSIX/math.h/linknamespace): Likewise.
8036 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
8037 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
8038 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
8039 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8040 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
8041 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8042 (test-xfail-POSIX/time.h/linknamespace): Likewise.
8043 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
8044 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
8045 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8046 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8047 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
8048 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
8049 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
8050 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8051 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8052 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8053 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
8054 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
8055 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8056 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8057 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
8058 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8059 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8060 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
8061 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
8062 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
8063 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8064 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8065 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
8066 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8067 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
8068 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
8069 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
8070 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
8071 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8072 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
8073 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
8074 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
8075 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
8076 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
8077 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8078 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8079 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8080 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
8081 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
8082 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
8083 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8084 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
8085 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8086 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8087 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
8088 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
8089 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
8090 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8091 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8092 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
8093 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
8094 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8095 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8096 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
8097 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
8098 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
8099 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
8100 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8101 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8102 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
8103 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8104 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
8105 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8106 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8107 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8108 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
8109 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8110 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
8111 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
8112 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8113 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8114 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8115 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8116 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8117 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
8118 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8119 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8120 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8121 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8122 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
8123 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
8124 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8125 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8126 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8127 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8128 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
8129 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8130 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
8131 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
8132 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8133 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8134 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8135 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8136 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8137 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
8138 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8139 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8140 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
8143 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
8147 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
8148 (memmem): Rename to __memmem and define as weak alias of
8149 __memmem. Use libc_hidden_weak.
8150 (__memmem): Use libc_hidden_def.
8151 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
8152 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
8156 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
8157 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
8158 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
8159 and define as weak alias of __fgets_unlocked. Use
8161 (__fgets_unlocked): Use libc_hidden_def.
8162 * include/stdio.h (__fgets_unlocked): Declare. Use
8164 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
8165 __fgets_unlocked instead of fgets_unlocked.
8166 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
8167 (GET_NPROCS_CONF_PARSER): Likewise.
8168 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
8169 (GET_NPROCS_CONF_PARSER): Likewise.
8172 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
8173 weak alias of __wmemset. Use libc_hidden_weak.
8174 (__wmemset): Use libc_hidden_def.
8175 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
8176 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
8180 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
8181 with asm name __mempcpy.
8182 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
8185 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
8186 and define as weak alias of __rawmemchr.
8187 (__rawmemchr): Do not define as strong alias of rawmemchr.
8190 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
8192 (qsort): Call __qsort_r instead of qsort_r.
8193 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
8194 (__qsort_r): Declare. Call libc_hidden_proto.
8195 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
8197 * nscd/gai.c (__qsort_r): Define to qsort_r.
8198 * posix/tst-rfc3484.c (__qsort_r): Likewise.
8199 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
8200 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
8203 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
8204 define as weak alias of __malloc_info.
8207 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
8208 as weak alias of __rewinddir. Don't use libc_hidden_def.
8209 (__rewinddir): Use libc_hidden_def.
8210 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
8211 as weak alias of __rewinddir. Don't use libc_hidden_def.
8212 (__rewinddir): Use libc_hidden_def.
8213 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
8214 weak alias of __rewinddir. Don't use libc_hidden_def.
8215 (__rewinddir): Use libc_hidden_def.
8216 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
8217 (__rewinddir): Use libc_hidden_proto.
8218 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
8220 (__getcwd): Use __rewinddir instead of rewinddir.
8223 * libio/fileno.c (fileno): Rename to __fileno and define as weak
8224 alias of __fileno. Use libc_hidden_weak.
8225 (__fileno): Use libc_hidden_def.
8226 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
8227 * libio/ftello.c (ftello): Rename to __ftello and define as weak
8229 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
8231 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
8232 (__fread_unlocked): Define as strong alias of _IO_fread. Use
8234 (fread_unlocked): Don't use libc_hidden_ver.
8235 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
8236 and define as weak alias of __fread_unlocked. Don't use
8238 (__fread_unlocked): Use libc_hidden_def.
8239 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
8240 (ftello): Don't use libc_hidden_proto.
8241 (__ftello): Declare. Use libc_hidden_proto.
8242 (fread_unlocked): Don't use libc_hidden_proto.
8243 (__fread_unlocked): Declare. Use libc_hidden_proto.
8244 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
8245 and __ftello instead of fileno, fread_unlocked and ftello.
8247 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8249 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
8251 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8253 (_dl_start_user): Likewise.
8254 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
8256 2014-11-12 Carlos O'Donell <carlos@redhat.com>
8257 Siddhesh Poyarekar <siddhesh@redhat.com>
8259 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
8260 Move argv and envp down instead of moving argc up.
8261 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
8263 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
8266 * test-skeleton.c (main): Return successful if one of
8267 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
8268 * string/tst-strcoll-overflow.c: Define expected status.
8270 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
8273 * locale/iso-639.def: Define Bhili and Tulu language codes.
8275 2014-11-11 Alan Hayward <alan.hayward@arm.com>
8277 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
8279 2014-11-10 Renlin Li <Renlin.Li@arm.com>
8282 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
8284 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
8286 * configure.ac: Updated check of minimal required version to
8288 * manual/install.texi (Tools for Compilation): Updated version
8290 * configure: Regenerated.
8291 * INSTALL: Likewise.
8293 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
8295 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
8298 2014-11-07 Joseph Myers <joseph@codesourcery.com>
8300 * include/sys/wait.h (__libc_waitpid): Remove declaration.
8301 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
8302 (__waitpid): Don't define as alias. Use libc_hidden_def not
8304 (waitpid): Define as alias of __waitpid.
8305 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
8307 (__waitpid): Don't define as alias. Use libc_hidden_def not
8309 (waitpid): Define as alias of __waitpid.
8310 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
8311 __libc_waitpid alias.
8312 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
8313 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
8315 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
8316 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
8317 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
8319 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
8321 (__waitpid): Don't define as alias. Use libc_hidden_def not
8323 (waitpid): Define as alias of __waitpid.
8325 2014-11-06 Carlos O'Donell <carlos@redhat.com>
8327 * manual/llio.texi: Add comment that write safety has been
8330 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
8331 (localplt-build-dso): Add elf/ld.so.
8332 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
8333 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
8335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
8336 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
8337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
8339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8341 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
8342 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
8343 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
8344 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
8345 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
8346 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
8347 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
8348 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
8349 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8350 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
8351 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
8353 2014-11-05 Joseph Myers <joseph@codesourcery.com>
8356 * include/libc-symbols.h (INTUSE): Remove macro.
8358 (INTVARDEF): Likewise.
8359 (_INTVARDEF): Likewise.
8360 (INTDEF2): Likewise.
8361 (INTVARDEF2): Likewise.
8362 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
8363 rtld_hidden_def instead of INTVARDEF.
8364 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
8365 (_dl_starting_up_internal): Remove declaration.
8366 (_dl_starting_up): Use rtld_hidden_proto.
8367 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
8369 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
8370 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
8372 * elf/dl-writev.h (_dl_writev): Likewise.
8373 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
8374 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
8375 _dl_starting_up_internal.
8377 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8379 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
8382 2014-11-05 Will Newton <will.newton@linaro.org>
8384 * benchtests/Makefile: (bench-malloc): Add malloc thread
8385 scalability benchmark.
8386 * benchtests/bench-malloc-threads.c: New file.
8388 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
8390 * sysdeps/aarch64/strchrnul.S: New file.
8392 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8394 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
8396 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8398 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8400 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8402 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8404 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8407 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
8409 * catgets/test-gencat.c: Use test-skeleton.c.
8410 * catgets/tst-catgets.c: Likewise.
8411 * csu/tst-empty.c: Likewise.
8412 * elf/tst-audit2.c: Likewise.
8413 * elf/tst-global1.c: Likewise.
8414 * elf/tst-pathopt.c: Likewise.
8415 * elf/tst-piemod1.c: Likewise.
8416 * elf/tst-tls10.c: Likewise.
8417 * elf/tst-tls11.c: Likewise.
8418 * elf/tst-tls12.c: Likewise.
8419 * gnulib/tst-gcc.c: Likewise.
8420 * iconvdata/tst-e2big.c: Likewise.
8421 * iconvdata/tst-loading.c: Likewise.
8422 * iconv/tst-iconv1.c: Likewise.
8423 * iconv/tst-iconv2.c: Likewise.
8424 * inet/test-inet6_opt.c: Likewise.
8425 * inet/tst-gethnm.c: Likewise.
8426 * inet/tst-network.c: Likewise.
8427 * inet/tst-ntoa.c: Likewise.
8428 * intl/tst-codeset.c: Likewise.
8429 * intl/tst-gettext2.c: Likewise.
8430 * intl/tst-gettext3.c: Likewise.
8431 * intl/tst-ngettext.c: Likewise.
8432 * intl/tst-translit.c: Likewise.
8433 * io/test-stat.c: Likewise.
8434 * libio/test-fmemopen.c: Likewise.
8435 * libio/tst-freopen.c: Likewise.
8436 * libio/tst-sscanf.c: Likewise.
8437 * libio/tst-ungetwc1.c: Likewise.
8438 * libio/tst-ungetwc2.c: Likewise.
8439 * libio/tst-widetext.c: Likewise.
8440 * localedata/tst-ctype.c: Likewise.
8441 * localedata/tst-digits.c: Likewise.
8442 * localedata/tst-leaks.c: Likewise.
8443 * localedata/tst-mbswcs1.c: Likewise.
8444 * localedata/tst-mbswcs2.c: Likewise.
8445 * localedata/tst-mbswcs3.c: Likewise.
8446 * localedata/tst-mbswcs4.c: Likewise.
8447 * localedata/tst-mbswcs5.c: Likewise.
8448 * localedata/tst-setlocale.c: Likewise.
8449 * localedata/tst-trans.c: Likewise.
8450 * localedata/tst-wctype.c: Likewise.
8451 * localedata/tst-xlocale1.c: Likewise.
8452 * login/tst-grantpt.c: Likewise.
8453 * malloc/tst-calloc.c: Likewise.
8454 * malloc/tst-malloc.c: Likewise.
8455 * malloc/tst-mallocstate.c: Likewise.
8456 * malloc/tst-mcheck.c: Likewise.
8457 * malloc/tst-mtrace.c: Likewise.
8458 * malloc/tst-obstack.c: Likewise.
8459 * math/atest-exp2.c: Likewise.
8460 * math/atest-exp.c: Likewise.
8461 * math/atest-sincos.c: Likewise.
8462 * math/test-matherr.c: Likewise.
8463 * math/test-misc.c: Likewise.
8464 * math/test-powl.c: Likewise.
8465 * math/tst-definitions.c: Likewise.
8466 * misc/tst-dirname.c: Likewise.
8467 * misc/tst-efgcvt.c: Likewise.
8468 * misc/tst-fdset.c: Likewise.
8469 * misc/tst-hsearch.c: Likewise.
8470 * misc/tst-mntent2.c: Likewise.
8471 * nptl/tst-sem7.c: Likewise.
8472 * nptl/tst-sem8.c: Likewise.
8473 * nptl/tst-sem9.c: Likewise.
8474 * nss/test-netdb.c: Likewise.
8475 * posix/tst-fnmatch.c: Likewise.
8476 * posix/tst-getlogin.c: Likewise.
8477 * posix/tst-gnuglob.c: Likewise.
8478 * posix/tst-mmap.c: Likewise.
8479 * pwd/tst-getpw.c: Likewise.
8480 * resolv/tst-inet_ntop.c: Likewise.
8481 * rt/tst-timer.c: Likewise.
8482 * stdio-common/test-fseek.c: Likewise.
8483 * stdio-common/test-popen.c: Likewise.
8484 * stdio-common/test-vfprintf.c: Likewise.
8485 * stdio-common/tst-cookie.c: Likewise.
8486 * stdio-common/tst-fileno.c: Likewise.
8487 * stdio-common/tst-gets.c: Likewise.
8488 * stdio-common/tst-obprintf.c: Likewise.
8489 * stdio-common/tst-perror.c: Likewise.
8490 * stdio-common/tst-sprintf2.c: Likewise.
8491 * stdio-common/tst-sprintf3.c: Likewise.
8492 * stdio-common/tst-sprintf.c: Likewise.
8493 * stdio-common/tst-swprintf.c: Likewise.
8494 * stdio-common/tst-tmpnam.c: Likewise.
8495 * stdio-common/tst-unbputc.c: Likewise.
8496 * stdio-common/tst-wc-printf.c: Likewise.
8497 * stdlib/tst-environ.c: Likewise.
8498 * stdlib/tst-fmtmsg.c: Likewise.
8499 * stdlib/tst-limits.c: Likewise.
8500 * stdlib/tst-rand48-2.c: Likewise.
8501 * stdlib/tst-rand48.c: Likewise.
8502 * stdlib/tst-random2.c: Likewise.
8503 * stdlib/tst-random.c: Likewise.
8504 * stdlib/tst-strtol.c: Likewise.
8505 * stdlib/tst-strtoll.c: Likewise.
8506 * stdlib/tst-tls-atexit.c: Likewise.
8507 * stdlib/tst-xpg-basename.c: Likewise.
8508 * string/test-ffs.c: Likewise.
8509 * string/tst-bswap.c: Likewise.
8510 * string/tst-inlcall.c: Likewise.
8511 * string/tst-strtok.c: Likewise.
8512 * string/tst-strxfrm.c: Likewise.
8513 * sysdeps/x86_64/tst-audit10.c: Likewise.
8514 * sysdeps/x86_64/tst-audit3.c: Likewise.
8515 * sysdeps/x86_64/tst-audit4.c: Likewise.
8516 * sysdeps/x86_64/tst-audit5.c: Likewise.
8517 * time/tst-ftime_l.c: Likewise.
8518 * time/tst-getdate.c: Likewise.
8519 * time/tst-mktime3.c: Likewise.
8520 * time/tst-mktime.c: Likewise.
8521 * time/tst-posixtz.c: Likewise.
8522 * time/tst-strptime2.c: Likewise.
8523 * time/tst-strptime3.c: Likewise.
8524 * wcsmbs/tst-btowc.c: Likewise.
8525 * wcsmbs/tst-mbrtowc.c: Likewise.
8526 * wcsmbs/tst-mbsrtowcs.c: Likewise.
8527 * wcsmbs/tst-wchar-h.c: Likewise.
8528 * wcsmbs/tst-wcpncpy.c: Likewise.
8529 * wcsmbs/tst-wcrtomb.c: Likewise.
8530 * wcsmbs/tst-wcsnlen.c: Likewise.
8531 * wcsmbs/tst-wcstof.c: Likewise.
8533 2014-11-04 Joseph Myers <joseph@codesourcery.com>
8536 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
8538 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
8540 (_dl_mcount): Use rtld_hidden_proto.
8541 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
8543 * elf/rtld.c (_rtld_global_ro): Likewise.
8546 * elf/dl-init.c (_dl_init): Don't use INTDEF.
8547 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
8548 of _dl_init_internal.
8549 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
8550 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
8551 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
8552 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
8553 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
8554 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
8555 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
8556 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
8557 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
8558 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
8559 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
8560 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
8561 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8562 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8563 * sysdeps/tile/dl-start.S (_start): Likewise.
8564 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
8565 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
8568 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
8569 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
8570 (rtld_progname): Make macro definition unconditional.
8571 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
8573 (dlmopen_doit): Do not use INTUSE with _dl_argv.
8574 (dl_main): Likewise.
8575 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8576 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
8577 instead of _dl_argv_internal.
8578 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8579 __GI__dl_argv instead of INTUSE(_dl_argv).
8580 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
8581 __GI__dl_argv instead of _dl_argv_internal.
8583 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
8584 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
8586 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
8587 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
8589 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
8590 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
8592 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
8593 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
8595 2014-11-04 Andreas Schwab <schwab@suse.de>
8597 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
8599 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8601 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
8602 mtvsrd instruction in binary form.
8604 2014-11-03 Andreas Schwab <schwab@suse.de>
8607 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
8608 for less than MB_LEN_MAX use a local buffer of that size.
8609 * libio/tst-fputws.c: New file.
8610 * libio/Makefile (tests): Add tst-fputws.
8612 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
8614 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
8615 the size of the fpu_fr.fpu_dregs[] array.
8617 2014-11-01 Joseph Myers <joseph@codesourcery.com>
8619 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
8620 (__nanosleep): Do not define as alias.
8621 (nanosleep): Define as alias of __nanosleep.
8622 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
8623 __libc_nanosleep name.
8625 2014-10-31 Joseph Myers <joseph@codesourcery.com>
8627 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
8628 install.texi in comment.
8630 2014-10-31 Torvald Riegel <triegel@redhat.com>
8632 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
8633 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
8634 ... add here and use lwsync or sync ...
8635 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
8636 ... and add here using lwsync.
8638 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
8640 * elf/dl-machine-reject-phdr.h: New file.
8641 * elf/dl-load.c: #include that.
8642 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
8643 if that returned true.
8645 2014-10-31 Roland McGrath <roland@hack.frob.com>
8648 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
8649 gen-as-const-headers chunk. Add a big scare comment after the last
8650 safe place to touch before-compile.
8652 2014-10-31 Joseph Myers <joseph@codesourcery.com>
8654 * manual/install.texi (Tools for Compilation): Update autoconf
8655 version requirements.
8656 * INSTALL: Regenerated.
8658 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
8659 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
8660 (__libc_pselect): Likewise.
8663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
8664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8668 2014-10-31 Torvald Riegel <triegel@redhat.com>
8670 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
8671 correct barrier instruction.
8672 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
8674 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
8677 2014-10-30 Roland McGrath <roland@hack.frob.com>
8679 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
8680 after defining inlines. Instead, just use parens to defeat macro
8681 expansion of __isctype in its declaration.
8683 2014-10-30 Joseph Myers <joseph@codesourcery.com>
8685 * include/sys/uio.h (__libc_readv): Remove declaration.
8686 (__libc_writev): Likewise.
8687 * misc/readv.c (__libc_readv): Rename to __readv.
8688 (__readv): Do not define as alias.
8689 (readv): Define as alias of __readv.
8690 * misc/writev.c (__libc_writev): Rename to __writev.
8691 (__writev): Do not define as alias.
8692 (writev): Define as alias of __writev.
8693 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
8694 (__readv): Do not define as alias.
8695 (readv): Define unconditionally as alias of __readv.
8696 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
8697 (__writev): Do not define as alias.
8698 (writev): Define unconditionally as alias of __writev.
8699 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
8701 (writev): Do not define __libc_writev name.
8703 2014-10-30 Roland McGrath <roland@hack.frob.com>
8705 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
8706 (convert_charseq): New function, broken out of ...
8707 (use_from_charmap): ... here. Call it.
8708 (use_to_charmap): Use convert_charseq and free instead of duplicating
8709 its code with a variable-length stack struct.
8711 2014-10-30 Joseph Myers <joseph@codesourcery.com>
8713 * include/fcntl.h (__libc_creat): Remove declaration.
8714 * io/creat.c (__libc_creat): Rename to creat.
8715 (creat): Do not define as alias.
8716 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
8717 of creat instead of __libc_creat.
8718 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
8720 (creat): Do not define as alias.
8721 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
8723 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
8725 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
8728 2014-10-29 Carlos O'Donell <carlos@redhat.com>
8730 * manual/llio.texi: Add comments discussing why write() may be
8731 considered MT-unsafe on Linux.
8733 2014-10-28 Carlos O'Donell <carlos@redhat.com>
8735 * dl-load.c (local_strdup): Remove.
8736 (expand_dynamic_string_token): Use __strdup.
8737 (decompose_rpath): Likewise.
8738 (_dl_map_object): Likewise.
8740 2014-10-28 Joseph Myers <joseph@codesourcery.com>
8743 * sysdeps/generic/unwind-dw2-fde.c
8744 (__register_frame_info_bases_internal): Do not declare.
8745 (__register_frame_info_table_bases_internal): Likewise.
8746 (__deregister_frame_info_bases_internal): Likewise.
8747 (__register_frame_info_bases): Declare and use hidden_proto before
8748 definition. Use hidden_def instead of INTDEF.
8749 (__register_frame_info_table_bases): Likewise.
8750 (__deregister_frame_info_bases): Likewise.
8751 (__register_frame_info): Do not use INTUSE.
8752 (__register_frame): Likewise.
8753 (__register_frame_info_table): Likewise.
8754 (__register_frame_table): Likewise.
8755 (__deregister_frame_info): Likewise.
8756 (__deregister_frame): Likewise.
8758 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
8760 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8761 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
8763 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
8765 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
8768 2014-10-27 Joseph Myers <joseph@codesourcery.com>
8771 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
8772 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
8773 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
8774 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
8775 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
8776 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
8777 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
8778 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
8779 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
8780 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
8781 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
8782 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
8783 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
8785 (setfsuid): Likewise.
8786 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
8787 (setfsuid): Likewise.
8788 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
8789 (setfsuid): Likewise.
8790 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
8792 (setfsuid): Likewise.
8793 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
8794 (setfsuid): Likewise.
8795 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
8797 (setfsuid): Likewise.
8799 2014-10-27 Andreas Schwab <schwab@suse.de>
8802 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
8803 check for Slow_SSE4_2 feature bit.
8804 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
8805 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8806 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
8807 Likewise. Fix check for Fast_Unaligned_Load feature bit.
8809 2014-10-24 Roland McGrath <roland@hack.frob.com>
8811 * configure.ac: Validate compiler version with a empirical test of
8812 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
8814 * configure: Regenerated.
8816 * inet/htons.c (htons): Prototypify.
8817 * inet/htonl.c (htonl): Likewise.
8819 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8821 * string/strncat.c (strncat): Improve performance by using strlen.
8823 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8825 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
8827 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8829 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
8830 Call libc_fetestexcept_aarch64.
8832 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8834 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
8835 Call libc_feholdexcept_aarch64.
8837 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8839 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
8840 Call get_rounding_mode.
8842 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8844 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8847 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8849 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
8852 2014-10-24 Joseph Myers <joseph@codesourcery.com>
8855 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
8856 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
8857 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
8858 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
8859 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
8860 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
8861 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
8862 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
8863 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
8864 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
8865 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8866 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
8867 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
8868 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
8869 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
8870 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
8871 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
8872 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
8873 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
8874 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
8875 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
8876 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
8877 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
8878 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
8879 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
8880 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
8881 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
8882 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
8883 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
8884 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
8885 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
8886 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
8887 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
8888 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
8889 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
8890 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
8891 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
8892 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
8893 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
8894 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
8895 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
8897 (geteuid): Likewise.
8900 (getresgid): Likewise.
8901 (getresuid): Likewise.
8902 (getgroups): Likewise.
8903 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
8904 (geteuid): Likewise.
8907 (getresgid): Likewise.
8908 (getresuid): Likewise.
8909 (getgroups): Likewise.
8910 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
8911 (geteuid): Likewise.
8914 (getresgid): Likewise.
8915 (getresuid): Likewise.
8916 (getgroups): Likewise.
8917 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
8919 (geteuid): Likewise.
8922 (getresgid): Likewise.
8923 (getresuid): Likewise.
8924 (getgroups): Likewise.
8925 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
8926 (geteuid): Likewise.
8929 (getresgid): Likewise.
8930 (getresuid): Likewise.
8931 (getgroups): Likewise.
8932 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
8934 (geteuid): Likewise.
8937 (getgroups): Likewise.
8940 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
8941 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
8942 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
8943 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
8944 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
8945 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
8946 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
8947 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
8948 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
8949 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
8950 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
8951 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
8952 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
8954 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
8957 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
8961 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
8964 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
8969 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
8971 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
8974 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
8976 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
8979 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
8981 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
8982 Remove unused include.
8984 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
8986 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
8987 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
8988 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
8989 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
8991 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
8992 Helge Deller <deller@gmx.de>
8995 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
8996 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
8997 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
8999 2014-10-23 Joseph Myers <joseph@codesourcery.com>
9002 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
9003 Remove macro definition.
9004 (__ashrdi3_v_glibc20): Likewise.
9005 (__lshrdi3_v_glibc20): Likewise.
9006 (__cmpdi2_v_glibc20): Likewise.
9007 (__ucmpdi2_v_glibc20): Likewise.
9008 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
9009 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9010 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9011 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9012 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9013 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
9015 2014-10-22 Roland McGrath <roland@hack.frob.com>
9017 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
9018 old GNU extension [0] syntax.
9019 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
9020 alloca rather than an array member with variable length.
9021 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
9022 * nscd/nscd.c (invalidate_db): New function, broken out of ...
9023 (parse_opt): ... here. Likewise use alloca there.
9024 Validate the -i argument before checking for rootness.
9025 (send_shutdown): New function, broken out of ...
9026 (parse_opt): ... here.
9028 2014-10-22 Roland McGrath <roland@hack.frob.com>
9030 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
9031 macro to get at the _rt_local_ro field.
9032 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
9033 ([PIC] case) or _dl_hwcap ([!PIC] case).
9034 * sysdeps/arm/setjmp.S: Likewise.
9036 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
9037 * sysdeps/arm/configure.ac: New check to define it.
9038 * sysdeps/arm/configure: Regenerated.
9039 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
9040 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
9041 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
9042 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
9043 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
9044 Use move/movt pair instead of a load.
9045 (LDST_GLOBAL): Macro removed.
9046 (LDR_GLOBAL): New macro replaces it.
9047 (LDR_HIDDEN): New macro.
9048 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
9049 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
9051 * setjmp/tst-setjmp-static.c: New file.
9052 * setjmp/Makefile (tests): Add it.
9053 (tests-static): New variable.
9055 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
9058 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
9060 2014-10-21 Joseph Myers <joseph@codesourcery.com>
9063 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
9065 2014-10-21 Roland McGrath <roland@hack.frob.com>
9067 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
9069 2014-10-20 Roland McGrath <roland@hack.frob.com>
9071 * io/fts.c (dirent_not_directory): New function.
9072 (fts_build): Call it.
9074 2014-10-20 Roland McGrath <roland@hack.frob.com>
9076 * nptl/version.c (__nptl_main): Use normal __write rather than
9078 (banner): Update copyright years.
9080 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
9082 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9083 * nptl/pthread_cond_timedwait.c: Likewise.
9084 * nptl/pthread_mutex_timedlock.c: Likewise.
9085 * nptl/sem_timedwait.c: Likewise.
9087 * sysdeps/nptl/bits/libc-lock.h
9088 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9089 (__libc_lock_init_recursive): Return void, not 0.
9090 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
9091 (__libc_rwlock_init): Likewise.
9092 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
9094 2014-10-20 Torvald Riegel <triegel@redhat.com>
9097 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
9098 (__pthread_once_slow): ... here.
9099 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
9100 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
9102 2014-10-20 Torvald Riegel <triegel@redhat.com>
9105 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
9106 __PTHREAD_ONCE_FORK_GEN_INCR): New.
9107 * sysdeps/nptl/fork.c (__libc_fork): Use them.
9108 * nptl/pthread_once.c (__pthread_once): Likewise.
9111 2014-10-20 Joseph Myers <joseph@codesourcery.com>
9114 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
9116 (writev): Use __libc_writev as strong name.
9117 * sysdeps/unix/sysv/linux/readv.c: Remove file.
9118 * sysdeps/unix/sysv/linux/writev.c: Likewise.
9120 2014-10-17 Roland McGrath <roland@hack.frob.com>
9122 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
9124 * sysdeps/i386/nptl/tls.h
9125 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
9126 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
9128 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
9129 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
9130 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
9131 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
9132 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
9133 Call CHECK_THREAD_SYSINFO instead of doing an assert.
9135 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9136 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
9138 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
9140 (__pthread_mutex_init): ... here. Call it.
9141 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
9142 Conditionalize PI cases on [__NR_futex].
9143 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9144 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9145 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9147 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
9148 conditional on [SIGSETXID].
9149 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
9150 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
9151 is defined. Likewise for SIGSETXID.
9152 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
9153 Conditionalize definitions on [SIGSETXID].
9154 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
9155 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
9156 unblocking on [SIGCANCEL].
9158 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
9159 [__NR_set_robust_list].
9161 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9163 * string/strcoll_l.c (get_next_seq): Fix up formatting.
9164 (do_compare): Likewise.
9166 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
9169 * string/strcoll_l.c: Don't include stdio.h.
9170 (coll_seq): Remove members idxarr and rulearr.
9171 (get_next_seq_cached): Remove function.
9172 (get_next_seq): Likewise.
9173 (get_next_seq_nocache): Rename to get_next_seq.
9174 (do_compare): Remove function.
9175 (do_compare_nocache): Rename to do_compare.
9176 (STRCOLL): Remove weight and rules cache.
9178 2014-10-16 Roland McGrath <roland@hack.frob.com>
9180 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
9181 * sysdeps/arm/sfp-machine.h: ... to here.
9182 * sysdeps/arm/Implies: Remove arm/soft-fp.
9184 2014-10-14 Joseph Myers <joseph@codesourcery.com>
9186 * conform/data/sys/utsname.h-data (*_t): Allow.
9187 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
9188 [POSIX] (WEXITED): Do not expect constant.
9189 [POSIX] (WSTOPPED): Likewise.
9190 [POSIX] (WNOHANG): Likewise.
9191 [POSIX] (WNOWAIT): Likewise.
9192 [POSIX] (siginfo_t): Do not expect type or elements.
9193 [POSIX] (pid_t): Do not expect type.
9194 [POSIX] (signal.h): Do not allow header.
9195 [POSIX] (sys/resource.h): Likewise.
9196 [POSIX] (si_*): Do not allow pattern.
9197 [POSIX] (W*): Likewise.
9198 [POSIX] (P_*): Likewise.
9199 [POSIX] (BUS_*): Likewise.
9200 [POSIX] (CLD_*): Likewise.
9201 [POSIX] (FPE_*): Likewise.
9202 [POSIX] (ILL_*): Likewise.
9203 [POSIX] (POLL_*): Likewise.
9204 [POSIX] (SEGV_*): Likewise.
9205 [POSIX] (SI_*): Likewise.
9206 [POSIX] (TRAP_*): Likewise.
9207 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
9210 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
9213 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
9214 infinite loop when __recvmsg returns 0.
9216 2014-10-10 Joseph Myers <joseph@codesourcery.com>
9218 * CANCEL-FCT-WAIVE: Remove file.
9219 * CANCEL-FILE-WAIVE: Likewise.
9222 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
9223 instead of INTVARDEF.
9224 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9225 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
9226 rtld_hidden_data_def instead of INTVARDEF.
9227 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9228 * elf/dl-deps.c (expand_dst): Likewise.
9229 * elf/dl-load.c (_dl_dst_count): Likewise.
9230 (_dl_dst_substitute): Likewise.
9231 (decompose_rpath): Likewise.
9232 (_dl_init_paths): Likewise.
9233 (open_path): Likewise.
9234 (_dl_map_object): Likewise.
9235 * elf/rtld.c (dl_main): Likewise.
9236 (process_dl_audit): Likewise.
9237 (process_envvars): Likewise.
9238 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
9240 (__libc_enable_secure): Use rtld_hidden_proto.
9242 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9245 (add_path): New function broken out of _dl_rtld_di_serinfo.
9246 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
9248 2014-10-09 Joseph Myers <joseph@codesourcery.com>
9250 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
9251 parentheses around macro arguments.
9252 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
9253 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
9254 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
9255 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
9256 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
9257 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9258 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9259 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
9260 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
9261 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
9262 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
9263 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
9264 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
9265 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
9266 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
9267 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
9268 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
9269 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
9270 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
9271 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
9272 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
9273 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
9274 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
9275 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9276 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9277 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
9278 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
9279 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
9280 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
9281 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
9282 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
9283 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
9284 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
9285 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
9286 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
9287 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
9289 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
9290 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9291 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9292 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
9293 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
9294 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
9295 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
9296 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
9297 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
9298 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
9299 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
9300 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
9301 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
9302 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
9303 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
9304 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9305 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9306 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
9307 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
9308 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
9309 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
9310 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
9311 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
9312 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
9313 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
9314 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
9315 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
9316 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
9317 (_FP_FRAC_SRS_1): Likewise.
9318 (_FP_FRAC_CLZ_1): Likewise.
9319 (_FP_MUL_MEAT_1_imm): Likewise.
9320 (_FP_MUL_MEAT_1_wide): Likewise.
9321 (_FP_MUL_MEAT_1_hard): Likewise.
9322 (_FP_SQRT_MEAT_1): Likewise.
9323 (_FP_FRAC_ASSEMBLE_1): Likewise.
9324 (_FP_FRAC_DISASSEMBLE_1): Likewise.
9325 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
9326 (__FP_CLZ_2): Likewise.
9327 (_FP_MUL_MEAT_2_wide): Likewise.
9328 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9329 (_FP_MUL_MEAT_2_gmp): Likewise.
9330 (_FP_MUL_MEAT_2_120_240_double): Likewise.
9331 (_FP_SQRT_MEAT_2): Likewise.
9332 (_FP_FRAC_ASSEMBLE_2): Likewise.
9333 (_FP_FRAC_DISASSEMBLE_2): Likewise.
9334 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
9335 (_FP_FRAC_CLZ_4): Likewise.
9336 (_FP_MUL_MEAT_4_wide): Likewise.
9337 (_FP_MUL_MEAT_4_gmp): Likewise.
9338 (_FP_SQRT_MEAT_4): Likewise.
9339 (_FP_FRAC_ASSEMBLE_4): Likewise.
9340 (_FP_FRAC_DISASSEMBLE_4): Likewise.
9341 * soft-fp/op-common.h (_FP_CMP): Likewise.
9342 (_FP_CMP_EQ): Likewise.
9343 (_FP_CMP_UNORD): Likewise.
9344 (_FP_TO_INT): Likewise.
9345 (_FP_FROM_INT): Likewise.
9346 [!__FP_CLZ] (__FP_CLZ): Likewise.
9347 (_FP_DIV_HELP_imm): Likewise.
9348 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
9350 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
9351 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
9352 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
9353 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
9354 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
9355 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9356 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9357 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
9358 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
9359 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
9360 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
9361 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
9362 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
9363 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
9364 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
9365 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
9366 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
9367 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
9368 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
9369 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
9370 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
9371 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
9372 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
9373 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9374 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9375 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
9376 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
9377 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
9378 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
9379 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
9380 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
9381 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
9382 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
9383 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
9384 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
9385 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
9386 (FP_UNPACK_RAW_SP): Likewise.
9387 (FP_PACK_RAW_S): Likewise.
9388 (FP_PACK_RAW_SP): Likewise.
9389 (FP_UNPACK_S): Likewise.
9390 (FP_UNPACK_SP): Likewise.
9391 (FP_UNPACK_SEMIRAW_S): Likewise.
9392 (FP_UNPACK_SEMIRAW_SP): Likewise.
9393 (FP_PACK_S): Likewise.
9394 (FP_PACK_SP): Likewise.
9395 (FP_PACK_SEMIRAW_S): Likewise.
9396 (FP_PACK_SEMIRAW_SP): Likewise.
9397 (_FP_SQRT_MEAT_S): Likewise.
9398 (FP_CMP_S): Likewise.
9399 (FP_CMP_EQ_S): Likewise.
9400 (FP_CMP_UNORD_S): Likewise.
9401 (FP_TO_INT_S): Likewise.
9402 (FP_FROM_INT_S): Likewise.
9404 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
9406 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
9407 (FP_EX_INVALID_IMZ): Likewise.
9408 (FP_EX_INVALID_IMZ_FMA): Likewise.
9409 (FP_EX_INVALID_ISI): Likewise.
9410 (FP_EX_INVALID_ZDZ): Likewise.
9411 (FP_EX_INVALID_IDI): Likewise.
9412 (FP_EX_INVALID_SQRT): Likewise.
9413 (FP_EX_INVALID_CVI): Likewise.
9414 (FP_EX_INVALID_VC): Likewise.
9415 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
9416 "invalid" exceptions.
9417 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
9418 (_FP_ADD_INTERNAL): Likewise.
9419 (_FP_MUL): Likewise.
9420 (_FP_FMA): Likewise.
9421 (_FP_DIV): Likewise.
9422 (_FP_CMP_CHECK_NAN): Likewise.
9423 (_FP_SQRT): Likewise.
9424 (_FP_TO_INT): Likewise.
9425 (FP_EXTEND): Likewise.
9427 2014-10-09 Allan McRae <allan@archlinux.org>
9429 * po/fr.po: Update French translation from translation project.
9431 2014-10-09 Joseph Myers <joseph@codesourcery.com>
9434 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
9436 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
9437 (__cxa_atexit): Use libc_hidden_proto.
9438 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
9441 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
9443 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
9444 [!_ISOMAC] (__iswspace_l_internal): Likewise.
9445 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
9446 [!_ISOMAC] (__iswctype_internal): Likewise.
9447 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
9448 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
9450 (fcntl): Remove __fcntl_internal alias.
9451 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
9452 __connect_internal alias.
9453 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
9456 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
9457 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
9459 (_FP_CHECK_FLUSH_ZERO): New macro.
9460 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
9461 (_FP_CMP): Likewise.
9462 (_FP_CMP_EQ): Likewise.
9463 (_FP_TO_INT): Do not set inexact for subnormal arguments if
9465 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
9466 (FP_TRUNC): Likewise.
9468 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
9469 treated as invalid conversion, not as normal exponent.
9471 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
9472 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
9473 (_FP_CMP_EQ): Likewise.
9474 (_FP_CMP_UNORD): Likewise.
9475 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
9476 (FP_CMP_EQ_D): Likewise.
9477 (FP_CMP_UNORD_D): Likewise.
9478 * soft-fp/extended.h (FP_CMP_E): Likewise.
9479 (FP_CMP_EQ_E): Likewise.
9480 (FP_CMP_UNORD_E): Likewise.
9481 * soft-fp/quad.h (FP_CMP_Q): Likewise.
9482 (FP_CMP_EQ_Q): Likewise.
9483 (FP_CMP_UNORD_Q): Likewise.
9484 * soft-fp/single.h (FP_CMP_S): Likewise.
9485 (FP_CMP_EQ_S): Likewise.
9486 (FP_CMP_UNORD_S): Likewise.
9487 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
9488 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
9489 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
9490 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
9491 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
9492 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
9493 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
9494 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
9495 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
9496 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
9497 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
9498 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
9499 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
9501 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
9503 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
9504 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
9506 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
9508 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
9509 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
9510 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
9511 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
9513 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
9515 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
9516 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
9518 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
9520 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
9521 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
9522 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
9523 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
9526 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
9527 a subnormal result, set the underflow exception if trapping on
9528 underflow is enabled.
9529 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
9530 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
9531 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
9533 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
9534 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9535 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9536 * soft-fp/extendxftf2.c (__extendxftf2): Use
9537 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
9539 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
9540 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
9541 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9542 FP_HANDLE_EXCEPTIONS.
9543 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
9544 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9545 FP_HANDLE_EXCEPTIONS.
9546 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
9547 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9548 FP_HANDLE_EXCEPTIONS.
9549 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
9550 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9551 FP_HANDLE_EXCEPTIONS.
9553 2014-10-08 Joseph Myers <joseph@codesourcery.com>
9556 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
9557 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
9559 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
9560 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
9562 (__adjtimex): Define using libc_hidden_ver.
9563 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
9565 (ntp_gettime): Call __adjtimex directly.
9566 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
9568 (ntp_gettimex): Call __adjtimex directly.
9569 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
9570 __adjtimex_internal alias.
9572 2014-10-08 Roland McGrath <roland@hack.frob.com>
9575 * nscd/nscd.c (more_help): Rewrite list of tables collection
9576 using xstrdup and asprintf.
9578 * nscd/nscd_conf.c: Remove local xstrdup declaration.
9580 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9581 Roland McGrath <roland@hack.frob.com>
9583 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
9584 (do_lookup_unique): ... local function 'enter' here; update callers.
9586 2014-10-06 Joseph Myers <joseph@codesourcery.com>
9588 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
9589 compat_symbol calls on [SHARED].
9590 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
9591 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
9593 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9594 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
9595 (oldsetrlimit): Remove.
9596 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9598 (lchown): New syscall entry.
9599 (oldsetrlimit): Remove.
9600 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9601 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
9602 (oldsetrlimit): Remove.
9603 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9606 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
9607 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
9608 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
9609 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
9610 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9611 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
9613 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
9615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
9618 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9620 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
9621 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
9622 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
9623 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
9624 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
9626 (__old_sem_post): Likewise.
9628 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
9630 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
9631 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
9632 HAVE_CLOCK_GETTIME_VSYSCALL macros.
9633 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
9634 Use INLINE_VSYSCALL macro.
9635 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
9636 __vdso_clock_gettime.
9637 * sysdeps/unix/sysv/linux/tile/init-first.c
9638 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
9639 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
9640 __vdso_clock_gettime.
9642 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
9643 to set up frame more cleanly.
9645 * sysdeps/tile/memcmp.c: New file.
9647 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
9649 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
9650 * sysdeps/tile/tilegx/strcasestr.c: New file.
9651 * sysdeps/tile/tilegx/strnlen.c: New file.
9652 * sysdeps/tile/tilegx/strstr.c: New file.
9654 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
9656 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
9658 * nptl/tst-setuid3.c: Write errors to stdout.
9660 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9663 (preload): New functions broken out of _dl_map_object_deps.
9664 (_dl_map_object_deps): Remove a nested function. Update call sites.
9666 2014-10-01 Joseph Myers <joseph@codesourcery.com>
9669 * sysdeps/unix/sysv/linux/execve.c: Remove file.
9670 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
9672 2014-10-01 Steve Ellcey <sellcey@mips.com>
9674 * sysdeps/mips/strcmp.S: New.
9676 2014-09-30 Joseph Myers <joseph@codesourcery.com>
9679 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
9681 (mkdirat): Likewise.
9682 (readlinkat): Likewise.
9683 (renameat): Likewise.
9684 (symlinkat): Likewise.
9685 (unlinkat): Likewise.
9686 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
9687 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
9688 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
9689 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
9690 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9691 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
9692 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
9694 2014-09-30 Will Newton <will.newton@linaro.org>
9696 * math/math.h: Define long double math functions if
9697 _LIBC_TEST is defined.
9698 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
9700 * localedata/Makefile: Move assignment to tests-special
9701 into an ifdef testing run-built-tests.
9702 * timezone/Makefile: Likewise.
9704 2014-09-29 Joseph Myers <joseph@codesourcery.com>
9706 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
9707 with $(BASH) not $(SHELL).
9709 2014-09-29 Carlos O'Donell <carlos@redhat.com>
9710 Matthew LeGendre <legendre1@llnl.gov>
9713 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
9716 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9718 * stdio-common/printf_fp.c
9719 (hack_digit): New function, broken out of ...
9720 (__printf_fp): ... local function here. Update call sites.
9721 hack_digit now takes an additional parameter that is a pointer
9722 to a struct of the referenced locals. Those locals moved inside
9723 the struct and references updated.
9725 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
9727 * aclocal.m4: Require autoconf 2.69.
9728 * configure: Regenerated.
9729 * sysdeps/aarch64/configure: Likewise.
9730 * sysdeps/alpha/configure: Likewise.
9731 * sysdeps/arm/armv7/configure: Likewise.
9732 * sysdeps/arm/configure: Likewise.
9733 * sysdeps/ia64/configure: Likewise.
9734 * sysdeps/mach/configure: Likewise.
9735 * sysdeps/mips/configure: Likewise.
9736 * sysdeps/s390/configure: Likewise.
9737 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
9738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
9740 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
9742 * sysdeps/ia64/configure.ac: Likewise.
9744 2014-09-26 Joseph Myers <joseph@codesourcery.com>
9746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
9747 specify symbol version for ld.so. Do not include entry for
9749 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9750 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
9751 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9754 * Makeconfig [$(build-shared) = yes]
9755 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
9757 [$(build-shared) = yes && $(soversions.mk-done) = t]
9758 ($(common-objpfx)gnu/lib-names.h): Remove rule.
9759 [$(build-shared) = yes && $(soversions.mk-done) = t]
9760 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
9762 [$(build-shared) = yes && $(soversions.mk-done) = t]
9763 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
9765 [$(build-shared) = yes && $(soversions.mk-done) = t]
9766 (common-generated): Don't append gnu/lib-names.h and
9767 gnu/lib-names.stmp here.
9768 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
9769 (lib-names-h-abi): New variable.
9770 [$(build-shared) = yes && $(soversions.mk-done) = t]
9771 (lib-names-stmp-abi): Likewise.
9772 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9773 abi-variants] (before-compile): Append
9774 $(common-objpfx)$(lib-names-h-abi).
9775 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9776 abi-variants] (common-generated): Append gnu/lib-names.h.
9777 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9778 abi-variants] (install-others-nosubdir): Depend on
9779 $(inst_includedir)/$(lib-names-h-abi).
9780 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9781 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
9782 [$(build-shared) = yes && $(soversions.mk-done) = t]
9783 ($(common-objpfx)$(lib-names-h-abi)): New rule.
9784 [$(build-shared) = yes && $(soversions.mk-done) = t]
9785 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
9786 [$(build-shared) = yes && $(soversions.mk-done) = t]
9787 (common-generated): Append $(lib-names-h-abi) and
9788 $(lib-names-stmp-abi).
9789 * scripts/lib-names.awk: Do not handle multi being set.
9790 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
9792 (abi-lp64_be-ld-soname): Likewise.
9793 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
9795 (abi-hard-ld-soname): Likewise.
9796 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
9797 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
9799 (abi-o32_hard-ld-soname): Likewise.
9800 (abi-o32_soft_2008-ld-soname): Likewise.
9801 (abi-o32_hard_2008-ld-soname): Likewise.
9802 (abi-n32_soft-ld-soname): Likewise.
9803 (abi-n32_hard-ld-soname): Likewise.
9804 (abi-n32_soft_2008-ld-soname): Likewise.
9805 (abi-n32_hard_2008-ld-soname): Likewise.
9806 (abi-n64_soft-ld-soname): Likewise.
9807 (abi-n64_hard-ld-soname): Likewise.
9808 (abi-n64_soft_2008-ld-soname): Likewise.
9809 (abi-n64_hard_2008-ld-soname): Likewise.
9810 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
9812 (abi-64-v2-ld-soname): Likewise.
9813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
9815 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
9817 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
9819 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
9821 (abi-64-ld-soname): Likewise.
9822 (abi-x32-ld-soname): Likewise.
9823 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
9825 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9827 2014-09-23 Joseph Myers <joseph@codesourcery.com>
9830 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
9831 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
9832 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
9833 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
9834 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
9835 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
9836 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
9837 syscall entry for GLIBC_2.2 symbol version.
9838 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
9840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9841 (setrlimit): Likewise.
9842 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
9845 2014-09-23 Will Newton <will.newton@linaro.org>
9847 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
9848 _LINUX_ARM_SYSDEP_H include guard too.
9849 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
9852 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
9854 * sysdeps/unix/sysv/linux/eventfd.c:
9855 Make first argument unsigned.
9856 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
9857 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
9859 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
9861 * socket/recvmmsg.c (recvmmsg): Drop const argument.
9862 * socket/sys/socket.h: Likewise
9863 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
9865 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9867 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
9869 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
9871 * time/tst-ftime.c: New test.
9872 * time/Makefile (tests): Add tst-ftime.
9874 2014-09-17 Joseph Myers <joseph@codesourcery.com>
9876 * soft-fp/extended.h: Fix comment formatting.
9877 * soft-fp/op-1.h: Likewise.
9878 * soft-fp/op-2.h: Likewise.
9879 * soft-fp/op-4.h: Likewise.
9880 * soft-fp/op-8.h: Likewise.
9881 * soft-fp/op-common.h: Likewise.
9882 * soft-fp/soft-fp.h: Likewise.
9884 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
9886 2014-09-16 Joseph Myers <joseph@codesourcery.com>
9889 * Makeconfig (soversions-default-setname): Remove variable.
9890 ($(common-objpfx)soversions.i): Don't pass default_setname to
9892 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
9893 oldest_abi to abi-versions.awk.
9894 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
9895 * config.make.in (oldest-abi): Remove variable.
9896 * configure.ac (--enable-oldest-abi): Remove configure option.
9897 * configure: Regenerated.
9898 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
9900 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
9901 * scripts/soversions.awk: Do not handle default_setname variable.
9902 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
9904 * sysdeps/mach/hurd/configure: Regenerated.
9905 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
9907 * sysdeps/unix/sysv/linux/configure: Regenerated.
9909 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9911 * elf/Makefile (CFLAGS-interp.c): Remove.
9912 ($(elf-objpfx)runtime-linker.h): Generate header with linker
9914 * elf/interp.c: Include generated runtime-linker.h
9916 * Makerules (lib%.so): Don't include $(+interp) in
9918 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
9919 * dlfcn/eval.c: Remove file.
9921 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
9925 * misc/sys/cdefs.h: Define __extern_always_inline for clang
9929 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
9931 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9932 Jakub Jelinek <jakub@redhat.com>
9935 * libio/stdio.h: Check definition of __fortify_function
9936 instead of __extern_always_inline to include bits/stdio2.h.
9937 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
9938 check if __extern_always_inline is defined.
9939 [__USE_MISC || __USE_XOPEN]: Likewise.
9940 [__USE_ISOC99] Likewise.
9941 * misc/sys/cdefs.h (__fortify_function): Define only if
9942 __extern_always_inline is defined.
9943 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
9944 __extern_always_inline and __extern_inline only for g++-4.3
9945 and newer or a compatible gcc.
9947 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
9950 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9951 last change to handle zero prefix length.
9953 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9955 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
9958 * posix/getconf.c (vars): Add _POSIX_IPV6 and
9961 2014-09-13 Allan McRae <allan@archlinux.org>
9963 * po/ru.po: Update Russian translation from translation project.
9965 2014-09-12 Roland McGrath <roland@hack.frob.com>
9967 * locale/programs/locale.c (show_locale_vars): Inline local function
9968 into its sole call site. Clean up some style nits.
9969 (print_item): New function, broken out of ...
9970 (show_info): ... local function here. Clean up style nits.
9972 * locale/programs/ld-ctype.c (set_one_default): New function, broken
9974 (set_class_defaults): ... local function set_default here.
9975 Define set_default as a macro locally to pass constant parameters.
9976 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
9977 rather than a shared local.
9979 * stdlib/rpmatch.c (try): New function, broken out of ...
9980 (rpmatch): ... local function here. Also, prototypify definition.
9982 2014-09-12 Joseph Myers <joseph@codesourcery.com>
9984 * scripts/soversions.awk: Do not handle configuration names.
9985 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
9986 vendor and os variables to soversions.awk.
9987 * configure.ac: Do not modify gnu-* host_os.
9988 * configure: Regenerated
9989 * shlib-versions: Remove first column with configuration names.
9990 * nptl/shlib-versions: Likewise.
9991 * nptl_db/shlib-versions: Likewise.
9992 * sysdeps/hppa/shlib-versions: Likewise.
9993 * sysdeps/m68k/shlib-versions: Likewise.
9994 * sysdeps/mach/hurd/shlib-versions: Likewise.
9995 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
9996 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
9997 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
9998 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
9999 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
10000 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
10001 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
10002 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
10003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10005 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10006 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10007 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10008 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10009 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10010 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
10011 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10012 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10015 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
10016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10018 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
10019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10020 Condition symbol version definitions on [HAVE_ELFV2_ABI].
10022 * shlib-versions: Remove OS-specific entries. Moved to files in
10024 * sysdeps/mach/hurd/shlib-versions: New file.
10025 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10027 * nptl/shlib-versions: Remove architecture-specific entries.
10028 Moved to files in sysdeps.
10029 * shlib-versions: Likewise.
10030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
10032 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10033 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10034 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10035 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10037 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
10038 (UDP_NO_CHECK6_RX): Likewise.
10040 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10042 * sysdeps/posix/sysconf.c (__sysconf): Spell
10043 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
10045 2014-08-12 Florian Weimer <fweimer@redhat.com>
10047 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
10049 * iconv/Versions (__gconv_transliterate): Export for use from
10051 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
10052 (struct __gconv_trans_data, __gconv_trans_fct,
10053 __gconv_trans_context_fct, __gconv_trans_query_fct,
10054 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
10056 (struct __gconv_step_data): Remove __trans member.
10057 (__gconv_transliterate): Declaration moved from gconv_int.h. No
10058 longer hidden. Remove unused trans_data argument.
10059 * iconv/gconv_int.h (struct trans_struct): Remove definition.
10060 (__gconv_translit_find): Remove declaration.
10061 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
10063 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
10064 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
10065 trans_data argument. Add hidden definition.
10066 (__gconv_translit_find): Remove.
10067 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
10068 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
10069 * iconv/skeleton.c: Remove transliteration initialization.
10070 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
10071 __gconv_step_data initialization.
10072 * libio/iofwide.c (__libio_translit_): Remove.
10073 (_IO_fwide): Adjust struct __gconv_step_data initialization.
10074 * wcsmbs/btowc.c (__btowc): Likewise.
10075 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10076 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10077 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10078 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10079 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
10080 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10081 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10082 * wcsmbs/wctob.c (wctob): Likewise.
10084 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10087 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
10088 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
10090 * sysdeps/x86/Makefile: Adjust.
10092 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10093 Roland McGrath <roland@hack.frob.com>
10095 * locale/weight.h: Add include guard.
10096 (findidx): Make static rather than auto; take new parameters
10097 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
10098 * locale/weightwc.h: Likewise.
10099 * posix/fnmatch_loop.c
10100 (FCT): Change type of EXTRA from int32_t to wint_t.
10101 Don't include either header inside the function.
10102 Call FINDIDX rather than findidx, and pass new arguments.
10103 #undef FINDIDX at the end of the file.
10104 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
10105 FINDIDX before including fnmatch_loop.c for the non-wide version.
10106 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
10107 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
10108 for the wide version.
10109 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
10110 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
10111 Pass new arguments to findidx.
10112 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
10113 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
10114 Don't #include it inside the function. Pass new arguments to findidx.
10115 * posix/regex_internal.h
10116 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
10117 (re_string_elem_size_at): Don't #include it inside the function.
10118 Pass new arguments to findidx.
10119 * string/strcoll_l.c: #include WEIGHT_H at top level.
10120 (get_next_seq): Don't #include it inside the function.
10121 Pass new arguments to findidx.
10122 (get_next_seq_nocache): Likewise.
10123 * string/strxfrm_l.c: #include WEIGHT_H at top level.
10124 (STRXFRM): Don't #include it inside the function.
10125 Pass new arguments to findidx.
10127 2014-09-11 Florian Weimer <fweimer@redhat.com>
10130 * malloc/malloc.c (unlink): Turn asserts into a call to
10133 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
10136 * libio/wfileops (do_ftell_wide): Free OUT.
10138 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
10140 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
10142 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10145 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
10146 group if the current group is empty.
10148 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10150 * benchtests/bench-memset.c (test_main): Add more test from size
10151 from 32 to 512 bytes.
10152 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10153 Add POWER8 memset object.
10154 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10155 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
10156 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
10158 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
10160 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
10161 multiarch POWER8 memset optimization.
10162 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
10163 POWER8 memset optimization.
10165 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10166 Remove bzero multiarch objects.
10167 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
10168 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
10169 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
10170 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
10172 [__bzero]: Redefine to specific name.
10173 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
10174 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
10175 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
10177 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10178 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10180 2014-09-10 Florian Weimer <fweimer@redhat.com>
10182 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
10183 warnings into errors.
10185 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
10186 __cxa_thread_atexit_impl prototype.
10188 2014-09-09 Steve Ellcey <sellcey@mips.com>
10190 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
10191 Fix capitalization of error message.
10193 2014-09-09 Steve Ellcey <sellcey@mips.com>
10195 * sysdeps/mips/preconfigure: Modify ABI tests.
10197 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
10199 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
10201 2014-09-07 Roland McGrath <roland@hack.frob.com>
10202 Carlos O'Donell <carlos@systemhalted.org>
10204 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
10205 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
10206 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
10207 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
10208 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
10209 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
10210 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
10211 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
10212 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
10213 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
10214 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
10215 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
10216 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
10217 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
10218 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
10219 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
10220 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
10221 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
10222 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
10223 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
10224 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
10225 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
10226 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
10227 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
10228 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
10229 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
10230 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
10231 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
10232 Deconditionalize the code that was previously under [RESET_PID].
10233 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
10234 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
10235 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
10236 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
10239 2014-09-08 Allan McRae <allan@archlinux.org>
10241 * version.h (RELEASE): Set to "development".
10242 (VERSION): Set to "2.20.90"
10244 2014-09-07 Allan McRae <allan@archlinux.org
10246 * version.h (RELEASE): Set to "stable".
10247 (VERSION): Set to "2.20"
10248 * include/features.h (__GLIBC_MINOR__): Set to 20.
10250 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
10253 * po/ko.po: Update Korean translation from translation project.
10255 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
10258 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
10259 macro for handling signed relocations.
10261 2014-09-03 Florian Weimer <fweimer@redhat.com>
10264 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
10265 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
10267 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
10268 * iconvdata/ibm935.c (BODY): Likewise.
10269 * iconvdata/ibm937.c (BODY): Likewise.
10270 * iconvdata/ibm939.c (BODY): Likewise.
10271 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
10273 * iconvdata/Makefile (iconv-test.out): Pass module list to test
10275 * iconvdata/run-iconv-test.sh: New test loop for checking for
10278 2014-09-02 Khem Raj <raj.khem@gmail.com>
10280 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
10283 2014-09-01 Allan McRae <allan@archlinux.org>
10285 * po/eo.po: Update Esperanto translation from translation project.
10287 * po/ca.po: Update Catalan translation from translation project.
10289 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10291 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
10292 __proc_dostop call.
10294 2014-08-27 Mark Wielaard <mjw@redhat.com>
10297 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
10298 to call set_thread_area instead of hand written asm.
10299 (__NR_set_thread_area): Removed define.
10300 (TLS_FLAG_WRITABLE): Likewise.
10301 (__ASSUME_SET_THREAD_AREA): Remove check.
10302 (TLS_EBX_ARG): Remove define.
10303 (TLS_LOAD_EBX): Likewise.
10305 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10307 Simplify atomicity of socket creation in bind.
10309 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
10310 looking up the name after linking the file.
10312 2014-08-27 Allan McRae <allan@archlinux.org>
10314 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10316 2014-08-26 Florian Weimer <fweimer@redhat.com>
10319 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
10320 trans_compare, open_translit, __gconv_translit_find):
10321 Remove module loading code.
10323 2014-08-26 Allan McRae <allan@archlinux.org>
10325 * po/vi.po: Update Vietnamese translation from translation project.
10327 * po/uk.po: Update Ukrainian translation from translation project.
10329 * po/fr.po: Update French translation from translation project.
10331 * po/ru.po: Update Russian translation from translation project.
10333 * po/pl.po: Update Polish translation from translation project.
10335 * po/cs.po: Update Czech translation from translation project.
10337 * po/de.po: Update German translation from translation project.
10339 * po/bg.po: Update Bulgarian translation from translation project.
10341 * po/sv.po: Update Sweedish translation from translation project.
10343 * po/nl.po: Update Dutch translation from translation project.
10345 * po/es.po: Update Spanish translation from translation project.
10347 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10349 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
10351 * catgets/Makefile (CPPFLAGS-gencat): Remove.
10352 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
10353 (CPPFLAGS-iconvconfig): Likewise.
10354 * timezone/Makefile (CPPFLAGS-zic): Likewise.
10356 * include/libc-symbols.h: Remove unnecessary check for
10358 * nptl/pthreadP.h: Likewise.
10359 * sysdeps/aarch64/setjmp.S: Likewise.
10360 * sysdeps/alpha/setjmp.S: Likewise.
10361 * sysdeps/arm/sysdep.h: Likewise.
10362 * sysdeps/i386/setjmp.S: Likewise.
10363 * sysdeps/m68k/setjmp.c: Likewise.
10364 * sysdeps/posix/getcwd.c: Likewise.
10365 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10366 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10367 * sysdeps/s390/s390-32/setjmp.S: Likewise.
10368 * sysdeps/s390/s390-64/setjmp.S: Likewise.
10369 * sysdeps/sh/sh3/setjmp.S: Likewise.
10370 * sysdeps/sh/sh4/setjmp.S: Likewise.
10371 * sysdeps/unix/alpha/sysdep.h: Likewise.
10372 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10373 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10374 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10375 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10378 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10379 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10380 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10381 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10382 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10383 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10384 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10385 * sysdeps/x86_64/setjmp.S: Likewise.
10387 2014-08-13 Joseph Myers <joseph@codesourcery.com>
10390 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
10392 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
10393 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
10395 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10397 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
10400 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
10401 and __x86_64__ when disabling x87 inline functions.
10403 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
10406 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
10407 asm statement with __cpuid_count.
10409 2014-08-12 Mike Frysinger <vapier@gentoo.org>
10411 * configure.ac: Change __ehdr_start code to dereference the struct.
10412 Run readelf on the output to look for relocations.
10413 * configure: Regenerated.
10415 2014-08-12 Joseph Myers <joseph@codesourcery.com>
10418 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
10420 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
10422 2014-08-12 Roland McGrath <roland@hack.frob.com>
10424 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
10426 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
10429 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
10430 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
10432 2014-08-12 Sean Anderson <seanga2@gmail.com>
10434 * malloc/malloc.c: Fix typo in comment.
10436 2014-08-09 Allan McRae <allan@archlinux.org>
10438 * Regenerate libc.po.
10440 2014-08-08 Mike Frysinger <vapier@gentoo.org>
10442 * intl/tst-gettext2.sh: Check every lang file for creation.
10444 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
10446 * sysdeps/aarch64/fpu/math_private.h
10447 (libc_feholdsetround_noex_aarch64_ctx): New function.
10449 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
10451 * sysdeps/arm/armv6/strcpy.S (strcpy):
10452 Fix performance issue in misaligned cases.
10454 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10456 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
10457 Move definition from termios.h.
10458 (struct termio): Likewise.
10459 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10460 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10461 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10462 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10464 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
10465 Move definition to ioctl-types.h
10466 (struct termio): Likewise.
10467 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10468 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10469 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10470 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10473 2014-08-05 Richard Henderson <rth@redhat.com>
10475 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
10477 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
10479 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
10480 Use __feraiseexcept.
10481 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
10482 Protect libm symbols with IS_IN_libm.
10484 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
10486 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
10488 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
10490 2014-08-04 Will Newton <will.newton@linaro.org>
10492 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
10495 2014-08-04 Mike Frysinger <vapier@gentoo.org>
10497 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
10498 variants for each function.
10500 2014-08-04 Roland McGrath <roland@hack.frob.com>
10502 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
10504 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
10505 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
10507 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
10508 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
10509 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
10510 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
10511 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
10512 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
10513 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
10514 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
10515 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
10516 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
10517 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
10518 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
10519 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
10520 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
10521 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
10522 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
10523 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
10524 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
10525 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
10526 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
10527 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
10528 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
10529 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
10530 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
10531 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
10532 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
10533 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
10534 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
10535 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
10536 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
10537 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
10538 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
10539 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
10540 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
10541 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
10542 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
10543 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
10544 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
10545 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
10546 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
10547 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
10548 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
10549 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
10550 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
10551 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
10552 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
10553 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
10554 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
10555 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
10556 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
10557 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
10558 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
10559 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
10561 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
10562 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
10564 2014-08-04 Roland McGrath <roland@hack.frob.com>
10566 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
10567 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
10568 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
10569 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
10570 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
10571 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
10573 2014-08-04 Roland McGrath <roland@hack.frob.com>
10575 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
10576 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
10577 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10578 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
10580 2014-08-04 Roland McGrath <roland@hack.frob.com>
10582 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
10583 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
10584 (__libc_vfork): Define function under this name.
10585 (__vfork): Define as an alias.
10586 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
10587 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
10589 2014-08-04 Roland McGrath <roland@hack.frob.com>
10591 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
10592 that was previously under [RESET_PID].
10593 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
10595 2014-08-04 Andreas Schwab <schwab@suse.de>
10597 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
10599 2014-08-03 Mike Frysinger <vapier@gentoo.org>
10601 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
10604 2014-08-01 Roland McGrath <roland@hack.frob.com>
10606 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
10608 2014-08-01 Richard Henderon <rth@redhat.com>
10610 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
10611 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
10612 typo in exact zero test.
10613 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10614 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10615 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10617 2014-08-01 Roland McGrath <roland@hack.frob.com>
10619 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
10620 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
10621 * sysdeps/arm/sysdep.h: ... here.
10622 [!__ASSEMBLER__]: Include <stdint.h>.
10624 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10626 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
10627 (HAVE_WCTYPE_H): Likewise.
10628 (HAVE_ISWCTYPE): Likewise.
10629 (ENABLE_NLS): Likewise.
10630 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
10631 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
10633 * posix/regex_internal.c: Check if DEBUG is defined and is
10636 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
10637 (HAVE_MBSRTOWCS): Likewise.
10638 * posix/fnmatch.c: Include string.h unconditionally.
10640 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
10642 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
10645 2014-07-31 Roland McGrath <roland@hack.frob.com>
10647 * sysdeps/generic/safe-fatal.h: New file.
10648 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
10649 * nptl/forward.c: Include it.
10650 (__pthread_unwind): Use __safe_fatal as default action, rather
10651 than a bogus use of INTERNAL_SYSCALL that could never work.
10653 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
10654 * configure.ac (libc_cv_builtin_trap): New test.
10655 * configure: Regenerated.
10656 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
10657 (ABORT_INSTRUCTION): Define using __builtin_trap.
10659 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
10660 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
10661 * sysdeps/nptl/nptl-signals.h: New file.
10662 * nptl/pthreadP.h: Include <nptl-signals.h>.
10664 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
10666 * sysdeps/s390/s390-64/utf16-utf32-z9.c
10667 (ONE_DIRECTION): Define.
10668 * sysdeps/s390/s390-64/utf8-utf16-z9.c
10669 (ONE_DIRECTION): Define.
10670 * sysdeps/s390/s390-64/utf8-utf32-z9.c
10671 (ONE_DIRECTION): Define.
10673 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
10675 * sysdeps/s390/Makefile: Delete file.
10676 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
10677 * sysdeps/s390/__longjmp.c: Delete file.
10678 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
10679 Remove fields __flags and __reserved.
10680 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
10681 and add versioning.
10682 * sysdeps/s390/rtld-__longjmp.c: Delete file.
10683 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
10684 * sysdeps/s390/rtld-setjmp.S: Likewise.
10685 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
10686 * sysdeps/s390/s390-32/__longjmp.c: ... here.
10687 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
10688 * sysdeps/s390/s390-32/setjmp.S: ... here.
10690 (__sigsetjmp): Remove setting __flags field.
10691 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
10692 * sysdeps/s390/s390-64/__longjmp.c: ... here.
10693 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
10694 * sysdeps/s390/s390-64/setjmp.S: ... here.
10696 (__sigsetjmp): Remove setting __flags field.
10697 * sysdeps/s390/setjmp.S: Delete file.
10698 * sysdeps/s390/sigjmp.c: Likewise.
10699 * sysdeps/s390/v1-longjmp.c: Likewise.
10700 * sysdeps/s390/v1-setjmp.h: Likewise.
10701 * sysdeps/s390/v1-sigjmp.c: Likewise.
10702 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
10703 Remove v1-longjmp_chk.
10704 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
10705 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
10706 Include debug/longjmp_chk.c and add versioning.
10707 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
10708 Include nptl/pt-longjmp.c and add versioning.
10709 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
10710 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
10711 Include __longjmp.c.
10712 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10714 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
10715 (__getcontext): Remove setting __flags field.
10717 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10718 Don't restore upper high grps.
10719 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
10721 (__swapcontext): Remove setting uc_flags field.
10722 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
10724 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10725 Include __longjmp.c.
10726 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10728 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
10729 (__getcontext): Remove setting __flags field.
10731 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
10732 (__swapcontext): Remove setting uc_flags field.
10733 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
10734 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
10735 Remove fields uc_high_gprs and __reserved.
10736 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
10737 New file with reverted content.
10738 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
10739 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
10741 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
10744 2014-07-31 Andreas Schwab <schwab@suse.de>
10746 * config.h.in (HAVE_IFUNC): Define to 0.
10747 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
10750 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
10752 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10753 memmove-avx-unaligned, memcpy-avx-unaligned and
10754 mempcpy-avx-unaligned.
10755 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10756 Add tests for AVX memcpy functions.
10757 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
10758 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
10760 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
10761 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
10763 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
10764 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
10766 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
10767 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
10768 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
10770 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10773 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
10776 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
10779 * manual/llio.texi: Add section about open file description locks.
10780 * manual/examples/ofdlocks.c: Example of open file description
10782 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
10783 F_OFD_SETLK, and F_OFD_SETLKW.
10785 2014-07-23 Allan McRae <allan@archlinux.org>
10787 * po/es.po: Update Spanish translation from translation project.
10789 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
10791 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
10793 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
10796 * sysdeps/arm/dl-machine.h (elf_machine_rela)
10797 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
10798 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
10800 2014-07-17 Joseph Myers <joseph@codesourcery.com>
10803 * math/fesetenv.c (__fesetenv)
10804 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
10805 * math/feupdateenv.c (__feupdateenv)
10806 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
10808 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
10809 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10810 (__ASSUME_SOCKETCALL): Do not define.
10812 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
10813 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
10814 (__ASSUME_SOCKETCALL): Do not define.
10815 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
10816 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10817 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10818 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10819 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10820 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
10821 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10822 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10824 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
10825 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
10826 (__ASSUME_SOCKETCALL): Do not define.
10827 (__ASSUME_IPC64): Define unconditionally.
10828 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
10829 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10830 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
10831 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10832 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
10833 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10834 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
10837 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
10838 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
10839 (__ASSUME_SOCKETCALL): Do not define.
10840 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
10841 (__ASSUME_FUTEX_LOCK_PI): Likewise.
10842 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10843 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10844 (__ASSUME_REQUEUE_PI): Define unconditionally.
10845 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
10846 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10847 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10848 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
10849 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10850 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10852 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
10853 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
10854 (__ASSUME_SOCKETCALL): Do not define.
10855 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
10856 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10857 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10858 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
10859 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10860 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10862 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
10863 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
10864 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10865 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
10866 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10867 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
10868 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10869 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
10870 (__ASSUME_GETCPU_SYSCALL): Likewise.
10872 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
10873 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
10874 cases for individual architectures.
10875 * sysdeps/gnu/configure: Regenerated.
10876 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
10877 LIBC_SLIBDIR_RTLDDIR.
10878 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
10879 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
10880 LIBC_SLIBDIR_RTLDDIR.
10881 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
10882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
10883 LIBC_SLIBDIR_RTLDDIR.
10884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10886 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
10887 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
10889 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
10890 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
10892 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
10893 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
10894 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
10895 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
10897 * sysdeps/aarch64/shlib-versions: Move to ...
10898 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
10899 * sysdeps/alpha/shlib-versions: Move to ...
10900 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
10901 * sysdeps/arm/shlib-versions: Move to ...
10902 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
10903 * sysdeps/hppa/shlib-versions: Move all contents except for
10904 libgcc_s entry to ...
10905 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
10907 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
10908 * sysdeps/ia64/shlib-versions: Move to ...
10909 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
10911 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
10912 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
10913 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
10914 * sysdeps/microblaze/shlib-versions: Move to ...
10915 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
10916 * sysdeps/mips/shlib-versions: Move to ...
10917 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
10919 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
10920 * sysdeps/tile/shlib-versions: Move to ...
10921 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
10922 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
10924 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
10925 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
10927 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
10929 2014-07-17 Will Newton <will.newton@linaro.org>
10931 * sysdeps/arm/bits/atomic.h
10932 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
10933 (__arch_compare_and_exchange_bool_16_int): Likewise.
10934 (__arch_compare_and_exchange_bool_64_int): Likewise.
10936 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
10937 into an #else block.
10939 2014-07-16 Roland McGrath <roland@hack.frob.com>
10941 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
10942 just Linux configurations. Test empirically that the compiler sets
10943 __ARM_EABI__, rather than using the tuple to decide.
10944 * sysdeps/arm/preconfigure: Regenerated.
10945 * sysdeps/unix/sysv/linux/arm/configure: File removed.
10946 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
10947 contents appended ...
10948 * sysdeps/arm/configure.ac: ... here.
10949 * sysdeps/arm/configure: Regenerated.
10951 2014-07-15 Roland McGrath <roland@hack.frob.com>
10953 * nptl/pthread_kill.c: New file.
10954 * nptl/pthread_sigmask.c: New file.
10955 * nptl/pthread_sigqueue.c: New file.
10957 * sysdeps/nptl/lowlevellock.h: New file.
10958 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
10959 * sysdeps/nptl/lowlevellock-futex.h: New file.
10961 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
10962 Remove dead declarations.
10964 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
10966 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
10967 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
10968 config-cflags-avx2.
10969 * sysdeps/x86_64/configure.ac: Likewise.
10970 * sysdeps/i386/configure: Regenerated.
10971 * sysdeps/x86_64/configure: Likewise.
10972 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10973 memset-avx2 only if config-cflags-avx2 is yes.
10974 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10975 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
10977 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
10978 only if HAVE_AVX2_SUPPORT is defined.
10979 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10981 2014-07-14 Alan Modra <amodra@gmail.com>
10984 * elf/elf.h (DT_PPC64_NUM): Correct value.
10985 * NEWS: Add to fixed bug list.
10987 2014-07-13 Jim Meyering <meyering@fb.com>
10990 regex: don't deref NULL upon heap allocation failure
10991 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
10992 failure in one more place.
10993 To trigger the segfault, configure grep -with-included-regex,
10994 build it, and run these commands:
10995 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
10997 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
10999 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11001 2014-07-11 Richard Henderson <rth@redhat.com>
11003 * sysdeps/aarch64/libm-test-ulps: Update.
11005 2014-07-10 Florian Weimer <fweimer@redhat.com>
11008 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
11009 * nptl/allocatestack.c (__nptl_setxid_error): New function.
11010 (__nptl_setxid): Initialize error member. Call
11011 __nptl_setxid_error.
11012 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
11013 * nptl/descr.h (struct xid_command): Add error member.
11014 * nptl/tst-setuid3.c: New file.
11015 * nptl/Makefile (tests): Add it.
11017 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11019 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
11021 (__lll_trylock): Use __lll_base_trylock.
11022 (__lll_cond_trylock): Likewise.
11024 2014-07-10 Roland McGrath <roland@hack.frob.com>
11026 * nptl/pthread_create.c (start_thread): Use atomic_or and
11027 lll_futex_wake directly rather than lll_robust_dead.
11028 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11029 (lll_robust_dead): Macro removed.
11030 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
11031 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11032 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11033 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11034 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11035 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11036 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11037 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11038 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11039 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11040 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11041 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11042 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11043 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11044 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11046 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11047 Use atomic_compare_and_exchange_val_acq directly rather than
11048 lll_robust_trylock.
11049 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11050 (__lll_robust_trylock, lll_robust_trylock): Removed.
11051 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11052 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11053 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11054 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11055 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11056 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11057 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11058 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11059 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11060 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11061 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11062 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11063 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11064 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11066 2014-07-02 Florian Weimer <fweimer@redhat.com>
11068 * manual/locale.texi (Locale Names): New section documenting
11069 locale name syntax. Adjust menu and node chaining accordingly.
11070 (Choosing Locale): Reference Locale Names, Locale Categories.
11071 Mention setting LC_ALL=C. Reflect that name syntax is now
11073 (Locale Categories): New section title. Reference Locale Names.
11074 LC_ALL is an environment variable, but not a category.
11075 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
11076 description, now in Locale Name. Reference that section. Locale
11077 name syntax is now documented.
11079 2014-07-02 Florian Weimer <fweimer@redhat.com>
11082 * locale/findlocale.c (name_present, valid_locale_name): New
11084 (_nl_find_locale): Use the loc_name variable to store name
11085 candidates. Call name_present and valid_locale_name to check and
11086 validate locale names. Return an error if the locale is invalid.
11088 2014-07-02 Florian Weimer <fweimer@redhat.com>
11090 * locale/setlocale.c (setlocale): Use strdup for allocating
11091 composite name copy.
11093 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11095 Sync up with gnulib.
11096 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
11097 [!_LIBC && ENABLE_NLS]: Include gettext.h.
11098 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
11099 and _GL_ARG_NONNULL.
11100 [USE_UNLOCKED_IO]: Include unlocked-io.h.
11101 [!_LIBC]: Include code for Windows and Cygwin.
11102 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
11103 Include prototype for int strerror_r.
11104 [!_LIBC] (is_open): New function.
11105 (flush_stdout): New function.
11106 (print_errno_message): Use it.
11108 (error_at_line): Likewise.
11109 (error_tail) Add function attribute macros. Use
11112 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
11114 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
11116 * io/ftw.c: Include sys/param.h unconditionally.
11118 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
11121 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
11123 (freecache): New function to free CACHE on exit.
11125 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
11128 2014-07-09 David S. Miller <davem@davemloft.net>
11130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11132 * sysdeps/sparc/nptl/internaltypes.h: Delete.
11133 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
11134 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
11135 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
11136 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
11137 * sysdeps/sparc/nptl/sem_init.c: Likewise.
11138 * sysdeps/sparc/nptl/sem_post.c: Likewise.
11139 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
11140 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
11141 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
11142 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
11143 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
11144 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
11146 2014-07-09 Andreas Schwab <schwab@suse.de>
11148 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
11150 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
11151 (do_test): Likewise.
11153 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11155 2014-07-09 Will Newton <will.newton@linaro.org>
11157 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
11158 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
11159 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
11160 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
11161 * sysdeps/hppa/start.S (_start): Likewise.
11163 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11165 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
11167 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
11170 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11172 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
11173 after checking that it is non-NULL.
11175 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
11177 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11179 * sysdeps/powerpc/memmove.c: Remove file.
11180 * sysdeps/powerpc/powerpc32/power4/memcopy.h
11181 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
11182 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
11183 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
11184 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
11185 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
11186 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
11187 string memmove instead of removed powerpc one.
11189 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11190 [weak_alias]: Fix compiler warning due trailing data.
11191 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
11192 [weak_alias]: Likewise.
11193 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
11194 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
11196 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11197 (__libc_ifunc_impl_list): Add memmove functions.
11199 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11201 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
11203 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
11205 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
11207 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
11209 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
11211 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
11213 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
11215 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
11217 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
11219 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
11221 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
11223 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
11225 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
11227 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
11229 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
11231 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
11233 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
11236 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11238 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
11239 to avoid alignment traps in non-cacheable memory.
11240 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11242 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
11244 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
11245 file: multiarch power7 memmove.
11246 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
11247 multiarch default memmove.
11248 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
11249 multiarch memove for powerpc32/power4.
11251 * string/bcopy.c: Use full path to include memmove.c.
11252 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
11254 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
11255 bcopy for powerpc64.
11256 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
11257 bcopy for powerpc64.
11258 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
11259 and memmove implementations.
11260 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
11261 optimized multiarch memmove for POWER7/powerpc64.
11262 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
11263 default multiarch memmove for powerpc64.
11264 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
11265 multiarch for powerpc64.
11266 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
11267 for POWER7/powerpc64.
11268 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
11269 memmove for POWER7/powerpc64.
11271 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
11274 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
11275 __ELF_NATIVE_CLASS equal to 64.
11277 2014-07-07 Roland McGrath <roland@hack.frob.com>
11279 * sysdeps/nptl/lowlevellock.h: File removed.
11281 * NEWS: NPTL is no longer an add-on!
11282 * nptl/internaltypes.h: Moved ...
11283 * sysdeps/nptl/internaltypes.h: ... here.
11284 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
11285 * sysdeps/nptl/fork.c: Likewise.
11286 * sysdeps/nptl/gai_misc.h: Likewise.
11287 * sysdeps/nptl/librt-cancellation.c: Likewise.
11288 * sysdeps/nptl/jmp-unwind.c: Likewise.
11289 * sysdeps/nptl/setxid.h: Likewise.
11290 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
11291 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
11292 * sysdeps/unix/sysv/linux/arm/Implies: New file.
11293 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
11294 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
11295 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
11296 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
11297 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
11298 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
11299 * sysdeps/unix/sysv/linux/mips/Implies: New file.
11300 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
11301 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
11302 * sysdeps/unix/sysv/linux/sh/Implies: New file.
11303 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
11304 * sysdeps/unix/sysv/linux/tile/Implies: New file.
11305 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
11306 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
11307 * nptl/Makeconfig: Moved ...
11308 * sysdeps/nptl/Makeconfig: ... here.
11309 * nptl/configure: File removed.
11310 * nptl/ANNOUNCE: File removed.
11311 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
11312 * sysdeps/unix/sysv/linux/configure: Regenerated.
11314 * nptl/Makefile (routines): Add libc_pthread_init,
11315 libc_multiple_threads, register-atfork and unregister-atfork.
11316 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
11317 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
11318 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
11319 pthread-pi-defines.sym, structsem.sym.
11320 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
11321 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
11322 [$(subdir) = nptl] (tests): Add tst-setgetname.
11323 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
11324 * sysdeps/unix/sysv/linux/sigaction.c: Just include
11325 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
11326 [!LIBC_SIGACTION]: Remove aliases.
11327 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11328 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11329 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11330 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
11331 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11332 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
11333 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11334 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11335 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11336 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
11337 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
11338 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
11339 __libc_allocate_rtsig_private.
11340 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
11341 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
11342 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
11343 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
11344 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
11345 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
11346 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
11347 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
11348 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
11349 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
11350 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
11351 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
11352 * nptl/internaltypes.h: ... here.
11353 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
11354 * sysdeps/nptl/jmp-unwind.c: ... here.
11355 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
11356 * nptl/libc-lowlevellock.c: ... here.
11357 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
11358 * nptl/libc_multiple_threads.c: ... here.
11359 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
11360 * nptl/libc_pthread_init.c: ... here.
11361 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
11362 * nptl/lowlevelbarrier.sym: ... here.
11363 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
11364 * nptl/lowlevelcond.sym: ... here.
11365 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
11366 * nptl/lowlevellock.c: ... here.
11367 * nptl/lowlevellock.h: Moved ...
11368 * sysdeps/nptl/lowlevellock.h: ... here.
11369 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
11370 * nptl/lowlevelrobustlock.c: ... here.
11371 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
11372 * nptl/lowlevelrobustlock.sym: ... here.
11373 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
11374 * nptl/lowlevelrwlock.sym: ... here.
11375 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
11376 * nptl/pt-fork.c: ... here.
11377 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
11378 * nptl/pthread-pi-defines.sym: ... here.
11379 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
11380 * nptl/pthread_attr_getaffinity.c: ... here.
11381 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
11382 * nptl/pthread_attr_setaffinity.c: ... here.
11383 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
11384 * nptl/pthread_mutex_cond_lock.c: ... here.
11385 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11387 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
11388 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
11389 * nptl/pthread_once.c: ... here, replacing old file.
11390 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
11391 * nptl/pthread_yield.c: ... here.
11392 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
11393 * nptl/register-atfork.c: ... here.
11394 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
11395 * nptl/sem_post.c: ... here.
11396 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
11397 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
11398 * nptl/sem_timedwait.c: ... here.
11399 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
11400 * nptl/sem_trywait.c: ... here.
11401 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
11402 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
11403 * nptl/sem_wait.c: ... here.
11404 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
11405 * nptl/structsem.sym: ... here.
11406 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
11407 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
11408 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
11409 * nptl/unregister-atfork.c: ... here.
11410 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
11411 * nptl/unwindbuf.sym: ... here.
11412 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
11413 * sysdeps/nptl/fork.c: ... here.
11414 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
11415 * sysdeps/nptl/fork.h: ... here.
11416 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
11417 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
11418 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
11419 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
11420 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
11421 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
11422 * sysdeps/unix/sysv/linux/getpid.c: ... here.
11423 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
11424 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
11425 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
11426 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
11427 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
11428 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
11429 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
11430 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
11431 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
11432 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
11433 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
11434 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
11435 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
11436 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
11437 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
11438 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
11439 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
11440 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
11441 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
11442 * sysdeps/unix/sysv/linux/raise.c: ... here.
11443 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
11444 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
11445 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
11446 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
11447 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
11448 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
11449 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
11450 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
11451 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
11452 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
11453 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
11454 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
11455 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
11456 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
11457 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
11459 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11461 * sysdeps/generic/memcopy.h: Add comment for
11462 MEMCPY_OK_FOR_FWD_MEMMOVE.
11464 2014-07-04 Will Newton <will.newton@linaro.org>
11466 * string/memchr.c: Merge from gnulib.
11467 [_LIBC]: Remove conditionals.
11468 (__ptr_t): Remove define.
11469 (LONG_MAX_32_BITS): Likewise.
11470 (LONG_MAX): Likewise.
11471 (MEMCHR): Use ANSI prototype and optimize algorithm.
11473 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
11475 2014-07-03 Roland McGrath <roland@hack.frob.com>
11477 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
11478 (lll_futex_timed_wait_bitset): Fix syscall argument count.
11480 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
11481 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
11482 in a bare environment with no <stdlib.h> installed.
11483 * sysdeps/nptl/configure: Regenerated.
11485 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
11487 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
11488 AC_EGREP_CPP for kernel header checks, so they only succeed if
11489 including <linux/version.h> actually works right.
11490 * sysdeps/unix/sysv/linux/configure: Regenerated.
11492 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
11493 value so it's not diagnosed as unused.
11495 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
11496 thing) with "ifeq ($(subdir),rt)".
11498 2014-07-03 Richard Henderson <rth@redhat.com>
11500 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
11501 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
11502 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
11504 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
11505 (math_force_eval): New.
11507 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
11508 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
11510 * sysdeps/alpha/fpu/s_round.c: Remove file.
11511 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
11513 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
11514 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
11515 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
11516 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
11517 (_dl_start, print_statistics): Likewise.
11518 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
11519 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
11521 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11522 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11523 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11524 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11525 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11526 (HP_SMALL_TIMING_AVAIL): Define.
11527 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11528 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11529 (HP_SMALL_TIMING_AVAIL): Define.
11530 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11531 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11533 * sysdeps/aarch64/hp-timing.h: New file.
11535 * sysdeps/generic/hp-timing.h: Remove dead comment.
11536 * sysdeps/generic/hp-timing-common.h: New file.
11537 * sysdeps/alpha/hp-timing.h: Include it.
11538 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
11539 * sysdeps/i386/i686/hp-timing.h: Likewise.
11540 * sysdeps/ia64/hp-timing.h: Likewise.
11541 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11542 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11543 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11544 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11545 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
11546 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
11547 (hp_timing_t): New.
11549 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
11550 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
11551 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
11552 * elf/rtld.c (_dl_start_final): Likewise.
11553 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
11554 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11555 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11556 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11557 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11558 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11559 (HP_TIMING_DIFF_INIT): Remove.
11560 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11561 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11562 (HP_TIMING_DIFF_INIT): Remove.
11563 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11564 * sysdeps/i386/i686/hp-timing.c: Remove file.
11565 * sysdeps/x86_64/hp-timing.c: Remove file.
11566 * sysdeps/ia64/hp-timing.c: Remove file.
11567 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
11568 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
11569 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
11570 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
11572 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
11573 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
11574 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
11575 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11576 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11577 (HP_TIMING_ACCUM): Remove.
11578 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11579 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
11580 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11582 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
11583 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
11584 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
11585 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
11586 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
11587 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11588 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
11589 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11591 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
11593 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
11595 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
11597 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11599 Sync up with gettext.
11600 * intl/loadmsgcat.c: Define O_BINARY if not defined.
11601 [_MSC_VER]: Include malloc.h
11602 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
11603 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
11604 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
11605 TEMP_FAILURE_RETRY. Cast return of alloca.
11606 [!_LIBC] Call gl_rwlock_init.
11607 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
11609 2014-07-02 Roland McGrath <roland@hack.frob.com>
11611 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
11612 before checking its value.
11614 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11616 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
11618 * debug/memcpy_chk.c: Don't include pagecopy.h.
11619 * debug/mempcpy_chk.c: Likewise.
11620 * string/memcpy.c: Likewise.
11621 * string/memmove.c: Likewise.
11622 * sysdeps/powerpc/memmove.c: Likewise.
11623 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
11624 definition of PAGE_COPY_FWD_MAYBE here...
11625 * sysdeps/generic/pagecopy.h: ... from here.
11626 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
11628 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11629 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11631 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
11632 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
11634 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11635 (__libc_ifunc_impl_list): Likewise.
11636 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
11637 multiarch strcat for PPC64.
11638 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
11639 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
11641 2014-07-02 Roland McGrath <roland@hack.frob.com>
11643 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
11645 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11647 * intl/loadmsgcat.c: Remove declaration of
11648 get_sysdep_segment_value.
11649 (get_sysdep_segment_value): Use ISO C style.
11650 (_nl_load_domain): Use ISO C style. Get rid of redundant
11651 semicolon. Fix typo and formatting in comment.
11652 (_nl_unload_domain): Use ISO C style.
11654 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
11656 2014-07-02 Will Newton <will.newton@linaro.org>
11658 * malloc/obstack.c: Merge from gnulib master.
11659 [HAVE_CONFIG_H]: Remove conditional code.
11660 [!_LIBC]: Include config.h.
11661 [!ELIDE_CODE]: Don't include inttypes.h, include
11662 stdint.h unconditionally.
11663 (print_and_abort): Mark as _Noreturn.
11664 (_obstack_allocated_p): Mark as __attribute_pure__.
11665 (obstack_free): Rename to __obstack_free.
11666 [!__attribute__]: Remove conditional code.
11667 * malloc/obstack.h: Merge from gnulib master.
11668 [__cplusplus]: Move conditional down.
11669 [!__attribute_pure__]: Define __attribute_pure__ here
11670 if it is not already defined.
11671 (_obstack_memory_used): Mark as __attribute_pure__.
11672 [!__obstack_free]: Define as obstack_free.
11673 [__GNUC__]: Remove check for ancient NeXT gcc.
11675 2014-07-02 Will Newton <will.newton@linaro.org>
11676 Paul Eggert <eggert@cs.ucla.edu>
11678 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
11680 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11682 * resolv/gethnamaddr.c: Add comment warning that the file is
11685 2014-07-01 Carlos O'Donell <carlos@redhat.com>
11687 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
11690 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
11691 entry for aio_cancel and aio_cancel64.
11692 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
11693 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
11694 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
11695 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
11696 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
11697 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
11698 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
11699 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
11700 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
11701 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
11702 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
11703 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
11704 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
11706 2014-07-01 Roland McGrath <roland@hack.frob.com>
11708 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
11709 * nptl/pthread_mutex_lock.c: Likewise.
11710 * nptl/pthread_mutex_timedlock.c: Likewise.
11711 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
11713 2014-07-01 Richard henderson <rth@redhat.com>
11715 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
11716 (__isnan, __isnanl): Remove.
11717 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
11719 * sysdeps/alpha/fpu/libm-test-ulps: Update.
11721 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
11723 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11725 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11727 * resolv/nss_dns/dns-host.c (getanswer_r)
11728 [MULTI_PTRS_ARE_ALIASES]: Remove code.
11730 2014-07-01 Joseph Myers <joseph@codesourcery.com>
11732 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11733 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
11735 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
11736 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
11738 2014-07-01 Roland McGrath <roland@hack.frob.com>
11740 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
11741 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
11743 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
11744 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
11746 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
11747 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
11749 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
11750 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
11752 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
11753 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
11754 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
11755 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
11757 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
11758 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
11759 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
11760 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
11761 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
11763 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
11765 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
11766 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
11767 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
11768 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
11769 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
11770 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
11771 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
11772 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
11773 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
11774 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
11775 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
11776 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
11777 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
11778 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
11779 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
11780 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
11781 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
11782 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
11783 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
11784 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
11786 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
11787 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
11788 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
11789 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
11790 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
11791 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
11792 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
11793 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
11795 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
11797 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
11798 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
11799 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
11802 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11806 2014-06-30 Joseph Myers <joseph@codesourcery.com>
11808 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11809 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11811 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11813 * sysdeps/arm/libm-test-ulps: Regenerated.
11815 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
11816 Roland McGrath <roland@hack.frob.com>
11818 * test-skeleton.c (signal_handler): Kill the whole process group
11819 before killing the child individually.
11820 (main): Report any failure on `setpgid'.
11822 2014-06-30 Roland McGrath <roland@hack.frob.com>
11824 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
11825 from _TLS_H to _ARM_NPTL_TLS_H.
11826 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
11827 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
11829 2014-06-30 Joseph Myers <joseph@codesourcery.com>
11832 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
11833 (__expm1l): Return argument unchanged when small but not
11836 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
11837 include macro name.
11838 (_FP_UNPACK_RAW_1_P): Likewise.
11839 (_FP_PACK_RAW_1): Likewise.
11840 (_FP_PACK_RAW_1_P): Likewise.
11841 (_FP_MUL_MEAT_1_wide): Likewise.
11842 (_FP_MUL_MEAT_DW_1_hard): Likewise.
11843 (_FP_MUL_MEAT_1_hard): Likewise.
11844 (_FP_DIV_MEAT_1_imm): Likewise.
11845 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
11846 (_FP_DIV_MEAT_1_udiv): Likewise.
11847 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
11848 (_FP_UNPACK_RAW_2): Likewise.
11849 (_FP_UNPACK_RAW_2_P): Likewise.
11850 (_FP_PACK_RAW_2): Likewise.
11851 (_FP_PACK_RAW_2_P): Likewise.
11852 (_FP_MUL_MEAT_DW_2_wide): Likewise.
11853 (_FP_MUL_MEAT_2_wide): Likewise.
11854 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
11855 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11856 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
11857 (_FP_MUL_MEAT_2_gmp): Likewise.
11858 (_FP_DIV_MEAT_2_udiv): Likewise.
11859 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
11860 (_FP_FRAC_SRL_4): Likewise.
11861 (_FP_FRAC_SRST_4): Likewise.
11862 (_FP_FRAC_SRS_4): Likewise.
11863 (_FP_UNPACK_RAW_4): Likewise.
11864 (_FP_UNPACK_RAW_4_P): Likewise.
11865 (_FP_PACK_RAW_4): Likewise.
11866 (_FP_PACK_RAW_4_P): Likewise.
11867 (_FP_MUL_MEAT_DW_4_wide): Likewise.
11868 (_FP_MUL_MEAT_4_wide): Likewise.
11869 (_FP_MUL_MEAT_4_gmp): Likewise.
11870 (umul_ppppmnnn): Likewise.
11871 (_FP_DIV_MEAT_4_udiv): Likewise.
11872 (__FP_FRAC_ADD_4): Likewise.
11873 (__FP_FRAC_SUB_3): Likewise.
11874 (__FP_FRAC_SUB_4): Likewise.
11875 (__FP_FRAC_DEC_3): Likewise.
11876 (__FP_FRAC_DEC_4): Likewise.
11877 (__FP_FRAC_ADDI_4): Likewise.
11878 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
11879 (_FP_FRAC_SRL_8): Likewise.
11880 (_FP_FRAC_SRS_8): Likewise.
11882 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
11883 include macro name.
11884 (FP_UNPACK_RAW_EP): Likewise.
11885 (FP_PACK_RAW_E): Likewise.
11886 (FP_PACK_RAW_EP): Likewise.
11887 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
11888 (_FP_ISSIGNAN): Likewise.
11889 (_FP_ADD_INTERNAL): Likewise.
11890 (_FP_FMA): Likewise.
11891 (_FP_CMP): Likewise.
11892 (_FP_SQRT): Likewise.
11893 (_FP_TO_INT): Likewise.
11894 (_FP_FROM_INT): Likewise.
11895 (FP_EXTEND): Likewise.
11896 (_FP_DIV_MEAT_N_loop): Likewise.
11898 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
11900 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
11903 2014-06-29 Joseph Myers <joseph@codesourcery.com>
11906 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
11907 result with correct sign in case of exponents that produce
11908 overflow except for X very close to 1.
11910 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
11912 mktime: merge #if/#ifdef usage from glibc
11913 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
11914 as that works with both Glibc's and Gnulib's style.
11915 See thread starting at Siddhesh Poyarekar's bug report at:
11916 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
11918 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11920 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
11921 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
11922 * sysdeps/tile/tilegx/memmove.c: Remove file.
11924 2014-06-27 Joseph Myers <joseph@codesourcery.com>
11926 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
11927 abi-name definition.
11928 * scripts/soversions.awk: Do not handle or generate ABI lines.
11929 * shlib-versions: Remove ABI entries.
11930 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
11931 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
11933 2014-06-27 Roland McGrath <roland@hack.frob.com>
11935 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
11936 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
11937 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
11938 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
11939 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
11940 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
11941 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
11943 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
11945 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
11946 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
11947 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
11948 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
11949 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
11950 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
11951 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
11952 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
11953 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
11954 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
11955 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
11956 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
11957 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
11959 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
11960 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
11961 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
11962 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
11963 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
11964 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
11966 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
11967 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
11969 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
11970 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
11971 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
11972 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
11974 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
11975 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
11976 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
11977 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
11978 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
11979 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
11980 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
11981 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
11983 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
11984 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
11985 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
11986 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
11988 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
11989 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
11991 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
11992 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
11993 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
11994 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
11996 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
11998 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
11999 Identical file removed.
12000 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
12002 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
12003 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
12004 Identical file removed.
12005 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
12006 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
12007 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
12009 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
12010 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
12011 Identical file removed.
12012 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
12013 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
12014 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
12015 Identical file removed.
12016 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
12017 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
12018 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
12019 Identical file removed.
12020 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
12021 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
12022 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
12023 Identical file removed.
12024 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
12026 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
12027 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
12028 Identical file removed.
12029 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
12031 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
12032 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
12033 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
12034 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
12035 Identical file removed.
12036 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
12038 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
12040 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
12041 Identical file removed.
12042 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
12044 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
12045 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
12046 Identical file removed.
12047 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
12049 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
12050 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
12051 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
12052 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
12053 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
12054 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
12056 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
12057 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
12058 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
12060 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
12061 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
12062 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
12063 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
12064 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
12066 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
12069 * nscd/nscd.c (monitor_child): Return exit status of child
12070 instead of return value from wait syscall.
12072 2014-06-27 Joseph Myers <joseph@codesourcery.com>
12074 * configure.ac (libc_commonpagesize): Remove variable.
12075 (libc_relro_required): Likewise.
12076 (libc_cv_z_relro): Remove configure test.
12077 * configure: Regenerated.
12078 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
12080 (libc_relro_required): Likewise.
12081 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
12082 (libc_relro_required): Likewise.
12083 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
12084 (libc_relro_required): Likewise.
12085 * sysdeps/arm/preconfigure: Regenerated.
12086 * sysdeps/ia64/preconfigure: Remove file.
12087 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
12089 (libc_relro_required): Likewise.
12093 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
12094 (__ieee754_yn): Set FE_TONEAREST mode internally and then
12095 recompute overflowing results in original rounding mode.
12096 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
12097 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
12098 recompute overflowing results in original rounding mode.
12099 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
12100 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12101 recompute overflowing results in original rounding mode.
12102 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
12103 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12104 recompute overflowing results in original rounding mode.
12105 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
12106 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12107 recompute overflowing results in original rounding mode.
12108 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
12109 (libc_feholdsetround_ctx): New macro.
12110 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
12111 * sysdeps/i386/fpu/libm-test-ulps: Update.
12112 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
12114 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12116 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
12117 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
12118 corresponding .cpsetup call.
12120 2014-06-26 Roland McGrath <roland@hack.frob.com>
12122 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
12123 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
12124 * sysdeps/arm/Makefile [$(subdir) = csu]
12125 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
12126 (static-only-routines): Add aeabi_read_tp here.
12127 (shared-only-routines): Add libc-aeabi_read_tp here.
12128 (CFLAGS-libc-start.c): Add -fexceptions here.
12129 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
12130 (sysdep_routines, static-only-routines, shared-only-routines):
12131 Don't add to these here.
12132 (CFLAGS-libc-start.c): Likewise.
12134 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
12135 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12136 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
12137 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12138 * sysdeps/arm/Makefile [$(subdir) = rt]
12139 (librt-sysdep_routines, librt-shared-only-routines):
12140 Append rt-aeabi_unwind_cpp_pr1 here.
12141 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
12142 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
12143 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
12144 (libpthread-sysdep_routines, libpthread-shared-only-routines):
12145 Append nptl-aeabi_unwind_cpp_pr1 here.
12146 (tests): Filter out tst-cleanupx4 here.
12147 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
12148 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
12149 Don't do those here.
12151 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12153 * scripts/list-sources.sh: Do not handle ports specially.
12155 2014-06-26 Roland McGrath <roland@hack.frob.com>
12157 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
12158 * sysdeps/arm/feupdateenv.c: Likewise.
12160 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
12162 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12164 * manual/texinfo.tex: Update to version 2014-05-05.10 with
12165 trailing whitespace removed.
12166 * scripts/config.guess: Update to version 2014-03-23.
12167 * scripts/config.sub: Update to version 2014-05-01
12168 * scripts/install-sh: Update to version 2013-12-25.23.
12169 * scripts/move-if-change: Update from gnulib.
12171 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12173 * debug/memmove_chk.c: Remove pagecopy.h include.
12175 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
12177 * time/mktime.c (leapyear): Remove inline keyword. The code is now
12178 identical to gnulib mktime.
12180 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12182 * configure.ac: Do not test for machine being rs6000. Do not test
12183 for powerpc*-*soft.
12184 * configure: Regenerated.
12187 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
12189 * configure: Regenerated.
12190 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
12191 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
12192 Remove configure test.
12193 * sysdeps/arm/configure: Regenerated.
12194 * sysdeps/nptl/configure.ac: Do not check
12195 libc_cv_asm_cfi_directives.
12196 * sysdeps/nptl/configure: Regenerated.
12197 * sysdeps/x86_64/nptl/configure.ac: Remove file.
12198 * sysdeps/x86_64/nptl/configure: Remove generated file.
12199 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
12201 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
12203 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12205 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
12206 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
12207 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
12210 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
12211 instead of whether it is defined.
12212 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
12213 * sysdeps/hppa/dl-machine.h: Likewise.
12214 * sysdeps/ia64/dl-machine.h: Likewise.
12215 * sysdeps/m68k/dl-machine.h: Likewise.
12216 * sysdeps/microblaze/dl-machine.h: Likewise.
12217 * sysdeps/mips/dl-machine.: Likewise.
12218 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12219 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12220 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12221 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12222 * sysdeps/sh/dl-machine.h: Likewise.
12223 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12224 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12225 * sysdeps/tile/dl-machine.h: Likewise.
12226 * sysdeps/x86_64/dl-machine.h: Likewise.
12228 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
12230 (verify_persistent_db): Likewise.
12232 2014-06-26 Roland McGrath <roland@hack.frob.com>
12234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
12235 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
12236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
12237 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
12238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12240 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
12243 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
12244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
12245 Identical file removed.
12246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
12247 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
12248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
12249 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
12250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
12251 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
12252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
12253 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
12254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
12255 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
12256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12258 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
12259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
12260 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
12261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
12262 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
12263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12265 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
12266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
12267 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
12268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
12269 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
12270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12271 Identical file removed.
12272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
12273 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
12274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
12275 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
12276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12278 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
12281 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
12282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
12283 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
12284 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
12285 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
12286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
12287 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
12288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
12289 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
12290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12292 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
12293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
12295 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
12296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
12297 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
12298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12300 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
12301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
12302 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
12304 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
12306 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
12307 * sysdeps/unix/sysv/linux/s390/Versions
12308 (libpthread: GLIBC_2.19): New version set.
12309 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
12310 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
12311 (librt: GLIBC_2.3.3): New version set.
12312 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
12313 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
12314 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
12315 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
12316 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
12317 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
12318 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
12319 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
12320 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
12321 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
12322 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
12323 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
12324 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
12325 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
12326 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
12327 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
12328 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
12329 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
12330 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
12331 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
12332 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
12333 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
12334 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
12335 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
12336 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
12337 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
12338 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
12339 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
12340 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
12341 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
12342 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
12343 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
12344 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
12345 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
12346 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
12347 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
12348 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
12349 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
12350 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
12351 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
12352 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
12353 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
12354 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
12355 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
12356 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
12358 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
12359 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
12360 (__libc_vfork): Define the function under this name.
12361 [!NOT_IN_libc] (__vfork): Make this an alias.
12362 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12363 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
12364 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
12365 (__libc_vfork): Define the function under this name.
12366 [!NOT_IN_libc] (__vfork): Make this an alias.
12367 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12368 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
12369 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
12370 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
12371 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
12372 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12374 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
12375 code that was previously under [RESET_PID].
12376 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
12377 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
12378 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
12380 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
12381 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
12382 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
12383 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
12384 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
12385 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
12386 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
12387 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
12388 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
12389 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
12390 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
12392 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
12393 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
12394 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
12395 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
12396 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
12397 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
12398 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
12399 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
12400 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
12401 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
12402 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
12403 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
12404 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
12405 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
12406 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
12407 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
12408 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
12409 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
12410 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
12411 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
12412 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
12413 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
12414 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
12415 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
12416 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
12417 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
12418 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
12419 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
12420 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
12422 2014-06-25 Roland McGrath <roland@hack.frob.com>
12424 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
12425 that was previously under [RESET_PID].
12426 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
12428 2014-06-25 Joseph Myers <joseph@codesourcery.com>
12430 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
12431 not undefine and redefine.
12432 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
12433 [O_CLOEXEC]: Make code unconditional.
12434 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
12435 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
12436 <kernel-features.h>.
12437 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
12438 conditional variable definition.
12439 (shm_open) [O_CLOEXEC]: Make code unconditional.
12440 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
12443 * configure.ac (USE_REGPARMS): Don't define here.
12444 * configure: Regenerated.
12445 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
12446 * sysdeps/i386/configure: Regenerated.
12448 * nptl/createthread.c: Don't include kernel-features.h.
12449 * nptl/pthread_cancel.c: Likewise.
12450 * nptl/pthread_condattr_setclock.c: Likewise.
12451 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
12452 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
12453 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
12454 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
12455 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
12456 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
12457 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12458 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
12459 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12460 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
12461 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
12462 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
12463 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
12464 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
12465 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
12466 * nscd/gai.c: Likewise.
12467 * nss/nss_db/db-open.c: Likewise.
12468 * sysdeps/generic/ldsodefs.h: Likewise.
12469 * sysdeps/sh/nptl/tls.h: Likewise.
12470 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12471 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
12472 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
12473 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
12474 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
12475 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12476 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
12477 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12478 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12479 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
12480 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
12481 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12482 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
12483 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
12484 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
12485 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
12486 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
12487 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
12488 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
12489 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
12490 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12491 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12492 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
12493 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
12494 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12495 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12496 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
12497 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
12498 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12499 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
12500 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
12501 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
12502 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
12503 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
12504 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12505 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12506 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12507 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
12508 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
12509 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12510 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12511 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
12512 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
12513 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12514 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
12515 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
12516 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
12517 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
12518 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
12519 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12520 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12521 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12522 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12523 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12524 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
12525 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12526 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12527 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
12528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
12530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
12531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
12532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
12533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
12539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
12540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
12541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
12542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
12548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
12549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
12550 * sysdeps/unix/sysv/linux/pread.c: Likewise.
12551 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
12552 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
12553 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
12554 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
12555 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
12556 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
12557 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
12558 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
12559 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12560 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
12561 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12562 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
12563 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
12564 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
12565 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
12566 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12567 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
12568 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
12569 * sysdeps/unix/sysv/linux/system.c: Likewise.
12570 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
12571 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12572 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12573 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12574 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12575 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12576 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12578 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
12579 * configure: Regenerated.
12580 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
12582 * configure.ac (base_machine): Do not set specially for particular
12584 * configure: Regenerated.
12585 * sysdeps/powerpc/preconfigure: Move machine and base_machine
12586 settings from configure.ac.
12587 * sysdeps/i386/preconfigure: New file.
12588 * sysdeps/s390/preconfigure: Likewise.
12589 * sysdeps/sh/preconfigure: Likewise.
12590 * sysdeps/sparc/preconfigure: Likewise.
12592 2014-06-25 Roland McGrath <roland@hack.frob.com>
12594 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
12595 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
12596 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
12597 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
12598 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
12599 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
12600 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
12601 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
12602 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
12603 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
12604 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
12605 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
12606 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
12607 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
12608 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
12609 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
12610 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
12611 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
12612 * sysdeps/sparc/sparc64/Makefile: ... appended here.
12614 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
12615 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
12616 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
12617 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
12618 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
12619 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
12620 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
12621 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
12622 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
12623 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
12624 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
12625 * sysdeps/sparc/sparc32/sem_post.c: ... here.
12626 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
12627 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
12628 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
12629 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
12630 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
12631 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
12632 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
12633 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
12634 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
12635 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
12636 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
12637 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
12638 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
12639 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
12640 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
12641 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
12642 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
12643 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
12644 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
12645 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
12646 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
12647 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
12648 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
12649 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
12650 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
12651 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
12653 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
12654 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
12655 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
12656 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
12657 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12659 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12661 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
12662 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
12663 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
12664 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
12665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
12667 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
12668 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
12669 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
12670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
12671 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
12672 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
12673 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
12674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12676 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
12677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12679 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
12680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
12681 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
12682 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12684 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
12685 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
12686 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
12687 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
12688 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
12689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
12690 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
12691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
12692 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
12693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12695 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
12698 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
12699 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
12700 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
12701 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
12703 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
12704 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
12705 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
12706 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
12707 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
12708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
12709 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
12710 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12712 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
12713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12715 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
12716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
12717 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
12718 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12720 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
12721 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
12722 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
12723 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
12724 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
12726 2014-06-25 Joseph Myers <joseph@codesourcery.com>
12728 * timezone/checktab.awk: Update from tzcode 2014e.
12729 * timezone/private.h: Likewise.
12730 * timezone/tzfile.h: Likewise.
12731 * timezone/zdump.c: Likewise.
12732 * timezone/zic.c: Likewise.
12734 * sysdeps/unix/sysv/linux/kernel-features.h
12735 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
12736 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
12737 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
12738 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12739 Remove conditional code.
12741 2014-06-25 Will Newton <will.newton@linaro.org>
12743 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
12744 (_dl_arm_cap_flags): Add HWCAP2 values.
12745 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
12746 (_DL_HWCAP_COUNT): Increase to 37.
12747 (_DL_HWCAP_LAST): New define.
12748 (_DL_HWCAP2_LAST): New define.
12749 (_dl_procinfo): Add support for printing
12751 (_dl_string_hwcap): Use _dl_hwcap_string.
12753 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12757 2014-06-25 Joseph Myers <joseph@codesourcery.com>
12759 * README: Do not mention ports directory.
12761 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
12763 * sysdeps/unix/sysv/linux/futimes.c: Do not include
12764 <kernel-features.h>.
12765 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
12766 conditional variable definition.
12767 (__futimes): Update comment.
12768 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
12769 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
12772 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
12773 arguments close to 0.
12774 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
12776 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
12778 * math/auto-libm-test-in: Add more tests of exp10.
12779 * math/auto-libm-test-out: Regenerated.
12780 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12782 * sysdeps/unix/sysv/linux/kernel-features.h
12783 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
12784 * sysdeps/unix/sysv/linux/readv.c: Do not include
12785 <kernel-features.h>.
12786 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12787 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12788 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12790 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12792 * sysdeps/unix/sysv/linux/writev.c: Do not include
12793 <kernel-features.h>.
12794 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12795 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12796 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12798 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12801 2014-06-25 Will Newton <will.newton@linaro.org>
12803 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
12804 comment changes throughout the file. Remove checks
12805 for HAVE_*_H definitions that are not required.
12806 (__gen_tempname): Call abort if an unknown kind value is
12809 2014-06-25 Andreas Schwab <schwab@suse.de>
12812 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
12813 scalbln, scalblnf, scalblnl in libc.
12815 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12818 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
12819 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
12820 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
12822 2014-06-24 Roland McGrath <roland@hack.frob.com>
12824 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
12825 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
12826 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
12827 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
12829 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
12830 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
12832 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
12833 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
12834 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
12835 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
12836 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
12837 * sysdeps/x86/bits/pthreadtypes.h: ... here.
12838 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
12839 * sysdeps/x86/bits/semaphore.h: ... here.
12840 * sysdeps/x86/nptl/elide.h: Moved ...
12841 * sysdeps/x86/elide.h: ... here.
12842 * sysdeps/x86_64/nptl/Implies: File removed.
12843 * sysdeps/i386/nptl/Implies: File removed.
12845 2014-06-24 Joseph Myers <joseph@codesourcery.com>
12848 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
12849 return the argument for normal arguments with exponent below -64.
12850 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12852 * math/auto-libm-test-in: Add another test of expm1.
12853 * math/auto-libm-test-out: Regenerated.
12856 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
12857 calling __erfcl for arguments at least 16.
12858 * math/auto-libm-test-in: Add more tests of erf.
12859 * math/auto-libm-test-out: Regenerated.
12861 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
12862 individual architectures.
12863 * sysdeps/unix/sysv/linux/configure: Regenerated.
12864 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
12865 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
12866 * sysdeps/unix/sysv/linux/powerpc/configure.ac
12867 (ldd_rewrite_script): Define variable.
12868 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
12871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
12873 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
12874 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
12875 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
12876 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
12877 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
12878 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
12879 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
12880 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
12882 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12885 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
12886 Rename member __data.d to __data.__elision_data.
12888 2014-06-24 Wilco <wdijkstr@arm.com>
12890 * NEWS: Add 16918 to fixed bug list.
12892 2014-06-24 Wilco <wdijkstr@arm.com>
12894 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
12896 2014-06-24 Wilco <wdijkstr@arm.com>
12898 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
12899 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
12900 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
12901 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
12902 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
12903 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
12904 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
12907 2014-06-24 Wilco <wdijkstr@arm.com>
12909 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
12911 2014-06-24 Wilco <wdijkstr@arm.com>
12913 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
12914 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
12915 * sysdeps/arm/fesetround.c (fesetround): Remove space.
12916 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
12918 2014-06-24 Wilco <wdijkstr@arm.com>
12921 * sysdeps/arm/feupdateenv.c (feupdateenv):
12922 Rewrite to reduce FPSCR accesses and fix return value.
12924 2014-06-24 Wilco <wdijkstr@arm.com>
12926 * sysdeps/arm/fclrexcpt.c (feclearexcept):
12927 Optimize to avoid unnecessary FPSCR writes.
12928 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
12929 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
12930 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
12931 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
12933 2014-06-24 Wilco <wdijkstr@arm.com>
12935 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
12936 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
12937 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
12938 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
12939 Call libc_fetestexcept_vfp.
12940 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
12941 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
12942 __SOFTFP__ ifdef so that they can be built for softfp.
12944 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12946 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
12947 argument type signed char.
12949 * Makerules (check-abi): Dump diff of symlist if the test
12952 2014-06-23 Roland McGrath <roland@hack.frob.com>
12954 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
12957 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12958 Remove unused variable ST.
12960 2014-06-23 Joseph Myers <joseph@codesourcery.com>
12964 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
12965 small arguments before calling __expm1.
12966 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
12967 small arguments before calling __expm1f.
12968 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
12969 small arguments before calling __expm1l.
12970 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12972 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
12973 * math/auto-libm-test-in: Add more cosh tests. Do not allow
12974 spurious underflow for some cosh tests.
12975 * math/auto-libm-test-out: Regenerated.
12976 * sysdeps/i386/fpu/libm-test-ulps: Update.
12979 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
12980 (__ieee754_y1): Set errno if return value overflows.
12981 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
12982 (__ieee754_y1f): Set errno if return value overflows.
12983 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
12984 (__ieee754_y1l): Set errno if return value overflows.
12985 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
12986 (__ieee754_y1l): Set errno if return value overflows.
12987 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
12988 * math/auto-libm-test-out: Regenerated.
12990 * math/gen-auto-libm-tests.c: Document use of
12991 ignore-zero-inf-sign.
12992 (input_flag_type): Add value flag_ignore_zero_inf_sign.
12993 (input_flags): Add ignore-zero-inf-sign.
12994 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
12995 * math/gen-libm-test.pl (generate_testfile): Handle
12996 ignore-zero-inf-sign.
12997 * math/auto-libm-test-in: Mark some cpow tests with
12998 ignore-zero-inf-sign and some with xfail-rounding.
12999 * math/auto-libm-test-out: Regenerated.
13000 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
13001 * sysdeps/i386/fpu/libm-test-ulps: Update.
13002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13005 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
13006 overflowing or underflowing operations take place with sign of
13008 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13009 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13010 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
13011 (__ieee754_pow): Recompute overflowing and underflowing results in
13012 original rounding mode.
13013 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
13014 (__powl_helper): Allow negative argument X and scale negated value
13015 as needed. Avoid passing value outside [-1, 1] to f2xm1.
13016 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
13017 overflowing or underflowing operations take place with sign of
13019 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
13021 * math/auto-libm-test-in: Add more tests of pow.
13022 * math/auto-libm-test-out: Regenerated.
13023 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
13024 (pow_tonearest_test_data): Remove.
13025 (pow_test_tonearest): Likewise.
13026 (pow_towardzero_test_data): Likewise.
13027 (pow_test_towardzero): Likewise.
13028 (pow_downward_test_data): Likewise.
13029 (pow_test_downward): Likewise.
13030 (pow_upward_test_data): Likewise.
13031 (pow_test_upward): Likewise.
13032 (main): Don't call removed functions.
13033 * sysdeps/i386/fpu/libm-test-ulps: Update.
13034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13036 2014-06-23 Roland McGrath <roland@hack.frob.com>
13038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
13040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
13041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
13044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
13047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
13050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
13056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
13058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
13060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
13062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
13064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
13068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
13072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
13074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
13076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
13077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
13079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
13083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
13084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
13086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
13087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
13089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
13090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
13092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
13093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
13095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
13096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
13098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
13099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
13101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
13102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
13103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
13107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
13108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
13114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
13123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
13126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
13127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
13128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
13139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
13142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
13145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
13148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
13155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
13158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
13161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
13164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
13165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
13166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
13169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
13172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
13187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
13190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
13193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
13208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
13212 2014-06-23 Will Newton <will.newton@linaro.org>
13213 Wilco <wdijkstr@arm.com>
13215 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
13216 implementation. Include get-rounding-mode.h.
13217 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
13218 [!libc_feholdsetround_noex_ctx]: Define
13219 libc_feholdsetround_noex_ctx.
13220 [!libc_feholdsetround_noexf_ctx]: Define
13221 libc_feholdsetround_noexf_ctx.
13222 [!libc_feholdsetround_noexl_ctx]: Define
13223 libc_feholdsetround_noexl_ctx.
13224 (libc_feholdsetround_ctx): New function.
13225 (libc_feresetround_ctx): New function.
13226 (libc_feholdsetround_noex_ctx): New function.
13227 (libc_feresetround_noex_ctx): New function.
13229 2014-06-23 Roland McGrath <roland@hack.frob.com>
13231 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
13232 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
13233 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
13234 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
13235 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
13236 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
13238 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
13239 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
13240 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
13241 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
13242 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
13243 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
13244 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
13245 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
13246 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
13247 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
13248 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
13250 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13252 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
13253 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
13254 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
13255 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
13256 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
13258 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
13259 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
13260 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
13261 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
13262 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
13263 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
13264 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
13265 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
13267 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
13268 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
13270 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
13271 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
13272 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
13273 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
13275 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
13276 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
13277 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
13278 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
13279 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
13280 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
13281 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
13282 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
13283 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
13284 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
13286 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13288 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
13289 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
13290 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
13291 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
13292 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
13293 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
13294 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
13295 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
13296 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
13297 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
13298 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
13299 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
13300 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
13302 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
13303 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
13304 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
13305 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
13306 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
13307 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
13309 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
13310 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
13311 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
13312 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
13313 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
13315 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
13316 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
13317 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
13318 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
13319 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
13320 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
13321 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
13322 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
13323 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
13324 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
13325 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
13326 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
13327 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
13328 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
13329 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
13330 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
13331 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
13332 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
13333 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
13334 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
13335 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
13336 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
13337 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
13338 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
13339 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
13340 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
13341 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
13342 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
13344 2014-06-23 Joseph Myers <joseph@codesourcery.com>
13346 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
13347 (FALLOC_FL_COLLAPSE_RANGE): New macro.
13348 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
13349 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
13350 (IPV6_PMTUDISC_INTERFACE): Likewise.
13351 (IPV6_PMTUDISC_OMIT): Likewise.
13353 2014-06-23 Andreas Schwab <schwab@suse.de>
13355 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
13356 Remove unused errout label.
13358 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13360 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
13361 macro: hardware supports Vector Crypto instructions.
13363 2014-06-23 Will Newton <will.newton@linaro.org>
13365 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
13366 rather than __builtin_expect.
13368 * elf/dl-lookup.c (undefined_msg): Remove variable.
13369 (_dl_lookup_symbol_x): Replace undefined_msg with string
13372 * elf/dl-lookup.c (do_lookup_unique): New function.
13373 (do_lookup_x): Move STB_GNU_UNIQUE handling code
13374 to a separate function.
13376 2014-06-23 Andreas Schwab <schwab@suse.de>
13379 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
13380 before reading the next line.
13382 2014-06-23 Will Newton <will.newton@linaro.org>
13384 * test-skeleton.c (signal_handler): Use printf and %m
13385 rather than perror. Use printf rather than fprintf to
13386 stderr. Use puts rather than fputs to stderr.
13389 2014-06-22 Ludovic Courtès <ludo@gnu.org>
13391 * nscd/nscd.c (thread_info_t): Remove typedef.
13392 (thread_info): Remove variable.
13394 2014-06-21 Allan McRae <allan@archlinux.org>
13396 * NEWS: Mention CVE-2014-4043.
13398 2014-06-20 Roland McGrath <roland@hack.frob.com>
13400 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
13401 * nptl/smp.h: ... here.
13403 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
13405 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
13406 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
13407 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
13408 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
13410 * nptl/allocatestack.c: Include <stack-aliasing.h>.
13411 * nptl/stack-aliasing.h: New file.
13412 * sysdeps/i386/i686/stack-aliasing.h: New file.
13413 * sysdeps/i386/i686/nptl/Makefile: File removed.
13414 * sysdeps/x86_64/stack-aliasing.h: New file.
13415 * sysdeps/x86_64/nptl/Makefile
13416 (CFLAGS-pthread_create.c): Variable removed.
13418 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
13419 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
13421 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
13422 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
13425 2014-06-21 Joseph Myers <joseph@codesourcery.com>
13427 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13428 (__ASSUME_SIGFRAME_V2): Remove macro.
13429 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
13430 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
13431 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
13432 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
13433 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
13434 Declare as function. Remove conditional macro definitions.
13435 (__default_rt_sa_restorer): Likewise.
13436 (__default_sa_restorer_v1): Remove declaration.
13437 (__default_sa_restorer_v2): Likewise.
13438 (__default_rt_sa_restorer_v1): Likewise.
13439 (__default_rt_sa_restorer_v2): Likewise.
13440 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
13441 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
13442 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
13444 2014-06-20 Roland McGrath <roland@hack.frob.com>
13446 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
13447 (libpthread-routines): Add sysdep.
13448 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
13449 * sysdeps/unix/sysv/linux/sparc/Versions
13450 (libpthread: GLIBC_2.3.3): New version set.
13451 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
13452 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
13453 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
13454 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
13455 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
13456 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
13458 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
13459 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
13460 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
13461 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
13462 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
13463 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
13464 * sysdeps/sparc/nptl/sem_init.c: ... here.
13465 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
13466 * sysdeps/sparc/nptl/sem_post.c: ... here.
13467 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
13468 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
13469 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
13470 * sysdeps/sparc/nptl/sem_wait.c: ... here.
13471 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
13472 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
13473 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
13474 (libpthread-routines): Add cpu_relax.
13475 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
13477 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
13478 (librt: GLIBC_2.3.3): New version set.
13479 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
13480 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
13481 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
13482 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
13483 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
13484 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
13485 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
13486 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
13488 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
13489 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
13490 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
13491 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
13492 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
13493 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
13494 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
13495 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
13496 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
13497 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
13499 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
13501 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
13503 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
13505 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
13507 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
13509 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
13511 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
13513 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
13515 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
13517 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
13519 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
13521 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
13522 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
13523 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
13524 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
13525 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
13526 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
13527 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
13528 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
13529 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
13530 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
13531 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13533 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
13534 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
13535 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
13536 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
13537 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
13539 2014-06-20 Joseph Myers <joseph@codesourcery.com>
13541 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
13542 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
13543 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13544 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
13545 * nscd/nscd.c: Likewise.
13546 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13547 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13548 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13549 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13551 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
13552 <kernel-features.h>.
13553 (init_mq_netlink): Remove conditional have_sock_cloexec
13554 definitions. Remove code conditional on have_sock_cloexec < 0.
13555 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
13556 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
13557 * sysdeps/unix/sysv/linux/opensock.c: Do not include
13558 <kernel-features.h>.
13559 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
13560 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
13562 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
13564 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13565 Add tests for memset_chk and memset.
13567 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
13570 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
13573 * elf/tst-dl-iter-static.c: New file.
13574 * elf/Makefile (tests-static): Add tst-dl-iter-static.
13576 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
13579 2014-06-20 Joseph Myers <joseph@codesourcery.com>
13581 * sysdeps/unix/sysv/linux/kernel-features.h
13582 (__ASSUME_F_GETOWN_EX): Remove macro.
13583 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
13584 <kernel-features.h>.
13585 (miss_F_GETOWN_EX): Remove variable or macro.
13586 (do_fcntl): Do not check miss_F_GETOWN_EX.
13587 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
13589 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
13591 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
13592 [!__ASSUME_AT_RANDOM]: Remove conditional code.
13593 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
13595 * sysdeps/unix/sysv/linux/kernel-features.h
13596 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
13597 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
13598 [ADJ_OFFSET_SS_READ]: Make code unconditional.
13599 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
13601 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
13604 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
13605 Fix calculation of the symbol's value.
13606 * sysdeps/arm/tst-armtlsdescloc.c: New file.
13607 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
13608 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
13609 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
13610 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
13611 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
13612 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
13613 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
13614 (modules-names): Add `tst-armtlsdescmod',
13615 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
13616 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
13617 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13618 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
13619 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
13620 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13621 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
13622 ($(objpfx)tst-armtlsdescloc): New dependency.
13623 ($(objpfx)tst-armtlsdescextnow): Likewise.
13624 ($(objpfx)tst-armtlsdescextlazy): Likewise.
13625 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
13626 TLS scheme support.
13627 * sysdeps/arm/configure: Regenerate.
13629 2014-06-20 Joseph Myers <joseph@codesourcery.com>
13631 * include/fcntl.h (__atfct_seterrno): Remove prototype.
13632 (__atfct_seterrno_2): Likewise.
13633 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
13634 <kernel-features.h>.
13635 (__ASSUME_ATFCTS): Do not undefine and redefine.
13636 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
13637 (__have_atfcts): Remove conditional definition.
13638 (__fxstatat([__NR_fstatat64]: Make code unconditional.
13639 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
13640 unreachable if [__ASSUME_ATFCTS].
13641 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
13642 not undefine and redefine.
13643 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
13644 <kernel-features.h>.
13645 (faccessat) [__NR_faccessat]: Make code unconditional.
13646 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
13647 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
13648 <kernel-features.h>.
13649 (fchmodat) [__NR_fchmodat]: Make code unconditional.
13650 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13651 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
13652 <kernel-features.h>.
13653 (fchownat) [__NR_fchownat]: Make code unconditional.
13654 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
13655 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
13656 <kernel-features.h>.
13657 (futimesat) [__NR_futimesat]: Make code unconditional.
13658 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
13659 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13660 <kernel-features.h>.
13661 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13662 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13663 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13664 <kernel-features.h>.
13665 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
13666 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13667 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
13668 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13669 <kernel-features.h>.
13670 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
13671 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13672 * sysdeps/unix/sysv/linux/linkat.c: Do not include
13673 <kernel-features.h>.
13674 (linkat) [__NR_linkat]: Make code unconditional.
13675 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13676 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
13677 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
13678 <kernel-features.h>.
13679 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
13680 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13681 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
13682 <kernel-features.h>.
13683 (mkdirat) [__NR_mkdirat]: Make code unconditional.
13684 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
13685 * sysdeps/unix/sysv/linux/openat.c: Do not include
13686 <kernel-features.h>.
13687 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
13688 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
13689 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
13690 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
13691 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
13692 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
13693 <kernel-features.h>.
13694 (readlinkat) [__NR_readlinkat]: Make code unconditional.
13695 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
13696 result of INLINE_SYSCALL directly, not via int variable.
13697 * sysdeps/unix/sysv/linux/renameat.c: Do not include
13698 <kernel-features.h>.
13699 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
13700 (renameat) [__NR_renameat]: Make code unconditional.
13701 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
13702 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
13703 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
13704 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
13705 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
13706 (__ASSUME_ATFCTS): Do not undefine and redefine.
13707 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
13708 <kernel-features.h>.
13709 (symlinkat) [__NR_symlinkat]: Make code unconditional.
13710 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13711 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
13712 <kernel-features.h>.
13713 (unlinkat) [__NR_unlinkat]: Make code unconditional.
13714 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13715 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
13716 (__ASSUME_ATFCTS): Do not undefine and redefine.
13717 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13718 <kernel-features.h>.
13719 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13720 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13721 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13722 <kernel-features.h>.
13723 (__xmknodat) [__NR_mknodat]: Make code unconditional.
13724 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13726 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
13728 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
13730 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
13733 * posix/regcomp.c (parse_reg_exp): Deallocate partially
13734 constructed tree before returning error.
13735 * posix/bug-regexp36.c: Expand test case.
13737 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
13740 * math/libm-test.inc (scalbln_test_date):
13741 Add errno expectations.
13742 * math/w_scalblnf.c: New File.
13743 Add wrapper which checks for setting errno to ERANGE.
13744 Add weak_alias for corresponding scalbln function.
13745 * math/w_scalbln.c: Likewise.
13746 * math/w_scalblnl.c: Likewise.
13747 * math/Makefile (libm-calls): Add w_scalbln.
13748 * sysdeps/ieee754/flt-32/s_scalblnf.c:
13749 Remove weak_alias for corresponding scalbln function.
13750 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13751 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13752 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13753 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13754 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
13755 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13756 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
13757 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13758 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
13759 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
13760 Remove long_double_symbol for scalblnl function in libm, libc.
13761 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
13762 Add wrapper which checks for setting errno to ERANGE.
13763 Add long_double_symbol for scalblnl function in libm, libc.
13764 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
13765 Remove long_double_symbol for scalblnl in libm.
13766 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
13767 Add wrapper which checks for setting errno to ERANGE.
13768 Add long_double_symbol for scalblnl function in libm.
13769 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
13770 Do not use wrapper because of own implementation.
13772 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
13774 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
13775 3 bytes for __pad1 for x32.
13776 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
13778 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
13779 H.J. Lu <hongjiu.lu@intel.com>
13781 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
13782 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
13783 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13784 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13785 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13787 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
13790 * posix/regcomp.c (parse_expression): Deallocate partially
13791 constructed tree before returning error.
13792 * posix/Makefile.c (tests): Add bug-regex36.
13793 (generated): Add bug-regex36.mtrace.
13794 (tests-special): Add $(objpfx)bug-regex36-mem.out
13795 (bug-regex36-ENV): New variable.
13796 ($(objpfx)bug-regex36-mem.out): New rule.
13797 * posix/bug-regex36.c: New file.
13799 2014-06-19 Will Newton <will.newton@linaro.org>
13801 * malloc/malloc.c (systrim): If extra is zero then return
13804 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13806 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
13808 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
13810 * sysdeps/aarch64/strchr.S: New file.
13812 2014-06-18 Joseph Myers <joseph@codesourcery.com>
13815 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
13816 from arguments -2 or below.
13817 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13818 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
13820 2014-06-18 Andreas Schwab <schwab@suse.de>
13823 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
13824 of a bracket expr not to run off the end of the string.
13825 * posix/Makefile (tests): Add tst-fnmatch3.
13826 * posix/tst-fnmatch3.c: New file.
13828 2014-06-18 Joseph Myers <joseph@codesourcery.com>
13830 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
13831 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13832 [$(cross-compiling) = no]: Likewise.
13833 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13834 [$(cross-compiling) = no]: Likewise.
13836 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13839 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
13840 double, adjusted for any remainder from the high double.
13841 * math/libm-test.inc (nearbyint): Add tests.
13844 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13846 * nptl/sysdeps/powerpc/Makefile: Moved ...
13847 * sysdeps/powerpc/nptl/Makefile: ... here.
13848 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
13849 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
13850 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
13851 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
13852 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
13853 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
13854 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
13855 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
13856 * nptl/sysdeps/powerpc/tls.h: Moved ...
13857 * sysdeps/powerpc/nptl/tls.h: ... here.
13859 2014-06-16 Joseph Myers <joseph@codesourcery.com>
13862 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
13863 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
13864 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
13865 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
13866 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
13867 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
13868 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
13869 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
13870 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
13872 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
13874 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13876 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
13878 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
13881 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
13884 2014-06-16 Florian Weimer <fweimer@redhat.com>
13887 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
13888 non-executed part of the test.
13890 2014-06-16 Andreas Schwab <schwab@suse.de>
13892 * string/bits/string2.h (strdup, strndup): Update feature guard.
13894 2014-06-14 David S. Miller <davem@davemloft.net>
13896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13898 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
13900 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
13901 that was previously under [RESET_PID].
13902 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
13904 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
13905 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
13906 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
13907 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13908 (__libc_vfork): New strong alias.
13909 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
13911 2014-06-14 Andi Kleen <ak@linux.intel.com>
13913 * sysdeps/generic/elide.h: New file.
13915 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13917 * Makefile (installed-headers): Adjust path of pthread.h header.
13919 2014-06-13 Roland McGrath <roland@hack.frob.com>
13921 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
13922 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
13923 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
13924 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
13926 * nptl/sysdeps/s390/Makefile: Moved ...
13927 * sysdeps/s390/nptl/Makefile: ... here.
13928 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
13929 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
13930 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
13931 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
13932 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
13933 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
13934 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
13935 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
13936 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
13937 * sysdeps/s390/nptl/pthreaddef.h: ... here.
13938 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
13939 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
13940 * nptl/sysdeps/s390/tls.h: Moved ...
13941 * sysdeps/s390/nptl/tls.h: ... here.
13943 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
13944 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
13946 2014-06-13 David S. Miller <davem@davemloft.net>
13948 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
13949 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
13950 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
13951 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
13952 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
13953 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
13954 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
13955 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
13956 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
13957 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
13958 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
13959 Remove RESET_PID cpp guards.
13960 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
13961 Remove RESET_PID cpp guards.
13962 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
13964 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
13966 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
13969 2014-06-13 Andi Kleen <ak@linux.intel.com>
13971 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
13972 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
13973 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
13974 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
13975 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
13976 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
13977 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
13978 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
13979 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
13980 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
13981 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
13982 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
13983 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
13984 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
13985 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
13986 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
13987 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
13988 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
13989 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
13990 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
13992 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
13993 (pthread_rwlock_rdlock): Add elision.
13994 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
13995 (pthread_rwlock_wrlock): Add elision.
13996 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
13997 (pthread_rwlock_trywrlock): Add elision.
13998 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
13999 (pthread_rwlock_tryrdlock): Add elision.
14000 * nptl/pthread_rwlock_unlock.c: Include elide.h.
14001 (pthread_rwlock_tryrdlock): Add elision unlock.
14002 * nptl/sysdeps/pthread/pthread.h:
14003 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
14004 (PTHREAD_RWLOCK_INITIALIZER,
14005 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
14006 Handle new elision field.
14007 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
14008 * sysdeps/arm/nptl/bits/pthreadtypes.h
14009 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14010 * sysdeps/sh/nptl/bits/pthreadtypes.h
14011 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14012 * sysdeps/tile/nptl/bits/pthreadtypes.h
14013 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14014 * sysdeps/a/nptl/bits/pthreadtypes.h
14015 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14016 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14017 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14018 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14019 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14020 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
14021 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14022 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14023 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14024 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14025 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14026 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14027 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14028 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14029 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14030 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
14031 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14032 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
14033 (elision_init): Set try_xbegin to zero when no RTM.
14034 * sysdeps/x86/nptl/bits/pthreadtypes.h
14035 (pthread_rwlock_t): Change __pad1 to __rwelision.
14036 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14038 2014-06-13 Andi Kleen <ak@linux.intel.com>
14040 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
14041 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
14042 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
14043 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
14045 2014-06-13 Meador Inge <meadori@codesourcery.com>
14048 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
14049 that the cached result has been set before returning it.
14051 2014-06-12 Roland McGrath <roland@hack.frob.com>
14053 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
14054 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
14055 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
14056 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
14057 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
14058 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
14060 * nptl/sysdeps/sparc/Makefile: Moved ...
14061 * sysdeps/sparc/nptl/Makefile: ... here.
14062 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
14063 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
14064 * nptl/sysdeps/sparc/tls.h: Moved ...
14065 * sysdeps/sparc/nptl/tls.h: ... here.
14066 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
14067 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
14068 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
14069 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
14070 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
14071 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
14072 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
14073 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
14074 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
14075 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
14076 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
14077 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
14078 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
14079 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
14080 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
14081 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
14082 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
14083 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
14085 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
14086 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
14088 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
14089 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
14091 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
14092 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
14095 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14097 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
14098 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
14100 * sysdeps/pthread/posix-timer.h: Include <list.h>.
14101 (struct list_links): Type removed.
14102 (struct thread_node, struct timer_node): Replace struct list_links
14103 with struct list_head.
14104 (list_unlink_ip): Likewise.
14105 * sysdeps/pthread/timer_routines.c
14106 (timer_free_list, thread_free_list, thread_active_list): Likewise.
14107 (list_append, list_insbefore): Likewise.
14108 (list_init): Function removed.
14109 (thread_init, init_module): Use INIT_LIST_HEAD instead.
14110 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
14111 * sysdeps/pthread/Makefile: ... here, new file.
14113 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
14114 * sysdeps/nptl/Implies: ... here.
14115 * sysdeps/unix/sysv/linux/Implies: Add nptl.
14116 * nptl/sysdeps/pthread/list.h: Moved ...
14117 * include/list.h: ... here.
14118 * nptl/sysdeps/pthread/createthread.c: Moved ...
14119 * nptl/createthread.c: ... here.
14120 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
14121 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
14122 * nptl/pt-longjmp.c: ... here.
14123 * nptl/sysdeps/pthread/Makefile: Moved ...
14124 * sysdeps/nptl/Makefile: ... here.
14125 * nptl/sysdeps/pthread/Subdirs: Moved ...
14126 * sysdeps/nptl/Subdirs: ... here.
14127 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
14128 * sysdeps/nptl/aio_misc.h: ... here.
14129 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
14130 * sysdeps/nptl/bits/libc-lock.h: ... here.
14131 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
14132 * sysdeps/nptl/bits/libc-lockP.h: ... here.
14133 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
14134 * sysdeps/nptl/bits/stdio-lock.h: ... here.
14135 * nptl/sysdeps/pthread/configure: Moved ...
14136 * sysdeps/nptl/configure: ... here.
14137 * nptl/sysdeps/pthread/configure.ac: Moved ...
14138 * sysdeps/nptl/configure.ac: ... here.
14139 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
14140 * sysdeps/nptl/gai_misc.h: ... here.
14141 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
14142 * sysdeps/nptl/librt-cancellation.c: ... here.
14143 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
14144 * sysdeps/nptl/malloc-machine.h: ... here.
14145 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
14146 * sysdeps/nptl/pthread-functions.h: ... here.
14147 * nptl/sysdeps/pthread/pthread.h: Moved ...
14148 * sysdeps/nptl/pthread.h: ... here.
14149 * nptl/sysdeps/pthread/setxid.h: Moved ...
14150 * sysdeps/nptl/setxid.h: ... here.
14151 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
14152 * sysdeps/nptl/sigfillset.c: ... here.
14153 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
14154 * sysdeps/nptl/tcb-offsets.h: ... here.
14155 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
14156 * sysdeps/nptl/tst-mqueue8x.c: ... here.
14157 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
14158 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
14159 * nptl/sysdeps/pthread/allocalim.h: Moved ...
14160 * sysdeps/pthread/allocalim.h: ... here.
14161 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
14162 * sysdeps/pthread/bits/sigthread.h: ... here.
14163 * nptl/sysdeps/pthread/flockfile.c: Moved ...
14164 * sysdeps/pthread/flockfile.c: ... here.
14165 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
14166 * sysdeps/pthread/ftrylockfile.c: ... here.
14167 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
14168 * sysdeps/pthread/funlockfile.c: ... here.
14169 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
14170 * sysdeps/pthread/posix-timer.h: ... here.
14171 * nptl/sysdeps/pthread/timer_create.c: Moved ...
14172 * sysdeps/pthread/timer_create.c: ... here.
14173 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
14174 * sysdeps/pthread/timer_delete.c: ... here.
14175 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
14176 * sysdeps/pthread/timer_getoverr.c: ... here.
14177 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
14178 * sysdeps/pthread/timer_gettime.c: ... here.
14179 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
14180 * sysdeps/pthread/timer_routines.c: ... here.
14181 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
14182 * sysdeps/pthread/timer_settime.c: ... here.
14183 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
14184 * sysdeps/pthread/tst-timer.c: ... here.
14185 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
14186 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
14188 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
14189 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
14191 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
14192 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
14193 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
14194 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
14195 Update #include target.
14196 * nptl/sysdeps/i386/i686/Makefile: Moved ...
14197 * sysdeps/i386/i686/nptl/Makefile: ... here.
14198 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
14199 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
14200 Update #include target.
14201 * nptl/sysdeps/i386/i686/tls.h: Moved ...
14202 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
14203 * nptl/sysdeps/i386/Makefile: Moved ...
14204 * sysdeps/i386/nptl/Makefile: ... here.
14205 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
14206 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
14207 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
14208 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
14209 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
14210 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
14211 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
14212 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
14213 * sysdeps/i386/nptl/pthreaddef.h: ... here.
14214 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
14215 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
14216 * nptl/sysdeps/i386/tls.h: Moved ...
14217 * sysdeps/i386/nptl/tls.h: ... here.
14219 * sysdeps/sh/Makefile [$(subdir) = csu]
14220 (gen-as-const-headers): Add tcb-offsets.sym.
14221 * nptl/sysdeps/sh/Makefile: File removed.
14222 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
14223 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
14224 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
14225 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
14226 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
14227 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
14228 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
14229 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
14230 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
14231 * sysdeps/sh/nptl/pthreaddef.h: ... here.
14232 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
14233 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
14234 * nptl/sysdeps/sh/tls.h: Moved ...
14235 * sysdeps/sh/nptl/tls.h: ... here.
14236 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
14237 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
14238 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
14239 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
14240 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
14241 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
14242 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
14243 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
14244 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
14245 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
14246 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
14247 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
14248 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
14249 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
14250 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
14251 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
14252 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
14253 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
14254 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
14255 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
14256 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
14257 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
14258 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
14259 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
14260 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
14262 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
14263 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
14265 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
14266 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
14267 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
14268 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
14269 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
14270 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
14271 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
14272 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
14273 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
14274 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
14275 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
14276 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
14277 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
14278 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
14279 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
14280 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
14281 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
14282 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
14283 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
14285 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14287 * posix/spawn_faction_addopen.c: Include string.h.
14289 2014-06-11 Roland McGrath <roland@hack.frob.com>
14291 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
14292 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
14293 * nptl/sysdeps/x86_64/Makefile: Moved ...
14294 * sysdeps/x86_64/nptl/Makefile: ... here.
14295 * nptl/sysdeps/x86_64/configure: Moved ...
14296 * sysdeps/x86_64/nptl/configure: ... here.
14297 * nptl/sysdeps/x86_64/configure.ac: Moved ...
14298 * sysdeps/x86_64/nptl/configure.ac: ... here.
14299 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
14300 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
14301 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
14302 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
14303 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
14304 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
14305 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
14306 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
14307 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
14308 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
14309 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
14310 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
14311 * nptl/sysdeps/x86_64/tls.h: Moved ...
14312 * sysdeps/x86_64/nptl/tls.h: ... here.
14313 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
14314 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
14315 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
14316 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
14318 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
14320 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14324 2014-06-11 Joseph Myers <joseph@codesourcery.com>
14326 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
14328 [POSIX] (off_t): Likewise.
14329 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
14330 [POSIX] (S_ISBLK): Require macro.
14331 [POSIX] (S_ISCHR): Likewise.
14332 [POSIX] (S_ISDIR): Likewise.
14333 [POSIX] (S_ISFIFO): Likewise.
14334 [POSIX] (S_ISREG): Likewise.
14335 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
14337 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
14339 [POSIX] (time_t): Likewise.
14340 [POSIX] (timer_t): Likewise.
14342 2014-06-11 Florian Weimer <fweimer@redhat.com>
14345 * posix/spawn_int.h (struct __spawn_action): Make the path string
14346 non-const to support deallocation.
14347 * posix/spawn_faction_addopen.c
14348 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
14349 * posix/spawn_faction_destroy.c
14350 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
14351 path in all spawn_do_open actions.
14352 * posix/tst-spawn.c (do_test): Exercise the copy operation in
14353 posix_spawn_file_actions_addopen.
14355 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
14357 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
14358 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
14359 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
14360 conditional code always true.
14361 (__libc_vfork): New alias.
14363 2014-06-11 Roland McGrath <roland@hack.frob.com>
14365 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14366 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
14368 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
14370 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14371 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
14373 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14374 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
14376 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14377 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
14379 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14381 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
14382 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
14383 multiarch strcmp for PPC64.
14384 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
14385 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
14386 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
14387 multiarch optimizations.
14388 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14389 (__libc_ifunc_impl_list): Likewise.
14391 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14393 * benchtests/scripts/validate_benchout.py: New script.
14394 * benchtests/Makefile (bench-func): Call it.
14395 * benchtests/scripts/benchout.schema.json: New file.
14397 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
14399 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
14400 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
14401 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
14402 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
14403 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
14404 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
14405 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
14406 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
14407 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
14408 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
14409 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
14410 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
14411 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
14412 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
14413 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
14414 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
14415 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
14417 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
14419 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
14421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
14422 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
14424 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
14426 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
14428 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
14430 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
14432 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
14433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
14435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
14437 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
14439 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
14441 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
14443 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
14444 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
14446 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
14448 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
14450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
14452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
14454 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
14456 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
14458 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
14459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
14461 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
14463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
14465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
14467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
14469 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
14471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
14473 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
14474 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
14476 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
14478 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
14480 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
14482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
14484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
14485 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
14487 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
14489 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
14491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
14492 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
14494 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
14495 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
14497 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
14499 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
14501 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
14503 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
14505 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
14507 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
14509 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
14510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
14512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
14514 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
14516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
14518 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
14519 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
14520 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
14521 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
14522 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
14524 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
14526 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
14527 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
14528 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
14529 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
14530 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
14531 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
14532 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
14533 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
14534 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
14535 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
14536 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
14537 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
14538 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
14540 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
14541 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
14543 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
14544 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
14545 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
14546 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
14548 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
14549 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
14550 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
14551 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
14552 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
14553 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
14554 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
14556 2014-06-10 Wilco <wdijkstr@arm.com>
14558 * math/test-fenv-return.c: New file.
14559 * math/Makefile: Add new test test-fenv-return.
14561 2014-06-10 Joseph Myers <joseph@codesourcery.com>
14564 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
14565 when x - 1 is zero.
14566 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
14567 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14568 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
14569 0.0L for an argument of 1.0L.
14570 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14572 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
14573 value when x - 1 is zero.
14574 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
14575 * sysdeps/i386/fpu/libm-test-ulps: Update.
14576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14578 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
14581 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
14583 2014-06-09 Roland McGrath <roland@hack.frob.com>
14585 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
14586 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
14588 2014-06-09 Roland McGrath <roland@hack.frob.com>
14590 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14591 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
14593 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14594 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
14596 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14597 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
14599 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14600 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
14602 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
14603 if not already defined.
14604 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
14605 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
14606 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
14607 (TLS_INIT_TP): Use it.
14608 (TLS_DEFINE_INIT_TP): New macro.
14609 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
14611 2014-06-09 Joseph Myers <joseph@codesourcery.com>
14613 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
14615 [POSIX] (IXANY): Likewise.
14616 [POSIX] (OLCUC): Likewise.
14617 [POSIX || POSIX2008] (CBAUD): Do not allow.
14618 [POSIX || POSIX2008] (DEFECHO): Likewise.
14619 [POSIX || POSIX2008] (ECHOCTL): Likewise.
14620 [POSIX || POSIX2008] (ECHOKE): Likewise.
14621 [POSIX || POSIX2008] (ECHOPRT): Likewise.
14622 [POSIX || POSIX2008] (EXTA): Likewise.
14623 [POSIX || POSIX2008] (EXTB): Likewise.
14624 [POSIX || POSIX2008] (FLUSHO): Likewise.
14625 [POSIX || POSIX2008] (LOBLK): Likewise.
14626 [POSIX || POSIX2008] (PENDIN): Likewise.
14627 [POSIX || POSIX2008] (SWTCH): Likewise.
14628 [POSIX || POSIX2008] (VDISCARD): Likewise.
14629 [POSIX || POSIX2008] (VDSUSP): Likewise.
14630 [POSIX || POSIX2008] (VLNEXT): Likewise.
14631 [POSIX || POSIX2008] (VREPRINT): Likewise.
14632 [POSIX || POSIX2008] (VSTATUS): Likewise.
14633 [POSIX || POSIX2008] (VWERASE): Likewise.
14634 (B*): Change to B[0123456789]*.
14635 * conform/data/time.h-data [POSIX || UNIX98]
14636 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
14637 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14638 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
14639 [POSIX] (tm_*): Do not allow.
14641 2014-06-07 Joseph Myers <joseph@codesourcery.com>
14643 * Makefile (install): Don't set LANGUAGE.
14644 * Makefile.in (install): Likewise.
14645 * assert/Makefile (test-assert-ENV): Remove variable.
14646 (test-assert-perr-ENV): Likewise.
14647 * elf/Makefile (neededtest4-ENV): Likewise.
14648 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14649 [$(cross-compiling) = no]: Don't set LANGUAGE.
14650 * io/ftwtest-sh (LANG): Remove variable.
14651 * libio/Makefile (tst-widetext-ENV): Likewise.
14652 * manual/install.texi (Running make install): Don't refer to
14653 environment settings for make install.
14654 * INSTALL: Regenerated.
14655 * nptl/tst-tls6.sh: Don't set LANG.
14656 * posix/globtest.sh (LANG): Remove variable.
14657 * string/Makefile (tester-ENV): Likewise.
14658 (inl-tester-ENV): Likewise.
14659 (noinl-tester-ENV): Likewise.
14660 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14661 [$(cross-compiling) = no]: Don't set LANGUAGE.
14662 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
14663 without explicit environment settings.
14665 2014-06-06 Roland McGrath <roland@hack.frob.com>
14667 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
14668 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
14669 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
14670 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
14672 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
14674 * crypt/crypt-private.h [DOS]: Add some includes taken from the
14675 other files in the crypt directory.
14676 * crypt/crypt.c: Remove duplicate includes.
14677 * crypt/crypt-entry.c: Likewise.
14678 * crypt/crypt_util.c: Likewise.
14680 2014-06-06 Joseph Myers <joseph@codesourcery.com>
14682 * Makeconfig (run-program-env): New variable.
14683 (run-program-prefix-before-env): Likewise.
14684 (run-program-prefix-after-env): Likewise.
14685 (run-program-prefix): Define in terms of new variables.
14686 (built-program-cmd-before-env): New variable.
14687 (built-program-cmd-after-env): Likewise.
14688 (built-program-cmd): Define in terms of new variables.
14689 (test-program-prefix-before-env): New variable.
14690 (test-program-prefix-after-env): Likewise.
14691 (test-program-prefix): Define in terms of new variables.
14692 (test-program-cmd-before-env): New variable.
14693 (test-program-cmd-after-env): Likewise.
14694 (test-program-cmd): Define in terms of new variables.
14695 * Rules (make-test-out): Use $(run-program-env).
14696 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
14697 (help): Do not mention environment variables. Mention
14698 --timeoutfactor option.
14699 (timeoutfactor): New variable.
14700 (blacklist_exports): Remove function.
14701 (exports): Remove variable.
14702 (command): Do not include ${exports}.
14703 * manual/install.texi (Configuring and compiling): Do not mention
14704 test wrappers preserving environment variables. Mention that last
14705 assignment to a variable must take precedence.
14706 * INSTALL: Regenerated.
14707 * benchtests/Makefile (run-bench): Use $(run-program-env).
14708 * catgets/Makefile ($(objpfx)test1.cat): Use
14709 $(built-program-cmd-before-env), $(run-program-env) and
14710 $(built-program-cmd-after-env).
14711 ($(objpfx)test2.cat): Do not specify environment variables
14713 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
14714 $(run-program-env) and $(built-program-cmd-after-env).
14715 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
14716 $(run-program-env) and $(test-program-cmd-after-env).
14717 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
14719 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
14720 run_program_env and test_program_cmd_after_env arguments.
14721 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
14722 * elf/tst-pathopt.sh: Use run_program_env argument.
14723 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
14724 $(test-wrapper-env) and $(run-program-env).
14725 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
14726 run_program_env arguments.
14727 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
14728 * intl/Makefile ($(objpfx)tst-gettext.out): Use
14729 $(test-program-prefix-before-env), $(run-program-env) and
14730 $(test-program-prefix-after-env).
14731 ($(objpfx)tst-gettext2.out): Likewise.
14732 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
14733 run_program_env and test_program_prefix_after_env arguments.
14734 * intl/tst-gettext2.sh: Likewise.
14735 * intl/tst-gettext4.sh: Do not set environment variables
14737 * intl/tst-gettext6.sh: Likewise.
14738 * intl/tst-translit.sh: Likewise.
14739 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
14740 $(test-program-prefix-before-env), $(run-program-env) and
14741 $(test-program-prefix-after-env).
14742 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
14743 run_program_env and test_program_prefix_after_env arguments.
14744 * math/Makefile (run-regen-ulps): Use $(run-program-env).
14745 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
14746 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
14747 explicitly with each use of ${test_wrapper_env}.
14748 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
14749 $(test-program-prefix-before-env), $(run-program-env) and
14750 $(test-program-prefix-after-env).
14751 * posix/tst-getconf.sh: Do not set environment variables
14753 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
14754 run_program_env and test_program_prefix_after_env arguments.
14755 * stdio-common/tst-printf.sh: Do not set environment variables
14757 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
14758 $(test-program-prefix-before-env), $(run-program-env) and
14759 $(test-program-prefix-after-env).
14760 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
14761 run_program_env and test_program_prefix_after_env arguments.
14762 Split $test calls into $test_pre and $test.
14763 * timezone/Makefile (build-testdata): Use
14764 $(built-program-cmd-before-env), $(run-program-env) and
14765 $(built-program-cmd-after-env).
14767 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14769 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
14770 strlen for non SHARED builds.
14772 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14774 * nptl/allocatestack.c (check_list): Inlined function...
14775 (__reclaim_stacks): ... here.
14777 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
14780 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14783 2014-06-05 Joseph Myers <joseph@codesourcery.com>
14785 * Rules (make-test-out): Include
14786 LOCPATH=$(common-objpfx)localedata in default environment.
14787 * debug/Makefile (tst-chk1-ENV): Remove variable.
14788 (tst-chk2-ENV): Likewise.
14789 (tst-chk3-ENV): Likewise.
14790 (tst-chk4-ENV): Likewise.
14791 (tst-chk5-ENV): Likewise.
14792 (tst-chk6-ENV): Likewise.
14793 (tst-lfschk1-ENV): Likewise.
14794 (tst-lfschk2-ENV): Likewise.
14795 (tst-lfschk3-ENV): Likewise.
14796 (tst-lfschk4-ENV): Likewise.
14797 (tst-lfschk5-ENV): Likewise.
14798 (tst-lfschk6-ENV): Likewise.
14799 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
14800 (tst-iconv7-ENV): Likewise.
14801 * intl/Makefile (LOCPATH-ENV): Likewise.
14802 (tst-codeset-ENV): Likewise.
14803 (tst-gettext3-ENV): Likewise.
14804 (tst-gettext5-ENV): Likewise.
14805 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
14806 (tst-fopenloc-ENV): Likewise.
14807 (tst-fgetws-ENV): Remove variable.
14808 (tst-ungetwc1-ENV): Likewise.
14809 (tst-ungetwc2-ENV): Likewise.
14810 (bug-ungetwc2-ENV): Likewise.
14811 (tst-swscanf-ENV): Likewise.
14812 (bug-ftell-ENV): Likewise.
14813 (tst-fgetwc-ENV): Likewise.
14814 (tst-fseek-ENV): Likewise.
14815 (tst-ftell-partial-wide-ENV): Likewise.
14816 (tst-ftell-active-handler-ENV): Likewise.
14817 (tst-ftell-append-ENV): Likewise.
14818 * posix/Makefile (tst-fnmatch-ENV): Likewise.
14819 (tst-regexloc-ENV): Likewise.
14820 (bug-regex1-ENV): Likewise.
14821 (tst-regex-ENV): Likewise.
14822 (tst-regex2-ENV): Likewise.
14823 (bug-regex5-ENV): Likewise.
14824 (bug-regex6-ENV): Likewise.
14825 (bug-regex17-ENV): Likewise.
14826 (bug-regex18-ENV): Likewise.
14827 (bug-regex19-ENV): Likewise.
14828 (bug-regex20-ENV): Likewise.
14829 (bug-regex22-ENV): Likewise.
14830 (bug-regex23-ENV): Likewise.
14831 (bug-regex25-ENV): Likewise.
14832 (bug-regex26-ENV): Likewise.
14833 (bug-regex30-ENV): Likewise.
14834 (bug-regex32-ENV): Likewise.
14835 (bug-regex33-ENV): Likewise.
14836 (bug-regex34-ENV): Likewise.
14837 (bug-regex35-ENV): Likewise.
14838 (tst-rxspencer-ENV): Likewise.
14839 (tst-rxspencer-no-utf8-ENV): Likewise.
14840 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
14841 (tst-sscanf-ENV): Likewise.
14842 (tst-swprintf-ENV): Likewise.
14843 (tst-swscanf-ENV): Likewise.
14844 (test-vfprintf-ENV): Likewise.
14845 (scanf13-ENV): Likewise.
14846 (bug14-ENV): Likewise.
14847 (tst-grouping-ENV): Likewise.
14848 * stdlib/Makefile (tst-strtod-ENV): Likewise.
14849 (tst-strtod3-ENV): Likewise.
14850 (tst-strtod4-ENV): Likewise.
14851 (tst-strtod5-ENV): Likewise.
14852 (testmb2-ENV): Likewise./
14853 * string/Makefile (tst-strxfrm-ENV): Likewise.
14854 (tst-strxfrm2-ENV): Likewise.
14855 (bug-strcoll1-ENV): Likewise.
14856 (test-strcasecmp-ENV): Likewise.
14857 (test-strncasecmp-ENV): Likewise.
14858 * time/Makefile (tst-strptime-ENV): Likewise.
14859 (tst-ftime_l-ENV): Likewise.
14860 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
14861 (tst-mbrtowc-ENV): Likewise.
14862 (tst-wcrtomb-ENV): Likewise.
14863 (tst-mbrtowc2-ENV): Likewise.
14864 (tst-c16c32-1-ENV): Likewise.
14865 (tst-mbsnrtowcs-ENV): Likewise.
14867 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
14869 * manual/resource.texi (How to get information about the memory
14870 subsystem?): Fix typo.
14871 Reported by Peon de la Parra Ivan <peon@keba.com>
14873 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
14876 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
14877 (pthread_spin_lock): Branch out of spin loop to proper location.
14878 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
14879 (pthread_spin_lock): Likewise.
14881 * nptl/tst-spin4.c: New test.
14882 * nptl/Makefile (tests): Add tst-spin4.
14884 2014-06-03 Andreas Schwab <schwab@suse.de>
14887 * resolv/res_send.c (send_dg): Reload file descriptor after
14890 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
14892 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14894 2014-06-03 Richard Henderson <rth@redhat.com>
14896 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
14897 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
14898 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
14899 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
14900 in the SAVE_PID block.
14901 (__libc_vfork): New alias.
14902 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
14904 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
14905 child in registers, not on the stack. Remove RESET_PID conditionals.
14906 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
14908 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
14910 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14912 2014-06-03 Wilco <wdijkstr@arm.com>
14914 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
14915 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
14916 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
14917 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
14918 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
14921 2014-06-03 Wilco <wdijkstr@arm.com>
14923 * sysdeps/aarch64/fpu/math_private.h
14924 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
14925 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
14926 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
14927 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
14930 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14932 * crypt/crypt-private.h: Include ufc-crypt.h.
14933 (__b64_from_24bit): Declare extern.
14934 * crypt/crypt_util.c(__b64_from_24bit): New function.
14935 (b64t): New static const variable.
14936 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
14937 (b64t): Remove variable.
14938 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
14939 * crypt/sha256-crypt.c: Include crypt-private.h.
14940 (b64t): Remove variable.
14941 (__sha256_crypt_r): Remove b64_from_24bit and replace
14942 with __b64_from_24bit.
14943 * crypt/sha512-crypt.c: Likewise.
14945 2014-06-02 Roland McGrath <roland@hack.frob.com>
14947 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
14948 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
14949 Label the code __libc_vfork rather than __vfork.
14950 [!NOT_IN_libc] (vfork): Define as weak alias.
14951 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
14952 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
14953 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
14955 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14957 * malloc/malloc.c (malloc_info): Fix format specifier for
14960 2014-06-02 Wilco <wdijkstr@arm.com>
14962 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
14965 2014-06-02 Wilco <wdijkstr@arm.com>
14968 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
14969 Rewrite to reduce FPCR/FPSR accesses.
14971 2014-06-01 David S. Miller <davem@davemloft.net>
14973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14975 2014-05-31 David S. Miller <davem@davemloft.net>
14977 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
14978 to occur in round to nearest mode when |x| >= 2.0
14980 2014-05-30 Richard Henderson <rth@twiddle.net>
14982 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
14983 (PSEUDO_RET_NOERRNO): Remove.
14984 (ret): Don't redefine.
14985 (ret_NOERRNO): Define in terms of ret.
14986 (ret_ERRVAL): Likewise.
14988 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
14989 use of PSEUDO_RET; perform the error check directly.
14991 2014-05-30 Marko Myllynen <myllynen@redhat.com>
14993 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
14996 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14998 * malloc/malloc (malloc_info): Fix formatting.
15000 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15001 Roland McGrath <roland@hack.frob.com>
15003 * malloc/malloc (malloc_info): Also print mmapped statistics.
15005 2014-05-30 Roland McGrath <roland@hack.frob.com>
15007 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
15008 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
15010 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
15012 * malloc/malloc.c (malloc_info): Inline mi_arena.
15014 2014-05-29 Richard Henderson <rth@twiddle.net>
15016 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
15017 Remove comma before expanding ASM_ARGS_##nr.
15018 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
15019 Make _x0 a strict output; make _x8 a strict input; adjust expansion
15021 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
15022 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
15023 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
15024 (ASM_ARGS_1): Add leading comma.
15026 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
15027 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
15028 to __errno_location.
15029 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
15030 Remove the expected plt for __errno_location.
15032 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15033 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
15036 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15037 Always allocate 64 bytes of stack frame. Use ldp/stp to create
15038 it and break it down.
15039 (DOCARGS_0, DOCARGS_1): Do nothing.
15040 (DOCARGS_2): Update to store into the new stack frame.
15041 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
15042 (UNDOCARGS_1): Update to restore from the new stack frame.
15043 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
15044 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
15046 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15047 (SINGLE_THREAD_P): New parameter for result regno.
15048 (PSEUDO): Update to match; use cbz instead of beq.
15050 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15051 Use ENTRY to define the _nocancel entry point. Share the syscall
15052 and syscall error check paths with the cancel path.
15055 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
15056 whitespace; tabs before and after asm mnemonics.
15058 2014-05-29 Eric Wong <normalperson@yhbt.net>
15061 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15062 Call fstat64 or stat64 internally, depending on arguments passed.
15063 Replace stat buffer argument with file descriptor argument.
15064 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
15065 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15066 Pass fd to __internal_statvfs instead of calling fstat64.
15067 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
15068 Pass fd to __internal_statvfs64 instead of calling fstat64.
15069 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
15070 Pass -1 to __internal_statvfs instead of calling stat64.
15071 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
15072 Pass -1 to __internal_statvfs64 instead of calling stat64.
15074 2014-05-28 Roland McGrath <roland@hack.frob.com>
15076 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
15077 that was previously under [RESET_PID].
15078 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
15080 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
15081 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
15083 2014-05-27 Roland McGrath <roland@hack.frob.com>
15085 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
15087 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
15088 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
15090 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
15092 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
15094 2014-05-27 Andreas Schwab <schwab@suse.de>
15096 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
15098 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
15099 * elf/rtld.c (init_tls, dl_main): Likewise.
15100 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
15101 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
15102 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
15103 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
15104 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
15105 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
15106 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
15107 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
15108 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
15109 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
15110 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
15111 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
15112 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
15113 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
15114 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
15115 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
15116 * sysdeps/generic/tls.h: Update description.
15118 2014-05-27 Will Newton <will.newton@linaro.org>
15121 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
15122 and restore r2 rather than just restoring.
15124 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15127 * libio/tst-ftell-append.c: New test case.
15128 * libio/Makefile (tests): Add test case.
15129 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
15131 * libio/wfileops.c (do_ftell_wide): Likewise.
15133 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15137 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
15139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
15140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15141 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
15142 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
15143 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
15144 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
15145 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
15146 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
15147 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
15149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
15150 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
15152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
15153 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
15154 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
15155 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
15156 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
15157 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
15159 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
15160 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
15162 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
15164 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
15166 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
15167 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
15168 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
15170 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
15171 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
15172 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
15173 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
15175 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
15177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
15178 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
15180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
15181 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
15183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
15184 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
15188 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
15191 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
15195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
15196 conditional [RESET_PID].
15197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
15198 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
15200 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
15203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
15205 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15206 (__libc_vfork): New strong alias.
15207 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
15209 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
15212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
15214 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
15215 (__libc_vfork): New strong alias.
15216 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
15218 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
15221 2014-05-26 Carlos O'Donell <carlos@redhat.com>
15223 * malloc/malloc.c (mi_arena): New function.
15224 (malloc_info): Remove nested function mi_arena. Call non-nosted
15227 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15229 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
15231 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
15232 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
15233 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
15234 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
15235 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
15236 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
15237 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
15239 2014-05-26 Andreas Schwab <schwab@suse.de>
15242 * locale/programs/repertoire.c (repertoire_read): Add slash
15243 between I18NPATH element and file name.
15244 * locale/programs/locfile.c (locfile_read): Likewise.
15246 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
15248 * nptl/pthread_mutexattr_settype.c
15249 (__pthread_mutexattr_settype):
15250 Disable lock elision for PTHREAD_MUTEX_NORMAL.
15252 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
15254 * nptl/tst-mutex5 (do_test):
15255 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
15257 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15259 * benchtests/README: Document 'init' directive.
15260 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
15262 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
15263 (parse_file): Recognize 'init' directive.
15265 2014-05-26 Kyle McMartin <kyle@redhat.com>
15268 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
15269 alignment of struct pthread.
15271 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15274 * nscd/netgroupcache.c (addgetnetgrentX): Look for
15275 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15276 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
15277 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15279 2014-05-25 Richard Henderson <rth@twiddle.net>
15281 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15282 (SINGLE_THREAD_P_PIC): Remove.
15283 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
15284 (SINGLE_THREAD_P_PIC): Remove.
15286 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
15287 branch to syscall error ...
15288 (PSEUDO): ... here.
15289 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
15290 from __local_syscall_error to .Lsyscall_error.
15291 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
15292 (SYSCALL_ERROR): Update label name.
15294 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15295 Do not use DOARGS/UNDOARGS.
15296 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
15297 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
15298 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
15299 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
15300 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
15302 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
15305 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
15306 define if !NOT_IN_libc.
15307 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
15308 define with non-default symbol versions.
15310 2014-05-23 Richard Henderson <rth@twiddle.net>
15312 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
15313 (vfork, __vfork): Define via compat_symbol.
15315 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
15316 [!HAVE_IFUNC] (vfork_compat): Remove.
15317 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
15319 2014-05-23 Joseph Myers <joseph@codesourcery.com>
15322 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
15323 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
15326 2014-05-23 Richard Henderson <rth@twiddle.net>
15328 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
15329 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
15330 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
15331 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
15333 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
15334 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
15335 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
15336 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
15337 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
15338 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
15339 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
15340 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
15341 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
15342 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
15343 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
15344 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
15345 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
15346 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
15347 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
15348 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
15349 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
15350 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
15351 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
15352 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
15353 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
15354 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
15355 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
15356 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
15357 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
15358 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
15359 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
15360 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
15361 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
15362 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
15363 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
15364 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
15365 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
15366 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
15367 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
15368 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
15369 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
15370 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
15371 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
15372 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
15373 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
15374 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
15375 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
15376 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
15377 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
15378 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
15379 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
15380 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
15381 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
15382 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
15383 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
15384 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
15385 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
15386 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
15387 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
15388 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
15390 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
15391 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
15392 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
15393 before exiting on error.
15394 (__libc_vfork): New strong alias.
15395 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
15396 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
15398 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
15399 that was previously under [RESET_PID].
15400 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
15402 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
15404 2014-05-23 Joseph Myers <joseph@codesourcery.com>
15407 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
15408 value when x - 1 is zero.
15409 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
15410 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
15411 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
15412 0.0L for an argument of 1.0L.
15413 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
15415 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
15416 value when x - 1 is zero.
15417 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
15418 * sysdeps/i386/fpu/libm-test-ulps: Update.
15419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15421 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
15423 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
15424 alphasort and versionsort.
15426 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15428 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
15430 [copysignf]: Likewise.
15432 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15434 * crypt/md5-crypt.c: Fix formatting.
15436 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15438 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
15439 (b64_from_24bit): New function.
15441 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15443 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
15444 libc_hidden_builtin_def to ifunc.
15445 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
15446 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
15448 2014-05-21 Roland McGrath <roland@hack.frob.com>
15450 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
15451 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
15453 2014-05-21 Joseph Myers <joseph@codesourcery.com>
15455 * nscd/Depend (linuxthreads): Remove.
15457 * resolv/Depend (linuxthreads): Remove.
15458 * rt/Depend (linuxthreads): Remove.
15460 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
15461 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
15462 $(common-objpfx)elf/.
15463 (link-libc-before-gnulib): Likewise.
15464 (elfobjdir): Remove variable.
15465 * Makefile (install): Use $(elf-objpfx) instead of
15466 $(common-objpfx)elf/.
15467 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
15469 (link-libc-deps): Likewise.
15470 ($(common-objpfx)libc.so): Likewise.
15471 ($(common-objpfx)linkobj/libc.so): Likewise.
15472 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
15473 instead of $(common-objpfx)elf/.
15474 (symbolic-link-list): Likewise.
15475 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15476 [$(cross-compiling) = no]: Likewise.
15477 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
15479 (static-gnulib-arch): Likewise.
15480 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15481 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
15482 $(common-objpfx)elf/.
15484 2014-05-21 Richard Henderson <rth@redhat.com>
15486 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15487 (SINGLE_THREAD_P): Use the correct width load. Fold
15488 into the ldr offset.
15490 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
15491 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
15493 2014-05-20 Joseph Myers <joseph@codesourcery.com>
15495 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
15496 (libgcc_s_resume): Use __attribute_used__.
15497 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
15500 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15502 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
15503 optimization when used with float constants.
15505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15507 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
15510 * locale/nl_langinfo_l.c: Make direct reference to every
15511 _nl_current_CATEGORY symbol.
15512 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
15513 (tests-static): Add tst-langinfo-static.
15514 (tests-special): Add tst-langinfo-static.out.
15515 ($(objpfx)tst-langinfo.out): Redirect output.
15516 ($(objpfx)tst-langinfo-static.out): New.
15517 * localedata/tst-langinfo.sh: Send output to stdout.
15518 * localedata/tst-langinfo-static.c: New file.
15521 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
15522 when the shift amount is modulo the limb size.
15524 2014-05-20 Richard Henderson <rth@redhat.com>
15527 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
15528 Change type of sa_flags from unsigned int to int.
15531 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
15533 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
15535 2014-05-20 Will Newton <will.newton@linaro.org>
15537 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15538 Test the return value of the system call in the nocancel case.
15540 2014-05-20 Will Newton <will.newton@linaro.org>
15541 Yvan Roux <yvan.roux@linaro.org>
15543 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
15544 #include of asm/ptrace.h.
15545 (PTRACE_GET_THREAD_AREA): Remove #undef.
15546 (PTRACE_GETHBPREGS): Likewise.
15547 (PTRACE_SETHBPREGS): Likewise.
15548 (struct user_regs_struct): New structure.
15549 (struct user_fpsimd_struct): New structure.
15550 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
15551 #include of asm/ptrace.h and second #include of sys/user.h.
15552 (PTRACE_GET_THREAD_AREA): Remove #undef.
15553 (PTRACE_GETHBPREGS): Likewise.
15554 (PTRACE_SETHBPREGS): Likewise.
15555 (ELF_NGREG): Use new struct user_regs_struct.
15556 (elf_fpregset_t): Use new struct user_fpsimd_struct.
15558 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15560 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
15561 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
15563 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15566 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
15567 membar to avoid block loads/stores to overlap previous stores.
15569 2014-05-17 Richard Henderson <rth@redhat.com>
15571 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
15572 Create the __##syscall_name##_nocancel entry point.
15573 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
15574 Remove; let the sysdep-cancel.h code create it.
15576 2014-05-17 David S. Miller <davem@davemloft.net>
15578 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
15579 Protect with __USE_GNU.
15580 (TIOCSET_TEMPT): Likewise.
15581 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15582 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
15583 these are already provided in bits/ioctl-types.h
15585 2014-05-16 Roland McGrath <roland@hack.frob.com>
15587 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
15588 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
15590 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
15591 Use wait4 regardless of [__NR_waitpid].
15593 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15596 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15597 (_FP_NANSIGN_Q): Set the quiet bit.
15599 2014-05-16 Joseph Myers <joseph@codesourcery.com>
15601 * benchtests/Makefile
15602 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
15603 not $(common-objpfx)math/libm.so.
15604 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
15605 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
15606 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
15607 $(common-objpfx)dlfcn/libdl.so.
15608 ($(objpfx)tst-audit8): Depend on $(libm), not
15609 $(common-objpfx)math/libm.so.
15610 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
15611 not $(common-objpfx)dlfcn/libdl.so.
15613 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15614 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
15615 [$(build-shared) = yes].
15616 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
15617 $(common-objpfx)nptl/libpthread.so.
15618 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
15619 $(common-objpfx)math/libm.so$(libm.so-version) or
15620 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
15621 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
15622 $(common-objpfx)dlfcn/libdl.so.
15623 * setjmp/Makefile (link-libm): Remove variable.
15624 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
15625 * stdio-common/Makefile (link-libm): Remove variable.
15626 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
15627 * stdlib/Makefile (link-libm): Remove variable.
15628 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
15629 ($(objpfx)tst-strtod-round): Likewise.
15630 ($(objpfx)tst-tininess): Likewise.
15631 ($(objpfx)tst-strtod-underflow): Likewise.
15632 ($(objpfx)tst-strtod6): Likewise.
15633 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
15634 $(libdl), not $(common-objpfx)nptl/libpthread.so and
15635 $(common-objpfx)dlfcn/libdl.so.
15637 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15639 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
15640 BSD terminal modes definitions.
15642 2014-05-16 Roland McGrath <roland@hack.frob.com>
15644 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
15645 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
15647 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
15648 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
15649 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
15650 Don't do #include_next.
15651 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
15652 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
15653 Don't do #include_next.
15654 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
15655 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
15656 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
15657 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
15659 2014-05-16 Allan McRae <allan@archlinux.org>
15661 * po/sv.po: Update Swedish translation from translation project.
15663 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
15666 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
15669 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
15670 errno if the TIOCGPTN ioctl fails with an error different than
15672 * login/tst-ptsname.c: New file.
15673 * login/Makefile (tests): Add tst-ptsname.
15676 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
15679 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15682 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
15683 herrno to return EAI_AGAIN.
15685 2014-05-14 Roland McGrath <roland@hack.frob.com>
15687 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
15688 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
15689 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
15690 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
15691 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
15692 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
15693 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
15694 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
15695 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
15696 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
15697 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
15698 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
15699 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
15700 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
15701 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
15702 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
15703 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
15704 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
15705 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
15706 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
15707 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
15708 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
15709 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
15710 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
15711 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
15712 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
15713 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
15714 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
15715 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
15716 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
15717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
15718 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
15719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
15720 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
15721 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15723 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
15724 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
15725 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
15726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
15727 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
15728 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
15729 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
15730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
15731 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
15732 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
15733 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
15734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
15735 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
15736 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
15737 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
15738 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
15739 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
15740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
15741 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
15742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
15743 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
15744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
15745 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
15746 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
15747 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
15748 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
15749 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
15750 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15752 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
15753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
15754 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
15755 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
15756 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
15757 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
15758 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
15759 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
15760 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
15761 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
15762 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
15763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
15764 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
15765 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
15766 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
15767 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
15768 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
15769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
15770 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
15771 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15773 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
15774 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
15775 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
15777 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
15778 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
15779 (libpthread-sysdep_routines): Add elision-related stuff here instead.
15780 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
15781 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
15782 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
15783 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
15784 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
15785 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
15786 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
15787 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
15788 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
15789 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
15790 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
15791 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
15792 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
15793 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
15794 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
15795 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
15796 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
15797 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
15798 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
15799 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
15800 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
15801 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
15802 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
15803 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
15804 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
15805 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
15806 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
15807 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
15809 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
15810 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
15812 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
15813 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
15814 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
15815 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
15816 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
15817 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
15819 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
15820 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
15822 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
15823 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
15825 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
15826 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
15828 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
15829 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
15830 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
15831 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
15833 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
15834 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
15835 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
15836 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
15837 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
15838 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
15839 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
15840 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
15842 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
15843 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
15845 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
15847 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
15848 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
15849 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
15850 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
15851 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
15853 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
15855 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
15857 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
15858 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
15859 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
15860 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
15861 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
15862 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
15864 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
15865 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
15867 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
15868 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
15870 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
15871 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
15873 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
15874 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
15875 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
15876 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
15878 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
15879 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
15880 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
15881 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
15882 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
15883 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
15884 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
15885 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
15887 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
15888 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
15890 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
15892 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
15893 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
15894 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
15895 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
15896 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
15898 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
15900 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
15902 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
15903 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
15904 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
15905 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
15906 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
15907 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
15908 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
15909 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
15910 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
15911 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
15913 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
15914 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
15916 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
15917 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
15919 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
15920 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
15922 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
15923 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
15924 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
15925 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
15926 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
15927 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
15929 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
15930 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
15931 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
15932 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
15933 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
15934 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
15935 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
15936 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
15938 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
15939 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
15941 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
15943 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
15944 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
15945 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
15946 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
15947 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
15949 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
15951 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
15953 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
15954 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
15955 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
15956 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
15957 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
15958 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
15959 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
15960 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
15961 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
15962 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
15963 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
15965 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
15966 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
15968 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
15969 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
15971 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
15972 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
15973 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
15974 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
15975 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
15976 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
15977 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
15978 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
15979 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
15980 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
15981 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
15982 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
15983 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
15984 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
15985 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
15986 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
15987 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
15988 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
15990 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
15991 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
15992 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
15993 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
15995 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
15996 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
15997 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
15998 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
15999 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
16000 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
16001 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
16002 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
16004 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
16005 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
16007 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
16008 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
16009 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
16010 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
16011 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
16012 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
16013 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
16014 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
16015 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
16016 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
16017 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
16018 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
16019 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
16020 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
16021 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
16022 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
16023 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
16025 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
16026 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
16027 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
16028 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
16029 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
16031 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
16032 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
16033 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
16034 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
16035 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
16036 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
16037 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
16038 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
16039 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
16040 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
16042 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
16043 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
16045 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
16046 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
16047 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
16048 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
16049 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
16050 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
16051 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
16052 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
16053 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
16054 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
16055 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
16056 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
16057 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
16058 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
16059 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
16061 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
16063 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16065 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16067 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16069 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
16071 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
16073 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16075 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
16077 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
16079 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
16080 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
16081 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
16082 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
16083 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
16084 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
16085 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
16086 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
16087 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
16088 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
16089 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
16090 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
16091 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
16092 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
16093 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
16095 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
16096 that was previously under [RESET_PID].
16097 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16098 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
16099 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
16101 * sysdeps/i386/nptl/Implies: New file.
16102 * sysdeps/x86_64/nptl/Implies: New file.
16103 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
16104 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
16105 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
16106 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
16108 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
16109 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16110 (__libc_vfork): New strong alias.
16111 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
16112 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
16114 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
16115 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16116 (__libc_vfork): New strong alias.
16117 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
16118 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
16120 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
16121 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16122 (__libc_vfork): New strong alias.
16123 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
16124 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
16125 * nptl/pt-vfork.c: New file.
16126 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
16127 (libpthread: GLIBC_2.20): New version set (empty).
16129 2014-05-14 Will Newton <will.newton@linaro.org>
16131 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
16134 2014-05-14 Joseph Myers <joseph@codesourcery.com>
16137 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
16138 arguments with exponent 65 or above.
16139 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
16140 arguments 0x1p113L or above.
16141 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
16142 to arguments 0x1p107L or above.
16143 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
16144 positive arguments with exponent 65 or above.
16145 * math/auto-libm-test-in: Add more tests of log1p.
16146 * math/auto-libm-test-out: Regenerated.
16149 * math/s_cacos.c (__cacos): Ensure zero real part of result from
16150 non-finite arguments is +0.
16151 * math/s_cacosf.c (__cacosf): Likewise.
16152 * math/s_cacosl.c (__cacosl): Likewise.
16153 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
16154 * sysdeps/i386/fpu/libm-test-ulps: Update.
16155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16158 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
16160 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16161 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
16162 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
16163 for explicit high bit of mantissa when testing for argument equal
16165 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
16166 * sysdeps/i386/fpu/libm-test-ulps: Update.
16167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16170 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
16171 (__erf): Scale by 16 instead of 8 in potentially underflowing
16172 case. Ensure exception if result actually underflows.
16173 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
16174 (__erff): Scale by 16 instead of 8 in potentially underflowing
16175 case. Ensure exception if result actually underflows.
16176 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
16177 (efx8): Remove variable.
16178 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16179 case. Ensure exception if result actually underflows.
16180 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
16181 (efx8): Remove variable.
16182 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16183 case. Ensure exception if result actually underflows.
16184 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
16185 (efx8): Remove variable.
16186 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16187 case. Ensure exception if result actually underflows.
16188 * math/auto-libm-test-in: Add more tests of erf.
16189 * math/auto-libm-test-out: Regenerated.
16191 2014-05-14 Andreas Schwab <schwab@suse.de>
16193 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
16194 Remove code conditionalized on USE___THREAD.
16196 * config.h.in (HAVE_PT_CHOWN): Define as 0.
16197 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
16200 2014-05-14 Joseph Myers <joseph@codesourcery.com>
16202 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
16203 Define unconditionally.
16204 (__ASSUME_O_CLOEXEC): Likewise.
16205 (__ASSUME_SOCK_CLOEXEC): Likewise.
16206 (__ASSUME_IN_NONBLOCK): Likewise.
16207 (__ASSUME_PIPE2): Likewise.
16208 (__ASSUME_EVENTFD2): Likewise.
16209 (__ASSUME_SIGNALFD4): Likewise.
16210 (__ASSUME_DUP3): Likewise.
16211 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16212 (__ASSUME_DUP3): Do not define.
16213 (__ASSUME_EVENTFD2): Likewise.
16214 (__ASSUME_IN_NONBLOCK): Likewise.
16215 (__ASSUME_O_CLOEXEC): Likewise.
16216 (__ASSUME_PIPE2): Likewise.
16217 (__ASSUME_SIGNALFD4): Likewise.
16218 (__ASSUME_SOCK_CLOEXEC): Likewise.
16219 (__ASSUME_UTIMES): Undefine.
16220 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16221 (__ASSUME_UTIMES): Do not define.
16222 (__ASSUME_O_CLOEXEC): Likewise.
16223 (__ASSUME_SOCK_CLOEXEC): Likewise.
16224 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
16225 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
16227 (__ASSUME_PIPE2): Likewise.
16228 (__ASSUME_EVENTFD2): Likewise.
16229 (__ASSUME_SIGNALFD4): Likewise.
16230 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
16231 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
16233 (__ASSUME_EVENTFD2): Likewise.
16234 (__ASSUME_SIGNALFD4): Likewise.
16235 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16236 (__ASSUME_32BITUIDS): Likewise.
16237 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16238 (__ASSUME_IPC64): Likewise.
16239 (__ASSUME_ST_INO_64_BIT): Likewise.
16240 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
16241 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
16242 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16243 (__ASSUME_UTIMES): Do not define.
16244 (__ASSUME_PSELECT): Likewise.
16245 (__ASSUME_PPOLL): Likewise.
16246 (__ASSUME_O_CLOEXEC): Likewise.
16247 (__ASSUME_SOCK_CLOEXEC): Likewise.
16248 (__ASSUME_IN_NONBLOCK): Likewise.
16249 (__ASSUME_PIPE2): Likewise.
16250 (__ASSUME_EVENTFD2): Likewise.
16251 (__ASSUME_SIGNALFD4): Likewise.
16252 (__ASSUME_DUP3): Likewise.
16253 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16254 (__ASSUME_UTIMES): Likewise.
16255 (__ASSUME_O_CLOEXEC): Likewise.
16256 (__ASSUME_SOCK_CLOEXEC): Likewise.
16257 (__ASSUME_IN_NONBLOCK): Likewise.
16258 (__ASSUME_PIPE2): Likewise.
16259 (__ASSUME_EVENTFD2): Likewise.
16260 (__ASSUME_SIGNALFD4): Likewise.
16261 (__ASSUME_DUP3): Likewise.
16262 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16263 (__ASSUME_UTIMES): Likewise.
16264 (__ASSUME_O_CLOEXEC): Likewise.
16265 (__ASSUME_SOCK_CLOEXEC): Likewise.
16266 (__ASSUME_IN_NONBLOCK): Likewise.
16267 (__ASSUME_PIPE2): Likewise.
16268 (__ASSUME_EVENTFD2): Likewise.
16269 (__ASSUME_SIGNALFD4): Likewise.
16270 (__ASSUME_DUP3): Likewise.
16271 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
16273 (__ASSUME_UTIMES): Likewise.
16274 (__ASSUME_EVENTFD2): Likewise.
16275 (__ASSUME_SIGNALFD4): Likewise.
16276 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16277 (__ASSUME_O_CLOEXEC): Likewise.
16278 (__ASSUME_SOCK_CLOEXEC): Likewise.
16279 (__ASSUME_IN_NONBLOCK): Likewise.
16280 (__ASSUME_PIPE2): Likewise.
16281 (__ASSUME_EVENTFD2): Likewise.
16282 (__ASSUME_SIGNALFD4): Likewise.
16283 (__ASSUME_DUP3): Likewise.
16284 (__ASSUME_UTIMES): Undefine.
16286 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
16287 feclearexcept. Remove symbol versioning code.
16288 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
16289 symbol versioning code.
16290 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
16291 symbol versioning code.
16292 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
16293 feupdateenv. Remove symbol versioning code.
16294 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
16295 fegetexceptflag. Remove symbol versioning code.
16296 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
16297 fesetexceptflag. Remove symbol versioning code.
16298 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
16299 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
16300 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
16301 (__posix_fadvise64_l32): Remove prototype.
16302 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
16305 2014-05-13 Roland McGrath <roland@hack.frob.com>
16307 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
16308 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
16309 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
16310 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
16312 2014-05-13 Sami Kerola <kerolasa@iki.fi>
16314 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
16315 current working directory
16317 2014-05-13 Roland McGrath <roland@hack.frob.com>
16319 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
16320 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
16321 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
16322 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
16323 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
16324 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
16325 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
16326 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
16327 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
16328 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
16329 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
16330 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
16331 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
16332 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
16333 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
16334 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
16335 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
16336 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
16337 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
16338 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
16339 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
16340 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
16341 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
16342 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
16343 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
16344 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
16345 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
16346 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
16347 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
16348 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
16349 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
16350 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
16351 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
16352 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
16353 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
16354 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
16355 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
16356 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
16357 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
16358 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
16359 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
16360 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
16362 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
16363 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
16365 * sysdeps/unix/sysv/linux/arm/Makefile
16366 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
16367 Add rt-aeabi_unwind_cpp_pr1.
16368 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
16369 Add nptl-aeabi_unwind_cpp_pr1.
16370 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
16371 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
16372 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
16373 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16374 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
16375 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16377 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
16378 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
16379 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
16380 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
16382 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
16383 Deconditionalize the code that was previously under [RESET_PID].
16384 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
16386 * sysdeps/generic/exit-thread.h: New file.
16387 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
16388 * include/unistd.h (__exit_thread): Remove declaration.
16389 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
16390 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
16391 * csu/libc-start.c: Include <exit-thread.h>.
16392 (LIBC_START_MAIN): Pass no argument to __exit_thread.
16393 * nptl/pthread_create.c: Include <exit-thread.h>.
16394 (start_thread): Call __exit_thread in place of __exit_thread_inline.
16395 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
16396 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
16397 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
16398 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
16399 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
16400 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
16401 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
16402 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
16403 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
16404 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
16405 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
16406 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
16407 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
16408 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
16409 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
16410 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
16412 2014-05-13 Andreas Schwab <schwab@suse.de>
16414 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
16416 2014-05-12 Joseph Myers <joseph@codesourcery.com>
16418 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16419 (__ASSUME_UTIMES): Do not condition on kernel version.
16420 (__ASSUME_PSELECT): Define unconditionally.
16421 (__ASSUME_PPOLL): Likewise.
16422 (__ASSUME_ATFCTS): Likewise.
16423 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
16424 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
16425 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
16426 (__ASSUME_UTIMENSAT): Define unconditionally.
16427 (__ASSUME_PRIVATE_FUTEX): Likewise.
16428 (__ASSUME_FALLOCATE): Likewise.
16429 (__ASSUME_O_CLOEXEC): Likewise.
16430 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
16431 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
16432 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
16433 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
16434 (__ASSUME_IN_NONBLOCK): Likewise.
16435 (__ASSUME_PIPE2): Likewise.
16436 (__ASSUME_EVENTFD2): Likewise.
16437 (__ASSUME_SIGNALFD4): Likewise.
16438 (__ASSUME_DUP3): Likewise.
16439 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16440 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
16441 (__ASSUME_AT_RANDOM): Likewise.
16442 (__ASSUME_PREADV): Likewise.
16443 (__ASSUME_PWRITEV): Likewise.
16444 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
16445 (__ASSUME_F_GETOWN_EX): Define unconditionally.
16446 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
16447 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16448 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
16449 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16450 (__ASSUME_O_CLOEXEC): Define unconditionally.
16451 (__ASSUME_PSELECT): Do not undefine conditionally.
16452 (__ASSUME_PPOLL): Likewise.
16453 (__ASSUME_ATFCTS): Likewise.
16454 (__ASSUME_SET_ROBUST_LIST): Likewise.
16455 (__ASSUME_UTIMENSAT): Likewise.
16456 (__ASSUME_FDATASYNC): Define unconditionally.
16457 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16458 (__ASSUME_SIGFRAME_V2): Likewise.
16459 )__ASSUME_EVENTFD2): Likewise.
16460 (__ASSUME_SIGNALFD4): Likewise.
16461 (__ASSUME_PSELECT): Do not undefine conditionally.
16462 (__ASSUME_PPOLL): Likewise.
16463 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16464 (__ASSUME_PSELECT): Define unconditionally.
16465 (__ASSUME_PPOLL): Likewise.
16466 (__ASSUME_O_CLOEXEC): Likewise.
16467 (__ASSUME_SOCK_CLOEXEC): Likewise.
16468 (__ASSUME_IN_NONBLOCK): Likewise.
16469 (__ASSUME_PIPE2): Likewise.
16470 (__ASSUME_EVENTFD2): Likewise.
16471 (__ASSUME_SIGNALFD4): Likewise.
16472 (__ASSUME_DUP3): Likewise.
16473 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16474 (__ASSUME_O_CLOEXEC): Likewise.
16475 (__ASSUME_SOCK_CLOEXEC): Likewise.
16476 (__ASSUME_IN_NONBLOCK): Likewise.
16477 (__ASSUME_PIPE2): Likewise.
16478 (__ASSUME_EVENTFD2): Likewise.
16479 (__ASSUME_SIGNALFD4): Likewise.
16480 (__ASSUME_DUP3): Likewise.
16481 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16482 (__ASSUME_EVENTFD2): Likewise.
16483 (__ASSUME_SIGNALFD4): Likewise.
16484 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16486 2014-05-12 Andreas Schwab <schwab@suse.de>
16489 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
16490 (_nss_nis_gethostbyname4_r): Return error if item length is larger
16491 than maximum RPC packet size.
16492 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
16493 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
16494 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
16495 (_nss_nis_getservbyport_r): Likewise.
16497 2014-05-12 Will Newton <will.newton@linaro.org>
16499 * malloc/Makefile (tests): Add tst-mallopt.
16500 * malloc/tst-mallopt.c: New file.
16502 2014-05-09 Roland McGrath <roland@hack.frob.com>
16504 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
16505 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
16507 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16509 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
16510 (tst-tlsmod6.so): Likewise.
16512 2014-05-09 Roland McGrath <roland@hack.frob.com>
16514 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
16516 2014-05-09 Joseph Myers <joseph@codesourcery.com>
16519 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
16520 and <dl-procinfo.h>.
16521 (__fegetenv): Save SSE state in envp->__eip if supported.
16522 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
16523 envp->__eip if supported.
16524 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
16525 and <dl-procinfo.h>.
16526 (__fesetenv): Always set __eip, __cs_selector, __opcode,
16527 __data_offset and __data_selector in environment to 0. Set SSE
16528 state if supported.
16529 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16531 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
16533 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
16535 2014-05-09 Will Newton <will.newton@linaro.org>
16537 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
16538 and libc_relro_required for ARM.
16539 * sysdeps/arm/preconfigure: Regenerate.
16541 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
16542 Stefan Liebler <stli@linux.vnet.ibm.com>
16544 * config.make.in (enable-lock-elision): New Makefile variable.
16545 * configure.ac: Likewise.
16546 * configure: Regenerate.
16547 * sysdeps/s390/configure.ac:
16548 Add check for gcc transactions support.
16549 * sysdeps/s390/configure: Regenerate.
16550 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
16551 Build elision files if enabled.
16552 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
16553 Add lock elision support for s390.
16554 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
16555 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
16556 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
16557 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
16558 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
16559 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
16560 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16562 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
16564 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
16566 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
16568 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
16569 (__lll_timedlock_elision, __lll_lock_elision)
16570 (__lll_unlock_elision, __lll_trylock_elision)
16571 (lll_timedlock_elision, lll_lock_elision)
16572 (lll_unlock_elision, lll_trylock_elision): Add.
16573 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16574 (pthread_mutex_t): Add lock elision support for s390.
16576 2014-05-14 Wilco <wdijkstr@arm.com>
16578 * sysdeps/arm/fclrexcpt.c: Cleanup.
16579 * sysdeps/arm/fedisblxcpt.c: Cleanup.
16580 * sysdeps/arm/feenablxcpt.c: Cleanup.
16581 * sysdeps/arm/fegetenv.c: Cleanup.
16582 * sysdeps/arm/fegetexcept.c: Cleanup.
16583 * sysdeps/arm/fegetround.c: Cleanup.
16584 * sysdeps/arm/feholdexcpt.c: Cleanup.
16585 * sysdeps/arm/fesetenv.c: Cleanup.
16586 * sysdeps/arm/fesetround.c: Cleanup.
16587 * sysdeps/arm/feupdateenv.c: Cleanup.
16588 * sysdeps/arm/fgetexcptflg.c: Cleanup.
16589 * sysdeps/arm/fraiseexcpt.c: Cleanup.
16590 * sysdeps/arm/fsetexcptflg.c: Cleanup.
16591 * sysdeps/arm/ftestexcept.c: Cleanup.
16592 * sysdeps/arm/get-rounding-mode.h: Cleanup.
16593 * sysdeps/arm/setfpucw.c: Cleanup.
16595 2014-05-09 Will Newton <will.newton@linaro.org>
16597 * sysdeps/arm/armv7/strcmp.S: New file.
16598 * NEWS: Mention addition of ARMv7 optimized strcmp.
16600 2014-05-08 Roland McGrath <roland@hack.frob.com>
16602 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
16603 look for %.ac rather than %.in.
16605 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
16606 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
16607 * sysdeps/mach/hurd/configure: Regenerated.
16608 * sysdeps/unix/sysv/linux/configure: Regenerated.
16610 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
16612 2014-05-07 Steve Ellcey <sellcey@mips.com>
16615 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
16619 2014-05-07 Andreas Schwab <schwab@suse.de>
16621 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
16622 when skipping over non-matching result from nscd.
16624 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
16627 * nptl/sockperf.c (client): Check socket return value.
16630 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
16631 nscd security class.
16633 2014-05-06 Roland McGrath <roland@hack.frob.com>
16635 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
16636 * sysdeps/arm/unwind.h: ... here.
16638 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
16641 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
16644 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16646 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
16647 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
16648 multiarch strncpy for PPC64.
16649 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
16650 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
16651 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
16652 multiarch optimizations.
16653 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16654 (__libc_ifunc_impl_list): Likewise.
16655 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
16656 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
16657 multiarch stpncpy for PPC64.
16658 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
16659 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
16661 2014-05-06 Andreas Schwab <schwab@suse.de>
16664 * gmon/mcount.c (_MCOUNT_DECL): Use
16665 atomic_compare_and_exchange_bool_acq instead of
16666 catomic_compare_and_exchange_bool_acq.
16668 2014-05-05 Roland McGrath <roland@hack.frob.com>
16670 * elf/Makefile (others, install-bin): Remove pldd.
16671 (pldd-modules): Variable removed.
16672 ($(objpfx)pldd): Target removed.
16673 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
16674 (others, install-bin): Append pldd here.
16675 ($(objpfx)pldd): New target.
16677 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
16678 to 0, so the first #if test emitted later doesn't see it undefined.
16679 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
16680 * sysdeps/gnu/errlist.c: Regenerated.
16682 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16684 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16685 [libc_hidden_builtin_def]: Define to empty value.
16686 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
16687 [libc_hidden_builtin_def]: Likewise.
16688 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
16689 [libc_hidden_builtin_def]: Likewise.
16690 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
16691 [libc_hidden_builtin_def]: Likewise.
16692 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
16693 __redirect_memcpy and define ifunc as default hidden symbol.
16694 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
16695 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
16697 2014-05-04 Adam Conrad <adconrad@0c3.net>
16699 * locale/iso-4217.def: Reintroduce XDR currency.
16701 2014-05-04 Allan McRae <allan@archlinux.org>
16703 * po/eo.po: Update Esperanto translation from translation project.
16705 2014-05-02 Carlos O'Donell <carlos@redhat.com>
16707 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
16708 and FEATURE_INDEX_MAX to 1.
16709 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
16711 2014-05-01 Steve Ellcey <sellcey@mips.com>
16713 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
16714 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
16715 * iconvdata/big5.c (ONE_DIRECTION): Define.
16716 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
16717 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
16718 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
16719 * iconvdata/cp932.c (ONE_DIRECTION): Define.
16720 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
16721 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
16722 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
16723 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
16724 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
16725 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
16726 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
16727 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
16728 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
16729 * iconvdata/gbk.c (ONE_DIRECTION): Define.
16730 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
16731 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
16732 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
16733 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
16734 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
16735 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
16736 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
16737 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
16738 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
16739 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
16740 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
16741 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
16742 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
16743 * iconvdata/iso646.c (ONE_DIRECTION): Define.
16744 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
16745 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
16746 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
16747 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
16748 * iconvdata/johab.c (ONE_DIRECTION): Define.
16749 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
16750 * iconvdata/sjis.c (ONE_DIRECTION): Define.
16751 * iconvdata/t.61.c (ONE_DIRECTION): Define.
16752 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
16753 * iconvdata/tscii.c (ONE_DIRECTION): Define.
16754 * iconvdata/uhc.c (ONE_DIRECTION): Define.
16755 * iconvdata/unicode.c (ONE_DIRECTION): Define.
16756 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
16757 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
16758 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
16760 2014-05-01 Roland McGrath <roland@hack.frob.com>
16762 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
16763 (_IO_JUMPS_OFFSET): Define to 0.
16765 * nptl/sysdeps/pthread/bits/libc-lock.h
16766 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
16767 (__libc_lock_define_initialized_recursive): Always define using
16768 initializer. Modern compilers treat uninitialized (implicit zero) and
16769 explicit zero initializers the same (i.e. put the datum in bss).
16771 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
16773 * nscd/nscd-client.h: Include <string.h>.
16775 2014-05-01 David S. Miller <davem@davemloft.net>
16778 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
16779 multiple zero bytes exist at the end of a string.
16780 Reported by Aurelien Jarno <aurelien@aurel32.net>
16782 * string/test-strcmp.c (check): Add explicit test for situations where
16783 there are multiple zero bytes after the first.
16785 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
16788 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
16789 when compiling wprintf.
16790 * stdio-common/tstdiomisc.c (t3): New function.
16793 2014-05-01 Steve Ellcey <sellcey@mips.com>
16795 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
16796 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
16797 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
16798 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
16800 2014-05-01 Steve Ellcey <sellcey@mips.com>
16802 * stdlib/longlong.h: Updated from GCC.
16804 2014-05-01 Will Newton <will.newton@linaro.org>
16805 Bernard Ogden <bernie.ogden@linaro.org>
16807 * NEWS: Update fixed bug list.
16810 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
16812 2014-04-30 David S. Miller <davem@davemloft.net>
16814 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
16815 (libc_feholdexcept_setround_sparc_ctx): New function.
16816 (libc_fesetenv_sparc_ctx): Likewise.
16817 (libc_feupdateenv_sparc_ctx): Likewise.
16818 (libc_feholdsetround_sparc_ctx): Likewise.
16819 (libc_feholdexcept_setround_ctx): Define.
16820 (libc_feholdexcept_setroundf_ctx): Likewise.
16821 (libc_feholdexcept_setroundl_ctx): Likewise.
16822 (libc_fesetenv_ctx): Likewise.
16823 (libc_fesetenvf_ctx): Likewise.
16824 (libc_fesetenvl_ctx): Likewise.
16825 (libc_feupdateenv_ctx): Likewise.
16826 (libc_feupdateenvf_ctx): Likewise.
16827 (libc_feupdateenvl_ctx): Likewise.
16828 (libc_feresetround_ctx): Likewise.
16829 (libc_feresetroundf_ctx): Likewise.
16830 (libc_feresetroundl_ctx): Likewise.
16831 (libc_feholdsetround_ctx): Likewise.
16832 (libc_feholdsetroundf_ctx): Likewise.
16833 (libc_feholdsetroundl_ctx): Likewise.
16835 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
16836 with __USE_GNU instead of XOPEN cpp guards.
16838 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
16841 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
16842 with XOPEN cpp guards.
16844 2014-04-30 Julian Brown <julian@codesourcery.com>
16847 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
16850 2014-04-30 Joseph Myers <joseph@codesourcery.com>
16853 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
16855 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
16856 * sysdeps/unix/sysv/linux/configure: Regenerated.
16857 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
16858 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
16859 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
16860 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
16861 * README: Update reference to required Linux kernel version.
16862 * manual/install.texi (Linux): Update reference to required Linux
16863 kernel headers version.
16864 * INSTALL: Regenerated.
16866 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
16868 [POSIX] (limits.h): Likewise.
16869 [POSIX] (math.h): Likewise.
16870 [POSIX] (sys/wait.h): Likewise.
16871 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
16873 [POSIX] (stddef.h): Do not allow header inclusion.
16875 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16877 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
16879 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
16881 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
16882 Return immediately after lll_futex_wake.
16884 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16887 * nscd/nscd-client.h (datahead_init_common): Initialize entire
16889 (datahead_init_pos): Call datahead_init_common early.
16890 (datahead_init_neg): Likewise.
16892 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
16893 datahead_init_neg): New functions.
16894 * nscd/aicache.c (addhstaiX): Use them.
16895 * nscd/grpcache.c (cache_addgr): Likewise.
16896 * nscd/hstcache.c (cache_addhst): Likewise.
16897 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16898 * nscd/netgroupcache.c (do_notfound): Likewise.
16899 (addgetnetgrentX): Likewise.
16900 (addinnetgrX): Likewise.
16901 * nscd/pwdcache.c (cache_addpw): Likewise.
16902 * nscd/servicescache.c (cache_addserv): Likewise.
16904 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16905 Atsushi Onoe <atsushi@onoe.org>
16910 * resolv/res_query.c (__libc_res_nsearch): Return if at least
16911 one response is valid.
16912 * resolv/res_send.c (send_dg): Check for validity of other
16913 response if the current response is a referral.
16915 2014-04-29 Steve Ellcey <sellcey@mips.com>
16917 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
16919 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
16922 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
16923 Always divide by positive zero when computing -Inf result.
16924 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16925 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
16927 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16929 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
16930 FPSCR if value do not change.
16931 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16932 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
16933 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16934 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16935 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
16936 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
16939 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
16941 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
16942 * sysdeps/unix/sysv/linux/hppa: Move directory from
16943 ports/systeps/unix/sysv/linux/hppa.
16944 * README: Update listing for hppa-*-linux-gnu.
16946 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
16949 * manual/stdio.texi (Hook functions): Fix types of stream hook
16952 * socket/sys/socket.h: Fix typo in comment.
16954 2014-04-28 Wilco <wdijkstr@arm.com>
16956 * sysdeps/arm/fenv_private.h: New file.
16957 * sysdeps/arm/math_private.h: New file.
16958 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
16960 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
16962 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
16964 (La_x86_64_retval): Likewise.
16966 2014-04-24 Ian Bolton <ian.bolton@arm.com>
16968 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
16969 fpsr if value didn't change.
16970 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
16971 to fpcr if value didn't change.
16972 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
16973 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
16974 fpsr or fpcr if value didn't change.
16975 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16976 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
16977 fpcr if value didn't change.
16978 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
16979 to fpsr if value didn't change.
16981 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16983 * nptl/tst-sem3.c: Use test-skeleton.c
16984 (main): Rename to do_test. Use return instead of
16986 * nptl/tst-sem4.c: Use test-skeleton.c
16987 (main): Rename to do_test.
16989 2014-04-22 David S. Miller <davem@davemloft.net>
16991 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
16992 (struct sigaction): New struct member __glibc_reserved0, change
16993 type of sa_flags to int.
16995 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
16997 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
16998 (COUNT_LEADING_ZEROS_0): Define for AArch64.
17000 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17002 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
17003 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
17005 2014-04-22 Will Newton <will.newton@linaro.org>
17006 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
17008 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
17009 (__longjmp): Add longjmp and longjmp_target SystemTap
17011 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
17012 (__sigsetjmp): Add setjmp SystemTap probe.
17014 2014-04-17 Carlos O'Donell <carlos@redhat.com>
17016 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
17017 match manual order.
17019 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17021 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
17023 * sysdeps/powerpc/fpu/fenv_private.h
17024 (libc_feholdexcept_setroundl_ctx): Define to
17025 libc_feholdexcept_setround_ppc_ctx.
17026 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
17027 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
17028 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
17029 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
17031 2014-04-17 Ian Bolton <ian.bolton@arm.com>
17033 * sysdeps/aarch64/math-tests.h: New file.
17035 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
17037 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
17039 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17040 Check and set bit_AVX2_Usable.
17041 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
17043 (bit_AVX2): Likewise.
17044 (index_AVX2_Usable): Likewise.
17045 (CPUID_AVX2): Likewise.
17046 (HAS_AVX2): Likewise.
17048 2014-04-17 Will Newton <will.newton@linaro.org>
17050 * manual/setjmp.texi (System V contexts): Add note that
17051 calling setcontext on a context created by a call to a
17052 signal handler is undefined. Update text to note that
17053 setcontext from a signal handler is possible but not
17057 * stdlib/tst-setcontext.c: Include signal.h.
17058 (main): Check that the signal stack before and
17059 after swapcontext is the same.
17061 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
17062 Re-implement to restore registers in user code and avoid
17063 rt_sigreturn system call.
17065 2014-04-17 Wilco <wdijkstr@arm.com>
17067 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
17068 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
17069 * math/test-fenv.c: Skip exception trap tests on targets which only
17070 support non-stop mode.
17072 2014-04-17 Ian Bolton <ian.bolton@arm.com>
17073 Wilco Dijkstra <wilco.dijkstra@arm.com>
17075 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
17076 (libc_feholdsetround_aarch64_ctx)
17077 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
17078 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
17079 (libc_feresetround_ctx, libc_feresetroundf_ctx)
17080 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
17081 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
17082 (libc_feresetround_noexl_ctx): Define.
17084 2014-04-16 Richard Henderson <rth@redhat.com>
17086 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
17088 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
17091 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
17092 const from the non-libc, non-ldso copy.
17094 * sysdeps/alpha/libm-test-ulps: Regenerate.
17096 2014-04-16 Ian Bolton <ian.bolton@arm.com>
17097 Wilco Dijkstra <wilco.dijkstra@arm.com>
17099 * sysdeps/aarch64/fpu/math_private.h: New file.
17101 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
17103 * sysdeps/aarch64/libm-test-ulps: Regenerate.
17105 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
17108 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
17109 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
17110 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
17111 Intel MPX bound registers before _dl_profile_fixup.
17112 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
17113 registers after _dl_profile_fixup. Save and restore bound
17114 registers bnd0/bnd1 when calling _dl_call_pltexit.
17115 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
17116 (LR_BND_OFFSET): Likewise.
17117 (LRV_BND0_OFFSET): Likewise.
17118 (LRV_BND1_OFFSET): Likewise.
17120 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17122 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
17124 * sysdeps/mach/hurd/i386/tls.h: ... here.
17125 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
17126 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
17129 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17131 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
17133 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17135 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17137 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17140 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
17141 * sysdeps/s390/configure: Regenerate.
17144 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
17145 Set round-to-nearest internally to reduce error accumulation.
17147 2014-04-16 Alan Modra <amodra@gmail.com>
17151 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
17152 * math/libm-test.inc (frexp_test_data): Add tests.
17153 * NEWS: Update fixed bug list.
17155 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17157 * benchtests/Makefile: Depend on libraries in build directory.
17158 (bench-math): Separate out math tests.
17159 (bench-pthread): Separate out pthread tests.
17160 (bench): Include math and pthread tests.
17162 2014-04-14 Carlos O'Donell <carlos@redhat.com>
17165 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
17166 _dl_debug_initialize.
17168 * configure.ac: Remove SELinux header check.
17169 * configure: Regenerate.
17170 * nscd/selinux.c (perms): Array of const char* to permission names.
17171 (nscd_request_avc_has_perm): Call security_deny_unknown to find
17172 default policy. Call string_to_security_class and string_to_av_perm to
17173 translate strings. Enforce default policy and call avs_has_perm with
17174 results of translated strings.
17176 2014-04-13 David S. Miller <davem@davemloft.net>
17178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17180 2014-04-12 Allan McRae <allan@archlinux.org>
17183 * manual/string.texi (Collation Functions): Fix qsort argument
17185 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17187 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
17189 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
17190 Make the test a no-op if there are no exceptions defined.
17192 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
17194 * elf/Makefile (tests): make tst-dlopen-aout conditional on
17195 enable-hardcoded-path-in-tests
17197 2014-04-11 Will Newton <will.newton@linaro.org>
17199 * benchtests/Makefile (extra-objs): Add json-lib.o.
17200 (bench-func): Tidy up JSON output.
17201 * benchtests/bench-skeleton.c: Include json-lib.h.
17202 (main): Use JSON library functions to do output of
17204 * benchtests/bench-timing-type.c (main): Output the
17205 timing type simply, leaving formatting to the user.
17206 * benchtests/json-lib.c: New file.
17207 * benchtests/json-lib.h: Likewise.
17209 2014-04-11 Torvald Riegel <triegel@redhat.com>
17212 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
17213 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
17214 memory barriers. Add comments.
17215 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
17216 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
17217 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
17218 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
17219 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
17220 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
17222 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17224 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
17225 * sysdeps/s390/s390-64/configure.ac: ... this ...
17226 * sysdeps/s390/configure.ac: ... to here.
17227 * sysdeps/s390/s390-32/configure: Delete file.
17228 * sysdeps/s390/s390-64/configure: Delete file.
17229 * sysdeps/s390/configure: Regenerate.
17231 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
17233 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
17235 2014-04-11 Will Newton <will.newton@linaro.org>
17237 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
17238 to zero if it is not defined elsewhere. (mtrim): Test
17239 the value of MALLOC_DEBUG with #if rather than #ifdef.
17241 2014-04-10 Torvald Riegel <triegel@redhat.com>
17243 * benchtests/pthread_once-inputs: New file.
17244 * benchtests/pthread_once-source.c: New file.
17245 * benchtests/README: Update documentation.
17247 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
17248 H.J. Lu <hongjiu.lu@intel.com>
17251 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
17252 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
17253 * sysdeps/x86_64/configure: Regenerated.
17254 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
17256 (REGISTER_SAVE_RAX): Likewise.
17257 (REGISTER_SAVE_RCX): Likewise.
17258 (REGISTER_SAVE_RDX): Likewise.
17259 (REGISTER_SAVE_RSI): Likewise.
17260 (REGISTER_SAVE_RDI): Likewise.
17261 (REGISTER_SAVE_R8): Likewise.
17262 (REGISTER_SAVE_R9): Likewise.
17263 (REGISTER_SAVE_BND0): Likewise.
17264 (REGISTER_SAVE_BND1): Likewise.
17265 (REGISTER_SAVE_BND2): Likewise.
17266 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
17267 bound registers when calling _dl_fixup.
17269 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17271 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
17272 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
17274 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
17275 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
17276 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
17277 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
17278 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
17279 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
17280 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
17282 2014-04-09 Peter Brett <peter@peter-b.co.uk>
17285 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
17286 pathconf(_PC_NAME_MAX).
17288 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17290 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
17291 Remove macro usage.
17292 (__PTHREAD_SPINS): Move definition to ...
17293 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17294 (__PTHREAD_SPINS): ... here.
17295 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17296 (__PTHREAD_SPIN): Likewise.
17297 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
17298 (__PTHREAD_SPIN): Likewise.
17299 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
17300 (__PTHREAD_SPIN): Likewise.
17301 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
17302 (__PTHREAD_SPIN): Likewise.
17303 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17304 (__PTHREAD_SPIN): Likewise.
17305 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17306 (__PTHREAD_SPIN): Likewise.
17307 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
17308 (__PTHREAD_SPIN): Likewise.
17309 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17310 (__PTHREAD_SPIN): Likewise.
17311 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17312 (__PTHREAD_SPIN): Likewise.
17313 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17314 (__PTHREAD_SPIN): Likewise.
17315 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17316 (__PTHREAD_SPIN): Likewise.
17317 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
17318 (__PTHREAD_SPIN): Likewise.
17320 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
17321 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
17322 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
17323 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
17325 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
17326 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
17327 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
17328 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
17329 correct imply path.
17330 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
17331 strlen symbol for non multi-arch builds.
17332 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
17333 missing hidden_def and weak_alias.
17335 2014-04-08 Carlos O'Donell <carlos@redhat.com>
17337 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
17339 2014-04-07 Will Newton <will.newton@linaro.org>
17341 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
17342 and contents. [!_LIBC] Remove #ifndef and contents.
17343 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
17344 * string/memccpy.c (__memccpy): Use ANSI prototype.
17345 * string/memfrob.c (memfrob): Likewise.
17346 * string/strcoll.c (STRCOLL): Likewise.
17347 * string/strlen.c (strlen): Likewise.
17348 * string/strtok.c (STRTOK): Likewise.
17349 * string/strcat.c: Remove unused #include of memcopy.h.
17350 (strcat): Use ANSI prototype.
17351 * string/strchr.c: Remove unused #include of memcopy.h.
17352 (strchr): Use ANSI prototype.
17353 * string/strcmp.c: Remove unused #include of memcopy.h.
17354 (strcmp): Use ANSI prototype.
17355 * string/strcpy.c: Remove unused #include of memcopy.h.
17356 (strcpy): Use ANSI prototype.
17358 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17360 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
17361 * config.make.in (config-extra-cppflags): Set it from
17362 libc_extra_cppflags.
17363 * configure.ac (libc_extra_cflags): Make it accumulate over
17364 configure fragments.
17365 (libc_extra_cppflags): New flag.
17366 * configure. Regenerate.
17367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
17368 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
17369 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
17370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17373 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
17374 result for FE_DOWNWARD rounding mode.
17375 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17379 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
17381 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
17382 in function argument name.
17384 2014-04-03 David Svoboda <svoboda@cert.org>
17387 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
17390 2014-04-03 Roland McGrath <roland@hack.frob.com>
17392 * elf/dl-unmap-segments.h: New file.
17393 * sysdeps/generic/ldsodefs.h
17394 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
17395 * elf/dl-close.c: Include <dl-unmap-segments.h>.
17396 * elf/dl-fptr.c: Likewise.
17397 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
17398 * sysdeps/aarch64/tlsdesc.c: Likewise.
17399 * sysdeps/arm/tlsdesc.c: Likewise.
17400 * sysdeps/i386/tlsdesc.c: Likewise.
17401 * sysdeps/tile/dl-runtime.c: Likewise.
17402 * sysdeps/x86_64/tlsdesc.c: Likewise.
17403 * elf/dl-load.h: New file.
17404 * elf/dl-load.c: Include it.
17405 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
17406 Macros moved to dl-load.h.
17407 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
17408 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
17409 Use _dl_unmap_segments in place of __munmap.
17410 Break out segment-mapping loop into ...
17411 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
17413 2014-04-03 Will Newton <will.newton@linaro.org>
17415 * elf/dl-lookup.c (do_lookup_x): Remove comment
17416 referring to nested function and move variable
17417 declarations down to before first use.
17419 2014-04-02 Joseph Myers <joseph@codesourcery.com>
17423 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
17425 * math/s_catanf.c (__catanf): Likewise.
17426 * math/s_catanh.c (__catanh): Likewise.
17427 * math/s_catanhf.c (__catanhf): Likewise.
17428 * math/s_catanhl.c (__catanhl): Likewise.
17429 * math/s_catanl.c (__catanl): Likewise.
17430 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
17431 by positive zero when computing -Inf result.
17432 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
17433 (catanh_test): Likewise.
17434 * sysdeps/i386/fpu/libm-test-ulps: Update.
17435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17438 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
17439 instead of using underflowing value in computing result.
17440 * math/s_clog10.c (__clog10): Likewise.
17441 * math/s_clog10f.c (__clog10f): Likewise.
17442 * math/s_clog10l.c (__clog10l): Likewise.
17443 * math/s_clogf.c (__clogf): Likewise.
17444 * math/s_clogl.c (__clogl): Likewise.
17445 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
17446 (clog10_test): Likewise.
17447 * sysdeps/i386/fpu/libm-test-ulps: Update.
17448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17450 2014-04-02 Alan Modra <amodra@gmail.com>
17453 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
17454 output when value is near a power of two. Use int64_t for lx and
17455 remove casts. Use decimal rather than hex exponent constants.
17456 Don't use long double multiplication when double will suffice.
17457 * math/libm-test.inc (nextafter_test_data): Add tests.
17458 * NEWS: Add 16739 and 16786 to bug list.
17460 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
17462 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
17464 2014-04-01 Will Newton <will.newton@linaro.org>
17466 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
17467 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
17469 2014-04-01 Florian Weimer <fweimer@redhat.com>
17472 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
17473 * nptl/tst-setuid2.c: New file.
17474 * nptl/Makefile (xtests): Add tst-setuid2.
17476 2014-04-01 Alan Modra <amodra@gmail.com>
17479 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
17481 2014-03-31 Joseph Myers <joseph@codesourcery.com>
17485 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
17486 set errno as appropriate.
17487 * math/w_scalbf.c (__scalbf): Likewise.
17488 * math/w_scalbl.c (__scalbl): Likewise.
17489 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
17490 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
17491 * math/libm-test.inc (scalb_test_data): Add errno expectations.
17492 Add more NaN tests.
17495 * math/w_atan2.c: Include <errno.h>.
17496 (__atan2): Set errno for result underflowing to zero.
17497 * math/w_atan2f.c: Include <errno.h>.
17498 (__atan2f): Set errno for result underflowing to zero.
17499 * math/w_atan2l.c: Include <errno.h>.
17500 (__atan2l): Set errno for result underflowing to zero.
17501 * math/auto-libm-test-in: Don't allow missing errno for some atan2
17503 * math/auto-libm-test-out: Regenerated.
17505 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17507 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
17508 Encode instruction correctly in little endian.
17509 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
17511 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
17513 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
17515 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
17518 2014-03-31 Joseph Myers <joseph@codesourcery.com>
17521 * sysdeps/unix/sysv/linux/kernel-features.h
17522 [__sparc__ && !__arch64__ && !__sparc_v9__]
17523 (__ASSUME_SET_ROBUST_LIST): Do not define.
17524 [__sparc__ && !__arch64__ && !__sparc_v9__]
17525 (__ASSUME_FUTEX_LOCK_PI): Likewise.
17526 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
17528 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17529 (__ASSUME_FUTEX_LOCK_PI): Undefine.
17530 (__ASSUME_REQUEUE_PI): Likewise.
17531 (__ASSUME_SET_ROBUST_LIST): Likewise.
17532 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17533 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
17535 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17536 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
17538 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
17540 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
17542 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17543 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
17545 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
17546 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
17550 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17551 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
17552 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
17554 2014-03-31 Will Newton <will.newton@linaro.org>
17556 * benchtests/Makefile (bench): Add ffs and ffsll to list
17558 * benchtests/ffs-inputs: New file.
17559 * benchtests/ffsll-inputs: Likewise.
17561 2014-03-29 Joseph Myers <joseph@codesourcery.com>
17564 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
17565 too large before casting to int.
17566 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
17567 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
17568 * math/libm-test.inc (scalb_test_data): Add more tests.
17570 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17572 * benchtests/Makefile (DETAILED_OPT): New make option.
17573 (bench-func): Run benchmark program with -d if DETAILED_OPT is
17575 * benchtests/bench-skeleton.c: Include stdbool.h.
17576 (main): Store and print timings per input.
17577 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
17578 member to each argument value.
17579 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
17580 (_print_arg_data): Initialize per-input timing to 0.
17582 * benchtests/Makefile (timing-type): New binary.
17583 (bench-clean): Also remove bench-timing-type.
17584 (bench): New target for timing-type.
17585 (bench-func): Print output in JSON format.
17586 * benchtests/bench-skeleton.c (main): Print output in JSON
17588 * benchtests/bench-timing-type.c: New file.
17589 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
17590 (TIMING_PRINT_STATS): Remove.
17591 * benchtests/scripts/bench.py (_print_arg_data): Store variant
17594 * benchtests/bench-modf.c: Remove.
17595 * benchtests/modf-inputs: New inputs file.
17597 2014-03-28 Joseph Myers <joseph@codesourcery.com>
17600 * math/s_clog10.c (M_PI_LOG10E): New macro.
17601 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
17602 imaginary parts are 0.
17603 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
17604 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
17605 imaginary parts are 0.
17606 * math/s_clog10l.c (M_PI_LOG10El): New macro.
17607 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
17608 imaginary parts are 0.
17609 * math/libm-test.inc (clog10_test_data): Update expected results
17610 for when real and imaginary parts are 0.
17612 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
17614 * elf/dl-load.c: Finish conversion of __builtin_expect into
17615 __glibc_{un}likely.
17617 2014-03-27 Joseph Myers <joseph@codesourcery.com>
17620 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
17621 1+x for argument with exponent below -67.
17622 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
17624 * math/auto-libm-test-in: Add more tests of exp.
17625 * math/auto-libm-test-out: Regenerated.
17627 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17630 * inet/getnetgrent_r.c (get_nonempty_val): New function.
17631 (nscd_getnetgrent): Use it.
17634 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
17637 2014-03-27 Andi Kleen <ak@linux.intel.com>
17639 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
17640 (lll_robust_lock, lll_cond_lock, lll_timedlock)
17641 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17642 (lll_robust_unlock): Remove out of line section. Use cfi
17644 (LLL_STUB_UNWIND_INFO*): Remove.
17645 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
17646 (lll_robust_lock, lll_cond_lock, lll_timedlock)
17647 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17648 (lll_robust_unlock): Remove out of line section. Use cfi
17650 (LLL_STUB_UNWIND_INFO*): Remove.
17652 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17655 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
17658 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
17660 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
17662 2014-03-26 Joseph Myers <joseph@codesourcery.com>
17665 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
17667 * math/test-fenv-preserve.c: New file.
17668 * math/Makefile (tests): Add test-fenv-preserve.
17670 2014-03-26 Will Newton <will.newton@linaro.org>
17672 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
17674 2014-03-25 Roland McGrath <roland@hack.frob.com>
17676 * scripts/versionlist.awk: Partition the version sets and emit all
17677 GLIBC_* (sorted) before all others (sorted).
17679 2014-03-25 Joseph Myers <joseph@codesourcery.com>
17681 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
17682 GLIBC_2.2.5 version.
17684 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17686 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
17689 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
17692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17694 2014-03-25 Andreas Schwab <schwab@suse.de>
17696 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
17697 label to be used after in6ailist is initialized.
17699 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17701 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17702 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17704 2014-03-25 Joseph Myers <joseph@codesourcery.com>
17708 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
17710 (fp_formats): Update initializers.
17711 (init_fp_formats): Initialize new field.
17712 (output_for_one_input_case): Allow underflow for results up to
17714 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
17715 * math/auto-libm-test-in: Don't mark some underflows from asin and
17717 * math/auto-libm-test-out: Regenerated.
17718 * sysdeps/i386/fpu/libm-test-ulps: Update.
17719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17721 2014-03-25 Andreas Schwab <schwab@suse.de>
17723 * libio/Makefile (tst-ftell-partial-wide-ENV)
17724 (tst-ftell-active-handler-ENV): Define.
17726 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
17728 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
17730 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
17732 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
17734 2014-03-24 Joseph Myers <joseph@codesourcery.com>
17736 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
17737 * sysdeps/x86_64/fpu/multiarch/e_exp.c
17738 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17740 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
17743 * elf/dl-load.c (open_verify): Add mode parameter.
17744 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
17745 (open_path): Change from boolean 'secure' to complete flag 'mode'
17746 (_dl_map_object): Adjust.
17747 * elf/Makefile (tests): Add tst-dlopen-aout.
17748 * elf/tst-dlopen-aout.c: New test.
17750 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17753 * sysdeps/unix/sysv/linux/s390/bits/stat.h
17754 (struct stat): Rename member pad0 to __glibc_reserved0.
17757 * sysdeps/s390/s390-32/bits/wordsize.h
17758 (__WORDSIZE32_SIZE_ULONG): New define.
17759 * sysdeps/s390/s390-64/bits/wordsize.h
17760 (__WORDSIZE32_SIZE_ULONG): Likewise.
17761 * sysdeps/generic/stdint.h (SIZE_MAX):
17762 Define as UL if __WORDSIZE32_SIZE_ULONG.
17765 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
17766 (__glibc_reserved0): New variable.
17767 (sa_flags): Change type to int.
17769 * posix/Makefile (before-compile): Use += before-compile instead
17772 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17773 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17775 2014-03-20 Andreas Schwab <schwab@suse.de>
17778 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
17779 non-matching result from nscd.
17781 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17783 * scripts/bench.py: Moved to ...
17784 * benchtests/scripts/bench.py: ... here.
17785 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
17787 2014-03-24 Andreas Schwab <schwab@suse.de>
17790 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
17791 alloca_account and account alloca use for struct in6ailist.
17793 2014-03-24 Joseph Myers <joseph@codesourcery.com>
17796 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
17797 rounding mode to recompute results that overflow to infinity or
17799 * math/auto-libm-test-in: Don't mark tests as expected to fail for
17801 * math/auto-libm-test-out: Regenerated.
17802 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
17803 (ccosh_test): Likewise.
17804 (csin_test_data): Use plus_oflow.
17805 (csin_test): Use ALL_RM_TEST.
17806 (csinh_test_data): Use plus_oflow.
17807 (csinh_test): Use ALL_RM_TEST.
17808 * sysdeps/i386/fpu/libm-test-ulps: Update.
17809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17811 2014-03-21 Joseph Myers <joseph@codesourcery.com>
17813 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
17814 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
17815 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
17818 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
17819 when x - 1 is zero.
17820 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
17821 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
17822 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17823 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
17825 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
17826 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
17828 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
17829 * sysdeps/i386/fpu/libm-test-ulps: Update.
17830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17832 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17834 * scripts/bench.pl: Remove file.
17835 * scripts/bench.py: New benchmark script.
17836 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
17837 * benchtests/README: Mention python dependency.
17838 * scripts/pylintrc: New file.
17839 * scripts/pylint: New file.
17841 * bits/mathdef.h: Use #ifdef instead of #if.
17842 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
17843 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17844 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
17845 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17846 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
17847 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17849 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17850 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17852 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
17853 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
17854 and strpbrk-ppc64 objects.
17855 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17856 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
17857 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
17858 multiarch strpbrk for POWER7.
17859 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
17860 multiarch strpbrk for PPC64.
17861 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
17863 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
17864 strpbrk for POWER7.
17866 2014-03-20 Joseph Myers <joseph@codesourcery.com>
17868 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
17869 (atan_test): Likewise.
17870 (atanh_test_data): Use NO_TEST_INLINE for two tests.
17871 (atanh_test): Use ALL_RM_TEST.
17872 (atan2_test_data): Likewise.
17873 (cabs_test): Likewise.
17874 (cacosh_test): Likewise.
17875 (carg_test): Likewise.
17876 (casin_test): Likewise.
17877 (casinh_test): Likewise.
17878 (cbrt_test): Likewise.
17879 (csqrt_test): Likewise.
17880 (erf_test): Likewise.
17881 (erfc_test): Likewise.
17882 (pow10_test): Likewise.
17883 (exp2_test): Likewise.
17884 (hypot_test): Likewise.
17885 (j0_test): Likewise.
17886 (j1_test): Likewise.
17887 (lgamma_test): Likewise.
17888 (gamma_test): Likewise.
17889 (sincos_test): Likewise.
17890 (tanh_test): Likewise.
17891 (y0_test): Likewise.
17892 (y1_test): Likewise.
17893 * sysdeps/i386/fpu/libm-test-ulps: Update.
17894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17896 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17898 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
17899 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
17900 and strcspn-ppc64 objects.
17901 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17902 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
17903 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
17904 multiarch strcspn for POWER7.
17905 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
17906 multiarch strcspn for PPC64.
17907 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
17909 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
17910 strcspn for POWER7.
17912 2014-03-20 Joseph Myers <joseph@codesourcery.com>
17914 * math/gen-libm-test.pl (generate_testfile): Expect only function
17915 name as argument to AUTO_TESTS_* and pass results for all rounding
17916 modes to parse_args.
17917 (parse_auto_input): Separate inputs of automatic tests from
17918 outputs before storing in %auto_tests.
17919 * math/libm-test.inc (acos_test_data): Update call to
17921 (acos_test): Use ALL_RM_TEST.
17922 (acos_tonearest_test_data): Remove.
17923 (acos_test_tonearest): Likewise.
17924 (acos_towardzero_test_data): Likewise.
17925 (acos_test_towardzero): Likewise.
17926 (acos_downward_test_data): Likewise.
17927 (acos_test_downward): Likewise.
17928 (acos_upward_test_data): Likewise.
17929 (acos_test_upward): Likewise.
17930 (acosh_test_data): Update call to AUTO_TESTS_f_f.
17931 (asin_test_data): Likewise.
17932 (asin_test): Use ALL_RM_TEST.
17933 (asin_tonearest_test_data): Remove.
17934 (asin_test_tonearest): Likewise.
17935 (asin_towardzero_test_data): Likewise.
17936 (asin_test_towardzero): Likewise.
17937 (asin_downward_test_data): Likewise.
17938 (asin_test_downward): Likewise.
17939 (asin_upward_test_data): Likewise.
17940 (asin_test_upward): Likewise.
17941 (asinh_test_data): Update call to AUTO_TESTS_f_f.
17942 (atan_test_data): Likewise.
17943 (atanh_test_data): Likewise.
17944 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
17945 (cabs_test_data): Update call to AUTO_TESTS_c_f.
17946 (carg_test_data): Likewise.
17947 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
17948 (ccos_test_data): Update call to AUTO_TESTS_c_c.
17949 (ccosh_test_data): Likewise.
17950 (cexp_test_data): Likewise.
17951 (clog_test_data): Likewise.
17952 (clog10_test_data): Likewise.
17953 (cos_test_data): Update call to AUTO_TESTS_f_f.
17954 (cos_test): Use ALL_RM_TEST.
17955 (cos_tonearest_test_data): Remove.
17956 (cos_test_tonearest): Likewise.
17957 (cos_towardzero_test_data): Likewise.
17958 (cos_test_towardzero): Likewise.
17959 (cos_downward_test_data): Likewise.
17960 (cos_test_downward): Likewise.
17961 (cos_upward_test_data): Likewise.
17962 (cos_test_upward): Likewise.
17963 (cosh_test_data): Update call to AUTO_TESTS_f_f.
17964 (cosh_test): Use ALL_RM_TEST.
17965 (cosh_tonearest_test_data): Remove.
17966 (cosh_test_tonearest): Likewise.
17967 (cosh_towardzero_test_data): Likewise.
17968 (cosh_test_towardzero): Likewise.
17969 (cosh_downward_test_data): Likewise.
17970 (cosh_test_downward): Likewise.
17971 (cosh_upward_test_data): Likewise.
17972 (cosh_test_upward): Likewise.
17973 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
17974 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
17975 (ctan_test_data): Likewise.
17976 (ctan_test): Use ALL_RM_TEST.
17977 (ctan_tonearest_test_data): Remove.
17978 (ctan_test_tonearest): Likewise.
17979 (ctan_towardzero_test_data): Likewise.
17980 (ctan_test_towardzero): Likewise.
17981 (ctan_downward_test_data): Likewise.
17982 (ctan_test_downward): Likewise.
17983 (ctan_upward_test_data): Likewise.
17984 (ctan_test_upward): Likewise.
17985 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
17986 (ctanh_test): Use ALL_RM_TEST.
17987 (ctanh_tonearest_test_data): Remove.
17988 (ctanh_test_tonearest): Likewise.
17989 (ctanh_towardzero_test_data): Likewise.
17990 (ctanh_test_towardzero): Likewise.
17991 (ctanh_downward_test_data): Likewise.
17992 (ctanh_test_downward): Likewise.
17993 (ctanh_upward_test_data): Likewise.
17994 (ctanh_test_upward): Likewise.
17995 (erf_test_data): Update call to AUTO_TESTS_f_f.
17996 (erfc_test_data): Likewise.
17997 (exp_test_data): Likewise.
17998 (exp_test): Use ALL_RM_TEST.
17999 (exp_tonearest_test_data): Remove.
18000 (exp_test_tonearest): Likewise.
18001 (exp_towardzero_test_data): Likewise.
18002 (exp_test_towardzero): Likewise.
18003 (exp_downward_test_data): Likewise.
18004 (exp_test_downward): Likewise.
18005 (exp_upward_test_data): Likewise.
18006 (exp_test_upward): Likewise.
18007 (exp10_test_data): Update call to AUTO_TESTS_f_f.
18008 (exp10_test): Use ALL_RM_TEST.
18009 (exp10_tonearest_test_data): Remove.
18010 (exp10_test_tonearest): Likewise.
18011 (exp10_towardzero_test_data): Likewise.
18012 (exp10_test_towardzero): Likewise.
18013 (exp10_downward_test_data): Likewise.
18014 (exp10_test_downward): Likewise.
18015 (exp10_upward_test_data): Likewise.
18016 (exp10_test_upward): Likewise.
18017 (exp2_test_data): Update call to AUTO_TESTS_f_f.
18018 (expm1_test_data): Likewise.
18019 (expm1_test): Use ALL_RM_TEST.
18020 (expm1_tonearest_test_data): Remove.
18021 (expm1_test_tonearest): Likewise.
18022 (expm1_towardzero_test_data): Likewise.
18023 (expm1_test_towardzero): Likewise.
18024 (expm1_downward_test_data): Likewise.
18025 (expm1_test_downward): Likewise.
18026 (expm1_upward_test_data): Likewise.
18027 (expm1_test_upward): Likewise.
18028 (fma_test_data): Update call to AUTO_TESTS_fff_f.
18029 (fma_test): Use ALL_RM_TEST.
18030 (fma_towardzero_test_data): Remove.
18031 (fma_test_towardzero): Likewise.
18032 (fma_downward_test_data): Likewise.
18033 (fma_test_downward): Likewise.
18034 (fma_upward_test_data): Likewise.
18035 (fma_test_upward): Likewise.
18036 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
18037 (j0_test_data): Update call to AUTO_TESTS_f_f.
18038 (j1_test_data): Likewise.
18039 (jn_test_data): Update call to AUTO_TESTS_if_f.
18040 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
18041 (log_test_data): Update call to AUTO_TESTS_f_f.
18042 (log10_test_data): Likewise.
18043 (log1p_test_data): Likewise.
18044 (log2_test_data): Likewise.
18045 (pow_test_data): Update call to AUTO_TESTS_ff_f.
18046 (pow_tonearest_test_data): Likewise.
18047 (sin_test_data): Update call to AUTO_TESTS_f_f.
18048 (sin_test): Use ALL_RM_TEST.
18049 (sin_tonearest_test_data): Remove.
18050 (sin_test_tonearest): Likewise.
18051 (sin_towardzero_test_data): Likewise.
18052 (sin_test_towardzero): Likewise.
18053 (sin_downward_test_data): Likewise.
18054 (sin_test_downward): Likewise.
18055 (sin_upward_test_data): Likewise.
18056 (sin_test_upward): Likewise.
18057 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
18058 (sinh_test_data): Update call to AUTO_TESTS_f_f.
18059 (sinh_test): Use ALL_RM_TEST.
18060 (sinh_tonearest_test_data): Remove.
18061 (sinh_test_tonearest): Likewise.
18062 (sinh_towardzero_test_data): Likewise.
18063 (sinh_test_towardzero): Likewise.
18064 (sinh_downward_test_data): Likewise.
18065 (sinh_test_downward): Likewise.
18066 (sinh_upward_test_data): Likewise.
18067 (sinh_test_upward): Likewise.
18068 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
18069 (sqrt_test): Use ALL_RM_TEST.
18070 (sqrt_tonearest_test_data): Remove.
18071 (sqrt_test_tonearest): Likewise.
18072 (sqrt_towardzero_test_data): Likewise.
18073 (sqrt_test_towardzero): Likewise.
18074 (sqrt_downward_test_data): Likewise.
18075 (sqrt_test_downward): Likewise.
18076 (sqrt_upward_test_data): Likewise.
18077 (sqrt_test_upward): Likewise.
18078 (tan_test_data): Update call to AUTO_TESTS_f_f.
18079 (tan_test): Use ALL_RM_TEST.
18080 (tan_tonearest_test_data): Remove.
18081 (tan_test_tonearest): Likewise.
18082 (tan_towardzero_test_data): Likewise.
18083 (tan_test_towardzero): Likewise.
18084 (tan_downward_test_data): Likewise.
18085 (tan_test_downward): Likewise.
18086 (tan_upward_test_data): Likewise.
18087 (tan_test_upward): Likewise.
18088 (tanh_test_data): Update call to AUTO_TESTS_f_f.
18089 (tgamma_test_data): Likewise.
18090 (y0_test_data): Likewise.
18091 (y1_test_data): Likewise.
18092 (yn_test_data): Update call to AUTO_TESTS_if_f.
18093 (main): Do not call removed functions.
18095 2014-03-19 Joseph Myers <joseph@codesourcery.com>
18097 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
18098 (ldexp_test_data): Remove.
18099 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
18101 (scalb_test): Use ALL_RM_TEST.
18103 2014-03-19 Andreas Schwab <schwab@suse.de>
18105 * nscd/nscd.service: Also invalidate netgroup cache on reload.
18107 2014-03-19 Joseph Myers <joseph@codesourcery.com>
18110 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18111 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
18112 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
18113 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18114 (__ASSUME_PREADV): Undefine.
18115 (__ASSUME_PWRITEV): Likewise.
18117 2014-03-18 Roland McGrath <roland@hack.frob.com>
18119 * bits/mman-linux.h: Add comment about non-Linux use.
18120 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
18121 bits/mman-linux.h resting place.
18123 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
18124 * bits/mman-linux.h: ... here.
18126 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18128 * conform/conformtest.pl: Add standard definition when calling C
18129 preprocessor on data files.
18130 (checknamespace): Remove unused variable.
18132 2014-03-18 Joseph Myers <joseph@codesourcery.com>
18134 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
18135 minus_oflow, plus_uflow and minus_uflow in expected results.
18136 * math/libm-test.inc (scalbn_test_data): Add more tests of
18137 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
18139 (scalbn_test): Use ALL_RM_TEST.
18140 (scalbln_test_data): Add more tests of negative arguments. Use
18141 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
18142 (scalbln_test): Use ALL_RM_TEST.
18144 2014-03-18 Roland McGrath <roland@hack.frob.com>
18146 * scripts/abilist.awk: Ignore symbols marked with .hidden.
18148 2014-03-18 Will Newton <will.newton@linaro.org>
18150 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
18151 inaccurate comment.
18153 2014-03-18 Joseph Myers <joseph@codesourcery.com>
18155 * Makerules [!subdir] (check-abi): Exit with error status if a
18158 2014-03-17 Joseph Myers <joseph@codesourcery.com>
18160 * math/libm-test.inc (nearbyint_test_data): Include all tests used
18161 for rint. Include results for all rounding modes.
18162 (nearbyint_test): Use ALL_RM_TEST.
18163 (rint_test_data): Include all tests used for nearbyint.
18165 2014-03-17 Will Newton <will.newton@linaro.org>
18167 * nptl/sysdeps/pthread/pthread.h: Revert previous
18170 * sysdeps/generic/ldsodefs.h: Revert previous
18173 * libio/genops.c: Revert previous change.
18174 * libio/libioP.h: Likewise.
18175 * stdio-common/vfprintf.c: Likewise.
18177 * sysdeps/generic/math_private.h: Revert previous
18180 * sysdeps/generic/math_private.h: Check whether
18181 HAVE_RM_CTX is defined with #ifdef rather
18184 * argp/argp-fmtstream.h: Check whether
18185 __STRICT_ANSI__ is defined with #ifdef rather
18187 * argp/argp.h: Likewise.
18189 * libio/genops.c: Check whether
18190 _IO_JUMPS_OFFSET is defined with #ifdef rather
18192 * libio/libioP.h: Likewise.
18193 * stdio-common/vfprintf.c: Likewise.
18195 * sysdeps/generic/ldsodefs.h: Check whether
18196 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
18199 * nptl/sysdeps/pthread/pthread.h: Check
18200 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
18203 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18205 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
18207 * libio/tst-ftell-active-handler.c (do_append_test): Add a
18211 * libio/fileops.c (_IO_file_open): Seek to end of file but
18212 don't cache the offset.
18213 (get_file_offset): Remove function.
18214 (do_ftell): Use cached offset when available.
18215 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
18216 don't cache the offset.
18217 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
18219 (do_one_test): Call it.
18220 (do_ftell_test): Fix up expected old offset for a+ mode.
18221 * libio/wfileops.c (do_ftell_wide): Used cached offset when
18224 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
18225 up test status with function return status.
18226 (do_write_test): Likewise.
18227 (do_append_test): Likewise.
18229 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
18230 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
18233 2014-03-17 Joseph Myers <joseph@codesourcery.com>
18235 * math/gen-libm-test.pl (parse_args): Handle results specified for
18236 each rounding mode separately.
18237 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
18238 tests and results from lrint_tonearest_test_data,
18239 lrint_towardzero_test_data, lrint_downward_test_data and
18240 lrint_upward_test_data.
18241 (lrint_test): Use ALL_RM_TEST.
18242 (lrint_tonearest_test_data): Remove.
18243 (lrint_test_tonearest): Likewise.
18244 (lrint_towardzero_test_data): Likewise.
18245 (lrint_test_towardzero): Likewise.
18246 (lrint_downward_test_data): Likewise.
18247 (lrint_test_downward): Likewise.
18248 (lrint_upward_test_data): Likewise.
18249 (lrint_test_upward): Likewise.
18250 (llrint_test_data): Merge in per-rounding-mode tests and results
18251 from llrint_tonearest_test_data, llrint_towardzero_test_data,
18252 llrint_downward_test_data and llrint_upward_test_data.
18253 (llrint_test): Use ALL_RM_TEST.
18254 (llrint_tonearest_test_data): Remove.
18255 (llrint_test_tonearest): Likewise.
18256 (llrint_towardzero_test_data): Likewise.
18257 (llrint_test_towardzero): Likewise.
18258 (llrint_downward_test_data): Likewise.
18259 (llrint_test_downward): Likewise.
18260 (llrint_upward_test_data): Likewise.
18261 (llrint_test_upward): Likewise.
18262 (rint_test_data): Merge in per-rounding-mode tests and results
18263 from rint_tonearest_test_data, rint_towardzero_test_data,
18264 rint_downward_test_data and rint_upward_test_data. Add
18265 per-rounding-mode results for tests not in those arrays.
18266 (rint_test): Use ALL_RM_TEST.
18267 (rint_tonearest_test_data): Remove.
18268 (rint_test_tonearest): Likewise.
18269 (rint_towardzero_test_data): Likewise.
18270 (rint_test_towardzero): Likewise.
18271 (rint_downward_test_data): Likewise.
18272 (rint_test_downward): Likewise.
18273 (rint_upward_test_data): Likewise.
18274 (rint_test_upward): Likewise.
18275 (main): Don't call removed functions.
18277 2014-03-14 Roland McGrath <roland@hack.frob.com>
18279 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
18280 "Compiled on ..." crapola. It is anti-useful.
18282 2014-03-14 Joseph Myers <joseph@codesourcery.com>
18284 * scripts/evaluate-test.sh: Handle fourth argument to determine
18285 whether test run should stop on failure.
18286 * Makeconfig (stop-on-test-failure): New variable.
18287 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
18288 $(stop-on-test-failure).
18289 * Makefile (tests): Give a summary of results from testing and
18290 exit with failure status if they include an ERROR or FAIL.
18291 (xtests): Likewise.
18292 * manual/install.texi (Configuring and compiling): Mention
18293 stop-on-test-failure=y.
18294 * INSTALL: Regenerated.
18296 2014-03-14 Roland McGrath <roland@hack.frob.com>
18298 * scripts/versionlist.awk: New file.
18299 * Makerules [$(build-shared) = yes]
18300 (postclean-generated): Add Versions.def, not Versions.def.v and
18302 ($(common-objpfx)Versions.def.v.i): Target removed.
18303 ($(common-objpfx)Versions.def): New target.
18304 ($(common-objpfx)Versions.all): Depend on that rather that
18305 $(common-objpfx)Versions.def.v.
18306 * Versions.def: File removed.
18308 * Makeconfig (+gccwarn): Add -Wundef.
18309 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
18310 a dl-sysdep.h breaking its contract.
18311 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
18312 * include/stackinfo.h: New file.
18313 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
18314 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
18315 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
18316 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
18317 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
18318 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
18319 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18320 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18321 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18322 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18323 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18324 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
18325 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18326 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18327 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18329 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18332 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
18334 * math/libm-test.inc (round_test_data): Add more tests.
18337 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
18339 * math/libm-test.inc (nearbyint_test_data): Add more tests.
18342 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
18344 * math/libm-test.inc (ceil_test_data): Add more tests.
18346 * math/libm-test.inc (trunc_test_data): Add more tests related to
18349 2014-03-14 Roland McGrath <roland@hack.frob.com>
18351 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
18352 with #if rather than #ifdef.
18353 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
18355 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
18357 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
18358 first. Disable AVX-512 GCC support if assembler doesn't support
18360 * sysdeps/x86_64/configure: Regenerated.
18362 2014-03-13 Carlos O'Donell <carlos@redhat.com>
18364 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
18365 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
18366 (__old_pthread_attr_setstack): Likewise.
18367 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
18368 [!_STACK_GROWS_DOWN]: Likewise.
18370 2014-03-13 Mike Frysinger <vapier@gentoo.org>
18372 * config.make.in (have-bash2): Delete.
18373 * configure.ac (libc_cv_have_bash2): Delete.
18374 * configure: Regenerate.
18375 * elf/Makefile (common-ldd-rewrite): Rename to ...
18376 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
18377 (sh-ldd-rewrite): Delete.
18378 (bash-ldd-rewrite): Delete.
18379 (have-bash2): Delete checks.
18380 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
18383 * config.make.in (have-ksh): Delete.
18385 * configure.ac (libc_cv_have_ksh): Delete.
18386 * configure: Regenerate.
18388 * elf/Makefile: Delete $(have-ksh) check.
18389 ($(objpfx)sotruss): Change KSH to BASH.
18390 * elf/sotruss.ksh: Rename to ...
18391 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
18392 function style to match POSIX. Drop ksh vim mode setting.
18394 * manual/time.texi (Specifying the Time Zone with TZ): Change
18395 Tuesday to Thursday.
18397 * debug/tst-longjmp_chk2.c: Update header comment.
18398 (stackoverflow_handler): Add comment. Call assert on pass value.
18400 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
18403 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
18404 (HAVE_AVX512_ASM_SUPPORT): Likewise.
18405 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
18406 (La_x86_64_vector): Add zmm.
18407 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
18408 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
18409 ($(objpfx)tst-audit10): New target.
18410 ($(objpfx)tst-audit10.out): Likewise.
18411 (tst-audit10-ENV): New.
18412 (AVX512-CFLAGS): Likewise.
18413 (CFLAGS-tst-audit10.c): Likewise.
18414 (CFLAGS-tst-auditmod10a.c): Likewise.
18415 (CFLAGS-tst-auditmod10b.c): Likewise.
18416 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
18417 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
18418 * sysdeps/x86_64/configure: Regenerated.
18419 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
18420 AVX-512 zmm register support.
18421 (_dl_x86_64_save_sse): Likewise.
18422 (_dl_x86_64_restore_sse): Likewise.
18423 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
18424 size vector registers.
18425 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
18426 (ZMM_SIZE): Likewise.
18427 * sysdeps/x86_64/tst-audit10.c: New file.
18428 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
18429 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
18431 2014-03-13 Roland McGrath <roland@hack.frob.com>
18433 * configure.ac (HAVE_EHDR_START): New check.
18434 * configure: Regenerated.
18435 * config.h.in (HAVE_EHDR_START): New #undef.
18436 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
18437 assuming the lowest-addressed segment maps the start of the file.
18439 2014-03-13 Joseph Myers <joseph@codesourcery.com>
18441 * INSTALL: Regenerated.
18443 2014-03-13 Will Newton <will.newton@linaro.org>
18445 * manual/setjmp.texi (System V contexts): Improve
18446 clarity and grammar of documentation.
18448 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
18451 * elf/Makefile (tests): Add tst-pie2.
18452 (tests-pie): Add tst-pie2.
18453 * elf/tst-pie2.c: New file.
18454 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
18456 * elf/rtld.c (map_doit): Load executable as lt_executable.
18457 (dl_main): Likewise.
18459 2014-03-12 Joseph Myers <joseph@codesourcery.com>
18462 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18463 (__ASSUME_PSELECT): Undefine.
18465 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18468 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
18469 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
18471 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
18472 selector for static builds.
18474 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18477 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
18480 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18482 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
18483 IFUNC selector for static builds.
18485 2014-03-11 Joseph Myers <joseph@codesourcery.com>
18487 * sysdeps/mips/math_private.h [__mips_hard_float]
18488 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
18489 libc_feresetround_mips_ctx.
18490 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
18491 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
18492 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
18495 * math/s_nextafter.c (__nextafter): Do not return value from
18496 overflowing computation.
18497 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
18498 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
18499 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
18501 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
18503 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
18504 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
18506 2014-03-11 Roland McGrath <roland@hack.frob.com>
18508 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
18509 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
18510 Move sfi_sp use from the load-multiple (that no longer sets sp) to
18511 the new mov targetting sp.
18513 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18516 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
18517 Define it for static builds as well.
18518 (NO_BZERO_IMPL): Likewise.
18520 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18522 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
18523 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
18524 multiarch strspn for PPC64.
18525 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
18526 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
18527 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18528 (__libc_ifunc_impl_list): Likewise.
18529 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
18530 multiarch optimizations
18531 * string/strspn.c (strspn): Using macro to redefine symbol name.
18533 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18534 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18536 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
18537 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
18538 multiarch strncat for PPC64.
18539 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
18540 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
18541 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18542 (__libc_ifunc_impl_list): Likewise.
18543 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
18544 multiarch optimizations
18546 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18549 * nscd/nscd.service: Make service type forking.
18551 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18553 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
18554 sign in non default rounding modes.
18555 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
18557 2014-03-08 Joseph Myers <joseph@codesourcery.com>
18559 * math/libm-test.inc (ALL_RM_TEST): New macro.
18560 (ceil_test): Use ALL_RM_TEST.
18561 (cimag_test): Likewise.
18562 (conj_test): Likewise.
18563 (copysign_test): Likewise.
18564 (cproj_test): Likewise.
18565 (creal_test): Likewise.
18566 (fabs_test): Likewise.
18567 (floor_test): Likewise.
18568 (fmax_test): Likewise.
18569 (fmin_test): Likewise.
18570 (fmod_test): Likewise.
18571 (fpclassify_test): Likewise.
18572 (frexp_test): Likewise.
18573 (ilogb_test): Likewise.
18574 (isfinite_test): Likewise.
18575 (finite_test): Likewise.
18576 (isgreater_test): Likewise.
18577 (isgreaterequal_test): Likewise.
18578 (isinf_test): Likewise.
18579 (isless_test): Likewise.
18580 (islessequal_test): Likewise.
18581 (islessgreater_test): Likewise.
18582 (isnan_test): Likewise.
18583 (isnormal_test): Likewise.
18584 (issignaling_test): Likewise.
18585 (isunordered_test): Likewise.
18586 (logb_test): Likewise.
18587 (logb_downward_test_data): Remove.
18588 (logb_test_downward): Likewise.
18589 (lround_test): Use ALL_RM_TEST.
18590 (llround_test): Likewise.
18591 (modf_test): Likewise.
18592 (nexttoward_test): Likewise.
18593 (remainder_test): Likewise.
18594 (drem_test): Likewise.
18595 (remainder_tonearest_test_data): Likewise.
18596 (remainder_test_tonearest): Likewise.
18597 (drem_test_tonearest): Likewise.
18598 (remainder_towardzero_test_data): Likewise.
18599 (remainder_test_towardzero): Likewise.
18600 (drem_test_towardzero): Likewise.
18601 (remainder_downward_test_data): Likewise.
18602 (remainder_test_downward): Likewise.
18603 (drem_test_downward): Likewise.
18604 (remainder_upward_test_data): Likewise.
18605 (remainder_test_upward): Likewise.
18606 (drem_test_upward): Likewise.
18607 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
18608 (round_test): Use ALL_RM_TEST.
18609 (signbit_test): Likewise.
18610 (trunc_test): Likewise.
18611 (significand_test): Likewise.
18612 (main): Don't call removed functions.
18614 2014-03-07 Joseph Myers <joseph@codesourcery.com>
18617 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
18618 || __USE_XOPEN2K8].
18619 (ILL_ILLOPN): Likewise.
18620 (ILL_ILLADR): Likewise.
18621 (ILL_ILLTRP): Likewise.
18622 (ILL_PRVOPC): Likewise.
18623 (ILL_PRVREG): Likewise.
18624 (ILL_COPROC): Likewise.
18625 (ILL_BADSTK): Likewise.
18626 (FPE_INTDIV): Likewise.
18627 (FPE_INTOVF): Likewise.
18628 (FPE_FLTDIV): Likewise.
18629 (FPE_FLTOVF): Likewise.
18630 (FPE_FLTUND): Likewise.
18631 (FPE_FLTRES): Likewise.
18632 (FPE_FLTINV): Likewise.
18633 (FPE_FLTSUB): Likewise.
18634 (SEGV_MAPERR): Likewise.
18635 (SEGV_ACCERR): Likewise.
18636 (BUS_ADRALN): Likewise.
18637 (BUS_ADRERR): Likewise.
18638 (BUS_OBJERR): Likewise.
18639 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18640 (TRAP_TRACE): Likewise.
18641 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18643 (CLD_KILLED): Likewise.
18644 (CLD_DUMPED): Likewise.
18645 (CLD_TRAPPED): Likewise.
18646 (CLD_STOPPED): Likewise.
18647 (CLD_CONTINUED): Likewise.
18648 (POLL_IN): Likewise.
18649 (POLL_OUT): Likewise.
18650 (POLL_MSG): Likewise.
18651 (POLL_ERR): Likewise.
18652 (POLL_PRI): Likewise.
18653 (POLL_HUP): Likewise.
18654 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
18656 (ILL_ILLOPN): Likewise.
18657 (ILL_ILLADR): Likewise.
18658 (ILL_ILLTRP): Likewise.
18659 (ILL_PRVOPC): Likewise.
18660 (ILL_PRVREG): Likewise.
18661 (ILL_COPROC): Likewise.
18662 (ILL_BADSTK): Likewise.
18663 (FPE_INTDIV): Likewise.
18664 (FPE_INTOVF): Likewise.
18665 (FPE_FLTDIV): Likewise.
18666 (FPE_FLTOVF): Likewise.
18667 (FPE_FLTUND): Likewise.
18668 (FPE_FLTRES): Likewise.
18669 (FPE_FLTINV): Likewise.
18670 (FPE_FLTSUB): Likewise.
18671 (SEGV_MAPERR): Likewise.
18672 (SEGV_ACCERR): Likewise.
18673 (BUS_ADRALN): Likewise.
18674 (BUS_ADRERR): Likewise.
18675 (BUS_OBJERR): Likewise.
18676 (BUS_MCEERR_AR): Likewise.
18677 (BUS_MCEERR_AO): Likewise.
18678 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18679 (TRAP_TRACE): Likewise.
18680 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18682 (CLD_KILLED): Likewise.
18683 (CLD_DUMPED): Likewise.
18684 (CLD_TRAPPED): Likewise.
18685 (CLD_STOPPED): Likewise.
18686 (CLD_CONTINUED): Likewise.
18687 (POLL_IN): Likewise.
18688 (POLL_OUT): Likewise.
18689 (POLL_MSG): Likewise.
18690 (POLL_ERR): Likewise.
18691 (POLL_PRI): Likewise.
18692 (POLL_HUP): Likewise.
18693 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
18694 (ILL_ILLOPN): Likewise.
18695 (ILL_ILLADR): Likewise.
18696 (ILL_ILLTRP): Likewise.
18697 (ILL_PRVOPC): Likewise.
18698 (ILL_PRVREG): Likewise.
18699 (ILL_COPROC): Likewise.
18700 (ILL_BADSTK): Likewise.
18701 (FPE_INTDIV): Likewise.
18702 (FPE_INTOVF): Likewise.
18703 (FPE_FLTDIV): Likewise.
18704 (FPE_FLTOVF): Likewise.
18705 (FPE_FLTUND): Likewise.
18706 (FPE_FLTRES): Likewise.
18707 (FPE_FLTINV): Likewise.
18708 (FPE_FLTSUB): Likewise.
18709 (SEGV_MAPERR): Likewise.
18710 (SEGV_ACCERR): Likewise.
18711 (BUS_ADRALN): Likewise.
18712 (BUS_ADRERR): Likewise.
18713 (BUS_OBJERR): Likewise.
18714 (BUS_MCEERR_AR): Likewise.
18715 (BUS_MCEERR_AO): Likewise.
18716 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18717 (TRAP_TRACE): Likewise.
18718 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18720 (CLD_KILLED): Likewise.
18721 (CLD_DUMPED): Likewise.
18722 (CLD_TRAPPED): Likewise.
18723 (CLD_STOPPED): Likewise.
18724 (CLD_CONTINUED): Likewise.
18725 (POLL_IN): Likewise.
18726 (POLL_OUT): Likewise.
18727 (POLL_MSG): Likewise.
18728 (POLL_ERR): Likewise.
18729 (POLL_PRI): Likewise.
18730 (POLL_HUP): Likewise.
18731 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
18733 (ILL_ILLOPN): Likewise.
18734 (ILL_ILLADR): Likewise.
18735 (ILL_ILLTRP): Likewise.
18736 (ILL_PRVOPC): Likewise.
18737 (ILL_PRVREG): Likewise.
18738 (ILL_COPROC): Likewise.
18739 (ILL_BADSTK): Likewise.
18740 (ILL_BADIADDR): Likewise.
18741 (ILL_BREAK): Likewise.
18742 (FPE_INTDIV): Likewise.
18743 (FPE_INTOVF): Likewise.
18744 (FPE_FLTDIV): Likewise.
18745 (FPE_FLTOVF): Likewise.
18746 (FPE_FLTUND): Likewise.
18747 (FPE_FLTRES): Likewise.
18748 (FPE_FLTINV): Likewise.
18749 (FPE_FLTSUB): Likewise.
18750 (FPE_DECOVF): Likewise.
18751 (FPE_DECDIV): Likewise.
18752 (FPE_DECERR): Likewise.
18753 (FPE_INVASC): Likewise.
18754 (FPE_INVDEC): Likewise.
18755 (SEGV_MAPERR): Likewise.
18756 (SEGV_ACCERR): Likewise.
18757 (SEGV_PSTKOVF): 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 (TRAP_BRANCH): Likewise.
18766 (TRAP_HWBKPT): Likewise.
18767 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18769 (CLD_KILLED): Likewise.
18770 (CLD_DUMPED): Likewise.
18771 (CLD_TRAPPED): Likewise.
18772 (CLD_STOPPED): Likewise.
18773 (CLD_CONTINUED): Likewise.
18774 (POLL_IN): Likewise.
18775 (POLL_OUT): Likewise.
18776 (POLL_MSG): Likewise.
18777 (POLL_ERR): Likewise.
18778 (POLL_PRI): Likewise.
18779 (POLL_HUP): Likewise.
18780 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
18781 (ILL_ILLOPN): Likewise.
18782 (ILL_ILLADR): Likewise.
18783 (ILL_ILLTRP): Likewise.
18784 (ILL_PRVOPC): Likewise.
18785 (ILL_PRVREG): Likewise.
18786 (ILL_COPROC): Likewise.
18787 (ILL_BADSTK): Likewise.
18788 (FPE_INTDIV): Likewise.
18789 (FPE_INTOVF): Likewise.
18790 (FPE_FLTDIV): Likewise.
18791 (FPE_FLTOVF): Likewise.
18792 (FPE_FLTUND): Likewise.
18793 (FPE_FLTRES): Likewise.
18794 (FPE_FLTINV): Likewise.
18795 (FPE_FLTSUB): Likewise.
18796 (SEGV_MAPERR): Likewise.
18797 (SEGV_ACCERR): Likewise.
18798 (BUS_ADRALN): Likewise.
18799 (BUS_ADRERR): Likewise.
18800 (BUS_OBJERR): Likewise.
18801 (BUS_MCEERR_AR): Likewise.
18802 (BUS_MCEERR_AO): Likewise.
18803 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18804 (TRAP_TRACE): Likewise.
18805 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18807 (CLD_KILLED): Likewise.
18808 (CLD_DUMPED): Likewise.
18809 (CLD_TRAPPED): Likewise.
18810 (CLD_STOPPED): Likewise.
18811 (CLD_CONTINUED): Likewise.
18812 (POLL_IN): Likewise.
18813 (POLL_OUT): Likewise.
18814 (POLL_MSG): Likewise.
18815 (POLL_ERR): Likewise.
18816 (POLL_PRI): Likewise.
18817 (POLL_HUP): Likewise.
18818 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
18819 (ILL_ILLOPN): Likewise.
18820 (ILL_ILLADR): Likewise.
18821 (ILL_ILLTRP): Likewise.
18822 (ILL_PRVOPC): Likewise.
18823 (ILL_PRVREG): Likewise.
18824 (ILL_COPROC): Likewise.
18825 (ILL_BADSTK): Likewise.
18826 (FPE_INTDIV): Likewise.
18827 (FPE_INTOVF): Likewise.
18828 (FPE_FLTDIV): Likewise.
18829 (FPE_FLTOVF): Likewise.
18830 (FPE_FLTUND): Likewise.
18831 (FPE_FLTRES): Likewise.
18832 (FPE_FLTINV): Likewise.
18833 (FPE_FLTSUB): Likewise.
18834 (SEGV_MAPERR): Likewise.
18835 (SEGV_ACCERR): Likewise.
18836 (BUS_ADRALN): Likewise.
18837 (BUS_ADRERR): Likewise.
18838 (BUS_OBJERR): Likewise.
18839 (BUS_MCEERR_AR): Likewise.
18840 (BUS_MCEERR_AO): Likewise.
18841 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18842 (TRAP_TRACE): Likewise.
18843 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18845 (CLD_KILLED): Likewise.
18846 (CLD_DUMPED): Likewise.
18847 (CLD_TRAPPED): Likewise.
18848 (CLD_STOPPED): Likewise.
18849 (CLD_CONTINUED): Likewise.
18850 (POLL_IN): Likewise.
18851 (POLL_OUT): Likewise.
18852 (POLL_MSG): Likewise.
18853 (POLL_ERR): Likewise.
18854 (POLL_PRI): Likewise.
18855 (POLL_HUP): Likewise.
18856 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
18857 (ILL_ILLOPN): Likewise.
18858 (ILL_ILLADR): Likewise.
18859 (ILL_ILLTRP): Likewise.
18860 (ILL_PRVOPC): Likewise.
18861 (ILL_PRVREG): Likewise.
18862 (ILL_COPROC): Likewise.
18863 (ILL_BADSTK): Likewise.
18864 (FPE_INTDIV): Likewise.
18865 (FPE_INTOVF): Likewise.
18866 (FPE_FLTDIV): Likewise.
18867 (FPE_FLTOVF): Likewise.
18868 (FPE_FLTUND): Likewise.
18869 (FPE_FLTRES): Likewise.
18870 (FPE_FLTINV): Likewise.
18871 (FPE_FLTSUB): Likewise.
18872 (SEGV_MAPERR): Likewise.
18873 (SEGV_ACCERR): Likewise.
18874 (BUS_ADRALN): Likewise.
18875 (BUS_ADRERR): Likewise.
18876 (BUS_OBJERR): Likewise.
18877 (BUS_MCEERR_AR): Likewise.
18878 (BUS_MCEERR_AO): Likewise.
18879 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18880 (TRAP_TRACE): Likewise.
18881 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18883 (CLD_KILLED): Likewise.
18884 (CLD_DUMPED): Likewise.
18885 (CLD_TRAPPED): Likewise.
18886 (CLD_STOPPED): Likewise.
18887 (CLD_CONTINUED): Likewise.
18888 (POLL_IN): Likewise.
18889 (POLL_OUT): Likewise.
18890 (POLL_MSG): Likewise.
18891 (POLL_ERR): Likewise.
18892 (POLL_PRI): Likewise.
18893 (POLL_HUP): Likewise.
18894 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
18895 (ILL_ILLOPN): Likewise.
18896 (ILL_ILLADR): Likewise.
18897 (ILL_ILLTRP): Likewise.
18898 (ILL_PRVOPC): Likewise.
18899 (ILL_PRVREG): Likewise.
18900 (ILL_COPROC): Likewise.
18901 (ILL_BADSTK): Likewise.
18902 (ILL_DBLFLT): Likewise.
18903 (ILL_HARDWALL): Likewise.
18904 (FPE_INTDIV): Likewise.
18905 (FPE_INTOVF): Likewise.
18906 (FPE_FLTDIV): Likewise.
18907 (FPE_FLTOVF): Likewise.
18908 (FPE_FLTUND): Likewise.
18909 (FPE_FLTRES): Likewise.
18910 (FPE_FLTINV): Likewise.
18911 (FPE_FLTSUB): Likewise.
18912 (SEGV_MAPERR): Likewise.
18913 (SEGV_ACCERR): Likewise.
18914 (BUS_ADRALN): Likewise.
18915 (BUS_ADRERR): Likewise.
18916 (BUS_OBJERR): Likewise.
18917 (BUS_MCEERR_AR): Likewise.
18918 (BUS_MCEERR_AO): Likewise.
18919 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18920 (TRAP_TRACE): Likewise.
18921 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18923 (CLD_KILLED): Likewise.
18924 (CLD_DUMPED): Likewise.
18925 (CLD_TRAPPED): Likewise.
18926 (CLD_STOPPED): Likewise.
18927 (CLD_CONTINUED): Likewise.
18928 (POLL_IN): Likewise.
18929 (POLL_OUT): Likewise.
18930 (POLL_MSG): Likewise.
18931 (POLL_ERR): Likewise.
18932 (POLL_PRI): Likewise.
18933 (POLL_HUP): Likewise.
18934 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
18935 (ILL_ILLOPN): Likewise.
18936 (ILL_ILLADR): Likewise.
18937 (ILL_ILLTRP): Likewise.
18938 (ILL_PRVOPC): Likewise.
18939 (ILL_PRVREG): Likewise.
18940 (ILL_COPROC): Likewise.
18941 (ILL_BADSTK): Likewise.
18942 (FPE_INTDIV): Likewise.
18943 (FPE_INTOVF): Likewise.
18944 (FPE_FLTDIV): Likewise.
18945 (FPE_FLTOVF): Likewise.
18946 (FPE_FLTUND): Likewise.
18947 (FPE_FLTRES): Likewise.
18948 (FPE_FLTINV): Likewise.
18949 (FPE_FLTSUB): Likewise.
18950 (SEGV_MAPERR): Likewise.
18951 (SEGV_ACCERR): Likewise.
18952 (BUS_ADRALN): Likewise.
18953 (BUS_ADRERR): Likewise.
18954 (BUS_OBJERR): Likewise.
18955 (BUS_MCEERR_AR): Likewise.
18956 (BUS_MCEERR_AO): Likewise.
18957 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18958 (TRAP_TRACE): Likewise.
18959 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18961 (CLD_KILLED): Likewise.
18962 (CLD_DUMPED): Likewise.
18963 (CLD_TRAPPED): Likewise.
18964 (CLD_STOPPED): Likewise.
18965 (CLD_CONTINUED): Likewise.
18966 (POLL_IN): Likewise.
18967 (POLL_OUT): Likewise.
18968 (POLL_MSG): Likewise.
18969 (POLL_ERR): Likewise.
18970 (POLL_PRI): Likewise.
18971 (POLL_HUP): Likewise.
18972 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
18973 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
18976 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
18977 before #include of <time.h>.
18978 [!__USE_XOPEN2K] (__need_timespec): Likewise.
18979 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
18980 (test-xfail-UNIX98/sched.h/conform): Likewise.
18982 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
18984 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
18985 error absence of trapping exception support.
18986 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18988 2014-03-07 Joseph Myers <joseph@codesourcery.com>
18990 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
18991 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
18992 * timezone/Makefile (testdata): Move definition above include of
18994 (test-zones): New variable.
18995 (tests-special): Add zone files.
18996 (build-testdata): Use $(evaluate-test).
18998 * elf/Makefile (tests-special): Rename tests to end with .out.
18999 ($(objpfx)noload-mem): Likewise.
19000 ($(objpfx)tst-leaks1-mem): Likewise.
19001 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
19002 * iconv/Makefile (xtests-special): Change test-iconvconfig to
19003 $(objpfx)test-iconvconfig.out.
19004 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
19005 set -e inside subshell and redirect output to file.
19006 * iconvdata/Makefile (generated): Rename tests to end with .out.
19008 (tests-special): Rename tests to end with .out.
19009 ($(objpfx)mtrace-tst-loading): Likewise.
19010 * intl/Makefile (generated): Likewise.
19011 (tests-special): Likewise.
19012 ($(objpfx)mtrace-tst-gettext): Likewise.
19013 * misc/Makefile (generated): Likewise.
19014 (tests-special): Likewise.
19015 ($(objpfx)tst-error1-mem): Likewise.
19016 * nptl/Makefile (tests-special): Likewise.
19017 ($(objpfx)tst-stack3-mem): Likewise.
19018 (generated): Likewise.
19019 * posix/Makefile (generated): Likewise.
19020 (tests-special): Likewise.
19021 (xtests-special): Likewise.
19022 ($(objpfx)tst-fnmatch-mem): Likewise.
19023 ($(objpfx)bug-regex2-mem): Likewise.
19024 ($(objpfx)bug-regex14-mem): Likewise.
19025 ($(objpfx)bug-regex21-mem): Likewise.
19026 ($(objpfx)bug-regex31-mem): Likewise.
19027 ($(objpfx)tst-vfork3-mem): Likewise.
19028 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19029 ($(objpfx)tst-pcre-mem): Likewise.
19030 ($(objpfx)tst-boost-mem): Likewise.
19031 ($(objpfx)bug-ga2-mem): Likewise.
19032 ($(objpfx)bug-glob2-mem): Likewise.
19033 * resolv/Makefile (generate): Likewise.
19034 (tests-special): Likewise.
19035 (xtests-special): Likewise.
19036 (generated): Likewise.
19037 ($(objpfx)mtrace-tst-leaks): Likewise.
19038 ($(objpfx)mtrace-tst-leaks2): Likewise.
19040 * scripts/merge-test-results.sh: New file.
19041 * Makefile (tests-special-notdir): New variable.
19042 (tests): Run merge-test-results.sh.
19043 (xtests): Likewise.
19044 * Rules (tests-special-notdir): New variable.
19045 (xtests-special-notdir): Likewise.
19046 (tests): Run merge-test-results.sh
19047 (xtests): Likewise.
19049 * Makeconfig (test-xfail-name): New variable.
19050 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
19051 compute variable name for expected failures.
19052 * conform/Makefile (conformtest-headers-data): New variable.
19053 (conformtest-standards): Likewise.
19054 (conformtest-headers-ISO): Likewise.
19055 (conformtest-headers-ISO99): Likewise.
19056 (conformtest-headers-ISO11): Likewise.
19057 (conformtest-headers-POSIX): Likewise.
19058 (conformtest-headers-XPG3): Likewise.
19059 (conformtest-headers-XPG4): Likewise.
19060 (conformtest-headers-UNIX98): Likewise.
19061 (conformtest-headers-XOPEN2K): Likewise.
19062 (conformtest-headers-POSIX2008): Likewise.
19063 (conformtest-headers-XOPEN2K8): Likewise.
19064 (conformtest-header-list-base): Likewise.
19065 (conformtest-header-list-tests): Likewise.
19066 (conformtest-header-base): Likewise.
19067 (conformtest-header-tests): Likewise.
19068 (tests-special): Add $(conformtest-header-list-tests). If
19069 [$(fast-check) && !$(cross-compiling)], add
19070 $(conformtest-header-tests) instead of
19071 $(objpfx)run-conformtest.out.
19072 (generated): Add $(conformtest-header-list-base). If
19073 [$(fast-check) && !$(cross-compiling)], add
19074 $(conformtest-header-base). Remove previous setting.
19075 ($(conformtest-header-list-tests)): New target.
19076 (test-xfail-run-conformtest): Remove variable.
19077 ($(objpfx)run-conformtest.out): Remove target.
19078 (test-xfail-ISO11/complex.h/conform): New variable.
19079 (test-xfail-ISO11/stdalign.h/conform): Likewise.
19080 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
19081 (test-xfail-XPG3/varargs.h/conform): Likewise.
19082 (test-xfail-XPG4/varargs.h/conform): Likewise.
19083 (test-xfail-UNIX98/varargs.h/conform): Likewise.
19084 (test-xfail-XPG4/ndbm.h/conform): Likewise.
19085 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
19086 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
19087 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
19088 (test-xfail-XPG3/fcntl.h/conform): Likewise.
19089 (test-xfail-XPG3/ftw.h/conform): Likewise.
19090 (test-xfail-XPG3/grp.h/conform): Likewise.
19091 (test-xfail-XPG3/langinfo.h/conform): Likewise.
19092 (test-xfail-XPG3/limits.h/conform): Likewise.
19093 (test-xfail-XPG3/pwd.h/conform): Likewise.
19094 (test-xfail-XPG3/search.h/conform): Likewise.
19095 (test-xfail-XPG3/signal.h/conform): Likewise.
19096 (test-xfail-XPG3/stdio.h/conform): Likewise.
19097 (test-xfail-XPG3/stdlib.h/conform): Likewise.
19098 (test-xfail-XPG3/string.h/conform): Likewise.
19099 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
19100 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
19101 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19102 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19103 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
19104 (test-xfail-XPG3/sys/types.h/conform): Likewise.
19105 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
19106 (test-xfail-XPG3/termios.h/conform): Likewise.
19107 (test-xfail-XPG3/time.h/conform): Likewise.
19108 (test-xfail-XPG3/unistd.h/conform): Likewise.
19109 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
19110 (test-xfail-XPG4/fcntl.h/conform): Likewise.
19111 (test-xfail-XPG4/langinfo.h/conform): Likewise.
19112 (test-xfail-XPG4/netdb.h/conform): Likewise.
19113 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
19114 (test-xfail-XPG4/signal.h/conform): Likewise.
19115 (test-xfail-XPG4/stdio.h/conform): Likewise.
19116 (test-xfail-XPG4/stdlib.h/conform): Likewise.
19117 (test-xfail-XPG4/stropts.h/conform): Likewise.
19118 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19119 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19120 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19121 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19122 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19123 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
19124 (test-xfail-XPG4/sys/time.h/conform): Likewise.
19125 (test-xfail-XPG4/sys/types.h/conform): Likewise.
19126 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
19127 (test-xfail-XPG4/termios.h/conform): Likewise.
19128 (test-xfail-XPG4/ucontext.h/conform): Likewise.
19129 (test-xfail-XPG4/unistd.h/conform): Likewise.
19130 (test-xfail-XPG4/utmpx.h/conform): Likewise.
19131 (test-xfail-POSIX/sched.h/conform): Likewise.
19132 (test-xfail-POSIX/signal.h/conform): Likewise.
19133 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19134 (test-xfail-POSIX/tar.h/conform): Likewise.
19135 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
19136 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
19137 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
19138 (test-xfail-UNIX98/netdb.h/conform): Likewise.
19139 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
19140 (test-xfail-UNIX98/sched.h/conform): Likewise.
19141 (test-xfail-UNIX98/signal.h/conform): Likewise.
19142 (test-xfail-UNIX98/stdio.h/conform): Likewise.
19143 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
19144 (test-xfail-UNIX98/stropts.h/conform): Likewise.
19145 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19146 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19147 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19148 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19149 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19150 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
19151 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
19152 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
19153 (test-xfail-UNIX98/unistd.h/conform): Likewise.
19154 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
19155 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
19156 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
19157 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
19158 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
19159 (test-xfail-XOPEN2K/math.h/conform): Likewise.
19160 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
19161 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19162 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19163 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
19164 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
19165 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
19166 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
19167 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19168 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19169 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19170 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19171 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19172 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19173 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
19174 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
19175 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
19176 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
19177 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19178 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
19179 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19180 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
19181 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
19182 (test-xfail-POSIX2008/signal.h/conform): Likewise.
19183 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19184 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
19185 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
19186 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19187 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19188 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
19189 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
19190 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19191 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19192 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
19193 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
19194 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19195 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19196 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19197 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
19198 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19199 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19200 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19201 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19202 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
19203 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
19204 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
19205 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
19206 (conformtest-cc-flags): Likewise.
19207 ($(conformtest-header-tests): New target.
19208 * conform/check-header-lists.sh: New file.
19209 * conform/run-conformtest.sh: Remove.
19211 * conform/conformtest.pl: Allow ' and \ in values given for
19213 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
19215 [POSIX] (sys/types.h): Likewise.
19216 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
19218 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
19220 * conform/data/signal.h-data (SIGIO): Remove expectation.
19221 [XPG3] (SIGBUS): Do not expect.
19222 [POSIX || XPG3] (SIGPOLL): Likewise.
19223 [POSIX || XPG3] (SIGPROF): Likewise.
19224 [POSIX || XPG3] (SIGSYS): Likewise.
19225 [XPG3] (SIGTRAP): Likewise.
19226 [POSIX || XPG3] (SIGURG): Likewise.
19227 [POSIX || XPG3] (SIGVTALRM): Likewise.
19228 [POSIX || XPG3] (SIGXCPU): Likewise.
19229 [POSIX || XPG3] (SIGXFSZ): Likewise.
19230 [POSIX] (SA_SIGINFO): Expect.
19231 [XPG3] (siginfo_t): Do not expect type or contents.
19232 [POSIX] (si_pid): Do not expect element.
19233 [POSIX] (si_uid): Likewise.
19234 [POSIX] (si_addr): Likewise.
19235 [POSIX] (si_status): Likewise.
19236 [POSIX] (si_band): Likewise.
19237 [XPG4] (si_value): Likewise.
19238 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
19239 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
19240 [POSIX || XPG3] (ILL_ILLADR): Likewise.
19241 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
19242 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
19243 [POSIX || XPG3] (ILL_PRVREG): Likewise.
19244 [POSIX || XPG3] (ILL_COPROC): Likewise.
19245 [POSIX || XPG3] (ILL_BADSTK): Likewise.
19246 [POSIX || XPG3] (FPE_INTDIV): Likewise.
19247 [POSIX || XPG3] (FPE_INTOVF): Likewise.
19248 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
19249 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
19250 [POSIX || XPG3] (FPE_FLTUND): Likewise.
19251 [POSIX || XPG3] (FPE_FLTRES): Likewise.
19252 [POSIX || XPG3] (FPE_FLTINV): Likewise.
19253 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
19254 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
19255 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
19256 [POSIX || XPG3] (BUS_ADRALN): Likewise.
19257 [POSIX || XPG3] (BUS_ADRERR): Likewise.
19258 [POSIX || XPG3] (BUS_OBJERR): Likewise.
19259 [POSIX || XPG3] (CLD_EXITED): Likewise.
19260 [POSIX || XPG3] (CLD_KILLED): Likewise.
19261 [POSIX || XPG3] (CLD_DUMPED): Likewise.
19262 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
19263 [POSIX || XPG3] (CLD_STOPPED): Likewise.
19264 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
19265 [POSIX || XPG3] (POLL_IN): Likewise.
19266 [POSIX || XPG3] (POLL_OUT): Likewise.
19267 [POSIX || XPG3] (POLL_MSG): Likewise.
19268 [POSIX || XPG3] (POLL_ERR): Likewise.
19269 [POSIX || XPG3] (POLL_PRI): Likewise.
19270 [POSIX || XPG3] (POLL_HUP): Likewise.
19271 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
19272 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
19273 (SIG*): Do not allow.
19274 [XPG3] (si_*): Likewise.
19275 [XPG3] (SI_*): Likewise.
19276 [XPG3 || XPG4] (sigev_*): Likewise.
19277 [XPG3 || XPG4] (SIGEV_*): Likewise.
19278 [XPG3 || XPG4] (sival_*): Likewise.
19279 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
19280 [POSIX || XPG3] (BUS_*): Likewise.
19281 [POSIX || XPG3] (CLD_*): Likewise.
19282 [POSIX || XPG3] (FPE_*): Likewise.
19283 [POSIX || XPG3] (ILL_*): Likewise.
19284 [POSIX || XPG3] (POLL_*): Likewise.
19285 [POSIX || XPG3] (SEGV_*): Likewise.
19286 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
19287 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
19288 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
19289 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
19290 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
19291 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
19292 Specify type and value.
19293 (TVERSLEN): Likewise.
19294 (REGTYPE): Likewise.
19295 (AREGTYPE): Likewise.
19296 (LNKTYPE): Likewise.
19297 (SYMTYPE): Likewise.
19298 (CHRTYPE): Likewise.
19299 (BLKTYPE): Likewise.
19300 (DIRTYPE): Likewise.
19301 (FIFOTYPE): Likewise.
19302 (CONTTYPE): Likewise.
19306 (TUREAD): Likewise.
19307 (TUWRITE): Likewise.
19308 (TUEXEC): Likewise.
19309 (TGREAD): Likewise.
19310 (TGWRITE): Likewise.
19311 (TGEXEC): Likewise.
19312 (TOREAD): Likewise.
19313 (TOWRITE): Likewise.
19314 (TOEXEC): Likewise.
19315 [POSIX] (TSVTX): Expect constant.
19317 2014-03-06 Joseph Myers <joseph@codesourcery.com>
19319 * Makefile (tests): Change dependencies to ....
19320 (tests-special): ... additions to this variable.
19321 (tests): Depend on $(tests-special).
19322 * Makerules (check-abi-list): New variable.
19323 (check-abi): Depend on $(check-abi-list).
19324 [$(subdir) = elf] (tests-special): Add
19325 $(objpfx)check-abi-libc.out.
19326 [$(build-shared) = yes && subdir] (tests-special): Add
19328 [$(build-shared) = yes && subdir] (tests): Do not depend on
19330 * Rules (tests): Depend on $(tests-special).
19331 (xtests): Depend on $(xtests-special).
19332 * catgets/Makefile (tests): Change dependencies to ....
19333 (tests-special): ... additions to this variable.
19334 * conform/Makefile (tests): Change dependencies to ....
19335 (tests-special): ... additions to this variable.
19336 * elf/Makefile (tests): Change dependencies to ....
19337 (tests-special): ... additions to this variable.
19338 * grp/Makefile (tests): Change dependencies to ....
19339 (tests-special): ... additions to this variable.
19340 * iconv/Makefile (xtests): Change dependencies to ....
19341 (xtests-special): ... additions to this variable.
19342 * iconvdata/Makefile (tests): Change dependencies to ....
19343 (tests-special): ... additions to this variable.
19344 * intl/Makefile (tests): Change dependencies to ....
19345 (tests-special): ... additions to this variable. Also add
19346 $(objpfx)tst-gettext.out.
19347 * io/Makefile (tests): Change dependencies to ....
19348 (tests-special): ... additions to this variable.
19349 * libio/Makefile (tests): Change dependencies to ....
19350 (tests-special): ... additions to this variable.
19351 * malloc/Makefile (tests): Change dependencies to ....
19352 (tests-special): ... additions to this variable.
19353 * misc/Makefile (tests): Change dependencies to ....
19354 (tests-special): ... additions to this variable.
19355 * nptl/Makefile (tests): Change dependencies to ....
19356 (tests-special): ... additions to this variable.
19357 * nptl_db/Makefile (tests): Change dependencies to ....
19358 (tests-special): ... additions to this variable.
19359 * posix/Makefile (tests): Change dependencies to ....
19360 (tests-special): ... additions to this variable.
19361 (xtests): Change dependencies to ....
19362 (xtests-special): ... additions to this variable.
19363 * resolv/Makefile (tests): Change dependencies to ....
19364 (tests-special): ... additions to this variable.
19365 (xtests): Change dependencies to ....
19366 (xtests-special): ... additions to this variable.
19367 * stdio-common/Makefile (tests): Change dependencies to ....
19368 (tests-special): ... additions to this variable.
19369 (do-tst-unbputc): Remove target.
19370 (do-tst-printf): Likewise.
19371 * stdlib/Makefile (tests): Change dependencies to ....
19372 (tests-special): ... additions to this variable.
19373 * string/Makefile (tests): Change dependencies to ....
19374 (tests-special): ... additions to this variable.
19375 * sysdeps/x86/Makefile (tests): Change dependencies to ....
19376 (tests-special): ... additions to this variable.
19378 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
19380 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
19382 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
19383 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
19385 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
19386 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
19387 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
19388 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
19389 * conform/data/libgen.h-data [XPG3]: Likewise.
19390 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
19391 * conform/data/ndbm.h-data [XPG3]: Likewise.
19392 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19393 * conform/data/netdb.h-data [XPG3]: Likewise.
19394 * conform/data/netinet/in.h-data [XPG3]: Likewise.
19395 * conform/data/poll.h-data [XPG3]: Likewise.
19396 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19397 * conform/data/strings.h-data [XPG3]: Likewise.
19398 * conform/data/stropts.h-data [XPG3]: Likewise.
19399 * conform/data/sys/mman.h-data [XPG3]: Likewise.
19400 * conform/data/sys/resource.h-data [XPG3]: Likewise.
19401 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
19403 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
19404 * conform/data/sys/time.h-data [XPG3]: Likewise.
19405 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
19406 * conform/data/sys/uio.h-data [XPG3]: Likewise.
19407 * conform/data/sys/un.h-data [XPG3]: Likewise.
19408 * conform/data/syslog.h-data [XPG3]: Likewise.
19409 * conform/data/ucontext.h-data [XPG3]: Likewise.
19410 * conform/data/utmpx.h-data [XPG3]: Likewise.
19411 * conform/data/varargs.h-data [UNIX98]: Enable file.
19413 * manual/Makefile (INSTALL_INFO): Remove variable setting.
19415 * math/libm-test.inc (struct test_f_f_data): Move expected results
19416 into structure for each rounding mode.
19417 (struct test_ff_f_data): Likewise.
19418 (struct test_ff_f_data_nexttoward): Likewise.
19419 (struct test_fi_f_data): Likewise.
19420 (struct test_fl_f_data): Likewise.
19421 (struct test_if_f_data): Likewise.
19422 (struct test_fff_f_data): Likewise.
19423 (struct test_c_f_data): Likewise.
19424 (struct test_f_f1_data): Likewise.
19425 (struct test_fF_f1_data): Likewise.
19426 (struct test_ffI_f1_data): Likewise.
19427 (struct test_c_c_data): Likewise.
19428 (struct test_cc_c_data): Likewise.
19429 (struct test_f_i_data): Likewise.
19430 (struct test_ff_i_data): Likewise.
19431 (struct test_f_l_data): Likewise.
19432 (struct test_f_L_data): Likewise.
19433 (struct test_fFF_11_data): Likewise.
19435 (RM_FE_DOWNWARD): Likewise.
19436 (RM_FE_TONEAREST): Likewise.
19437 (RM_FE_TOWARDZERO): Likewise.
19438 (RM_FE_UPWARD): Likewise.
19439 (RUN_TEST_LOOP_f_f): Update references to expected results.
19440 (RUN_TEST_LOOP_2_f): Likewise.
19441 (RUN_TEST_LOOP_fff_f): Likewise.
19442 (RUN_TEST_LOOP_c_f): Likewise.
19443 (RUN_TEST_LOOP_f_f1): Likewise.
19444 (RUN_TEST_LOOP_fF_f1): Likewise.
19445 (RUN_TEST_LOOP_fI_f1): Likewise.
19446 (RUN_TEST_LOOP_ffI_f1): Likewise.
19447 (RUN_TEST_LOOP_c_c): Likewise.
19448 (RUN_TEST_LOOP_cc_c): Likewise.
19449 (RUN_TEST_LOOP_f_i): Likewise.
19450 (RUN_TEST_LOOP_f_i_tg): Likewise.
19451 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19452 (RUN_TEST_LOOP_f_b): Likewise.
19453 (RUN_TEST_LOOP_f_b_tg): Likewise.
19454 (RUN_TEST_LOOP_f_l): Likewise.
19455 (RUN_TEST_LOOP_f_L): Likewise.
19456 (RUN_TEST_LOOP_fFF_11): Likewise.
19457 * math/gen-libm-test.pl (parse_args): Output four copies of
19458 expected results for each test.
19460 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19461 (__ASSUME_UTIMES): Remove.
19462 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19463 (__ASSUME_UTIMES): Likewise.
19465 * math/gen-auto-libm-tests.c: Update comment on output format.
19466 (output_for_one_input_case): Generate before-rounding and
19467 after-rounding information as conditions on output flags not
19468 floating-point format.
19469 * math/auto-libm-test-out: Regenerated.
19470 * math/gen-libm-test.pl (cond_value): New function.
19471 (or_cond_value): Use cond_value.
19472 (generate_testfile): Handle conditional exceptions.
19474 2014-03-05 Joseph Myers <joseph@codesourcery.com>
19476 * math/libm-test.inc (max_valid_error): New variable.
19477 (init_max_error): Take new argument specifying whether function
19478 results are exactly determined. Set max_valid_error and bound
19479 other variables for errors based on this argument.
19480 (set_max_error): Do not record results above max_valid_error.
19481 (check_float_internal): Only accept errors of up to 0.5ulps if
19482 also at most max_valid_error.
19483 (START): Take new argument EXACT and pass it to init_max_error.
19484 (acos_test): Update call to START.
19485 (acos_test_tonearest): Likewise.
19486 (acos_test_towardzero): Likewise.
19487 (acos_test_downward): Likewise.
19488 (acos_test_upward): Likewise.
19489 (acosh_test): Likewise.
19490 (asin_test): Likewise.
19491 (asin_test_tonearest): Likewise.
19492 (asin_test_towardzero): Likewise.
19493 (asin_test_downward): Likewise.
19494 (asin_test_upward): Likewise.
19495 (asinh_test): Likewise.
19496 (atan_test): Likewise.
19497 (atanh_test): Likewise.
19498 (atan2_test): Likewise.
19499 (cabs_test): Likewise.
19500 (cacos_test): Likewise.
19501 (cacosh_test): Likewise.
19502 (carg_test): Likewise.
19503 (casin_test): Likewise.
19504 (casinh_test): Likewise.
19505 (catan_test): Likewise.
19506 (catanh_test): Likewise.
19507 (cbrt_test): Likewise.
19508 (ccos_test): Likewise.
19509 (ccosh_test): Likewise.
19510 (ceil_test): Likewise.
19511 (cexp_test): Likewise.
19512 (cimag_test): Likewise.
19513 (clog_test): Likewise.
19514 (clog10_test): Likewise.
19515 (conj_test): Likewise.
19516 (copysign_test): Likewise.
19517 (cos_test): Likewise.
19518 (cos_test_tonearest): Likewise.
19519 (cos_test_towardzero): Likewise.
19520 (cos_test_downward): Likewise.
19521 (cos_test_upward): Likewise.
19522 (cosh_test): Likewise.
19523 (cosh_test_tonearest): Likewise.
19524 (cosh_test_towardzero): Likewise.
19525 (cosh_test_downward): Likewise.
19526 (cosh_test_upward): Likewise.
19527 (cpow_test): Likewise.
19528 (cproj_test): Likewise.
19529 (creal_test): Likewise.
19530 (csin_test): Likewise.
19531 (csinh_test): Likewise.
19532 (csqrt_test): Likewise.
19533 (ctan_test): Likewise.
19534 (ctan_test_tonearest): Likewise.
19535 (ctan_test_towardzero): Likewise.
19536 (ctan_test_downward): Likewise.
19537 (ctan_test_upward): Likewise.
19538 (ctanh_test): Likewise.
19539 (ctanh_test_tonearest): Likewise.
19540 (ctanh_test_towardzero): Likewise.
19541 (ctanh_test_downward): Likewise.
19542 (ctanh_test_upward): Likewise.
19543 (erf_test): Likewise.
19544 (erfc_test): Likewise.
19545 (exp_test): Likewise.
19546 (exp_test_tonearest): Likewise.
19547 (exp_test_towardzero): Likewise.
19548 (exp_test_downward): Likewise.
19549 (exp_test_upward): Likewise.
19550 (exp10_test): Likewise.
19551 (exp10_test_tonearest): Likewise.
19552 (exp10_test_towardzero): Likewise.
19553 (exp10_test_downward): Likewise.
19554 (exp10_test_upward): Likewise.
19555 (pow10_test): Likewise.
19556 (exp2_test): Likewise.
19557 (expm1_test): Likewise.
19558 (expm1_test_tonearest): Likewise.
19559 (expm1_test_towardzero): Likewise.
19560 (expm1_test_downward): Likewise.
19561 (expm1_test_upward): Likewise.
19562 (fabs_test): Likewise.
19563 (fdim_test): Likewise.
19564 (floor_test): Likewise.
19565 (fma_test): Likewise.
19566 (fma_test_towardzero): Likewise.
19567 (fma_test_downward): Likewise.
19568 (fma_test_upward): Likewise.
19569 (fmax_test): Likewise.
19570 (fmin_test): Likewise.
19571 (fmod_test): Likewise.
19572 (fpclassify_test): Likewise.
19573 (frexp_test): Likewise.
19574 (hypot_test): Likewise.
19575 (ilogb_test): Likewise.
19576 (isfinite_test): Likewise.
19577 (finite_test): Likewise.
19578 (isgreater_test): Likewise.
19579 (isgreaterequal_test): Likewise.
19580 (isinf_test): Likewise.
19581 (isless_test): Likewise.
19582 (islessequal_test): Likewise.
19583 (islessgreater_test): Likewise.
19584 (isnan_test): Likewise.
19585 (isnormal_test): Likewise.
19586 (issignaling_test): Likewise.
19587 (isunordered_test): Likewise.
19588 (j0_test): Likewise.
19589 (j1_test): Likewise.
19590 (jn_test): Likewise.
19591 (ldexp_test): Likewise.
19592 (lgamma_test): Likewise.
19593 (gamma_test): Likewise.
19594 (lrint_test): Likewise.
19595 (lrint_test_tonearest): Likewise.
19596 (lrint_test_towardzero): Likewise.
19597 (lrint_test_downward): Likewise.
19598 (lrint_test_upward): Likewise.
19599 (llrint_test): Likewise.
19600 (llrint_test_tonearest): Likewise.
19601 (llrint_test_towardzero): Likewise.
19602 (llrint_test_downward): Likewise.
19603 (llrint_test_upward): Likewise.
19604 (log_test): Likewise.
19605 (log10_test): Likewise.
19606 (log1p_test): Likewise.
19607 (log2_test): Likewise.
19608 (logb_test): Likewise.
19609 (logb_test_downward): Likewise.
19610 (lround_test): Likewise.
19611 (llround_test): Likewise.
19612 (modf_test): Likewise.
19613 (nearbyint_test): Likewise.
19614 (nextafter_test): Likewise.
19615 (nexttoward_test): Likewise.
19616 (pow_test): Likewise.
19617 (pow_test_tonearest): Likewise.
19618 (pow_test_towardzero): Likewise.
19619 (pow_test_downward): Likewise.
19620 (pow_test_upward): Likewise.
19621 (remainder_test): Likewise.
19622 (drem_test): Likewise.
19623 (remainder_test_tonearest): Likewise.
19624 (drem_test_tonearest): Likewise.
19625 (remainder_test_towardzero): Likewise.
19626 (drem_test_towardzero): Likewise.
19627 (remainder_test_downward): Likewise.
19628 (drem_test_downward): Likewise.
19629 (remainder_test_upward): Likewise.
19630 (drem_test_upward): Likewise.
19631 (remquo_test): Likewise.
19632 (rint_test): Likewise.
19633 (rint_test_tonearest): Likewise.
19634 (rint_test_towardzero): Likewise.
19635 (rint_test_downward): Likewise.
19636 (rint_test_upward): Likewise.
19637 (round_test): Likewise.
19638 (scalb_test): Likewise.
19639 (scalbn_test): Likewise.
19640 (scalbln_test): Likewise.
19641 (signbit_test): Likewise.
19642 (sin_test): Likewise.
19643 (sin_test_tonearest): Likewise.
19644 (sin_test_towardzero): Likewise.
19645 (sin_test_downward): Likewise.
19646 (sin_test_upward): Likewise.
19647 (sincos_test): Likewise.
19648 (sinh_test): Likewise.
19649 (sinh_test_tonearest): Likewise.
19650 (sinh_test_towardzero): Likewise.
19651 (sinh_test_downward): Likewise.
19652 (sinh_test_upward): Likewise.
19653 (sqrt_test): Likewise.
19654 (sqrt_test_tonearest): Likewise.
19655 (sqrt_test_towardzero): Likewise.
19656 (sqrt_test_downward): Likewise.
19657 (sqrt_test_upward): Likewise.
19658 (tan_test): Likewise.
19659 (tan_test_tonearest): Likewise.
19660 (tan_test_towardzero): Likewise.
19661 (tan_test_downward): Likewise.
19662 (tan_test_upward): Likewise.
19663 (tanh_test): Likewise.
19664 (tgamma_test): Likewise.
19665 (trunc_test): Likewise.
19666 (y0_test): Likewise.
19667 (y1_test): Likewise.
19668 (yn_test): Likewise.
19669 (significand_test): Likewise.
19671 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
19672 individual tests in comment.
19673 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
19674 (prev_max_error): New variable.
19675 (prev_real_max_error): Likewise.
19676 (prev_imag_max_error): Likewise.
19677 (compare_ulp_data): Don't refer to test names in comment.
19678 (find_test_ulps): Remove function.
19679 (find_function_ulps): Likewise.
19680 (find_complex_function_ulps): Likewise.
19681 (init_max_error): Take function name as argument. Look up ulps
19683 (print_ulps): Remove function.
19684 (print_max_error): Use prev_max_error instead of calling
19685 find_function_ulps.
19686 (print_complex_max_error): Use prev_real_max_error and
19687 prev_imag_max_error instead of calling find_complex_function_ulps.
19688 (check_float_internal): Take max_ulp parameter instead of calling
19689 find_test_ulps. Don't call print_ulps.
19690 (check_float): Update call to check_float_internal.
19691 (check_complex): Update calls to check_float_internal.
19692 (START): Pass argument to init_max_error.
19693 * math/gen-libm-test.pl (%results): Don't include "kind"
19695 (parse_ulps): Don't handle ulps of individual tests.
19696 (print_ulps_file): Likewise.
19697 (output_ulps): Likewise.
19698 * math/README.libm-test: Update.
19699 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
19701 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
19702 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
19703 * sysdeps/arm/libm-test-ulps: Likewise.
19704 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19705 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
19706 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
19707 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
19708 * sysdeps/microblaze/libm-test-ulps: Likewise.
19709 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
19710 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19711 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19712 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
19713 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19714 * sysdeps/sh/libm-test-ulps: Likewise.
19715 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19716 * sysdeps/tile/libm-test-ulps: Likewise.
19717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19719 2014-03-04 Joseph Myers <joseph@codesourcery.com>
19721 * math/libm-test.inc (print_complex_max_error): Check separately
19722 whether real and imaginary errors are within allowed range and
19723 pass 0 to print_complex_function_ulps instead of value within
19726 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19728 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
19730 (get_handles_fopen): Likewise.
19731 (do_write_test): Likewise.
19733 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
19735 * libio/fileops.c (do_ftell): Use cached offset when
19737 * libio/iofwide.c (do_ftell_wide): Likewise.
19738 * libio/iofdopen.c (_IO_new_fdopen): Don't use
19740 * libio/wfileops.c (_IO_fwide): Don't cache offset.
19743 * libio/libioP.h (get_file_offset): New function.
19744 * libio/fileops.c (get_file_offset): Likewise.
19745 (do_ftell): Likewise.
19746 (_IO_new_file_seekoff): Split out ftell logic.
19747 * libio/wfileops.c (do_ftell_wide): Likewise.
19748 (_IO_wfile_seekoff): Split out ftell logic.
19749 * libio/tst-ftell-active-handler.c: New test case.
19750 * libio/Makefile (tests): Add it.
19752 2014-03-03 Roland McGrath <roland@hack.frob.com>
19754 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
19755 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
19757 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19760 * nscd/connections.c (nscd_init): Call do_exit.
19761 (start_threads): Call do_exit and notify_parent.
19762 (begin_drop_privileges): Call do_exit.
19763 (finish_drop_privileges): Likewise.
19764 * nscd/selinux.c (preserve_capabilities): Likewise.
19765 (install_real_capabilities): Likewise.
19766 (nscd_selinux_enabled): Likewise.
19767 (avc_create_thread): Likewise.
19768 (avc_alloc_lock): Likewise.
19769 (nscd_avc_init): Likewise.
19770 * nscd/nscd.c (parent_fd): New static variable.
19771 (main): Create a pipe between parent and child processes.
19772 Skip closing parent_fd.
19773 (monitor_child): New function.
19774 (do_exit): Likewise.
19775 (notify_parent): Likewise.
19776 * nscd/nscd.h (notify_parent): Likewise.
19777 (do_exit): Likewise.
19779 2014-03-03 Carlos O'Donell <carlos@redhat.com>
19781 * malloc/malloc.c (__libc_calloc): Revert last change.
19783 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19787 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19789 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
19790 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
19792 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19793 (__libc_ifunc_impl_list): Likewise.
19794 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
19795 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
19796 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
19797 * string/strrchr.c: Define STRRCHR.
19799 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
19801 * benchtest/bench-strtok.c (simple_strtok): Delete.
19802 (strtok_string): Use as benchmark.
19803 * string/strtok (STRTOK): New macro.
19805 2014-02-28 Carlos O'Donell <carlos@redhat.com>
19807 * manual/threads.texi: Add header and standard comments to all
19810 * elf/dl-lookup.c (check_match): New function.
19811 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
19812 (do_lookup_x): Remove nested function check_match. Use non-nested
19813 function check_match.
19815 2014-02-28 Roland McGrath <roland@hack.frob.com>
19817 * csu/Makefile (generated, before-compile): Use += rather than =.
19818 * catgets/Makefile (generated, generated-dirs): Likewise.
19819 * debug/Makefile (generated): Likewise.
19820 * dlfcn/Makefile (generated): Likewise.
19821 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
19822 * iconvdata/Makefile (before-compile, generated): Likewise.
19823 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
19824 * libio/Makefile (generated): Likewise.
19825 * malloc/Makefile (generated): Likewise.
19826 * manual/Makefile (generated, generated-dirs): Likewise.
19827 * misc/Makefile (generated): Likewise.
19828 * posix/Makefile (generated): Likewise.
19829 * resolv/Makefile (generated): Likewise.
19830 * sunrpc/Makefile (generated, generated-dirs): Likewise.
19831 * timezone/Makefile (generated, generated-dirs): Likewise.
19833 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
19835 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19837 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19838 power8 implementation.
19839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
19840 file: POWER8 llround ifunc implementation.
19841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19842 (__lllround): Add POWER8 implementation.
19843 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
19844 POWER8 llround implementation.
19846 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
19847 power8 implementation.
19848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
19849 file: POWER8 llrint ifunc implementation.
19850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
19851 Add POWER8 implementation.
19852 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
19853 POWER8 llrint implementation.
19855 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
19856 power8 implementation.
19857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
19858 file: POWER8 finite ifunc implementation.
19859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
19860 Add POWER8 implementation.
19861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
19863 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
19864 POWER8 finite implementation.
19865 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
19867 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
19868 power8 implementation.
19869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
19870 file: POWER8 isinf ifunc implementation.
19871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
19872 POWER8 implementation.
19873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
19875 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
19876 isinf implementation.
19877 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
19879 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19880 (INIT_ARCH): Add hwcap2 initialization.
19881 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19882 power8 implementation.
19883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
19884 file: POWER8 isnan ifunc implementation.
19885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
19886 POWER8 implementation.
19887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
19889 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
19890 isnan implementation.
19891 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
19893 2014-02-27 Joey Ye <joey.ye@arm.com>
19895 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19896 (_FP_NANFRAC_Q): Set to zero.
19898 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19901 * math/auto-libm-test-in: New test inputs.
19902 * math/auto-libm-test-out: Regenerate.
19903 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
19906 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19908 2014-02-27 Joseph Myers <joseph@codesourcery.com>
19910 * scripts/evaluate-test.sh: Take new argument indicating whether
19911 failure is expected.
19912 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
19913 indicating whether failure is expected.
19914 * conform/Makefile (test-xfail-run-conformtest): New variable.
19915 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
19917 * posix/Makefile (test-xfail-annexc): New variable.
19918 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
19920 2014-02-26 Joseph Myers <joseph@codesourcery.com>
19922 * argp/Makefile: Include Makeconfig immediately after defining
19924 * assert/Makefile: Likewise.
19925 * benchtests/Makefile: Likewise.
19926 * catgets/Makefile: Likewise.
19927 * conform/Makefile: Likewise.
19928 * crypt/Makefile: Likewise.
19929 * csu/Makefile: Likewise.
19930 (all): Remove target.
19931 * ctype/Makefile: Include Makeconfig immediately after defining
19933 * debug/Makefile: Likewise.
19934 * dirent/Makefile: Likewise.
19935 * dlfcn/Makefile: Likewise.
19936 * gmon/Makefile: Likewise.
19937 * gnulib/Makefile: Likewise.
19938 * grp/Makefile: Likewise.
19939 * gshadow/Makefile: Likewise.
19940 * hesiod/Makefile: Likewise.
19941 * hurd/Makefile: Likewise.
19942 (all): Remove target.
19943 * iconvdata/Makefile: Include Makeconfig immediately after
19945 * inet/Makefile: Likewise.
19946 * intl/Makefile: Likewise.
19947 * io/Makefile: Likewise.
19948 * libio/Makefile: Likewise.
19949 (all): Remove target.
19950 * locale/Makefile: Include Makeconfig immediately after defining
19952 * login/Makefile: Likewise.
19953 * mach/Makefile: Likewise.
19954 (all): Remove target.
19955 * malloc/Makefile: Include Makeconfig immediately after defining
19957 (all): Remove target.
19958 * manual/Makefile: Include Makeconfig immediately after defining
19960 * math/Makefile: Likewise.
19961 * misc/Makefile: Likewise.
19962 * nis/Makefile: Likewise.
19963 * nss/Makefile: Likewise.
19964 * po/Makefile: Likewise.
19965 (all): Remove target.
19966 * posix/Makefile: Include Makeconfig immediately after defining
19968 * pwd/Makefile: Likewise.
19969 * resolv/Makefile: Likewise.
19970 * resource/Makefile: Likewise.
19971 * rt/Makefile: Likewise.
19972 * setjmp/Makefile: Likewise.
19973 * shadow/Makefile: Likewise.
19974 * signal/Makefile: Likewise.
19975 * socket/Makefile: Likewise.
19976 * soft-fp/Makefile: Likewise.
19977 * stdio-common/Makefile: Likewise.
19978 * stdlib/Makefile: Likewise.
19979 * streams/Makefile: Likewise.
19980 * string/Makefile: Likewise.
19981 * sunrpc/Makefile: Likewise.
19982 (all): Remove target.
19983 * sysvipc/Makefile: Include Makeconfig immediately after defining
19985 * termios/Makefile: Likewise.
19986 * time/Makefile: Likewise.
19987 * timezone/Makefile: Likewise.
19988 (all): Remove target.
19989 * wcsmbs/Makefile: Include Makeconfig immediately after defining
19991 * wctype/Makefile: Likewise.
19993 2014-02-26 Steve Ellcey <sellcey@mips.com>
19995 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
19996 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
19997 (libc_feholdexcept_setround_mips): Ditto.
19998 (libc_feholdsetround): New.
19999 (libc_feholdsetroundf): New.
20000 (libc_feholdsetroundl): New.
20001 (libc_feupdateenv_test_mips): New.
20002 (libc_feupdateenv_test): New.
20003 (libc_feupdateenv_testf): New.
20004 (libc_feupdateenv_testl): New.
20005 (libc_feresetround): New.
20006 (libc_feresetroundf): New.
20007 (libc_feresetroundl): New.
20008 (libc_fetestexcept_mips): New.
20009 (libc_fetestexcept): New.
20010 (libc_fetestexceptf): New.
20011 (libc_fetestexceptl): New.
20012 (HAVE_RM_CTX): New.
20013 (libc_feholdexcept_setround_mips_ctx): New.
20014 (libc_feholdexcept_setround_ctx): New.
20015 (libc_feholdexcept_setroundf_ctx): New.
20016 (libc_feholdexcept_setroundl_ctx): New.
20017 (libc_fesetenv_mips_ctx): New.
20018 (libc_fesetenv_ctx): New.
20019 (libc_fesetenv_ctxf): New.
20020 (libc_fesetenv_ctxl): New.
20021 (libc_feupdateenv_mips_ctx): New.
20022 (libc_feupdateenv_ctx): New.
20023 (libc_feupdateenvf_ctx): New.
20024 (libc_feupdateenvl_ctx): New.
20025 (libc_feholdsetround_mips_ctx): New.
20026 (libc_feholdsetround_ctx): New.
20027 (libc_feholdsetroundf_ctx): New.
20028 (libc_feholdsetroundl_ctx): New.
20029 (libc_feresetround_mips_ctx): New.
20030 (libc_feresetround_ctx): New.
20031 (libc_feresetroundf_ctx): New.
20032 (libc_feresetroundl_ctx): New.
20034 2014-02-26 Carlos O'Donell <carlos@redhat.com>
20036 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
20038 * manual/ipc.texi: New file.
20039 * manual/Makefile (chapters): Add ipc.
20040 * manual/job.texi: Add "Inter-Process Communication" to next.
20041 * manual/process.texi: Add "Inter-Process Communication" to prev.
20043 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20047 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
20049 * malloc/malloc.c (__libc_calloc): Simplify implementation.
20051 * manual/arith.texi: Fix spaces after sentences.
20052 * manual/charset.texi: Likewise.
20053 * manual/errno.texi: Likewise.
20054 * manual/install.texi: Likewise.
20055 * manual/llio.texi: Likewise.
20056 * manual/locale.texi: Likewise.
20057 * manual/maint.texi: Likewise.
20058 * manual/math.texi: Likewise.
20059 * manual/memory.texi: Likewise.
20060 * manual/message.texi: Likewise.
20061 * manual/probes.texi: Likewise.
20062 * manual/resource.texi: Likewise.
20063 * manual/signal.texi: Likewise.
20064 * manual/socket.texi: Likewise.
20065 * manual/stdio.texi: Likewise.
20066 * manual/string.texi: Likewise.
20067 * manual/time.texi: Likewise.
20068 * manual/users.texi: Likewise.
20070 2014-02-25 Carlos O'Donell <carlos@redhat.com>
20073 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
20074 _DEFAULT_SOURCE is defined.
20076 2014-02-25 Ulrich Drepper <drepper@gmail.com>
20077 Carlos O'Donell <carlos@redhat.com>
20080 * elf/dl-tls.c (_dl_count_modids): New function.
20081 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
20082 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
20083 audit library and increment generation counter.
20084 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
20085 * elf/tst-audit9.c: New file.
20086 * elf/tst-auditmod9a.c: New file.
20087 * elf/tst-auditmod9b.c: New file.
20088 * elf/Makefile: Add rules to build and run tst-audit9.
20090 2014-02-25 Florian Weimer <fweimer@redhat.com>
20093 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
20095 2014-02-25 Will Newton <will.newton@linaro.org>
20097 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
20098 (__longjmp): Restore sp and lr before restoring callee
20099 saved registers. Add longjmp and longjmp_target
20100 SystemTap probe point.
20101 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
20102 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
20103 Define to zero to match jmpbuf layout.
20104 * sysdeps/arm/setjmp.S: Include stap-probe.h.
20105 (__sigsetjmp): Save sp and lr before saving callee
20106 saved registers. Add setjmp SystemTap probe point.
20108 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
20110 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20112 2014-02-24 Andreas Schwab <schwab@suse.de>
20115 * elf/pldd.c (wait_for_ptrace_stop): New function.
20116 (main): Call it after attaching.
20118 2014-02-22 Roland McGrath <roland@hack.frob.com>
20120 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
20121 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
20122 Versions files is now verboten.
20123 * hurd/Versions (libc: GLIBC_2.0):
20124 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
20125 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
20126 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
20127 * mach/Versions: Likewise.
20129 * csu/Versions: Remove unused %include.
20130 * resolv/Versions: Likewise.
20132 2014-02-21 Joseph Myers <joseph@codesourcery.com>
20134 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
20135 ($(objpfx)check-local-headers.out): Likewise.
20136 ($(objpfx)begin-end-check.out): Likewise.
20137 * Makerules (check-abi-%.out): Likewise.
20138 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
20139 ($(objpfx)test2.cat): Likewise.
20140 ($(objpfx)de/libc.cat): Likewise.
20141 ($(objpfx)test-gencat.out): Likewise.
20142 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
20143 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
20144 ($(objpfx)noload-mem): Likewise.
20145 ($(objpfx)tst-pathopt.out): Likewise.
20146 ($(objpfx)tst-rtld-load-self.out): Likewise.
20147 ($(objpfx)tst-array1-cmp.out): Likewise.
20148 ($(objpfx)tst-array1-static-cmp.out): Likewise.
20149 ($(objpfx)tst-array2-cmp.out): Likewise.
20150 ($(objpfx)tst-array3-cmp.out): Likewise.
20151 ($(objpfx)tst-array4-cmp.out): Likewise.
20152 ($(objpfx)tst-array5-cmp.out): Likewise.
20153 ($(objpfx)tst-array5-static-cmp.out): Likewise.
20154 ($(objpfx)check-textrel.out): Likewise.
20155 ($(objpfx)check-execstack.out): Likewise.
20156 ($(objpfx)check-localplt.out): Likewise.
20157 ($(objpfx)order2-cmp.out): Likewise.
20158 ($(objpfx)tst-leaks1-mem): Likewise.
20159 ($(objpfx)tst-leaks1-static-mem): Likewise.
20160 ($(objpfx)tst-initorder-cmp.out): Likewise.
20161 ($(objpfx)tst-initorder2-cmp.out): Likewise.
20162 ($(objpfx)tst-unused-dep.out): Likewise.
20163 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
20164 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
20165 * iconv/Makefile (test-iconvconfig): Likewise.
20166 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
20167 ($(objpfx)iconv-test.out): Likewise.
20168 ($(objpfx)tst-tables.out): Likewise.
20169 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
20170 ($(objpfx)tst-gettext.out): Likewise.
20171 ($(objpfx)tst-translit.out): Likewise.
20172 ($(objpfx)tst-gettext2.out): Likewise.
20173 ($(objpfx)tst-gettext4.out): Likewise.
20174 ($(objpfx)tst-gettext6.out): Likewise.
20175 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
20176 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
20177 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
20178 ($(objpfx)tst-fopenloc-mem.out): Likewise.
20179 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
20180 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
20181 * posix/Makefile ($(objpfx)globtest.out): Likewise.
20182 ($(objpfx)wordexp-tst.out): Likewise.
20183 ($(objpfx)annexc.out): Likewise.
20184 ($(objpfx)tst-fnmatch-mem): Likewise.
20185 ($(objpfx)bug-regex2-mem): Likewise.
20186 ($(objpfx)bug-regex14-mem): Likewise.
20187 ($(objpfx)bug-regex21-mem): Likewise.
20188 ($(objpfx)bug-regex31-mem): Likewise.
20189 ($(objpfx)tst-vfork3-mem): Likewise.
20190 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20191 ($(objpfx)tst-pcre-mem): Likewise.
20192 ($(objpfx)tst-boost-mem): Likewise.
20193 ($(objpfx)tst-getconf.out): Likewise.
20194 ($(objpfx)bug-ga2-mem): Likewise.
20195 ($(objpfx)bug-glob2-mem): Likewise.
20196 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
20197 ($(objpfx)mtrace-tst-leaks2): Likewise.
20198 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
20199 ($(objpfx)tst-printf.out): Likewise.
20200 ($(objpfx)tst-setvbuf1.out): Likewise.
20201 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
20202 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
20203 ($(objpfx)tst-fmtmsg.out): Likewise.
20204 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
20205 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
20207 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
20208 * bits/sigaction.h [__USE_MISC]: Likewise.
20209 * bits/waitstatus.h: Update #endif comments.
20210 * ctype/ctype.h: Likewise.
20211 * dirent/dirent.h: Likewise.
20212 [__USE_MISC]: Remove redundant conditionals.
20213 * grp/grp.h: Update #endif comments.
20214 [__USE_GNU]: Remove redundant conditionals.
20215 [__USE_MISC]: Likewise.
20216 * inet/netinet/in.h [__USE_GNU]: Likewise.
20217 * io/sys/stat.h [__USE_MISC]: Likewise.
20218 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
20219 * libio/bits/stdio.h: Update #endif comments.
20220 [__USE_MISC]: Remove redundant conditionals.
20221 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
20222 * libio/stdio.h: Update #endif comments.
20223 [__USE_MISC]: Remove redundant conditionals.
20224 * math/bits/math-finite.h [__USE_MISC]: Likewise.
20225 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
20226 * math/math.h: Update #else and #endif comments.
20227 [__USE_MISC]: Remove redundant conditionals.
20228 * misc/sys/uio.h: Update #endif comments.
20229 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
20230 * posix/glob.h [__USE_MISC]: Likewise.
20231 * posix/sys/types.h: Update #endif comments.
20232 [__USE_MISC]: Remove redundant conditionals.
20233 * posix/sys/wait.h: Update #endif comments.
20234 [__USE_MISC]: Remove redundant conditionals.
20235 * posix/unistd.h: Update #endif comments.
20236 [__USE_MISC]: Remove redundant conditionals.
20237 * pwd/pwd.h [__USE_GNU]: Likewise.
20238 [__USE_MISC]: Likewise.
20239 * resolv/netdb.h [__USE_GNU]: Likewise.
20240 * signal/signal.h: Update #endif comments.
20241 [__USE_MISC]: Remove redundant conditionals.
20242 * stdlib/stdlib.h: Update #else and #endif comments.
20243 [__USE_MISC]: Remove redundant conditionals.
20244 [__USE_GNU]: Likewise.
20245 * string/bits/string2.h [__USE_MISC]: Likewise.
20246 * string/string.h: Update #endif comments.
20247 [__USE_MISC]: Remove redundant conditionals.
20248 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
20250 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
20251 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
20252 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
20254 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
20256 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
20258 [__USE_MISC]: Remove redundant conditionals.
20259 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
20260 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
20261 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
20262 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
20263 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
20265 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
20266 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
20268 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
20269 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
20271 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
20273 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
20274 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
20276 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
20278 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
20279 * sysdeps/x86/bits/string.h: Update #endif comments.
20280 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
20282 * time/sys/time.h: Update #endif comments.
20283 * time/time.h: Likewise.
20284 [__USE_MISC]: Remove redundant conditionals.
20286 2014-02-21 Yury Gribov <y.gribov@samsung.com>
20289 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
20291 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
20293 * Versions.def (librt): Add GLIBC_2.17.
20295 2014-02-21 Adam Conrad <adconrad@0c3.net>
20297 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
20298 synonym for _SYS_AUXV_H to allow direct inclusion.
20299 * sysdeps/sparc/bits/hwcap.h: Likewise.
20300 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
20301 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
20302 * sysdeps/sparc/sysdep.h: Likewise.
20304 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20306 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
20308 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20310 * benchtests/bench-strrchr.c: Print length instead of position.
20312 2014-02-20 Joseph Myers <joseph@codesourcery.com>
20315 * sysdeps/unix/sysv/linux/kernel-features.h
20316 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
20317 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
20318 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
20319 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
20321 [__i386__ || __powerpc__ || __sh__ || __sparc__]
20322 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20323 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
20324 (__ASSUME_SENDMMSG): Define instead of using previous
20325 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
20326 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20327 (__ASSUME_SENDMMSG_SYSCALL): Define.
20328 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20329 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
20331 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20332 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20334 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20335 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20337 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
20338 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20339 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20340 [__ASSUME_SENDMMSG]: Change conditionals to
20341 [__ASSUME_SENDMMSG_SOCKETCALL].
20342 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20343 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
20345 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20346 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
20348 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
20349 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20350 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20351 [!__ASSUME_SENDMMSG]: Change conditional to
20352 [!__ASSUME_SENDMMSG_SOCKETCALL].
20353 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20354 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20358 * sysdeps/unix/sysv/linux/kernel-features.h
20359 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
20360 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
20361 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
20362 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
20363 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20364 [__i386__ || __sparc__]
20365 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20366 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
20367 (__ASSUME_RECVMMSG): Define instead of using previous
20368 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
20369 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20370 (__ASSUME_RECVMMSG_SYSCALL): Define.
20371 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20372 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20374 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20375 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20377 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20378 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20380 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
20381 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20382 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20383 [__ASSUME_RECVMMSG]: Change condition to
20384 [__ASSUME_RECVMMSG_SOCKETCALL].
20385 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20386 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20388 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20389 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20390 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20392 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
20393 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20394 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20395 [!__ASSUME_RECVMMSG]: Change condition to
20396 [!__ASSUME_RECVMMSG_SOCKETCALL].
20397 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20398 (__ASSUME_RECVMMSG_SYSCALL): Define.
20401 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
20402 __powerpc__ || __s390__ || __sh__ || __sparc__]
20403 (__ASSUME_SOCKETCALL): Define.
20404 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
20405 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
20406 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
20407 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
20408 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20409 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
20410 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
20411 (__ASSUME_ACCEPT4): Define instead of using previous
20412 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
20413 __powerpc__ || __sparc__ || __s390__)] condition.
20414 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20415 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20416 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
20417 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20418 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20419 [!__ASSUME_ACCEPT4]: Change condition to
20420 [!__ASSUME_ACCEPT4_SOCKETCALL].
20421 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20422 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
20423 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
20424 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20425 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
20426 __ASSUME_ACCEPT4_SYSCALL.
20427 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
20428 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
20429 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20430 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
20431 __ASSUME_ACCEPT4_SYSCALL.
20432 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
20433 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20434 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20435 [__ASSUME_ACCEPT4]: Change condition to
20436 [__ASSUME_ACCEPT4_SOCKETCALL].
20437 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20438 (__ASSUME_SOCKETCALL): Define.
20439 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
20440 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20441 (__ASSUME_SOCKETCALL): Define.
20442 (__ASSUME_ACCEPT4): Remove.
20443 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
20445 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20446 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
20448 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20449 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20451 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
20453 (HWCAP_ARM_LPAE): Likewise.
20454 (HWCAP_ARM_EVTSTRM): Likewise.
20455 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
20456 Add vpfd32, lpae and evtstrm.
20457 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
20460 2014-02-19 Joseph Myers <joseph@codesourcery.com>
20462 * math/auto-libm-test-in: Add tests of clog10.
20463 * math/auto-libm-test-out: Regenerated.
20464 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
20465 * sysdeps/i386/fpu/libm-test-ulps: Update.
20466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20468 2014-02-18 Andreas Schwab <schwab@suse.de>
20471 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
20472 Store non-zero if the second buffer was newly allocated.
20473 (send_dg): Likewise.
20474 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
20475 to send_vc and send_dg.
20476 (res_nsend): Pass NULL for ansp2_malloced.
20477 * resolv/res_query.c (__libc_res_nquery): Add parameter
20478 answerp2_malloced and pass it down to __libc_res_nsend.
20479 (res_nquery): Pass additional NULL to __libc_res_nquery.
20480 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
20481 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
20482 second answer buffer if answerp2_malloced was set.
20483 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
20484 (__libc_res_nquerydomain): Add parameter
20485 answerp2_malloced and pass it down to __libc_res_nquery.
20486 (res_nquerydomain): Pass additional NULL to
20487 __libc_res_nquerydomain.
20488 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
20489 additional NULL to __libc_res_nsend and __libc_res_nquery.
20490 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
20491 additional NULL to __libc_res_nsearch.
20492 (_nss_dns_gethostbyname4_r): Revert last change. Use new
20493 parameter of __libc_res_nsearch to check for separately allocated
20495 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
20497 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
20498 additional NULL to __libc_res_nquery.
20499 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
20500 __libc_res_nsearch.
20501 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
20502 * include/resolv.h: Update prototypes of __libc_res_nquery,
20503 __libc_res_nsearch, __libc_res_nsend.
20505 2014-02-18 Joseph Myers <joseph@codesourcery.com>
20507 * math/auto-libm-test-in: Add tests of fma.
20508 * math/auto-libm-test-out: Regenerated.
20509 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
20510 (fma_towardzero_test_data): Likewise.
20511 (fma_downward_test_data): Likewise.
20512 (fma_upward_test_data): Likewise.
20513 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
20515 (rounding_modes): Add values for new field.
20516 (func_calc_method): Add value mpfr_fff_f.
20517 (func_calc_desc): Add mpfr_fff_f union field.
20518 (test_function): Add field exact_args.
20519 (FUNC): Add macro argument EXACT_ARGS.
20520 (FUNC_mpfr_f_f): Update call to FUNC.
20521 (FUNC_mpfr_f_f): Likewise.
20522 (FUNC_mpfr_ff_f): Likewise.
20523 (FUNC_mpfr_if_f): Likewise.
20524 (FUNC_mpc_c_f): Likewise.
20525 (FUNC_mpc_c_c): Likewise.
20526 (test_functions): Add fma. Update calls to FUNC.
20527 (handle_input_arg): Add argument exact_args.
20528 (add_test): Update call to handle_input_arg.
20529 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
20530 (output_for_one_input_case): Update call to calc_generic_results.
20531 Recalculate exact zero results in each rounding mode.
20533 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
20534 non-negative before setting low bit.
20535 * math/auto-libm-test-in: Mark one asin test possibly having
20536 spurious underflow.
20537 * math/auto-libm-test-out: Regenerated.
20538 * sysdeps/i386/fpu/libm-test-ulps: Update.
20539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20541 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
20543 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
20544 * sysdeps/unix/sysv/linux/microblaze: Move directory from
20545 ports/sysdeps/unix/sysv/linux/microblaze.
20546 * README: Add missing listing for microblaze*-*-linux-gnu.
20548 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
20550 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
20553 2014-02-16 Mike Frysinger <vapier@gentoo.org>
20555 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
20556 * sysdeps/unix/sysv/linux/ia64: Move directory from
20557 ports/sysdeps/unix/sysv/linux/ia64.
20558 * README: Update listing for ia64-*-linux-gnu.
20560 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
20561 Joseph Myers <joseph@codesourcery.com>
20563 * Makeconfig (test-name): New variable.
20564 (evaluate-test): Likewise.
20565 * Makerules (do-test-clean): Remove .test-result files.
20566 (common-mostlyclean): Likewise.
20567 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
20568 * scripts/evaluate-test.sh: New file.
20570 2014-02-14 Joseph Myers <joseph@codesourcery.com>
20572 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
20573 separate $(objpfx)tst-fopenloc-cmp.out and
20574 $(objpfx)tst-fopenloc-mem.out targets.
20575 (tests): Update dependencies.
20576 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
20577 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
20578 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
20579 (tst-rxspencer-no-utf8-ARGS): New variable.
20580 (tst-rxspencer-no-utf8-ENV): Likewise.
20581 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
20582 instead of $(objpfx)tst-rxspencer-mem.
20583 ($(objpfx)tst-rxspencer-mem): Change target to
20584 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
20585 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
20586 * posix/tst-rxspencer-no-utf8.c: New file.
20588 * elf/Makefile ($(objpfx)order.out): Remove rule.
20589 [$(run-built-tests) = yes] (tests): Depend on
20590 $(objpfx)order-cmp.out.
20591 ($(objpfx)order-cmp.out): New rule.
20592 [$(run-built-tests) = yes] (tests): Depend on
20593 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
20594 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
20595 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
20596 $(objpfx)tst-array5-static-cmp.out.
20597 ($(objpfx)tst-array1.out): Remove rule.
20598 ($(objpfx)tst-array1-cmp.out): New rule.
20599 ($(objpfx)tst-array1-static.out): Remove rule.
20600 ($(objpfx)tst-array1-static-cmp.out): New rule.
20601 ($(objpfx)tst-array2.out): Remove rule.
20602 ($(objpfx)tst-array2-cmp.out): New rule.
20603 ($(objpfx)tst-array3.out): Remove rule.
20604 ($(objpfx)tst-array3-cmp.out): New rule.
20605 ($(objpfx)tst-array4.out): Remove rule.
20606 ($(objpfx)tst-array4-cmp.out): New rule.
20607 ($(objpfx)tst-array5.out): Remove rule.
20608 ($(objpfx)tst-array5-cmp.out): New rule.
20609 ($(objpfx)tst-array5-static.out): Remove rule.
20610 ($(objpfx)tst-array5-static-cmp.out): New rule.
20611 [$(run-built-tests) = yes] (tests): Depend on
20612 $(objpfx)order2-cmp.out.
20613 ($(objpfx)order2.out): Remove rule.
20614 ($(objpfx)order2-cmp.out): New rule.
20615 ($(objpfx)tst-initorder.out): Remove rule.
20616 [$(run-built-tests) = yes] (tests): Depend on
20617 $(objpfx)tst-initorder-cmp.out.
20618 ($(objpfx)tst-initorder-cmp.out): New rule.
20619 ($(objpfx)tst-initorder2.out): Remove rule.
20620 [$(run-built-tests) = yes] (tests): Depend on
20621 $(objpfx)tst-initorder2-cmp.out.
20622 ($(objpfx)tst-initorder2-cmp.out): New rule.
20623 [$(run-built-tests) = yes] (tests): Depend on
20624 $(objpfx)tst-unused-dep-cmp.out.
20625 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
20626 ($(objpfx)tst-unused-dep-cmp.out): New rule.
20627 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
20628 on $(objpfx)tst-setvbuf1-cmp.out.
20629 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
20630 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
20631 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
20632 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
20633 ($(objpfx)tst-svc.out): Remove rule.
20634 ($(objpfx)tst-svc-cmp.out): New rule.
20636 2014-02-13 Joseph Myers <joseph@codesourcery.com>
20638 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
20639 * ctype/ctype.h [__USE_MISC]: Likewise.
20640 * dirent/dirent.h [__USE_MISC]: Likewise.
20641 * grp/grp.h [__USE_MISC]: Likewise.
20642 * io/fcntl.h [__USE_MISC]: Likewise.
20643 * io/sys/stat.h [__USE_MISC]: Likewise.
20644 * libio/stdio.h [__USE_MISC]: Likewise.
20645 * posix/unistd.h [__USE_MISC]: Likewise.
20646 * pwd/pwd.h [__USE_MISC]: Likewise.
20647 * stdlib.h [__USE_MISC]: Likewise.
20648 * string/bits/string2.h [__USE_MISC]: Likewise.
20649 * string/string.h [__USE_MISC]: Likewise.
20650 * time/time.h [__USE_MISC]: Likewise.
20652 2014-02-13 Andreas Schwab <schwab@suse.de>
20655 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
20656 second answer buffer if it was separately allocated.
20658 2014-02-12 Joseph Myers <joseph@codesourcery.com>
20660 * sysdeps/mips/math-tests.h: Include <features.h>.
20661 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20662 (ROUNDING_TESTS_long_double): Do not define.
20663 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20664 (EXCEPTION_TESTS_long_double): Likewise.
20665 * sysdeps/mips/mips64/libm-test-ulps: Update.
20667 * include/features.h (__USE_BSD): Remove macro definitions.
20668 (__USE_SVID): Likewise.
20669 (_BSD_SOURCE): Likewise.
20670 (_SVID_SOURCE): Likewise.
20671 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
20672 from definition of _DEFAULT_SOURCE.
20673 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
20675 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
20676 * bits/mman.h [__USE_BSD]: Likewise.
20677 * bits/termios.h [__USE_BSD]: Likewise.
20678 * bits/waitstatus.h [__USE_BSD]: Likewise.
20679 * ctype/ctype.h [__USE_SVID]: Likewise.
20680 * dirent/dirent.h [__USE_BSD]: Likewise.
20681 * grp/grp.h [__USE_SVID]: Likewise.
20682 [__USE_BSD]: Likewise.
20683 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
20684 * io/fcntl.h [__USE_BSD]: Likewise.
20685 * io/ftw.h [__USE_BSD]: Likewise.
20686 * io/sys/stat.h [__USE_BSD]: Likewise.
20687 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
20688 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
20689 * libio/stdio.h [__USE_SVID]: Likewise.
20690 [__USE_BSD]: Likewise.
20691 * math/math.h [__USE_SVID]: Likewise.
20692 [__USE_BSD]: Likewise.
20693 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
20694 * misc/bits/syslog.h [__USE_BSD]: Likewise.
20695 * misc/search.h [__USE_SVID]: Likewise.
20696 * misc/sys/mman.h [__USE_BSD]: Likewise.
20697 * misc/sys/syslog.h [__USE_BSD]: Likewise.
20698 * misc/sys/uio.h [__USE_BSD]: Likewise.
20699 * posix/bits/unistd.h [__USE_BSD]: Likewise.
20700 * posix/glob.h [__USE_BSD]: Likewise.
20701 * posix/regex.h [__USE_BSD]: Likewise.
20702 * posix/sys/types.h [__USE_BSD]: Likewise.
20703 [__USE_SVID]: Likewise.
20704 * posix/sys/utsname.h [__USE_SVID]: Likewise.
20705 * posix/sys/wait.h [__USE_BSD]: Likewise.
20706 [__USE_SVID]: Likewise.
20707 * posix/unistd.h [__USE_BSD]: Likewise.
20708 [__USE_SVID]: Likewise.
20709 * pwd/pwd.h [__USE_SVID]: Likewise.
20710 * resolv/netdb.h [__USE_BSD]: Likewise.
20711 * setjmp/setjmp.h [__USE_BSD]: Likewise.
20712 * signal/signal.h [__USE_BSD]: Likewise.
20713 [__USE_SVID]: Likewise.
20714 * socket/sys/socket.h [__USE_BSD]: Likewise.
20715 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
20716 * stdlib/stdlib.h [__USE_BSD]: Likewise.
20717 [__USE_SVID]: Likewise.
20718 * string/bits/string2.h [__USE_BSD]: Likewise.
20719 [__USE_SVID]: Likewise.
20720 * string/bits/string3.h [__USE_BSD]: Likewise.
20721 * string/endian.h [__USE_BSD]: Likewise.
20722 * string/string.h [__USE_SVID]: Likewise.
20723 [__USE_BSD]: Likewise.
20724 * string/strings.h [__USE_BSD]: Likewise.
20725 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
20726 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
20727 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
20728 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
20729 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
20730 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
20732 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
20734 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
20735 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
20737 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
20738 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
20740 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
20742 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
20743 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
20744 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
20746 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
20748 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
20749 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
20750 * termios/termios.h [__USE_BSD]: Likewise.
20751 * time/sys/time.h [__USE_BSD]: Likewise.
20752 * time/time.h [__USE_BSD]: Likewise.
20753 [__USE_SVID]: Likewise.
20755 * Makefile (subdir_targets): Remove subdir_lint.out.
20757 * stdio-common/Makefile (do-tst-unbputc): Remove target.
20758 (do-tst-printf): Likewise.
20759 (tests): Depend directly on $(objpfx)tst-unbputc.out and
20760 $(objpfx)tst-printf.out.
20762 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
20764 * Makerules (check-abi-%): Change target to
20765 $(objpfx)check-abi-%.out.
20766 (check-abi target): Update dependencies.
20767 (check-abi-pattern variable): Redirect output of diff to $@.
20768 (check-abi variable): Likewise.
20769 * elf/Makefile (check-abi): Update dependencies.
20771 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
20773 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
20774 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
20776 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
20777 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
20778 value has largest subnormal exponent.
20779 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
20780 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
20781 * sysdeps/aarch64/soft-fp/sfp-machine.h
20782 (_FP_TININESS_AFTER_ROUNDING): New macro.
20783 * sysdeps/alpha/soft-fp/sfp-machine.h
20784 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20785 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20787 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
20788 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20789 * sysdeps/mips/soft-fp/sfp-machine.h
20790 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20791 * sysdeps/powerpc/soft-fp/sfp-machine.h
20792 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20793 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20795 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20796 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20797 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20798 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20799 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20802 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
20805 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
20808 2014-02-12 Richard Henderson <rth@redhat.com>
20810 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
20811 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
20812 * sysdeps/unix/sysv/linux/alpha: Move directory from
20813 ports/sysdeps/unix/sysv/linux/alpha.
20814 * README: Update listing for alpha-*-linux-gnu.
20816 2014-02-11 Joseph Myers <joseph@codesourcery.com>
20818 * include/features.h: Update comment documenting feature test
20820 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
20822 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
20823 (_SVID_SOURCE): Likewise.
20824 (_DEFAULT_SOURCE): Update description of default features.
20825 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
20827 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
20828 (S_ISVTX): Likewise.
20829 * manual/math.texi (Mathematical Constants): Likewise.
20830 * manual/signal.texi (Interrupted Primitives): Likewise.
20831 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
20832 * math/test-matherr.c (_SVID_SOURCE): Do not define.
20833 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
20834 Don't refer to _SVID_SOURCE in warning text.
20836 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20838 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
20840 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
20841 * sysdeps/mips/dl-lookup.c: Remove.
20842 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
20844 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20847 * math/auto-libm-test-in: Add testcase for expl.
20848 * math/auto-libm-test-out: Regenerate.
20849 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
20850 calculation of unsafe.
20851 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
20853 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
20855 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
20856 * sysdeps/unix/sysv/linux/aarch64: Move directory from
20857 ports/sysdeps/unix/sysv/linux/aarch64.
20858 * README: Update listing for aarch64*-*-linux-gnu.
20860 2014-02-11 Will Newton <will.newton@linaro.org>
20862 * manual/probes.texi (Mathematical Function Probes): Use
20863 "triggered" instead of "hit".
20865 * manual/probes.texi (Internal Probes): Add documentation
20866 of setjmp, longjmp and longjmp_target probes.
20868 * include/stap-probe.h: Add comment about probe argument
20871 * malloc/mtrace.c (attribute_hidden): Remove unused macro
20872 definition. (tr_where, tr_freehook, tr_mallochook,
20873 tr_reallochook, tr_memalignhook): Use ANSI protoype.
20875 2014-02-11 David S. Miller <davem@davemloft.net>
20877 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
20878 processing int_tests.
20880 2014-02-10 Joseph Myers <joseph@codesourcery.com>
20882 * sysdeps/mips: Move directory from ports/sysdeps/mips.
20883 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
20884 * sysdeps/unix/sysv/linux/mips: Move directory from
20885 ports/sysdeps/unix/sysv/linux/mips.
20886 * README: Update listing for mips-*-linux-gnu and
20887 mips64-*-linux-gnu.
20889 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
20891 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
20892 * sysdeps/unix/sysv/linux/m68k: Move directory from
20893 ports/sysdeps/unix/sysv/linux/m68k.
20894 * README: Update listing for m68k-*-linux-gnu.
20896 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
20898 * sysdeps/tile: Move directory from ports/sysdeps/tile.
20899 * sysdeps/unix/sysv/linux/generic: Move directory from
20900 ports/sysdeps/unix/sysv/linux/generic.
20901 * sysdeps/unix/sysv/linux/tile: Move directory from
20902 ports/sysdeps/unix/sysv/linux/tile.
20903 * README: Update listing for tile*-*-linux-gnu.
20905 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
20907 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
20909 * benchtests/bench-memmem.c (simple_memmem): Likewise.
20910 * catgets/open_catalog.c (__open_catalog): Likewise.
20911 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
20912 * debug/confstr_chk.c: Likewise.
20913 * debug/fread_chk.c (__fread_chk): Likewise.
20914 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
20915 * debug/getgroups_chk.c: Likewise.
20916 * debug/mbsnrtowcs_chk.c: Likewise.
20917 * debug/mbsrtowcs_chk.c: Likewise.
20918 * debug/mbstowcs_chk.c: Likewise.
20919 * debug/memcpy_chk.c: Likewise.
20920 * debug/memmove_chk.c: Likewise.
20921 * debug/mempcpy_chk.c: Likewise.
20922 * debug/memset_chk.c: Likewise.
20923 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20924 * debug/strcat_chk.c (__strcat_chk): Likewise.
20925 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
20926 * debug/strncat_chk.c (__strncat_chk): Likewise.
20927 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
20928 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
20929 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
20930 * debug/wcpncpy_chk.c: Likewise.
20931 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20932 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
20933 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
20934 * debug/wcsncpy_chk.c: Likewise.
20935 * debug/wcsnrtombs_chk.c: Likewise.
20936 * debug/wcsrtombs_chk.c: Likewise.
20937 * debug/wcstombs_chk.c: Likewise.
20938 * debug/wmemcpy_chk.c: Likewise.
20939 * debug/wmemmove_chk.c: Likewise.
20940 * debug/wmempcpy_chk.c: Likewise.
20941 * debug/wmemset_chk.c: Likewise.
20942 * dirent/scandirat.c (SCANDIRAT): Likewise.
20943 * dlfcn/dladdr1.c (dladdr1): Likewise.
20944 * dlfcn/dladdr.c (dladdr): Likewise.
20945 * dlfcn/dlclose.c (dlclose_doit): Likewise.
20946 * dlfcn/dlerror.c (__dlerror): Likewise.
20947 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
20948 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
20949 * dlfcn/dlopen.c (dlopen_doit): Likewise.
20950 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20951 * dlfcn/dlsym.c (dlsym_doit): Likewise.
20952 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
20953 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
20954 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
20956 * elf/dl-conflict.c: Likewise.
20957 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
20958 * elf/dl-dst.h: Likewise.
20959 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
20960 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
20961 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
20962 * elf/dl-init.c (call_init, _dl_init): Likewise.
20963 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
20964 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
20965 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
20967 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
20969 * elf/dl-minimal.c (__libc_memalign): Likewise.
20970 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
20971 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20972 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
20973 * elf/dl-sym.c (do_sym): Likewise.
20974 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
20975 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
20976 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
20977 * elf/dl-writev.h (_dl_writev): Likewise.
20978 * elf/ldconfig.c (search_dir): Likewise.
20979 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
20980 (dl_main): Likewise.
20981 * elf/setup-vdso.h (setup_vdso): Likewise.
20982 * grp/compat-initgroups.c (compat_call): Likewise.
20983 * grp/fgetgrent.c (fgetgrent): Likewise.
20984 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
20985 * grp/putgrent.c (putgrent): Likewise.
20986 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20988 * hurd/hurdinit.c: Likewise.
20989 * iconvdata/8bit-gap.c (struct): Likewise.
20990 * iconvdata/ansi_x3.110.c : Likewise.
20991 * iconvdata/big5.c : Likewise.
20992 * iconvdata/big5hkscs.c : Likewise.
20993 * iconvdata/cp1255.c: Likewise.
20994 * iconvdata/cp1258.c : Likewise.
20995 * iconvdata/cp932.c : Likewise.
20996 * iconvdata/euc-cn.c: Likewise.
20997 * iconvdata/euc-jisx0213.c : Likewise.
20998 * iconvdata/euc-jp.c: Likewise.
20999 * iconvdata/euc-jp-ms.c : Likewise.
21000 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
21001 * iconvdata/gb18030.c : Likewise.
21002 * iconvdata/gbbig5.c (const): Likewise.
21003 * iconvdata/gbgbk.c: Likewise.
21004 * iconvdata/gbk.c : Likewise.
21005 * iconvdata/ibm1364.c : Likewise.
21006 * iconvdata/ibm930.c : Likewise.
21007 * iconvdata/ibm932.c: Likewise.
21008 * iconvdata/ibm933.c : Likewise.
21009 * iconvdata/ibm935.c : Likewise.
21010 * iconvdata/ibm937.c : Likewise.
21011 * iconvdata/ibm939.c : Likewise.
21012 * iconvdata/ibm943.c: Likewise.
21013 * iconvdata/iso_11548-1.c: Likewise.
21014 * iconvdata/iso-2022-cn.c : Likewise.
21015 * iconvdata/iso-2022-cn-ext.c : Likewise.
21016 * iconvdata/iso-2022-jp-3.c: Likewise.
21017 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
21018 * iconvdata/iso-2022-kr.c : Likewise.
21019 * iconvdata/iso646.c (gconv_end): Likewise.
21020 * iconvdata/iso_6937-2.c : Likewise.
21021 * iconvdata/iso_6937.c : Likewise.
21022 * iconvdata/iso8859-1.c: Likewise.
21023 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
21024 * iconvdata/shift_jisx0213.c : Likewise.
21025 * iconvdata/sjis.c : Likewise.
21026 * iconvdata/t.61.c : Likewise.
21027 * iconvdata/tcvn5712-1.c : Likewise.
21028 * iconvdata/tscii.c: Likewise.
21029 * iconvdata/uhc.c : Likewise.
21030 * iconvdata/unicode.c (gconv_end): Likewise.
21031 * iconvdata/utf-16.c (gconv_end): Likewise.
21032 * iconvdata/utf-32.c (gconv_end): Likewise.
21033 * iconvdata/utf-7.c (base64): Likewise.
21034 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
21035 * iconv/gconv_close.c (__gconv_close): Likewise.
21036 * iconv/gconv_open.c (__gconv_open): Likewise.
21037 * iconv/gconv_simple.c (internal_ucs4_loop_single)
21038 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
21039 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
21040 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
21041 (ucs4le_internal_loop_single): Likewise.
21042 * iconv/iconv.c (iconv): Likewise.
21043 * iconv/iconv_close.c: Likewise.
21044 * iconv/loop.c (SINGLE): Likewise.
21045 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
21046 * include/atomic.h: Likewise.
21047 * inet/inet6_option.c (option_alloc): Likewise.
21048 * intl/bindtextdom.c (set_binding_values): Likewise.
21049 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
21050 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
21051 * intl/localealias.c (read_alias_file): Likewise.
21052 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21053 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
21054 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
21055 * libio/fmemopen.c (fmemopen): Likewise.
21056 * libio/iofgets.c (_IO_fgets): Likewise.
21057 * libio/iofgets_u.c (fgets_unlocked): Likewise.
21058 * libio/iofgetws.c (fgetws): Likewise.
21059 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
21060 * libio/iogetdelim.c (_IO_getdelim): Likewise.
21061 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
21062 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
21063 * locale/findlocale.c (_nl_find_locale): Likewise.
21064 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
21065 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
21067 * locale/setlocale.c (setlocale): Likewise.
21068 * login/programs/pt_chown.c (main): Likewise.
21069 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
21070 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
21071 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
21072 (mmap, mmap64, mremap, munmap): Likewise.
21073 * math/e_exp2l.c: Likewise.
21074 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
21075 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
21076 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
21077 * math/s_catan.c (__catan): Likewise.
21078 * math/s_catanf.c (__catanf): Likewise.
21079 * math/s_catanh.c (__catanh): Likewise.
21080 * math/s_catanhf.c (__catanhf): Likewise.
21081 * math/s_catanhl.c (__catanhl): Likewise.
21082 * math/s_catanl.c (__catanl): Likewise.
21083 * math/s_ccosh.c (__ccosh): Likewise.
21084 * math/s_ccoshf.c (__ccoshf): Likewise.
21085 * math/s_ccoshl.c (__ccoshl): Likewise.
21086 * math/s_cexp.c (__cexp): Likewise.
21087 * math/s_cexpf.c (__cexpf): Likewise.
21088 * math/s_cexpl.c (__cexpl): Likewise.
21089 * math/s_clog10.c (__clog10): Likewise.
21090 * math/s_clog10f.c (__clog10f): Likewise.
21091 * math/s_clog10l.c (__clog10l): Likewise.
21092 * math/s_clog.c (__clog): Likewise.
21093 * math/s_clogf.c (__clogf): Likewise.
21094 * math/s_clogl.c (__clogl): Likewise.
21095 * math/s_csin.c (__csin): Likewise.
21096 * math/s_csinf.c (__csinf): Likewise.
21097 * math/s_csinh.c (__csinh): Likewise.
21098 * math/s_csinhf.c (__csinhf): Likewise.
21099 * math/s_csinhl.c (__csinhl): Likewise.
21100 * math/s_csinl.c (__csinl): Likewise.
21101 * math/s_csqrt.c (__csqrt): Likewise.
21102 * math/s_csqrtf.c (__csqrtf): Likewise.
21103 * math/s_csqrtl.c (__csqrtl): Likewise.
21104 * math/s_ctan.c (__ctan): Likewise.
21105 * math/s_ctanf.c (__ctanf): Likewise.
21106 * math/s_ctanh.c (__ctanh): Likewise.
21107 * math/s_ctanhf.c (__ctanhf): Likewise.
21108 * math/s_ctanhl.c (__ctanhl): Likewise.
21109 * math/s_ctanl.c (__ctanl): Likewise.
21110 * math/w_pow.c: Likewise.
21111 * math/w_powf.c: Likewise.
21112 * math/w_powl.c: Likewise.
21113 * math/w_scalb.c (sysv_scalb): Likewise.
21114 * math/w_scalbf.c (sysv_scalbf): Likewise.
21115 * math/w_scalbl.c (sysv_scalbl): Likewise.
21116 * misc/error.c (error_tail): Likewise.
21117 * misc/pselect.c (__pselect): Likewise.
21118 * nis/nis_callback.c (__nis_create_callback): Likewise.
21119 * nis/nis_call.c (__nisfind_server): Likewise.
21120 * nis/nis_creategroup.c (nis_creategroup): Likewise.
21121 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
21122 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
21123 * nis/nis_getservlist.c (nis_getservlist): Likewise.
21124 * nis/nis_lookup.c (nis_lookup): Likewise.
21125 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
21126 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
21127 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
21128 * nis/nis_xdr.c (xdr_endpoint): Likewise.
21129 * nis/nss_compat/compat-grp.c (getgrent_next_file)
21130 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
21131 * nis/nss_compat/compat-initgroups.c (add_group)
21132 (internal_getgrent_r): Likewise.
21133 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
21134 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
21135 * nis/nss_compat/compat-spwd.c (getspent_next_file)
21136 (internal_getspnam_r): Likewise.
21137 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
21138 (_nss_nis_getaliasbyname_r): Likewise.
21139 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
21140 (_nss_nis_getntohost_r): Likewise.
21141 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
21142 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
21143 (_nss_nis_getgrgid_r): Likewise.
21144 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
21145 (internal_nis_gethostent_r, internal_gethostbyname2_r)
21146 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
21147 (_nss_nis_gethostbyname4_r): Likewise.
21148 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
21149 (initgroups_netid): Likewise.
21150 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
21151 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
21152 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
21153 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
21154 (_nss_nis_getprotobynumber_r): Likewise.
21155 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
21156 (_nss_nis_getsecretkey): Likewise.
21157 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
21158 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
21159 (_nss_nis_getpwuid_r): Likewise.
21160 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
21161 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
21162 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
21163 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
21164 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
21165 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
21166 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
21168 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
21169 (_nss_nisplus_getntohost_r): Likewise.
21170 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
21171 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
21172 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
21173 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
21175 * nis/nss_nisplus/nisplus-initgroups.c
21176 (_nss_nisplus_initgroups_dyn): Likewise.
21177 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
21178 (_nss_nisplus_getnetbyaddr_r): Likewise.
21179 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
21180 (_nss_nisplus_getprotobynumber_r): Likewise.
21181 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
21182 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
21183 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
21185 * nis/nss_nisplus/nisplus-service.c
21186 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
21187 (_nss_nisplus_getservbyport_r): Likewise.
21188 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
21189 (_nss_nisplus_getspnam_r): Likewise.
21190 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
21192 * nscd/aicache.c (addhstaiX): Likewise.
21193 * nscd/cache.c (cache_search, prune_cache): Likewise.
21194 * nscd/connections.c (register_traced_file, send_ro_fd)
21195 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
21196 (main_loop_epoll): Likewise.
21197 * nscd/grpcache.c (addgrbyX): Likewise.
21198 * nscd/hstcache.c (addhstbyX): Likewise.
21199 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21200 * nscd/mem.c (gc, mempool_alloc): Likewise.
21201 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
21202 (addinnetgrX): Likewise.
21203 * nscd/nscd-client.h (__nscd_acquire_maplock)
21204 (__nscd_drop_map_ref): Likewise.
21205 * nscd/nscd_getai.c (__nscd_getai): Likewise.
21206 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21207 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
21209 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
21210 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21211 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
21212 (__nscd_get_map_ref): Likewise.
21213 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
21214 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
21216 * nscd/pwdcache.c (addpwbyX): Likewise.
21217 * nscd/selinux.c (preserve_capabilities): Likewise.
21218 * nscd/servicescache.c (addservbyX): Likewise.
21219 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
21220 * posix/fnmatch.c (fnmatch): Likewise.
21221 * posix/getopt.c (_getopt_internal_r): Likewise.
21222 * posix/glob.c (glob, glob_in_dir): Likewise.
21223 * posix/wordexp.c (exec_comm_child): Likewise.
21224 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
21225 (getanswer_r, gaih_getanswer_slice): Likewise.
21226 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
21227 * resolv/res_init.c: Likewise.
21228 * resolv/res_mkquery.c (res_nmkquery): Likewise.
21229 * resolv/res_query.c (__libc_res_nquery): Likewise.
21230 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
21232 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
21233 * stdio-common/perror.c (perror): Likewise.
21234 * stdio-common/printf_fp.c (___printf_fp): Likewise.
21235 * stdio-common/tmpnam.c (tmpnam): Likewise.
21236 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21237 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
21238 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21240 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
21241 * stdlib/putenv.c (putenv): Likewise.
21242 * stdlib/setenv.c (__add_to_environ): Likewise.
21243 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21244 * stdlib/strtol_l.c (INTERNAL): Likewise.
21245 * string/memmem.c (memmem): Likewise.
21246 * string/strerror.c (strerror): Likewise.
21247 * string/strnlen.c (__strnlen): Likewise.
21248 * string/test-memmem.c (simple_memmem): Likewise.
21249 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
21250 * sunrpc/pm_getport.c (__get_socket): Likewise.
21251 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
21252 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
21253 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
21254 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
21256 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
21257 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21258 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
21259 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
21260 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
21261 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
21263 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
21265 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
21266 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
21267 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21268 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
21269 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
21270 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
21271 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21272 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
21273 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
21274 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
21275 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21276 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
21278 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
21280 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
21282 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
21283 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21284 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
21285 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
21286 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
21287 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
21288 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21289 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
21290 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
21291 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
21292 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
21293 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21294 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21295 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21296 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21297 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
21299 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
21301 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
21303 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
21305 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21306 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21307 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
21309 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
21310 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
21311 * sysdeps/posix/opendir.c (__opendirat): Likewise.
21312 * sysdeps/posix/sleep.c: Likewise.
21313 * sysdeps/posix/tempname.c: Likewise.
21314 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
21315 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21317 * sysdeps/powerpc/powerpc32/dl-machine.h
21318 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
21319 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21320 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21321 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
21322 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
21324 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
21325 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
21326 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21327 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
21328 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21329 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
21330 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
21331 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
21332 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21333 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
21334 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
21335 (elf_machine_lazy_rel): Likewise.
21336 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21337 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
21338 (elf_machine_lazy_rel): Likewise.
21339 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
21340 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
21341 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
21342 * sysdeps/unix/grantpt.c (grantpt): Likewise.
21343 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
21344 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
21345 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
21346 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21348 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21349 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21350 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
21351 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
21352 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21353 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21354 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
21355 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
21356 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
21357 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21358 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21360 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
21361 (__posix_fallocate64_l64): Likewise.
21362 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
21363 (posix_fallocate): Likewise.
21364 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
21366 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21367 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
21368 (getifaddrs_internal): Likewise.
21369 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
21370 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
21371 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
21372 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
21373 * sysdeps/unix/sysv/linux/posix_fallocate64.c
21374 (__posix_fallocate64_l64): Likewise.
21375 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21377 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
21378 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
21379 (__get_clockfreq): Likewise.
21380 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
21381 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
21382 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
21383 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21384 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21385 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
21386 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
21387 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
21389 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
21390 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
21391 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
21392 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
21393 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21394 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
21395 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
21397 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21398 (posix_fallocate): Likewise.
21399 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21400 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
21401 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
21402 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
21403 (elf_machine_rela, elf_machine_rela_relative)
21404 (elf_machine_lazy_rel): Likewise.
21405 * time/asctime.c (asctime_internal): Likewise.
21406 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
21407 * time/tzset.c (__tzset_parse_tz): Likewise.
21408 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21409 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
21410 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
21411 * wcsmbs/wcsmbsload.h: Likewise.
21414 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
21416 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
21417 (arena_get2): Remove THREAD_STATS conditionals.
21418 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
21419 (__malloc_stats, int): Likewise.
21421 2014-02-08 Mike Frysinger <vapier@gentoo.org>
21423 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
21424 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
21426 * manual/setjmp.texi: Fix typos/grammar errors.
21428 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
21429 Only return early when n is <= 0. Delete unused return statement.
21431 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
21432 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21433 * debug/tst-longjmp_chk3.c: New file.
21435 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
21436 (test_main): Replace code with set_fortify_handler call.
21437 * debug/test-strcpy_chk.c: Likewise.
21438 * debug/tst-chk1.c: Likewise.
21439 * debug/tst-longjmp_chk.c: Likewise.
21440 * test-skeleton.c: Include fcntl.h & paths.h
21441 (set_fortify_handler): Define.
21443 * debug/tst-longjmp_chk.c: Add header comment and include
21444 ../test-skeleton.c.
21445 (do_test): Mark static.
21446 (TEST_FUNCTION): Define.
21448 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
21449 (IP_PMTUDISC_INTERFACE): Likewise.
21450 (IP_MULTICAST_IF): Likewise.
21451 (IP_MULTICAST_TTL): Likewise.
21452 (IP_MULTICAST_LOOP): Likewise.
21453 (IP_ADD_MEMBERSHIP): Likewise.
21454 (IP_DROP_MEMBERSHIP): Likewise.
21455 (IP_UNBLOCK_SOURCE): Likewise.
21456 (IP_BLOCK_SOURCE): Likewise.
21457 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
21458 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
21459 (IP_MSFILTER): Likewise.
21460 (MCAST_JOIN_GROUP): Likewise.
21461 (MCAST_BLOCK_SOURCE): Likewise.
21462 (MCAST_UNBLOCK_SOURCE): Likewise.
21463 (MCAST_LEAVE_GROUP): Likewise.
21464 (MCAST_JOIN_SOURCE_GROUP): Likewise.
21465 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
21466 (MCAST_MSFILTER): Likewise.
21467 (IP_MULTICAST_ALL): Likewise.
21468 (IP_UNICAST_IF): Likewise.
21470 * timezone/Makefile: Delete $(have-ksh) check.
21471 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
21472 * timezone/tzselect.ksh: Add +x mode bits.
21474 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
21475 (ANON_INODE_FS_MAGIC): Likewise.
21476 (BDEVFS_MAGIC): Likewise.
21477 (BINFMTFS_MAGIC): Likewise.
21478 (BTRFS_TEST_MAGIC): Likewise.
21479 (CRAMFS_MAGIC_WEND): Likewise.
21480 (DEBUGFS_MAGIC): Likewise.
21481 (ECRYPTFS_SUPER_MAGIC): Likewise.
21482 (EXT3_SUPER_MAGIC): Likewise.
21483 (EXT4_SUPER_MAGIC): Likewise.
21484 (FUTEXFS_SUPER_MAGIC): Likewise.
21485 (HOSTFS_SUPER_MAGIC): Likewise.
21486 (HUGETLBFS_MAGIC): Likewise.
21487 (MINIX3_SUPER_MAGIC): Likewise.
21488 (MTD_INODE_FS_MAGIC): Likewise.
21489 (NILFS_SUPER_MAGIC): Likewise.
21490 (OPENPROM_SUPER_MAGIC): Likewise.
21491 (PIPEFS_MAGIC): Likewise.
21492 (PSTOREFS_MAGIC): Likewise.
21493 (QNX6_SUPER_MAGIC): Likewise.
21494 (RAMFS_MAGIC): Likewise.
21495 (REISERFS_SUPER_MAGIC_STRING): Likewise.
21496 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
21497 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
21498 (SECURITYFS_MAGIC): Likewise.
21499 (SELINUX_MAGIC): Likewise.
21500 (SMACK_MAGIC): Likewise.
21501 (SOCKFS_MAGIC): Likewise.
21502 (SQUASHFS_MAGIC): Likewise.
21503 (STACK_END_MAGIC): Likewise.
21504 (TMPFS_MAGIC): Likewise.
21505 (USBDEVICE_SUPER_MAGIC): Likewise.
21506 (V9FS_MAGIC): Likewise.
21507 (XENFS_SUPER_MAGIC): Likewise.
21508 (CRAMFS_MAGIC): Fix typo in comment.
21509 (EXT2_SUPER_MAGIC): Update comment.
21510 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
21512 2014-02-08 Joseph Myers <joseph@codesourcery.com>
21514 * sysdeps/arm: Move directory from ports/sysdeps/arm.
21515 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
21516 * sysdeps/unix/sysv/linux/arm: Move directory from
21517 ports/sysdeps/unix/sysv/linux/arm.
21518 * README: Update listing for arm-*-linux-gnueabi.
21520 * README: Remove mention of am33.
21522 2014-02-07 Roland McGrath <roland@hack.frob.com>
21524 * bits/sigset.h (__sigemptyset): Use a statement expression rather
21525 than the comma operator, to avoid "rhs of comma has no effect"
21527 (__sigfillset, __sigandset, __sigorset): Likewise.
21528 * include/signal.h (__sigemptyset): Likewise.
21529 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
21531 2014-02-07 Allan McRae <allan@archlinux.org>
21533 * version.h (RELEASE): Set to "development".
21534 (VERSION): Set to "2.19.90"
21535 * NEWS: Add 2.20 section.
21537 2014-02-06 Carlos O'Donell <carlos@redhat.com>
21540 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
21542 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21544 * manual/contrib.texi: Update entry for Carlos O'Donell,
21545 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
21547 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
21549 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
21551 * sysdeps/unix/sysv/linux/kernel-features.h
21552 [__LINUX_KERNEL_VERSION >= 0x020621]
21553 (__ASSUME_PROC_PID_TASK_COMM): Define.
21555 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21558 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
21559 conversion when destination buffer does not have enough space.
21560 * libio/tst-ftell-partial-wide.c: New test case.
21561 * libio/Makefile (tests): Add tst-ftell-partial-wide.
21563 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
21564 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
21565 Leonard and Allan McRae.
21567 2014-02-04 David S. Miller <davem@davemloft.net>
21569 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
21572 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
21576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
21578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
21580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
21582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
21584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
21586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
21588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
21590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
21592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
21594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
21596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
21598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
21601 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21603 * nptl/shlib-versions: Change powerpc*le start to 2.17.
21604 * shlib-versions: Likewise.
21606 2014-02-04 Roland McGrath <roland@hack.frob.com>
21607 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21609 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
21610 (abilist-pattern): New variable, set to %-le.abilist.
21612 * Makerules (abilist-pattern): New variable.
21613 (vpath): Use $(abilist-pattern) in place of %.abilist.
21614 (check-abi-% pattern rule): Likewise.
21615 (check-abi, update-abi): Likewise.
21617 2014-02-04 Eric Wong <normalperson@yhbt.net>
21619 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21621 2014-02-03 Carlos O'Donell <carlos@redhat.com>
21623 * manual/startup.texi: Add next, previous, and top entries for
21624 the `Program Arguments' and `Environment Variables' nodes.
21626 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
21628 * manual/macros.texi: Add comments before MTASC-safety macros.
21630 * manual/users.texi: Document MTASC-safety properties.
21632 * manual/threads.texi (pthread_key_create, pthread_key_delete)
21633 (pthread_getspecific, pthread_setspecific): Format with
21634 @deftypefun, and add @safety note.
21635 * manual/signal.texi: Move comments that analyze the above
21636 functions to their home place.
21638 2014-02-03 Allan McRae <allan@archlinux.org>
21640 * po/sl.po: Update Slovenian translation from translation project.
21642 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
21644 * manual/time.texi (timegm): Add missing blank after @c.
21645 Reported by Joseph Myers <joseph@codesourcery.com>.
21647 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
21649 * manual/check-safety.sh: New.
21650 * manual/Makefile ($(objpfx)stamp-summary): Run it.
21652 * manual/terminal.texi: Document MTASC-safety properties.
21654 * manual/filesys.texi: Document MTASC-safety properties.
21656 * manual/errno.texi: Document MTASC-safety properties.
21658 * manual/intro.texi: Document safety identifiers and
21661 * manual/string.texi (wcstok): Fix prototype.
21662 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
21664 * manual/time.texi: Document MTASC-safety properties.
21666 * manual/string.texi: Document MTASC-safety properties.
21668 * manual/threads.texi: Document MTASC-safety properties.
21670 * manual/stdio.texi: Document MTASC-safety properties.
21672 * manual/syslog.texi: Document MTASC-safety properties.
21674 * manual/sysinfo.texi: Document MTASC-safety properties.
21676 * manual/startup.texi: Document MTASC-safety properties.
21678 * manual/socket.texi: Document MTASC-safety properties.
21680 * manual/signal.texi: Document MTASC-safety properties.
21682 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
21684 * manual/setjmp.texi: Document MTASC-safety properties.
21686 * manual/search.texi: Document MTASC-safety properties.
21688 * manual/resource.texi: Document MTASC-safety properties.
21690 * manual/process.texi: Document MTASC-safety properties.
21692 * manual/platform.texi: Document MTASC-safety properties.
21694 * manual/pipe.texi: Document MTASC-safety properties.
21696 * manual/pattern.texi: Document MTASC-safety properties.
21698 * manual/message.texi: Document MTASC-safety properties.
21701 * manual/memory.texi: Document MTASC-safety properties.
21703 * manual/math.texi: Document MTASC-safety properties.
21705 * manual/locale.texi: Document MTASC-safety properties.
21707 * manual/llio.texi: Document MTASC-safety properties.
21709 * manual/libdl.texi: New.
21711 * manual/lang.texi: Document MTASC-safety properties.
21713 * manual/job.texi: Document MTASC-safety properties.
21715 * manual/getopt.texi: Document MTASC-safety properties.
21717 * manual/ctype.texi: Document MTASC-safety properties.
21719 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
21722 * csu/libc-tls.c (static_map): Remove variable.
21723 (__libc_setup_tls): Use main executable's link map for TLS data.
21724 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
21725 casing for LM_ID_BASE and GL(dl_nns).
21726 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
21727 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
21728 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
21729 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
21730 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
21732 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
21735 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
21737 * manual/debug.texi: Document MTASC-safety properties.
21739 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
21742 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
21743 of __x86_64__ when disabling x87 inline functions.
21745 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
21747 * manual/charset.texi: Document MTASC-safety properties.
21749 * manual/crypt.texi: Document MTASC-safety properties.
21751 * manual/conf.texi: Document MTASC-safety properties.
21753 * manual/arith.texi: Document MTASC-safety properties.
21755 * manual/argp.texi: Document MTASC-safety properties.
21757 * manual/macros.texi: Introduce macros to document multi
21758 thread, asynchronous signal and asynchronous cancellation
21760 * manual/intro.texi: Introduce the properties themselves.
21762 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21764 * sysdeps/sh/sh4/Makefile: New file.
21766 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
21768 * math/gen-libm-test.pl ($srcdir): New variable.
21769 ($auto_input): Use it.
21771 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21774 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
21775 access beyond array bounds when parsing netgroups file.
21777 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
21778 the old buffer before realloc.
21780 2014-01-27 Allan McRae <allan@archlinux.org>
21782 * po/fr.po: Update French translation from translation project.
21784 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21786 * sysdeps/sh/libm-test-ulps: Regenerate.
21788 2014-01-24 David S. Miller <davem@davemloft.net>
21790 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
21792 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21794 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
21795 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
21797 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21800 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
21801 string pointers after reallocation.
21803 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21805 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
21806 __SH4A__ instead of __SH_FPU_ANY__.
21808 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21810 * sysdeps/sh/fpu_control.h: New file.
21811 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
21812 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
21813 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
21814 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
21815 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
21816 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
21817 * sysdeps/sh/sys/ucontext.h: Remove.
21818 * sysdeps/sh/sys: Remove directory.
21820 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21822 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
21823 s390/sys/ucontext.h.
21824 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
21825 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
21827 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
21830 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
21832 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21835 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21836 Adjust the vDSO correctly for internal calls.
21837 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
21839 2014-01-20 Allan McRae <allan@archlinux.org>
21841 * po/ca.po: Update Catalan translation from translation project.
21843 2014-01-16 Mike Frysinger <vapier@gentoo.org>
21845 * sysdeps/s390/sotruss-lib.c: New file.
21847 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21850 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
21851 (__GI___gettimeofday): Alias for a different internal symbol to avoid
21852 local calls issues by not having a PLT stub required for IFUNC calls.
21853 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
21855 2014-01-16 Joseph Myers <joseph@codesourcery.com>
21857 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
21858 * math/test-fpucw-static.c: Likewise.
21860 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21863 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
21865 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21867 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
21868 implementation for powerpc.
21870 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
21873 * sysdeps/posix/system.c (__libc_system): Do not enable
21874 asynchronous cancellation.
21876 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21879 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
21880 handling only for numbers special also in the IEEE case.
21882 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21884 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21886 2014-01-11 Allan McRae <allan@archlinux.org>
21888 * po/bg.po: Update Bulgarian translation from translation project.
21890 * po/de.po: Update German translation from translation project.
21892 2014-01-10 Roland McGrath <roland@hack.frob.com>
21894 * sysdeps/generic/gcc-compat.h: New file.
21896 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21898 * benchtests/asin-inputs: Correct slow inputs.
21899 * benchtests/acos-inputs: Likewise.
21901 2014-01-10 Allan McRae <allan@archlinux.org>
21903 * po:sv.po: Update Swedish translation from translation project.
21905 * po/vi.po: Update Vietnamese translation from translation project.
21907 * po/eo.po: Update Esperanto translation from translation project.
21909 * po/cs.po: Update Czech translation from translation project.
21911 * po/nl.po: Update Dutch translation from translation project.
21913 * po/pl.po: Update Polish translation from translation project.
21915 * po/ru.po: Update Russian translation from translation project.
21917 * po/uk.po: Update Ukrainian translation from translation project.
21919 2014-01-08 Brooks Moses <bmoses@google.com>
21921 * elf/dl-load.c: Fix comment typo.
21923 2014-01-08 Carlos O'Donell <carlos@redhat.com>
21925 * po/header.pot: Rename to...
21926 * po/pot.header: ... this.
21927 * po/Makefile: Use pot.header.
21929 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
21930 Maxim Kuvyrkov <maxim@kugelworks.com>
21933 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
21934 SRC and DEST against LEN.
21936 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21939 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
21941 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
21943 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21947 2014-01-08 Joseph Myers <joseph@codesourcery.com>
21950 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
21951 for large positive arguments.
21953 2014-01-07 Joseph Myers <joseph@codesourcery.com>
21955 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21957 * math/auto-libm-test-in: Mark various tests with
21958 xfail-rounding:ldbl-128ibm.
21959 * math/auto-libm-test-out: Regenerated.
21962 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
21963 Increase overflow threshold.
21965 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
21968 * stdio-common/vfprintf.c: Check for integer overflow.
21970 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21972 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
21973 the first argument and return value of __tls_get_addr_internal.
21975 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21977 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
21978 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
21980 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21982 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
21983 * sysdeps/s390/rtld-global-offsets.sym: New file.
21984 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
21986 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
21987 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
21988 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
21990 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
21991 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
21993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21997 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
21998 halfs of GPRs for high_gprs contexts.
21999 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
22000 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
22002 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
22004 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
22006 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
22007 for high GPRs (uc_high_gprs) and for future extensions
22009 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
22010 for future extensions (__reserved).
22011 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
22013 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
22014 SC_HIGHGPRS offset definition.
22015 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
22016 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
22018 * Versions.def: Add GLIBC_2.19 for libpthread.
22019 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
22020 siglongjmp for libpthread with GLIBC_2.19 symver.
22021 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
22022 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
22023 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
22024 * sysdeps/s390/__longjmp.c: New file.
22025 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
22026 * sysdeps/s390/longjmp.c: New file.
22027 * sysdeps/s390/setjmp.S: New file.
22028 * sysdeps/s390/sigjmp.S: New file.
22029 * sysdeps/s390/v1-longjmp.c: New file.
22030 * sysdeps/s390/v1-setjmp.h: New file.
22031 * sysdeps/s390/v1-sigjmp.c: New file.
22032 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
22033 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
22034 GLIBC_2.19 version.
22035 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
22036 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
22037 versioned symbols for ____longjmp_chk.
22038 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22048 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
22049 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
22050 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
22051 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
22052 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
22053 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
22054 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
22055 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
22056 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
22057 * sysdeps/s390/rtld-__longjmp.c: New file.
22058 * sysdeps/s390/rtld-setjmp.S: New file.
22060 2014-01-06 Joseph Myers <joseph@codesourcery.com>
22063 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22064 Return -__logl (x) for small positive arguments without evaluating
22067 2014-01-06 Mike Frysinger <vapier@gentoo.org>
22069 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
22071 (__ptrace_peeksiginfo_args): ... this.
22072 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22073 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22074 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22076 2014-01-06 Allan McRae <allan@archlinux.org>
22078 * inet/netinet/in.h: Fix typo in comment.
22080 2014-01-05 Andreas Jaeger <aj@suse.de>
22082 * sysdeps/i386/fpu/libm-test-ulps: Update.
22084 2014-01-05 Allan McRae <allan@archlinux.org>
22086 * po/libc.pot: Regenerated.
22088 * malloc/memusagestat.c: Fix gettext call formatting.
22090 2014-01-04 Sami Kerola <kerolasa@iki.fi>
22092 * nscd/nscd.c: Improve usage() output.
22094 2014-01-04 Mike Frysinger <vapier@gentoo.org>
22096 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
22097 * sysdeps/unix/sysv/linux/configure: Regenerated.
22098 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
22099 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
22101 2014-01-03 Joseph Myers <joseph@codesourcery.com>
22104 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22105 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
22107 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22109 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
22110 extra tokens at end of #undef directive.
22111 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22112 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22113 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22115 2014-01-03 Joseph Myers <joseph@codesourcery.com>
22117 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22119 * math/auto-libm-test-in: Mark various tests with
22120 xfail-rounding:ldbl-128ibm.
22121 * math/auto-libm-test-out: Regenerated.
22123 2014-01-02 Joseph Myers <joseph@codesourcery.com>
22126 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
22127 numbers with subnormal high part when calculating exponent.
22130 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
22134 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
22136 (__ieee754_acoshl): Use __log1pl not __log1p.
22138 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
22140 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
22141 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
22142 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
22143 (grow_heap, heap_trim, _int_new_arena, get_free_list)
22144 (reused_arena, arena_get2): Convert to GNU style.
22145 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
22146 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
22147 (memalign_check, __malloc_set_state): Likewise.
22148 * malloc/mallocbug.c (main): Likewise.
22149 * malloc/malloc.c (__malloc_assert, malloc_init_state)
22150 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
22151 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
22152 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
22153 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
22154 (__posix_memalign, malloc_info): Likewise.
22155 * malloc/malloc.h: Likewise.
22156 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
22157 (mallochook, memalignhook, reallochook, mabort): Likewise.
22158 * malloc/mcheck.h: Likewise.
22159 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
22160 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
22161 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
22162 * malloc/morecore.c (__default_morecore): Likewise.
22163 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
22164 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
22165 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
22166 (print_and_abort): Likewise.
22167 * malloc/obstack.h: Likewise.
22168 * malloc/set-freeres.c (__libc_freeres): Likewise.
22169 * malloc/tst-mallocstate.c (main): Likewise.
22170 * malloc/tst-mtrace.c (main): Likewise.
22171 * malloc/tst-realloc.c (do_test): Likewise.
22173 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22176 * nscd/netgroupcache.c (do_notfound): New function.
22177 (addgetnetgrentX): Use it.
22180 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
22181 NSS_STATUS_NOTFOUND.
22183 2014-01-01 Joseph Myers <joseph@codesourcery.com>
22185 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22188 2014-01-01 Allan McRae <allan@archlinux.org>
22190 * scripts/update-copyrights: Update configure input file suffix.
22192 * NEWS: Update copyright year.
22193 * catgets/gencat.c: Likewise.
22194 * csu/version.c: Likewise.
22195 * debug/catchsegv.sh: Likewise.
22196 * debug/pcprofiledump.c: Likewise.
22197 * debug/xtrace.sh: Likewise.
22198 * elf/ldconfig.c: Likewise.
22199 * elf/ldd.bash.in: Likewise.
22200 * elf/pldd.c: Likewise.
22201 * elf/sotruss.ksh: Likewise.
22202 * elf/sprof.c: Likewise.
22203 * iconv/iconv_prog.c: Likewise.
22204 * iconv/iconvconfig.c: Likewise.
22205 * locale/programs/locale.c: Likewise.
22206 * locale/programs/localedef.c: Likewise.
22207 * login/programs/pt_chown.c: Likewise.
22208 * malloc/memusage.sh: Likewise.
22209 * malloc/memusagestat.c: Likewise.
22210 * malloc/mtrace.pl: Likewise.
22211 * manual/libc.texinfo: Likewise.
22212 * nscd/nscd.c: Likewise.
22213 * nss/getent.c: Likewise.
22214 * nss/makedb.c: Likewise.
22215 * posix/getconf.c: Likewise.
22216 * scripts/test-installation.pl: Likewise.
22218 * All files with FSF copyright notices: Update copyright dates
22219 using scripts/update-copyrights.
22220 * intl/plural.c: Regenerated.
22221 * locale/programs/charmap-kw.h: Likewise.
22222 * locale/programs/locfile-kw.h: Likewise.
22224 2013-12-31 Mike Frysinger <vapier@gentoo.org>
22226 * sysdeps/unix/sysv/linux/configure: Regenerated.
22227 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
22228 the linux/fanotify.h header.
22229 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
22230 HAVE_LINUX_FANOTIFY_H is defined.
22232 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22234 * benchtests/cos-inputs: New inputs.
22235 * benchtests/sin-inputs: Likewise.
22237 * benchtests/atan-inputs: New inputs. Fix name of multiple
22238 precision fallback inputs.
22240 * benchtests/atanh-inputs: New inputs.
22241 * benchtests/tanh-inputs: Likewise.
22243 * benchtests/acosh-inputs: New inputs.
22244 * benchtests/asinh-inputs: Likewise.
22246 * benchtests/cosh-inputs: New inputs.
22247 * benchtests/sinh-inputs: Likewise.
22249 * benchtests/acos-inputs: Add more inputs.
22250 * benchtests/asin-inputs: Likewise.
22252 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
22255 * manual/arith.texi: Fix spelling.
22256 * manual/charset.texi: Likewise.
22257 * manual/errno.texi: Likewise.
22258 * manual/filesys.texi: Likewise.
22259 * manual/lang.texi: Likewise.
22260 * manual/llio.texi: Likewise.
22261 * manual/locale.texi: Likewise.
22262 * manual/message.texi: Likewise.
22263 * manual/resource.texi: Likewise.
22264 * manual/search.texi: Likewise.
22265 * manual/setjmp.texi: Likewise.
22266 * manual/stdio.texi: Likewise.
22267 * manual/string.texi: Likewise.
22268 * manual/sysinfo.texi: Likewise.
22269 * manual/time.texi: Likewise.
22271 2013-12-27 Carlos O'Donell <carlos@redhat.com>
22273 * po/sl.po: New file.
22275 2013-12-27 Mike Frysinger <vapier@gentoo.org>
22277 * .gitignore: Add core/.gdbinit/.gdb_history.
22279 2013-12-27 Allan McRae <allan@archlinux.org>
22282 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
22283 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
22285 2013-12-24 Brooks Moses <bmoses@google.com>
22287 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
22288 all compilers that claim C++98 compliance, not just GCC.
22289 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22292 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
22294 * NEWS: Restore accidentally deleted bug-fix entries.
22296 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
22297 Ondřej Bílka <neleai@seznam.cz>
22300 * malloc/malloc.c (_int_free): Perform sanity check only if we
22303 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
22306 * manual/stdio.texi (String Input Conversions): Clarify that character
22307 classes are not supported.
22309 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22313 2013-12-22 Joseph Myers <joseph@codesourcery.com>
22316 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22317 Calculate results for small negative arguments directly rather
22318 than using reflection formula with special underflow handling.
22320 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
22321 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
22322 sysdeps/unix/bsd/bsd4.4/syscalls.list.
22323 (fchflags): Likewise.
22324 (revoke): Likewise.
22325 (setlogin): Likewise.
22326 (sigaltstack): Likewise.
22328 (sigblock): Remove.
22329 (sigsetmask): Likewise.
22331 (waitpid): Likewise.
22332 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
22333 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
22335 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
22336 * sysdeps/unix/bsd/Makefile: ... here.
22337 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
22338 * sysdeps/unix/bsd/Versions: ... here.
22339 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
22340 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
22341 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
22342 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
22343 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
22344 * sysdeps/unix/bsd/sigblock.c: ... here.
22345 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
22346 * sysdeps/unix/bsd/sigsetmask.c: ... here.
22347 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
22348 * sysdeps/unix/bsd/sigvec.c: ... here.
22349 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
22350 * sysdeps/unix/bsd/tcdrain.c: ... here.
22351 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
22352 * sysdeps/unix/bsd/tcgetattr.c: ... here.
22353 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
22354 * sysdeps/unix/bsd/tcsetattr.c: ... here.
22355 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
22356 * sysdeps/unix/bsd/wait.c: ... here.
22357 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
22358 * sysdeps/unix/bsd/wait3.c: ... here.
22359 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
22360 * sysdeps/unix/bsd/waitpid.c: ... here.
22362 2013-12-21 Joseph Myers <joseph@codesourcery.com>
22365 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
22366 round-to-nearest for [!USE_AS_EXPM1L].
22367 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
22368 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
22369 more tests of exp and exp10. Expect some exp10 tests to miss
22370 exceptions or fail in directed rounding modes.
22371 * math/auto-libm-test-out: Regenerated.
22372 * math/libm-test.inc (exp10_tonearest_test_data): New array.
22373 (exp10_test_tonearest): New function.
22374 (exp10_towardzero_test_data): New array.
22375 (exp10_test_towardzero): New function.
22376 (exp10_downward_test_data): New array.
22377 (exp10_test_downward): New function.
22378 (exp10_upward_test_data): New array.
22379 (exp10_test_upward): New function.
22380 (main): Call the new functions.
22381 * sysdeps/i386/fpu/libm-test-ulps: Update.
22382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22384 2013-12-20 Joseph Myers <joseph@codesourcery.com>
22386 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22387 asinh, atan, atan2, atanh, cbrt, cos and cosh.
22388 * math/auto-libm-test-out: Regenerated.
22389 * math/libm-test.inc (acosh_test_data): Add more tests.
22390 (atanh_test_data): Likewise.
22391 (ceil_test_data): Likewise.
22392 (copysign_test_data): Likewise.
22393 * sysdeps/i386/fpu/libm-test-ulps: Update.
22394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22396 * timezone/checktab.awk: Update from tzcode 2013i.
22397 * timezone/private.h: Likewise.
22398 * timezone/scheck.c: Likewise.
22399 * timezone/tzfile.h: Likewise.
22400 * timezone/tzselect.ksh: Likewise.
22401 * timezone/zdump.c: Likewise.
22402 * timezone/zic.c: Likewise.
22404 * math/auto-libm-test-in: Add tests of cpow.
22405 * math/auto-libm-test-out: Regenerated.
22406 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
22407 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22409 (func_calc_desc): Add mpc_cc_c union field.
22410 (test_functions): Add cpow.
22411 (special_fill_2pi): New function.
22412 (special_real_inputs): Add 2pi.
22413 (calc_generic_results): Handle mpc_cc_c.
22414 * sysdeps/i386/fpu/libm-test-ulps: Update.
22415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22417 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
22418 csqrt, ctan and ctanh.
22419 * math/auto-libm-test-out: Regenerated.
22420 * math/libm-test.inc (TEST_COND_x86_64): New macro.
22421 (TEST_COND_x86): Likewise.
22422 (ccos_test_data): Use AUTO_TESTS_c_c.
22423 (ccosh_test_data): Likewise.
22424 (cexp_test_data): Likewise.
22425 (clog_test_data): Likewise.
22426 (csqrt_test_data): Likewise.
22427 (ctan_test_data): Likewise.
22428 (ctan_tonearest_test_data): Likewise.
22429 (ctan_towardzero_test_data): Likewise.
22430 (ctan_downward_test_data): Likewise.
22431 (ctan_upward_test_data): Likewise.
22432 (ctanh_test_data): Likewise.
22433 (ctanh_tonearest_test_data): Likewise.
22434 (ctanh_towardzero_test_data): Likewise.
22435 (ctanh_downward_test_data): Likewise.
22436 (ctanh_upward_test_data): Likewise.
22437 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22439 (func_calc_desc): Add mpc_c_c union field.
22440 (FUNC_mpc_c_c): New macro.
22441 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
22442 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
22444 (special_fill_min_subnorm_p120): New function.
22445 (special_real_inputs): Add min_subnorm_p120.
22446 (calc_generic_results): Handle mpc_c_c.
22447 * sysdeps/i386/fpu/libm-test-ulps: Update.
22448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22450 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22452 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
22453 (do_sin_slow): New functions.
22454 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
22455 (cslow2, csloww1, csloww2): Use the new functions.
22457 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
22458 Use M to change sign of result instead of X. Assume X is
22460 (csloww1): Likewise.
22464 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
22465 arguments A and DA.
22469 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
22471 (sloww1): Don't adjust sign of DX.
22472 (csloww1): Likewise.
22473 (sloww2): Use X directly and don't adjust sign of DX.
22474 (csloww2): Likewise.
22476 2013-12-19 Joseph Myers <joseph@codesourcery.com>
22478 * math/auto-libm-test-in: Add tests of cabs and carg.
22479 * math/auto-libm-test-out: Regenerated.
22480 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
22481 (carg_test_data): Likewise.
22482 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22484 (func_calc_desc): Add mpc_c_f union field.
22485 (test_functions): Add cabs and carg.
22486 (calc_generic_results): Handle mpc_c_f.
22488 * sysdeps/powerpc/powerpc32/libgcc-compat.S
22489 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
22490 as a macro and a compat symbol.
22491 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
22492 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
22493 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
22494 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
22495 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
22496 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
22498 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
22500 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
22502 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
22504 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
22506 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
22508 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
22509 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
22512 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22516 2013-12-19 Joseph Myers <joseph@codesourcery.com>
22518 * manual/texinfo.tex: Update to version 2013-11-26.10 with
22519 trailing whitespace removed.
22520 * scripts/config.guess: Update to version 2013-11-29.
22521 * scripts/config.sub: Update to version 2013-10-01.
22523 * math/auto-libm-test-in: Add tests of sincos.
22524 * math/auto-libm-test-out: Regenerated.
22525 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
22526 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22528 (func_calc_desc): Add mpfr_f_11 union field.
22529 (test_functions): Add sincos.
22530 (calc_generic_results): Handle mpfr_f_11.
22531 * sysdeps/i386/fpu/libm-test-ulps: Update.
22532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22534 2013-12-19 Andreas Schwab <schwab@suse.de>
22536 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
22538 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22539 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
22540 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
22542 2013-12-19 Joseph Myers <joseph@codesourcery.com>
22544 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
22545 * sysdeps/i386/fpu/libm-test-ulps: Update.
22546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22549 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
22550 round-to-nearest mode when using frndint.
22551 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
22552 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22553 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22555 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
22557 * math/auto-libm-test-out: Regenerated.
22558 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
22559 (TEST_COND_x86): Likewise.
22560 (expm1_tonearest_test_data): New array.
22561 (expm1_test_tonearest): New function.
22562 (expm1_towardzero_test_data): New array.
22563 (expm1_test_towardzero): New function.
22564 (expm1_downward_test_data): New array.
22565 (expm1_test_downward): New function.
22566 (expm1_upward_test_data): New array.
22567 (expm1_test_upward): New function.
22568 (main): Run the new test functions.
22569 * sysdeps/i386/fpu/libm-test-ulps: Update.
22570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22572 * include/features.h: Update comment documenting feature test
22573 macros. Mention _DEFAULT_SOURCE in comment.
22574 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
22575 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
22576 _BSD_SOURCE and _SVID_SOURCE.
22577 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
22578 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
22579 !_SVID_SOURCE]: Likewise.
22580 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22581 (__USE_POSIX_IMPLICITLY): Define.
22582 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22583 (_POSIX_SOURCE): Undefine and redefine.
22584 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22585 (_POSIX_C_SOURCE): Likewise.
22586 * manual/creature.texi (_DEFAULT_SOURCE): Document.
22587 (Feature Test Macros): Update documentation of default features.
22589 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22591 * benchtests/Makefile: Add bench-strtok.
22592 * benchtests/bench-strtok.c: New file: strtok benchtest.
22594 2013-12-19 Allan McRae <allan@archlinux.org>
22596 * manual/install.texi: Suppress menu for plain text output.
22597 * INSTALL: Regenerated.
22599 2013-12-18 Brooks Moses <bmoses@google.com>
22602 * misc/getauxval.c: Include errno.h.
22603 (__getauxval): Set errno to ENOENT if the requested type is not
22605 * misc/sys/auxv.h (getauxval): Document that it may set errno;
22606 don't declare with __attribute_const__.
22607 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
22608 * manual/startup.texi: Document that getauxval sets errno.
22610 2013-12-18 Joseph Myers <joseph@codesourcery.com>
22612 * math/auto-libm-test-in: Add tests of jn and yn.
22613 * math/auto-libm-test-out: Regenerated.
22614 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
22615 (yn_test_data): Likewise.
22616 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22618 (func_calc_desc): Add mpfr_if_f union field.
22619 (FUNC_mpfr_if_f): New macro.
22620 (test_functions): Add jn and yn.
22621 (calc_generic_results): Assert type of second input for
22622 mpfr_ff_f. Handle mpfr_if_f.
22623 (output_for_one_input_case): Disable all checking for arguments
22624 fitting floating-point types in case of an integer argument.
22625 * sysdeps/i386/fpu/libm-test-ulps: Update.
22626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22629 Don't expect fegetround reference in libm.so.
22631 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22633 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
22634 $(config-cflags-nofma).
22636 2013-12-18 Joseph Myers <joseph@codesourcery.com>
22638 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
22639 * math/auto-libm-test-out: Regenerated.
22642 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
22643 to determine exponent and adjust argument to have exponent of -1.
22644 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
22646 * math/auto-libm-test-out: Regenerated.
22647 * sysdeps/i386/fpu/libm-test-ulps: Update.
22648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22650 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
22652 * manual/probes.texi: Remove cases when per-thread arenas are
22655 2013-12-18 Andreas Schwab <schwab@suse.de>
22657 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
22658 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
22659 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
22660 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
22661 * sysdeps/i386/i686/multiarch/Makefile: Update.
22662 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
22664 2013-12-17 Joseph Myers <joseph@codesourcery.com>
22666 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
22667 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
22669 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
22672 Support TZ transition times < 00:00:00.
22673 This is needed for version-3 tz-format files; it supports time
22674 stamps past 2037 for America/Godthab (the only entry in the tz
22675 database for which this change is relevant).
22676 * manual/time.texi (TZ Variable): Document transition times
22677 from -167:59:59 through -00:00:01.
22678 * time/tzset.c (tz_rule): Time of day is now signed.
22679 (__tzset_parse_tz): Parse negative time of day.
22681 Document TZ transition times >= 25:00:00.
22682 * manual/time.texi (TZ Variable): Document transition times from
22683 25:00:00 through 167:59:59. These are already supported, and this
22684 support will help with version-3 tz-format files.
22686 * manual/time.texi (TZ Variable): Modernize North America example
22687 to reflect current (i.e., 2007-and-later) daylight saving rules.
22689 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
22691 2013-12-17 Joseph Myers <joseph@codesourcery.com>
22693 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
22694 * sysdeps/unix/bsd/bits/stat.h: Likewise.
22695 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
22696 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22697 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
22698 * sysdeps/unix/bsd/bsdstat.h: Likewise.
22699 * sysdeps/unix/bsd/clock.c: Likewise.
22700 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
22701 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
22702 * sysdeps/unix/bsd/init-posix.c: Likewise.
22703 * sysdeps/unix/bsd/poll.c: Likewise.
22704 * sysdeps/unix/bsd/ptsname.c: Likewise.
22705 * sysdeps/unix/bsd/seekdir.c: Likewise.
22706 * sysdeps/unix/bsd/setegid.c: Likewise.
22707 * sysdeps/unix/bsd/seteuid.c: Likewise.
22708 * sysdeps/unix/bsd/setgid.c: Likewise.
22709 * sysdeps/unix/bsd/setrgid.c: Likewise.
22710 * sysdeps/unix/bsd/setruid.c: Likewise.
22711 * sysdeps/unix/bsd/setsid.c: Likewise.
22712 * sysdeps/unix/bsd/setuid.c: Likewise.
22713 * sysdeps/unix/bsd/sigaction.c: Likewise.
22714 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
22715 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
22716 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
22717 * sysdeps/unix/bsd/telldir.c: Likewise.
22718 * sysdeps/unix/bsd/times.c: Likewise.
22719 * sysdeps/unix/bsd/usleep.c: Likewise.
22721 * misc/Makefile (install-lib): Remove libbsd-compat.a.
22722 ($(objpfx)libbsd-compat.a): Remove rule.
22724 * include/features.h (__FAVOR_BSD): Do not define.
22725 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
22726 features conflicting with POSIX.
22727 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
22728 (_BSD_SOURCE): Remove description of not being a subset of other
22729 feature test macros.
22730 * manual/job.texi (getpgrp): Do not document BSD version.
22731 (getpgid): Do not document by reference to BSD getpgrp.
22732 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
22733 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
22734 * signal/signal.h [__FAVOR_BSD]: Likewise.
22735 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
22736 instead of making contents conditional on [__FAVOR_BSD].
22737 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
22739 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22743 2013-12-17 Joseph Myers <joseph@codesourcery.com>
22746 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
22747 values below 2**-450, not 2**-500.
22748 * math/auto-libm-test-in: Don't allow spurious underflow from
22750 * math/auto-libm-test-out: Regenerated.
22754 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
22755 values of ha and hb and sort them after adjusting subnormal
22757 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
22759 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
22760 values of ea and eb and sort them after adjusting subnormal
22762 * math/auto-libm-test-in: Do not expect some hypot tests of
22763 subnormals to fail. Add more hypot tests.
22764 * math/auto-libm-test-out: Regenerated.
22766 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22769 * sysdeps/sh/s_fma.c: New file.
22770 * sysdeps/sh/s_fmaf.c: New file.
22771 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
22773 * sysdeps/sh/Implies: Add sh/soft-fp.
22775 2013-12-16 Roland McGrath <roland@hack.frob.com>
22777 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
22778 level of indirection to members `objname', `errstring', `malloced'.
22779 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
22780 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
22781 it as the __longjmp argument (just pass 1 instead).
22782 (_dl_catch_error): Initialize C with argument pointers and address of
22783 volatile local ERRCODE rather than copying values out of C at return.
22785 2013-12-16 Joseph Myers <joseph@codesourcery.com>
22787 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
22788 * math/auto-libm-test-out: Regenerated.
22789 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
22790 (hypot_test_data): Likewise.
22791 (pow_test_data): Likewise.
22792 (pow_tonearest_test_data): Likewise.
22793 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22795 (func_calc_desc): Add mpfr_ff_f union field.
22796 (FUNC_mpfr_ff_f): New macro.
22797 (test_functions): Add atan2, hypot and pow.
22798 (special_fill_min): New function.
22799 (special_fill_minus_min): Likewise.
22800 (special_fill_min_subnorm): Likewise.
22801 (special_fill_minus_min_subnorm): Likewise.
22802 (special_real_inputs): Add min, -min, min_subnorm and
22804 (calc_generic_results): Handle mpfr_ff_f.
22805 * sysdeps/i386/fpu/libm-test-ulps: Update.
22806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22808 2013-12-16 Will Newton <will.newton@linaro.org>
22810 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
22811 (Aligned Memory Blocks): Add documentation for aligned_alloc
22812 and suggest it as an alternative to posix_memalign.
22813 (Hooks for Malloc): Document __memalign_hook is also called
22814 for aligned_alloc. (Summary of Malloc): Add summary for
22815 aligned alloc. Document __memalign_hook is also called
22818 2013-12-16 Will Newton <will.newton@linaro.org>
22820 * manual/memory.texi (Malloc Examples): Clarify default
22821 alignment documentation. Suggest posix_memalign rather
22822 than memalign or valloc.
22823 (Aligned Memory Blocks): Remove suggestion to use memalign
22824 or valloc. Remove obsolete comment about BSD.
22825 Document memalign errno values and mark the function obsolete.
22826 Document posix_memalign returned error codes. Mark valloc
22827 as obsolete. (Hooks for Malloc): __memalign_hook is also
22828 called for posix_memalign and valloc.
22829 (Summary of Malloc): Add posix_memalign to function summary.
22830 __memalign_hook is also called for posix_memalign and valloc.
22832 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22834 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
22838 (sloww): Use mynumber union. Expand ternary operator into
22839 if-else statements.
22840 (cslow): use mynumber union.
22842 2013-12-16 Allan McRae <allan@archlinux.org>
22844 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
22845 * configure: Regenerated.
22847 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
22850 * configure.ac: Added --enable-maintainer-mode. Check for
22851 autoconf when enabled.
22852 * configure: Regenerated.
22854 * nscd/nscd.service: New file.
22855 * nscd/nscd.tmpfiles: New file.
22857 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
22860 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
22861 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
22862 * sysdeps/x86_64/multiarch/strstr.c: ... here.
22863 (strstr): Add __strstr_sse2_unaligned ifunc.
22864 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
22865 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
22866 (strcasestr): Remove __strcasestr_sse42 ifunc.
22867 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
22868 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22869 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22871 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22873 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
22874 * sysdeps/sh/bits/fenv.h: ... here.
22875 * sysdeps/sh/sh4/fpu/bits: Remove directory.
22877 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22879 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
22881 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
22882 hypotf multiarch implementations.
22883 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
22884 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
22885 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
22886 multiarch hypot for PPC64.
22887 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
22888 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
22889 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
22890 multiarch hypotf for PPC64.
22892 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
22893 modff multiarch implementations.
22894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
22895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
22896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
22897 multiarch modf for PPC64.
22898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
22899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
22900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
22901 multiarch modff for PPC64.
22903 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
22904 and logl multiarch implementations.
22905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
22906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
22907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
22908 multiarch logb for PPC64.
22909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
22910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
22911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
22912 multiarch logb for PPC64.
22913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
22914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
22915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
22916 multiarch logb for PPC64.
22918 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
22919 isinff multiarch implementation.
22920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
22922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
22923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
22924 multiarch isinf for PPC64.
22925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
22927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
22928 multiarch isinff for PPC64.
22930 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
22931 finitef multiarch implementation.
22932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
22934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
22935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
22936 multiarch finite for PPC64.
22937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
22939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
22940 multiarch finitef for PPC64.
22942 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
22943 lrint multiarch implementation.
22944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
22946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
22947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
22948 multiarch llrint for PPC64.
22949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
22950 multiarch lrint for PPC64.
22952 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
22953 copysignf multiarch implementation.
22954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
22956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
22958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
22959 multiarch copysign for PPC64.
22960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
22961 multiarch copysignf for PPC64.
22963 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
22964 multiarch implementation.
22965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
22967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
22969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
22971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
22973 multiarch llround for PPC64.
22974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
22975 multiarch trunc for PPC64.
22976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
22977 multiarch truncf for PPC64.
22979 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
22980 multiarch implementation.
22981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
22983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
22985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
22987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
22989 multiarch llround for PPC64.
22990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
22991 multiarch round for PPC64.
22992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
22993 multiarch roundf for PPC64.
22995 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
22996 multiarch implementation.
22997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
22999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
23001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
23003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
23005 multiarch llround for PPC64.
23006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
23007 multiarch floor for PPC64.
23008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
23009 multiarch floorf for PPC64.
23011 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
23012 multiarch implementation.
23013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
23015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
23017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
23019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
23021 multiarch llround for PPC64.
23022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
23023 multiarch ceil for PPC64.
23024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
23025 multiarch ceilf for PPC64.
23027 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23028 multiarch implementation.
23029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
23031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
23033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
23035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
23036 multiarch llround for PPC64.
23037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
23038 multiarch lround for PPC64.
23040 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23041 multiarch implementation.
23042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
23043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
23044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
23046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
23047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
23048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
23049 multiarch isnan for PPC64.
23050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
23051 multiarch isnanf for PPC64.
23053 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
23054 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
23055 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
23056 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
23057 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
23058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
23060 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
23061 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23062 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23063 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23065 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
23066 multiarch implementations.
23067 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23068 (__libc_ifunc_impl_list): Likewise.
23069 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
23070 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
23071 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
23072 multiarch stpcpy for PPC64.
23074 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
23075 multiarch implementations.
23076 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23077 (__libc_ifunc_impl_list): Likewise.
23078 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
23079 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
23080 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
23081 multiarch strcpy for PPC64.
23083 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
23084 redefine function name.
23085 (_wordcopy_fwd_dest_aligned): Likewise.
23086 (_wordcopy_bwd_aligned): Likewise.
23087 (_wordcopy_bwd_dest_aligned): Likewise.
23088 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
23089 multiarch implementations.
23090 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23091 (__libc_ifunc_impl_list): Likewise.
23092 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
23093 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
23094 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
23095 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
23096 multiarch wcscpy for PPC64.
23098 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
23099 multiarch implementations.
23100 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23101 (__libc_ifunc_impl_list): Likewise.
23102 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
23103 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
23104 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
23105 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
23106 multiarch wcscpy for PPC64.
23108 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
23109 multiarch implementations.
23110 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23111 (__libc_ifunc_impl_list): Likewise.
23112 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
23113 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
23114 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
23115 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
23116 multiarch wcsrchr for PPC64.
23118 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
23119 multiarch implementations.
23120 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23121 (__libc_ifunc_impl_list): Likewise.
23122 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
23123 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
23124 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
23125 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
23126 multiarch wcschr for PPC64.
23128 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
23129 multiarch implementations.
23130 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23131 (__libc_ifunc_impl_list): Likewise.
23132 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
23133 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
23134 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
23135 multiarch strchrnul for PPC64.
23137 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
23139 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23140 (__libc_ifunc_impl_list): Likewise.
23141 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
23142 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
23143 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
23144 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
23147 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
23149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23150 (__libc_ifunc_impl_list): Likewise.
23151 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
23152 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
23153 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
23154 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
23157 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
23158 multiarch implementations.
23159 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23160 (__libc_ifunc_impl_list): Likewise.
23161 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
23162 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
23163 strncasecmp for PPC64.
23164 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
23165 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
23166 multiarch strncasecmp_l for PPC64.
23168 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
23169 multiarch implementations.
23170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23171 (__libc_ifunc_impl_list): Likewise.
23172 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
23173 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
23174 multiarch strcasecmp for PPC64.
23175 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
23177 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
23178 multiarch strcasecmp_l for PPC64.
23180 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
23182 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23183 (__libc_ifunc_impl_list): Likewise.
23184 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
23185 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
23186 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
23189 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
23191 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23192 (__libc_ifunc_impl_list): Likewise.
23193 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
23194 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
23195 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
23198 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
23200 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23201 (__libc_ifunc_impl_list): Likewise.
23202 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
23203 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
23204 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
23205 rawmemrchr for PPC64.
23207 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
23209 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23210 (__libc_ifunc_impl_list): Likewise.
23211 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
23212 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
23213 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
23216 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
23218 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23219 (__libc_ifunc_impl_list): Likewise.
23220 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
23221 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
23222 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
23225 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
23227 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23228 (__libc_ifunc_impl_list): Likewise.
23229 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
23230 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
23231 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
23234 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
23235 avoid cretion of __bzero symbol.
23236 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
23238 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
23240 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
23242 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
23243 multiarch implementations.
23244 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23245 (__libc_ifunc_impl_list): Likewise.
23246 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
23247 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
23248 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
23249 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
23251 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
23252 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
23253 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
23254 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
23255 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
23257 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
23259 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
23260 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
23262 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23263 (__libc_ifunc_impl_list): Likewise.
23264 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
23265 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
23266 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
23267 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
23270 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
23271 multiarch for POWER/PPC64.
23272 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23273 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
23274 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
23275 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
23276 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
23277 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
23278 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
23279 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
23280 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
23283 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
23284 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
23285 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
23286 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
23287 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
23288 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
23289 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
23290 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
23291 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
23292 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
23293 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
23294 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
23295 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
23296 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
23297 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
23298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
23299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
23300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
23301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
23302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
23303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
23304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
23306 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23308 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
23310 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23312 * benchtests/Makefile (bench): Add exp2 and log2.
23313 (LDLIBS-bench-exp2): Add -lm.
23314 (LDLIBS-bench-log2): Likewise.
23315 * benchtests/exp2-inputs: New inputs file.
23316 * benchtests/log2-inputs: New inputs file.
23317 * benchtests/log-inputs: Add new inputs.
23318 * benchtests/tan-inputs: Likewise.
23320 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23322 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
23324 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
23325 (csloww2): ... from here.
23327 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
23328 instead of structures.
23329 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
23330 (POLYNOMIAL): Likewise.
23331 (TAYLOR_SLOW): Likewise.
23337 (sloww1); Likewise.
23338 (sloww2): Likewise.
23339 (bsloww1): Likewise.
23340 (bsloww2): Likewise.
23341 (cslow2): Likewise.
23342 (csloww): Likewise.
23343 (csloww1): Likewise.
23344 (csloww2): Likewise.
23346 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
23348 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
23349 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
23350 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
23351 * malloc/hooks.c (realloc_check): Likewise.
23353 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
23354 * malloc/arena.c: Remove PER_THREAD conditional.
23355 [!PER_THREAD]: Remove code.
23356 (ptmalloc_unlock_all2): Likewise.
23357 (ptmalloc_init): Likewise.
23358 (_int_new_arena): Likewise.
23359 (arena_get2): Likewise.
23360 * malloc/hooks.c (__malloc_get_state): Likewise.
23361 (__malloc_set_state): Likewise.
23362 * malloc/malloc.c: Likewise.
23363 (struct malloc_state): Likewise.
23364 (struct malloc_par): Likewise.
23365 (__libc_realloc): Likewise.
23366 (__libc_mallopt): Likewise.
23368 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23370 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
23372 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
23374 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
23375 macro to a function. Check for zero perturb_byte.
23376 (_int_malloc, _int_free): Remove zero perturb_byte checks.
23378 * malloc/malloc.c: (force_reg): Remove.
23379 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
23380 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
23381 force_reg by atomic_forced_read.
23382 * malloc/arena.c (ptmalloc_init): Likewise.
23383 * malloc/hooks.c (top_check): Likewise.
23385 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23387 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23389 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
23391 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23393 2013-12-08 Joseph Myers <joseph@codesourcery.com>
23395 * math/auto-libm-test-in: Add tests of lgamma.
23396 * math/auto-libm-test-out: Regenerated.
23397 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
23398 (M_LOG_2_SQRT_PIl): Likewise.
23399 (lgamma_test_data): Use AUTO_TESTS_f_f1.
23400 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23402 (func_calc_desc): Add mpfr_f_f1 union field.
23403 (ARGS1): New macro.
23411 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
23412 (test_functions): Add lgamma.
23413 (calc_generic_results): Handle mpfr_f_f1.
23414 * sysdeps/i386/fpu/libm-test-ulps: Update.
23415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23417 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23419 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
23420 __mpn_add_n for PowerPC64/POWER7.
23421 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
23422 __mpn_sub_n for PowerPC64/POWER7.
23424 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
23425 __mpn_addmul_1 for PowerPC64.
23426 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
23427 __mpn_submul_1 for PowerPC64.
23428 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
23430 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
23433 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
23436 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
23438 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23440 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
23442 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
23443 add multiarch folders.
23444 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
23445 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
23446 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
23447 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
23448 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
23449 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
23450 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
23451 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
23452 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
23453 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
23454 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
23455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
23456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
23457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
23458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
23459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
23460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
23462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23463 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
23464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
23466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
23468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
23469 multiarch __ieee754_hypot for PowerPC32.
23470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
23472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
23474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
23475 multiarch __ieee754_hypotf for PowerPC32.
23477 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
23478 long_double_symbol only if __logbl is defined.
23479 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
23480 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
23481 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
23482 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
23483 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
23484 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
23485 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
23486 path for implementation.
23487 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
23488 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
23489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
23490 logb, and logbl multiarch implementations for PowerPC32.
23491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
23493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
23495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
23496 multiarch logb for PowerPC32.
23497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
23499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
23501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
23502 multiarch logbf for PowerPC32.
23503 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
23504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
23506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
23507 multiarch logbl implementation for PowerPC32.
23509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
23510 and modff multiarch implementations.
23511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
23513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
23515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
23516 multiarch modf for PowerPC32.
23517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
23519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
23521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
23522 multiarch modff for PowerPC32.
23524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
23525 and lrintf multiarch implementations.
23526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
23528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
23530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
23531 multiarch lrint for PowerPC32.
23532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
23533 file: multiarch lrintf for PowerPC32.
23535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
23536 and lroundf multiarch implementations.
23537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
23539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
23541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
23543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
23544 multiarch lround for PowerPC32.
23545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
23546 file: multiarch lroundf for PowerPC32.
23548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23549 copysign and copysignf multiarch implementations.
23550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
23552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
23554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
23555 file: multiarch copysign for PowerPC32.
23556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
23557 file: multiarch copysignf for PowerPC32.
23559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
23560 and truncf multiarch implementations.
23561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
23563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
23565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
23566 multiarch trunc for PowerPC32.
23567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
23569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
23571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
23572 multiarch truncf for PowerPC32.
23574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
23575 and roundf multiarch implementations.
23576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
23578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
23580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
23581 multiarch round for PowerPC32.
23582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
23584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
23586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
23587 multiarch roundf for PowerPC32.
23589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
23590 and floorf multiarch implementations.
23591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
23593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
23595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
23596 multiarch floor for PowerPC32.
23597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
23599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
23601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
23602 multiarch floorf for PowerPC32.
23604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
23605 and ceilf multiarch implementations.
23606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
23608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
23610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
23611 multiarch ceil for PowerPC32.
23612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
23614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
23616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
23617 multiarch ceilf for PowerPC32.
23619 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
23621 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
23622 FINITEF is defined.
23623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
23624 and finitef multiarch implementations.
23625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
23627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
23629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
23630 multiarch finite for PowerPC32.
23631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
23633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
23634 file: multiarch finitef for PowerPC32.
23636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
23637 and isinff multiarch implementations.
23638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
23640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
23642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
23643 multiarch isinf for PowerPC32.
23644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
23646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
23647 multiarch isinff for PowerPC32.
23649 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
23650 alias when __isnan is defined.
23651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
23652 and isnanf multiarch implementations.
23653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
23655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
23657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
23659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
23661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
23662 multiarch isnan for PowerPC32.
23663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
23665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
23667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
23668 multiarch isnanf for PowerPC32.
23670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
23671 and sqrtf multiarch implementations.
23672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
23674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
23676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
23677 multiarch sqrt for PowerPC32.
23678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
23680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
23682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
23683 multiarch sqrtf for PowerPC32.
23685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
23686 and llroundf multiarch implementations.
23687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
23689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
23691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
23693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
23694 file: multiarch llround for PowerPC32.
23695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
23696 file: multiarch llroundf for PowerPC32.
23698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
23699 multiarch PowerPC32 fpu implementations.
23700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
23702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
23704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
23705 multiarch llrint for PowerPC32.
23706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
23708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
23710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
23713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
23715 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
23717 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
23719 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
23721 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
23722 multiarch wordcopy for PPC32.
23723 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23725 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23726 (__libc_ifunc_impl_list): Likewise.
23727 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
23728 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
23729 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
23730 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
23731 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
23732 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
23734 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
23735 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
23737 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
23739 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
23741 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
23742 multiarch wcscpy for PPC32.
23743 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23745 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23746 (__libc_ifunc_impl_list): Likewise.
23747 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23748 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23749 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
23750 sysdeps/powerpc/power6/wcscpy.c.
23752 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
23753 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
23755 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
23757 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
23759 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
23760 multiarch wcsrchr for PPC32.
23761 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23763 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23764 (__libc_ifunc_impl_list): Likewise.
23765 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23766 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23767 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
23768 sysdeps/powerpc/power6/wcsrchr.c.
23770 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
23772 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
23774 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
23775 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
23776 multiarch wcschr for PPc32.
23777 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23779 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23780 (__libc_ifunc_impl_list): Likewise.
23781 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
23782 * sysdeps/powerpc/power6/wcschr.c: ... to here.
23783 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
23784 sysdeps/powerpc/power6/wcschr.c.
23786 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
23787 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
23789 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
23790 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
23791 file: multiarch strchr for PPC32.
23792 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
23794 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23795 (__libc_ifunc_impl_list): Likewise.
23797 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
23799 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
23801 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
23803 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
23804 multiarch strchrnul for PPC32.
23805 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
23807 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23808 (__libc_ifunc_impl_list): Likewise.
23810 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
23812 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
23813 multiarch strncasecmp for PPC32.
23814 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
23816 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
23817 multiarch strncasecmp_l for PPC32.
23818 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
23819 strncasecmp multiarch objects.
23820 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23821 (__libc_ifunc_impl_list): Likewise.
23823 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
23825 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
23826 multiarch strncasecmp for PPC32.
23827 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
23829 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
23830 multiarch strcasecmp_l for PPC32.
23831 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
23833 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23834 (__libc_ifunc_impl_list): Likewise.
23836 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
23838 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
23840 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
23841 multiarch strncmp for PPC32.
23842 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
23844 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23845 (__libc_ifunc_impl_list): Likewise.
23847 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
23848 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
23850 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
23851 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
23852 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
23854 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23855 (__libc_ifunc_impl_list): Likewise.
23857 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
23859 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
23861 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
23862 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
23864 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23865 (__libc_ifunc_impl_list): Likewise.
23867 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
23869 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
23871 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
23872 multiarch rawmemchr for PPC32.
23873 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
23875 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23876 (__libc_ifunc_impl_list): Likewise.
23878 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
23880 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
23882 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
23883 file: memrchr multiarch for PPC32.
23884 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
23886 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23887 (__libc_ifunc_impl_list): Likewise.
23889 * string/memchr.c (__memchr): Using macro to redefine symbol name.
23890 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
23892 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
23893 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
23894 multiarch memchr for PPC32.
23895 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
23897 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23898 (__libc_ifunc_impl_list): Likewise.
23900 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
23901 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
23903 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
23905 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
23906 file: multiarch mempcpy for PPC32.
23907 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
23909 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23910 (__libc_ifunc_impl_list): Likewise.
23912 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
23913 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
23914 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
23915 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
23916 multiarch bzero for PPC32.
23917 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
23919 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
23921 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
23922 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
23923 file: multiarch memset for PPC32.
23924 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
23925 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
23926 memset multiarch objects.
23927 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23928 (__libc_ifunc_impl_list): Likewise.
23930 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
23932 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
23933 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
23935 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
23936 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
23938 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23939 (__libc_ifunc_impl_list): Likewise.
23941 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
23942 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
23943 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
23945 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
23947 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
23949 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
23950 multiarch memcpy for PPC32.
23951 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
23953 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23954 (__libc_ifunc_impl_list): Likewise.
23956 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
23957 support multiarch for POWER/PPC32.
23958 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
23960 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
23961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
23962 Implies file to make multiarch folder appers before the fpu and
23963 default folder for power4 configuration.
23965 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23967 * scripts/bench.pl: Append volatile keyword to type.
23969 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23971 * sysdeps/sh/sotruss-lib.c: New file.
23972 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
23974 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23978 2013-12-05 Joseph Myers <joseph@codesourcery.com>
23981 * math/w_tgamma.c: Include <errno.h>.
23982 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
23983 * math/w_tgammaf.c: Include <errno.h>.
23984 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
23985 * math/w_tgammal.c: Include <errno.h>.
23986 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
23987 * math/auto-libm-test-in: Do not allow missing errno on tgamma
23988 underflow. Add more tgamma tests.
23989 * math/auto-libm-test-out: Regenerated.
23990 * sysdeps/i386/fpu/libm-test-ulps: Update.
23991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23993 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
23994 sin, sinh, tan, tanh, tgamma, y0 and y1.
23995 * math/auto-libm-test-out: Regenerated.
23996 * math/libm-test.inc (TEST_COND_x86_64): New macro.
23997 (TEST_COND_x86): Likewise.
23998 (M_E2l): Remove macro.
24000 (M_2_SQRT_PIl): Likewise.
24001 (M_SQRT_PIl): Likewise.
24002 (M_1_DIV_El): Likewise.
24003 (log_test_data): Use AUTO_TESTS_f_f.
24004 (log10_test_data): Likewise.
24005 (log1p_test_data): Likewise.
24006 (log2_test_data): Likewise.
24007 (sin_test_data): Likewise.
24008 (sin_tonearest_test_data): Likewise.
24009 (sin_towardzero_test_data): Likewise.
24010 (sin_downward_test_data): Likewise.
24011 (sin_upward_test_data): Likewise.
24012 (sinh_test_data): Likewise.
24013 (sinh_tonearest_test_data): Likewise.
24014 (sinh_towardzero_test_data): Likewise.
24015 (sinh_downward_test_data): Likewise.
24016 (sinh_upward_test_data): Likewise.
24017 (tan_test_data): Likewise.
24018 (tan_tonearest_test_data): Likewise.
24019 (tan_towardzero_test_data): Likewise.
24020 (tan_downward_test_data): Likewise.
24021 (tan_upward_test_data): Likewise.
24022 (tanh_test_data): Likewise.
24023 (tgamma_test_data): Likewise.
24024 (y0_test_data): Likewise.
24025 (y1_test_data): Likewise.
24026 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
24027 (special_real_inputs): Add pi/4.
24028 * sysdeps/i386/fpu/libm-test-ulps: Update.
24029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24031 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24033 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
24034 "longjmp_target" static probes.
24035 (__longjmp): Rename to __longjmp_symbol.
24036 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24037 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
24038 on which longjmp to generate.
24039 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24040 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
24042 (__sigsetjmp): Rename to __sigsetjmp_symbol.
24043 (__sigjmp_save): Rename to __sigjmp_save_symbol.
24044 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24045 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
24046 and __sigjmp_save_symbol based on which sigsetjmp to generated.
24047 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
24048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
24049 __longjmp_symbol based on which __longjmp to generate.
24050 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
24052 (setjmp): Rename to setjmp_symbol.
24053 (__sigsetjmp): Rename to __sigsetjmp_symbol.
24054 (_setjmp): Rename to _setjmp_symbol.
24055 (__sigsetjmp): Rename to __sigsetjmp_symbol.
24056 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
24057 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
24058 which setjmp to generate.
24059 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
24060 "longjmp_target" static probes.
24062 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24064 * benchtests/README: Add note about output arguments.
24065 * benchtests/bench-sincos.c: Remove file.
24066 * benchtests/sincos-inputs: New file.
24067 * scripts/bench.pl: Identify output arguments and define
24068 static variables for them.
24070 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
24073 * Makefile (INSTALL): Add install-plain.texi as the primary
24075 * manual/install-plain.texi: New file.
24076 * manual/install.texi: Include node directive only for
24077 non-plaintext output.
24079 2013-12-04 Joseph Myers <joseph@codesourcery.com>
24081 * stdlib/longlong.h: Update from GCC.
24085 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
24086 * math/w_j0f.c (y0f): Likewise.
24087 * math/w_j0l.c (__y0l): Likewise.
24088 * math/w_j1.c (y1): Likewise.
24089 * math/w_j1f.c (y1f): Likewise.
24090 * math/w_j1l.c (__y1l): Likewise
24091 * math/w_jn.c (yn): Likewise.
24092 * math/w_jnf.c (ynf): Likewise.
24093 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
24094 Bessel function pole errors in _POSIX_ mode. Use NAN as return
24095 value for Bessel function domain errors outside _SVID_ mode.
24096 Adjust sign of return value for yn (negative integer, 0).
24097 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
24098 by zero in return for negative x and set sign appropriately for
24100 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
24101 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24102 * math/libm-test.inc (y0_test_data): Add more tests and adjust
24103 expectations in error cases.
24104 (y1_test_data): Likewise.
24105 (yn_test_data): Likewise.
24106 * sysdeps/i386/fpu/libm-test-ulps: Update.
24107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24109 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24111 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
24112 "64" to "64-v1". Add "64-v2".
24113 (abi-64-options): Rename to ...
24114 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
24115 (abi-64-condition): Rename to ...
24116 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
24117 (abi-64-ld-soname): Rename to ...
24118 (abi-64-v1-ld-soname): ... this.
24119 (abi-64-v2-options): Define.
24120 (abi-64-v2-condition): Likewise.
24121 (abi-64-v2-ld-soname): Likewise.
24122 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
24123 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
24124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
24125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
24126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
24128 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24129 Alan Modra <amodra@gmail.com>
24131 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
24132 New versions for use with the ELFv2 ABI.
24133 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
24134 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
24136 (struct La_ppc64v2_retval): Likewise.
24137 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
24138 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
24139 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
24140 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
24141 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
24142 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24143 Do not save or restore CR.
24144 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
24145 (_dl_profile_resolve): Do no save or restore CR. Support extended
24146 return values for ELFv2 ABI. Fix location of FPR return registers.
24147 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
24148 updated values for _CALL_ELF == 2.
24149 (La_regs, La_retval, int_retval): Likewise.
24151 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24153 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
24154 (FRAME_MIN_SIZE_PARM): Likewise.
24155 (FRAME_BACKCHAIN): Likewise.
24156 (FRAME_CR_SAVE): Likewise.
24157 (FRAME_LR_SAVE): Likewise.
24158 (FRAME_TOC_SAVE): Likewise.
24159 (FRAME_PARM_SAVE): Likewise.
24160 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
24161 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
24162 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24163 (call_mcount_parm_offset): New macro.
24164 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
24165 (PROF): Use symbolic stack frame offsets.
24166 (TAIL_CALL_SYSCALL_ERROR): Likewise.
24167 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
24168 Redefine in terms of FRAME_MIN_SIZE.
24169 (_dl_runtime_resolve): Use symbolic stack frame offsets.
24170 (_dl_profile_resolve): Likewise. Update comment.
24171 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
24172 symbols stack frame offsets.
24173 (__sigsetjmp): Likewise.
24174 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
24175 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
24176 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
24177 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
24179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
24180 (FRAME_BACKCHAIN): Remove.
24181 (FRAME_CR_SAVE): Likewise.
24182 (FRAME_LR_SAVE): Likewise.
24183 (FRAME_COMPILER_DW): Likewise.
24184 (FRAME_LINKER_DW): Likewise.
24185 (FRAME_TOC_SAVE): Likewise.
24186 (FRAME_PARM_SAVE): Likewise.
24187 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
24188 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
24189 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
24191 (CHECK_SP): Use symbolic stack frame offsets.
24192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
24193 zone" instead of caller's parameter save area for temp storage.
24194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24195 Likewise. Also, use symbolic stack frame offsets.
24196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
24197 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
24198 our own stack frame instead of the caller's.
24199 (__socket): Use symbolic stack frame offsets.
24201 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24202 Alan Modra <amodra@gmail.com>
24204 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
24206 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
24207 (PPC64_LOCAL_ENTRY_OFFSET): Define.
24208 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
24210 (elf_machine_fixup_plt): Call it.
24211 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
24213 (elf_machine_rela): Update call to elf_machine_plt_conflict.
24214 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24215 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
24216 r2 before calling target.
24218 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24219 Alan Modra <amodra@gmail.com>
24221 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
24222 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
24223 versions of macros to support ELFv2 ABI.
24224 (LOCALENTRY): New macro.
24225 (ENTRY, EALIGN): Use it.
24226 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
24227 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
24228 fall through into ENTRY entry point.
24229 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
24230 Only define if _CALL_ELF != 2.
24232 (elf_machine_matches_host): Verify ABI version matches.
24233 (RTLD_START): Use LOCALENTRY.
24234 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
24235 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
24236 (PLT_ENTRY_WORDS): New macro.
24237 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
24238 (elf_machine_runtime_setup): Support ELFv2 ABI.
24239 (elf_machine_fixup_plt): Likewise.
24240 (elf_machine_plt_conflict): Likewise.
24241 (resolve_ifunc): Likewise.
24242 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24243 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
24245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
24246 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
24247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24248 (makecontext): Support ELFv2 ABI.
24249 * elf/elf.h (EF_PPC64_ABI): Define.
24251 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24253 * sysdeps/powerpc/powerpc64/sysdep.h
24254 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
24255 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
24256 (ENTRY) [ASSEMBLER]: ... but instead here ...
24257 (EALIGN) [ASSEMBLER]: ... and here.
24258 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
24259 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
24260 (ENTRY_2) [!ASSEMBLER]: Use it.
24261 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
24262 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
24263 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24264 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
24265 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
24266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
24267 Use PPC64_LOAD_FUNCPTR.
24269 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
24271 2013-12-04 Alan Modra <amodra@gmail.com>
24273 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
24274 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
24275 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
24276 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
24278 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
24279 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
24280 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
24281 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
24282 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
24283 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
24285 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24288 (__makecontext): Fix incorrect CFI when backtracing out of
24289 context created via makecontext.
24290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
24291 (__setcontext): Fix incorrect CFI during switch to new context.
24292 (__novec_setcontext): Likewise.
24294 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
24297 * time/strptime_l.c (__strptime_internal): Allow modifiers
24299 * time/tst-strptime.c (day_tests): Add testcase.
24301 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24303 * scripts/bench.pl: Skip over blank lines.
24305 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
24308 * manual/time.texi (Calendar Time): Clarify what timezone functions
24311 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24315 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
24317 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
24319 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
24320 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
24321 * debug/memset_chk.c (__memset_chk): Likewise.
24322 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
24323 * debug/strncpy_chk.c: Likewise.
24325 2013-12-03 Joseph Myers <joseph@codesourcery.com>
24329 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
24330 (__ieee754_exp): For possibly underflowing results, check size of
24331 result and force underflow exception if required.
24332 * math/auto-libm-test-in: Add more tests of exp.
24333 * math/auto-libm-test-out: Regenerated.
24334 * sysdeps/i386/fpu/libm-test-ulps: Update.
24335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24338 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
24339 * math/w_exp2f.c (__exp2f): Likewise.
24340 * math/w_exp2l.c (__exp2l): Likewise.
24341 * math/auto-libm-test-in: Do not allow missing errno on exp2
24343 * math/auto-libm-test-out: Regenerated.
24345 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
24348 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
24349 handle filename validation.
24350 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
24353 2013-12-03 Joseph Myers <joseph@codesourcery.com>
24356 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
24357 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
24358 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
24360 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
24361 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
24362 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24363 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
24364 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24365 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
24366 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24367 * math/auto-libm-test-in: Don't allow missing errno from erfc.
24368 Add more erfc tests.
24369 * math/auto-libm-test-out: Regenerated.
24370 * sysdeps/i386/fpu/libm-test-ulps: Update.
24371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24373 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
24374 exp2, expm1, j0 and j1.
24375 * math/auto-libm-test-out: Regenerated.
24376 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
24377 (erfc_test_data): Likewise.
24378 (exp_test_data): Likewise.
24379 (exp_tonearest_test_data): Likewise.
24380 (exp_towardzero_test_data): Likewise.
24381 (exp_downward_test_data): Likewise.
24382 (exp_upward_test_data): Likewise.
24383 (exp10_test_data): Likewise.
24384 (exp2_test_data): Likewise.
24385 (expm1_test_data): Likewise.
24386 (j0_test_data): Likewise.
24387 (j1_test_data): Likewise.
24388 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
24389 (input_flag_type): Add flag_xfail_rounding.
24390 (input_flags): Add xfail-rounding.
24391 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
24392 (output_for_one_input_case): Handle flag_xfail_rounding.
24393 * sysdeps/i386/fpu/libm-test-ulps: Update.
24394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24396 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
24399 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
24402 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24405 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
24406 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
24407 (STAP_PROBE0): New macro.
24408 (STAP_PROBE1): Likewise.
24409 (STAP_PROBE2): Likewise.
24410 (STAP_PROBE3): Likewise.
24411 (STAP_PROBE4): Likewise.
24413 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
24415 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
24417 2013-12-02 Steve Ellcey <sellcey@mips.com>
24419 * benchtests/Makefile (bench): Add sqrt.
24420 (LDLIBS-bench-sqrt): New.
24421 * benchtests/sqrt-input: New.
24423 2013-12-02 Pavel Simerda <psimerda@redhat.com>
24425 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
24426 (GAIH_EAI): Likewise.
24427 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
24428 (gaih_inet): Likewise.
24429 (getaddrinfo): Don't use GAIH_EAI.
24431 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
24432 (struct gaih): Remove definition.
24434 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24436 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
24437 Use HERRNOP directly.
24439 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24443 2013-11-30 Joseph Myers <joseph@codesourcery.com>
24445 * math/gen-auto-libm-tests.c (test_functions): Add more
24446 single-argument functions.
24447 (special_fill_pi_2): New function.
24448 (special_fill_minus_pi_2): Likewise.
24449 (special_fill_pi_6): Likewise.
24450 (special_fill_minus_pi_6): Likewise.
24451 (special_fill_pi_3): Likewise.
24452 (special_fill_2pi_3): Likewise.
24453 (special_fill_e): Likewise.
24454 (special_fill_1_e): Likewise.
24455 (special_fill_e_minus_1): Likewise.
24456 (special_real_inputs): Add more special inputs.
24457 (output_for_one_input_case): Do not require ERANGE on underflow to
24458 zero if round-to-nearest result does not underflow to zero, unless
24459 exact results required.
24460 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
24461 atan, atanh, cbrt, cos and cosh.
24462 * math/auto-libm-test-out: Regenerated.
24463 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
24464 (acos_tonearest_test_data): Likewise.
24465 (acos_towardzero_test_data): Likewise.
24466 (acos_downward_test_data): Likewise.
24467 (acos_upward_test_data): Likewise.
24468 (acosh_test_data): Likewise.
24469 (asin_test_data): Likewise.
24470 (asin_tonearest_test_data): Likewise.
24471 (asin_towardzero_test_data): Likewise.
24472 (asin_upward_test_data): Likewise.
24473 (asinh_test_data): Likewise.
24474 (atan_test_data): Likewise.
24475 (atanh_test_data): Likewise.
24476 (cbrt_test_data): Likewise.
24477 (cos_test_data): Likewise.
24478 (cos_tonearest_test_data): Likewise.
24479 (cos_towardzero_test_data): Likewise.
24480 (cos_downward_test_data): Likewise.
24481 (cos_upward_test_data): Likewise.
24482 (cosh_test_data): Likewise.
24483 (cosh_tonearest_test_data): Likewise.
24484 (cosh_towardzero_test_data): Likewise.
24485 (cosh_downward_test_data): Likewise.
24486 (cosh_upward_test_data): Likewise.
24487 * sysdeps/i386/fpu/libm-test-ulps: Update.
24488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24490 2013-11-29 Joseph Myers <joseph@codesourcery.com>
24493 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
24494 * math/w_exp10f.c (__exp10f): Likewise.
24495 * math/w_exp10l.c (__exp10l): Likewise.
24496 * math/libm-test.inc (exp10_test_data): Add more tests and expect
24497 errno settings in existing tests.
24500 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
24501 precision control set to double precision.
24502 * sysdeps/i386/fpu/w_sqrt.c: New file.
24503 * math/auto-libm-test-in: Add more tests.
24504 * math/auto-libm-test-out: Update.
24506 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
24507 (sqrt_test_tonearest): New function.
24508 (sqrt_towardzero_test_data): New variable.
24509 (sqrt_test_towardzero): New function.
24510 (sqrt_downward_test_data): New variable.
24511 (sqrt_test_downward): New function.
24512 (sqrt_upward_test_data): New variable.
24513 (sqrt_test_upward): New function.
24514 (main): Call the new functions.
24516 * math/gen-auto-libm-tests.c: New file.
24517 * math/auto-libm-test-in: Likewise.
24518 * math/auto-libm-test-out: New generated file.
24519 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
24521 (%beautify): Add generated representations of zero.
24522 (top level): Set $auto_input and call parse_auto_input.
24523 (beautify): Remove trailing "f" from hex float constants.
24524 (parse_args): Handle XFAIL_TEST.
24525 (convert_condition): New function.
24526 (or_value): Likewise.
24527 (or_cond_value): Likewise.
24528 (generate_testfile): Handle AUTO_TESTS_* lines.
24529 (parse_auto_input): New function.
24530 * math/libm-test.inc (XFAIL_TEST): New macro.
24531 (ERRNO_UNCHANGED): Update value.
24532 (ERRNO_EDOM): Likewise.
24533 (ERRNO_ERANGE): Likewise.
24534 (IGNORE_RESULT): Likewise.
24535 (TEST_COND_flt_32): New macro.
24536 (TEST_COND_dbl_64): Likewise.
24537 (TEST_COND_ldbl_96_intel): Likewise.
24538 (TEST_COND_ldbl_96_m68k): Likewise.
24539 (TEST_COND_ldbl_128): Likewise.
24540 (TEST_COND_ldbl_128ibm): Likewise.
24541 (TEST_COND_long32): Likewise.
24542 (TEST_COND_long64): Likewise.
24543 (TEST_COND_before_rounding): Likewise.
24544 (TEST_COND_after_rounding): Likewise.
24545 (enable_test): Handle XFAIL_TEST flag.
24546 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
24547 with finite results.
24548 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
24549 auto-libm-test-out.
24551 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24552 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24555 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
24556 __tls_get_addr_internal instead of __tls_get_offset in order to
24557 avoid GOT pointer dependency. Make rtld export
24558 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
24559 __tls_get_addr since we are a __tls_get_offset platform.
24560 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
24561 GOT pointer being set up before.
24562 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
24564 2013-11-28 Joseph Myers <joseph@codesourcery.com>
24566 * manual/math.texi (Errors in Math Functions): Document accuracy
24570 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
24571 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
24572 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24573 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24574 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24575 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24576 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24577 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24578 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24579 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24580 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24581 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24582 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24583 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24584 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24585 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24587 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
24588 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
24589 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
24590 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
24591 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
24593 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
24595 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
24597 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
24598 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
24599 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
24600 atomic-feupdateenv and flt-rounds.
24601 * sysdeps/powerpc/nofpu/Versions (libc): Add
24602 __atomic_feholdexcept, __atomic_feclearexcept,
24603 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
24604 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
24605 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
24606 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
24607 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
24609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24612 * manual/arith.texi (FP Exceptions): Document that exceptions may
24613 not be raised when matherr is used.
24614 (Math Error Reporting): Document overflow in directed rounding
24615 modes. Document that errno may not be set when finite values are
24616 returned on overflow. Document intent to set errno on underflow
24617 only for underflow to zero.
24620 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
24621 round-to-nearest then adjust result for other rounding modes.
24622 * include/fenv.h (fegetround): Use libm_hidden_proto.
24623 * math/fegetround.c (fegetround): Use libm_hidden_def.
24624 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24625 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24626 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24627 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24629 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
24630 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24631 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24632 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
24634 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24637 * nss/Versions (libnss_files): Add
24638 _nss_files_gethostbyname3_r.
24639 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
24641 (HOST_DB_LOOKUP): Remove macro.
24642 (_nss_files_gethostbyname_r): Implement function without the
24643 HOST_DB_LOOKUP macro.
24644 (_nss_files_gethostbyname2_r): Likewise.
24646 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
24648 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
24650 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
24652 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
24653 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
24656 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24658 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
24659 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
24660 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
24661 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24662 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
24663 __fe_nomask_env_priv and attribute_hidden.
24664 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
24665 (libc_feupdateenv_test_ppc): Likewise.
24666 (libc_feresetround_ppc): Likewise.
24667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24668 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
24669 compat_symbol macro.
24670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24671 (__fe_nomask_env): Likewise.
24672 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
24674 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24676 * string/Makefile: Remove ifunc tests.
24677 * string/test-string.h: Define TEST_IFUNC.
24678 * string/test-bcopy-ifunc.c: Remove.
24679 * string/test-bzero-ifunc.c: Likewise.
24680 * string/test-memccpy-ifunc.c: Likewise.
24681 * string/test-memchr-ifunc.c: Likewise.
24682 * string/test-memcmp-ifunc.c: Likewise.
24683 * string/test-memcpy-ifunc.c: Likewise.
24684 * string/test-memmem-ifunc.c: Likewise.
24685 * string/test-memmove-ifunc.c: Likewise.
24686 * string/test-mempcpy-ifunc.c: Likewise.
24687 * string/test-memrchr-ifunc.c: Likewise.
24688 * string/test-memset-ifunc.c: Likewise.
24689 * string/test-rawmemchr-ifunc.c: Likewise.
24690 * string/test-stpcpy-ifunc.c: Likewise.
24691 * string/test-stpncpy-ifunc.c: Likewise.
24692 * string/test-strcasecmp-ifunc.c: Likewise.
24693 * string/test-strcasestr-ifunc.c: Likewise.
24694 * string/test-strcat-ifunc.c: Likewise.
24695 * string/test-strchr-ifunc.c: Likewise.
24696 * string/test-strchrnul-ifunc.c: Likewise.
24697 * string/test-strcmp-ifunc.c: Likewise.
24698 * string/test-strcpy-ifunc.c: Likewise.
24699 * string/test-strcspn-ifunc.c: Likewise.
24700 * string/test-strlen-ifunc.c: Likewise.
24701 * string/test-strncasecmp-ifunc.c: Likewise.
24702 * string/test-strncat-ifunc.c: Likewise.
24703 * string/test-strncmp-ifunc.c: Likewise.
24704 * string/test-strncpy-ifunc.c: Likewise.
24705 * string/test-strnlen-ifunc.c: Likewise.
24706 * string/test-strpbrk-ifunc.c: Likewise.
24707 * string/test-strrchr-ifunc.c: Likewise.
24708 * string/test-strspn-ifunc.c: Likewise.
24709 * string/test-strstr-ifunc.c: Likewise.
24711 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24713 * benchtests/Makefile: Remove ifunc tests.
24714 * benchtests/bench-string.h: Define TEST_IFUNC.
24715 * benchtests/bench-bcopy-ifunc.c: Remove.
24716 * benchtests/bench-bzero-ifunc.c: Likewise.
24717 * benchtests/bench-memccpy-ifunc.c: Likewise.
24718 * benchtests/bench-memchr-ifunc.c: Likewise.
24719 * benchtests/bench-memcmp-ifunc.c: Likewise.
24720 * benchtests/bench-memcpy-ifunc.c: Likewise.
24721 * benchtests/bench-memmem-ifunc.c: Likewise.
24722 * benchtests/bench-memmove-ifunc.c: Likewise.
24723 * benchtests/bench-mempcpy-ifunc.c: Likewise.
24724 * benchtests/bench-memrchr-ifunc.c: Likewise.
24725 * benchtests/bench-memset-ifunc.c: Likewise.
24726 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
24727 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
24728 * benchtests/bench-stpcpy-ifunc.c: Likewise.
24729 * benchtests/bench-stpncpy-ifunc.c: Likewise.
24730 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
24731 * benchtests/bench-strcasestr-ifunc.c: Likewise.
24732 * benchtests/bench-strcat-ifunc.c: Likewise.
24733 * benchtests/bench-strchr-ifunc.c: Likewise.
24734 * benchtests/bench-strchrnul-ifunc.c: Likewise.
24735 * benchtests/bench-strcmp-ifunc.c: Likewise.
24736 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
24737 * benchtests/bench-strcpy-ifunc.c: Likewise.
24738 * benchtests/bench-strcspn-ifunc.c: Likewise.
24739 * benchtests/bench-strlen-ifunc.c: Likewise.
24740 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
24741 * benchtests/bench-strncat-ifunc.c: Likewise.
24742 * benchtests/bench-strncmp-ifunc.c: Likewise.
24743 * benchtests/bench-strncpy-ifunc.c: Likewise.
24744 * benchtests/bench-strnlen-ifunc.c: Likewise.
24745 * benchtests/bench-strpbrk-ifunc.c: Likewise.
24746 * benchtests/bench-strrchr-ifunc.c: Likewise.
24747 * benchtests/bench-strsep-ifunc.c: Likewise.
24748 * benchtests/bench-strspn-ifunc.c: Likewise.
24749 * benchtests/bench-strstr-ifunc.c: Likewise.
24751 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24753 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
24755 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24757 * resolv/netdb.h: Use __glibc_reserved instead __unused.
24758 * rt/aio.h: Likewise.
24759 * sysdeps/gnu/bits/utmp.h: Likewise.
24760 * sysdeps/gnu/bits/utmpx.h: Likewise.
24761 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24762 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
24763 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
24764 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
24765 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
24766 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
24767 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
24768 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
24769 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
24770 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
24771 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
24772 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
24773 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
24774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
24775 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24776 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
24777 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
24778 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
24779 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
24780 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
24781 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
24782 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
24783 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
24784 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24785 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
24786 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24787 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
24788 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
24789 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
24790 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
24791 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
24792 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
24793 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
24794 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
24795 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
24796 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
24797 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
24798 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
24799 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
24800 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
24801 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
24802 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24804 2013-11-25 Carlos O'Donell <carlos@redhat.com>
24807 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
24808 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
24810 2013-11-25 Joseph Myers <joseph@codesourcery.com>
24812 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
24813 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
24816 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24818 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
24819 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
24820 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
24821 (__fesetround): Remove define.
24822 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
24823 rounding and exceptions handling.
24824 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
24825 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
24826 (__fe_nomask_env): Likewise.
24827 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
24828 __fegetround instead of fegetround.
24829 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24830 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
24832 2013-11-21 Roland McGrath <roland@hack.frob.com>
24834 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
24837 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
24839 2013-11-21 Meador Inge <meadori@codesourcery.com>
24842 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
24843 (encrypt_r): Likewise.
24844 * malloc/obstack.h (obstack_free): Likewise.
24845 * posix/unistd.h (encrypt): Likewise.
24847 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
24849 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
24850 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
24851 DL_CALL_DT_FINI() that call the functions directly.
24852 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
24853 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
24854 * elf/dl-fini.c: Likewise.
24856 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
24858 * malloc/hooks.c (memalign_check): Add alignment rounding.
24859 * malloc/malloc.c (_mid_memalign): New function.
24860 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
24861 Implement by calling _mid_memalign.
24862 * manual/probes.texi (Memory Allocation Probes): Remove
24863 memory_valloc_retry and memory_pvalloc_retry.
24865 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24867 * locale/programs/locarchive.c (open_archive): Add const
24868 qualifier to ARCHIVEFNAME and copy default fname to
24872 * libio/tst-widetext.input: Rename Oriya to Odia.
24873 * locale/iso-639.def: Likewise.
24875 * manual/probes.texi (Mathematical Function Probes): Add
24876 documentation for sin, cos, asin and acos probes.
24877 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
24878 (__sin32): Add slowasin probe.
24879 (__cos32): Add slowacos probe.
24880 (__mpsin): Add slowsin probe.
24881 (__mpcos): Add slowcos probe.
24883 2013-11-19 Joseph Myers <joseph@codesourcery.com>
24886 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
24887 thread-local __sim_exceptions_thread and global
24888 __sim_exceptions_global.
24889 (__sim_disabled_exceptions): Change to thread-local
24890 __sim_disabled_exceptions_thread and global
24891 __sim_disabled_exceptions_global.
24892 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
24893 and global __sim_round_mode_global.
24894 (__simulate_exceptions): Use thread-local floating-point state and
24895 set global state from it as needed.
24896 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
24897 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
24898 __sim_round_mode_thread.
24899 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
24900 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
24901 and global __sim_exceptions_global.
24902 (__sim_disabled_exceptions): Change to thread-local
24903 __sim_disabled_exceptions_thread and global
24904 __sim_disabled_exceptions_global.
24905 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
24906 and global __sim_round_mode_global.
24907 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
24908 (SIM_SET_GLOBAL): Likewise.
24909 * sysdeps/powerpc/soft-fp/sfp-machine.h
24910 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
24911 __sim_round_mode_thread.
24912 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
24913 __sim_disabled_exceptions_thread.
24914 (__sim_exceptions): Change to __sim_exceptions_thread.
24915 (__sim_disabled_exceptions): Change to
24916 __sim_disabled_exceptions_thread.
24917 (__sim_round_mode): Change to __sim_round_mode_thread.
24918 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
24919 thread-local floating-point state and set global state from it as
24921 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
24922 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
24923 (__sim_disabled_exceptions): Remove extern declaration.
24924 (feenableexcept): Use thread-local floating-point state and set
24925 global state from it as needed.
24926 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
24927 extern declaration.
24928 (__sim_disabled_exceptions): Likewise.
24929 (__sim_round_mode): Likewise.
24930 (__fegetenv): Use thread-local floating-point state.
24931 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
24932 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24933 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
24934 floating-point state and set global state from it as needed.
24935 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
24936 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24937 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
24939 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
24940 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
24942 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
24943 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
24944 Use __sim_round_mode_thread.
24945 * math/test-fenv-tls.c: New file.
24946 * math/Makefile (tests): Add test-fenv-tls.
24947 ($(objpfx)test-fenv-tls): Depend on
24948 $(common-objpfx)nptl/libpthread.so.
24950 2013-11-19 Andreas Schwab <schwab@suse.de>
24952 * locale/programs/locale.c (show_info): Decode wordarray elements.
24953 * locale/categories.def (LC_MONETARY): Add element for
24954 _NL_MONETARY_CRNCYSTR.
24955 * locale/C-monetary.c (conversion_rate): New variable.
24956 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
24959 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
24961 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
24962 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
24964 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24966 * elf/Makefile (tst-auxv): New test.
24967 * elf/tst-auxv.c: New
24968 * elf/rtld.c (dl_main): Adjust AT_EXECFN
24970 2013-11-18 Joseph Myers <joseph@codesourcery.com>
24972 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
24973 (hidden_proto): Caller changed.
24974 (hidden_tls_proto): New macro.
24975 (libc_hidden_tls_proto): Likewise.
24976 (rtld_hidden_tls_proto): Likewise.
24977 (libm_hidden_tls_proto): Likewise.
24978 (libresolv_hidden_tls_proto): Likewise.
24979 (librt_hidden_tls_proto): Likewise.
24980 (libdl_hidden_tls_proto): Likewise.
24981 (libnss_files_hidden_tls_proto): Likewise.
24982 (libnsl_hidden_tls_proto): Likewise.
24983 (libnss_nisplus_hidden_tls_proto): Likewise.
24984 (libutil_hidden_tls_proto): Likewise.
24986 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
24989 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
24990 (decompose_rpath): Defer expansion to fillin_rpath.
24991 (_dl_init_paths): Pass linkmap to fillin_rpath.
24993 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24995 * benchtests/Makefile: Add strsep.
24996 * benchtests/bench-strsep.c: New file: strsep benchtest.
24997 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
24999 2013-11-18 Andreas Schwab <schwab@suse.de>
25001 * locale/programs/locale.c (show_info) [case byte]: Check for
25002 '\377' instead of '\177'.
25003 * locale/C-monetary.c (not_available): Always use "\377".
25004 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
25005 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
25006 detect unavailable sign_posn locale elements.
25007 * locale/localeconv.c (__localeconv): For grouping and
25008 mon_grouping handle "\177" and "\377" like no grouping.
25009 (INT_ELEM): New macro. Use it to set all numeric members.
25010 * locale/programs/ld-monetary.c (monetary_read)
25011 <tok_mon_grouping>: Normalize single -1 to the empty string.
25012 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
25015 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
25018 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
25019 when we match (nil).
25020 * stdio-common/tst-sscanf.c (struct test): Add testcase.
25022 2013-11-16 Joseph Myers <joseph@codesourcery.com>
25024 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
25025 (NO_TEST_INLINE): Update value.
25026 (ERRNO_UNCHANGED): Likewise.
25027 (ERRNO_EDOM): Likewise.
25028 (ERRNO_ERANGE): Likewise.
25029 (IGNORE_RESULT): Likewise.
25030 (check_float_internal): Check signs of NaN results if
25031 TEST_NAN_SIGN used.
25032 (check_complex): Pass TEST_NAN_SIGN flag through to second
25033 check_float_internal call.
25034 (copysign_test_data): Add tests with quiet NaNs as second
25035 argument. Use TEST_NAN_SIGN.
25036 (fabs_test_data): Add test of negative quiet NaN argument. Use
25038 (signbit_test_data): Add tests of quiet NaN argument.
25039 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
25041 * math/gen-libm-test.pl (show_exceptions): Take extra argument
25043 (parse_args): Handle function results specified as IGNORE.
25044 * math/libm-test.inc (IGNORE_RESULT): New macro.
25045 (check_float_internal): Do not check numerical result if flag
25047 (check_complex): Pass through IGNORE_RESULT to second
25048 check_float_internal call.
25049 (check_int): Do not check numerical result if flag IGNORE_RESULT
25051 (check_long): Likewise.
25052 (check_bool): Likewise.
25053 (check_longlong): Likewise.
25054 (lrint_test_data): Add tests of infinite and NaN arguments.
25055 (lrint_tonearest_test_data): Likewise.
25056 (lrint_towardzero_test_data): Likewise.
25057 (lrint_downward_test_data): Likewise.
25058 (lrint_upward_test_data): Likewise.
25059 (llrint_test_data): Likewise.
25060 (llrint_tonearest_test_data): Likewise.
25061 (llrint_towardzero_test_data): Likewise.
25062 (llrint_downward_test_data): Likewise.
25063 (llrint_upward_test_data): Likewise.
25064 (lround_test_data): Likewise.
25065 (llround_test_data): Likewise.
25067 * math/libm-test.inc (NO_TEST_INLINE): New macro.
25068 (ERRNO_UNCHANGED): Update value.
25069 (ERRNO_EDOM): Likewise.
25070 (ERRNO_ERANGE): Likewise.
25071 (NO_TEST_INLINE_FLOAT): New macro.
25072 (NO_TEST_INLINE_DOUBLE): Likewise.
25073 (enable_test): New function.
25074 (RUN_TEST_f_f): Check enable_test before running test.
25075 (RUN_TEST_2_f): Likewise.
25076 (RUN_TEST_fff_f): Likewise.
25077 (RUN_TEST_c_f): Likewise.
25078 (RUN_TEST_f_f1): Likewise.
25079 (RUN_TEST_fF_f1): Likewise.
25080 (RUN_TEST_fI_f1): Likewise.
25081 (RUN_TEST_ffI_f1): Likewise.
25082 (RUN_TEST_c_c): Likewise.
25083 (RUN_TEST_cc_c): Likewise.
25084 (RUN_TEST_f_i): Likewise.
25085 (RUN_TEST_f_i_tg): Likewise.
25086 (RUN_TEST_ff_i_tg): Likewise.
25087 (RUN_TEST_f_b): Likewise.
25088 (RUN_TEST_f_b_tg): Likewise.
25089 (RUN_TEST_f_l): Likewise.
25090 (RUN_TEST_f_L): Likewise.
25091 (RUN_TEST_fFF_11): Likewise.
25092 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
25094 (cosh_test_data): Likewise.
25095 (exp_test_data): Likewise.
25096 (expm1_test_data): Likewise.
25097 (hypot_test_data): Likewise.
25098 (pow_test_data): Likewise.
25099 (sinh_test_data): Likewise.
25100 (tanh_test_data): Likewise.
25101 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
25104 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
25105 tests with quiet NaN input and output.
25106 (acosh_test_data): Likewise.
25107 (asin_test_data): Likewise.
25108 (asinh_test_data): Likewise.
25109 (atan_test_data): Likewise.
25110 (atanh_test_data): Likewise.
25111 (atan2_test_data): Likewise.
25112 (cbrt_test_data): Likewise.
25113 (cos_test_data): Likewise.
25114 (cosh_test_data): Likewise.
25115 (erf_test_data): Likewise.
25116 (erfc_test_data): Likewise.
25117 (exp_test_data): Likewise.
25118 (exp10_test_data): Likewise.
25119 (exp2_test_data): Likewise.
25120 (expm1_test_data): Likewise.
25121 (hypot_test_data): Likewise.
25122 (j0_test_data): Likewise.
25123 (j1_test_data): Likewise.
25124 (jn_test_data): Likewise.
25125 (lgamma_test_data): Likewise.
25126 (log_test_data): Likewise.
25127 (log10_test_data): Likewise.
25128 (log1p_test_data): Likewise.
25129 (log2_test_data): Likewise.
25130 (pow_test_data): Likewise.
25131 (scalb_test_data): Likewise.
25132 (sin_test_data): Likewise.
25133 (sincos_test_data): Likewise.
25134 (sinh_test_data): Likewise.
25135 (tan_test_data): Likewise.
25136 (tanh_test_data): Likewise.
25137 (tgamma_test_data): Likewise.
25138 (y0_test_data): Likewise.
25139 (y1_test_data): Likewise.
25140 (yn_test_data): Likewise.
25143 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
25144 argument being NaN and avoid computations with second argument in
25146 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25147 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25148 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25150 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
25152 * locale/iso-639.def: Add Chitwani Tharu (the).
25154 2013-11-14 Andreas Schwab <schwab@suse.de>
25156 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
25157 word instead of empty string.
25159 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25162 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
25163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25164 (__fe_nomask_env): Likewise.
25166 2013-11-13 Steve Ellcey <sellcey@mips.com>
25168 * benchtests/bench-timing.h: Include time.h.
25170 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
25173 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
25175 * sysdeps/unix/sysv/linux/configure: Regenerated.
25177 2013-11-13 Joseph Myers <joseph@codesourcery.com>
25180 * stdlib/strtod_l.c (round_and_return): Do not consider
25181 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
25182 exponent one less than half the least subnormal exponent.
25183 * stdlib/test-strtod-round-data: Add more tests.
25184 * stdlib/tst-strtod-round.c (tests): Regenerated.
25186 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25189 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
25190 (__fe_mask_env): Likewise.
25191 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
25192 libm_hidden_proto and add function prototype.
25193 (__fe_mask_env): Add function prototype.
25194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25195 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
25196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25197 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
25198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25199 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
25201 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25203 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
25204 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
25206 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25208 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
25209 of htab_find_slot().
25211 2013-11-11 David S. Miller <davem@davemloft.net>
25214 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
25215 symbol in the non-vis3 case in static builds.
25216 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
25217 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
25218 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
25219 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
25221 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
25224 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
25227 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25229 * benchtests/Makefile: Add bench-strtod.
25230 * benchtests/bench-strtod.c: New file: strtod benchtest
25232 2013-11-11 Andreas Schwab <schwab@suse.de>
25235 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
25236 terminating NUL in key length.
25238 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25240 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25241 Add artificial ODP entry for vDSO symbol for PPC64.
25242 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
25243 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
25245 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
25248 * nss/getent.c (services_keys): Recognize services starting with digit.
25250 2013-11-06 David S. Miller <davem@davemloft.net>
25253 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
25254 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
25256 2013-11-06 Will Newton <will.newton@linaro.org>
25258 * manual/memory.texi (Malloc Examples): Remove register
25259 keyword from examples.
25261 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
25263 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
25265 2013-11-04 Joseph Myers <joseph@codesourcery.com>
25268 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
25269 depending on [__GCC_IEC_559 > 0].
25270 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
25271 depending on [__GCC_IEC_559_COMPLEX > 0].
25273 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
25275 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
25278 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
25280 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
25282 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
25285 * malloc/malloc (malloc_info): Do not handle first bin as
25288 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
25290 * locale/iso-639.def: Add Central Nahuatl (nhn).
25292 2013-11-01 Bruno Haible <bruno@clisp.org>
25295 * manual/math.texi (BSD Random): Specify range upper bound as
25298 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
25300 * locale/iso-639.def: Add Meadow Mari (mhr).
25302 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
25304 [BZ #14752], [BZ #15763]
25305 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
25307 * rt/tst_shm.c: Add test for escaping directory.
25309 2013-10-31 Andreas Schwab <schwab@suse.de>
25312 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
25313 followed by 'x' as part of digit sequence.
25314 * stdio-common/tst-sscanf.c (double_tests2): New tests.
25316 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
25319 * configure.ac: allow GNU Make 4.0 and greater.
25320 * configure: Regenerated.
25322 2013-10-30 Will Newton <will.newton@linaro.org>
25325 * malloc/hooks.c (memalign_check): Limit alignment to the
25326 maximum representable power of two.
25327 * malloc/malloc.c (__libc_memalign): Likewise.
25328 * malloc/tst-memalign.c (do_test): Add test for very
25329 large alignment values.
25330 * malloc/tst-posix_memalign.c (do_test): Likewise.
25332 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
25335 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
25336 (munmap_chunk): Likewise.
25337 (mremap_chunk): Likewise.
25339 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
25342 * stdlib/div.c (div): Remove obsolete code.
25343 * stdlib/ldiv.c (ldiv): Likewise.
25344 * stdlib/lldiv.c (lldiv): Likewise.
25346 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25349 * nss/nss_files/files-XXX.c (get_contents_ret): New
25351 (get_contents): New function.
25352 (internal_getent): Use it. Expand size of LINEBUFLEN.
25354 2013-10-30 Mike Frysinger <vapier@gentoo.org>
25356 * configure.in: Moved to ...
25357 * configure.ac: ... here. Change reference to configure.in
25359 * sysdeps/arm/preconfigure.ac: ... here.
25360 configure.in to configure.ac.
25361 * sysdeps/gnu/configure.in: Moved to ...
25362 * sysdeps/gnu/configure.ac: ... here.
25363 * sysdeps/i386/configure.in: Moved to ...
25364 * sysdeps/i386/configure.ac: ... here.
25365 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
25366 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
25367 * sysdeps/mach/configure.in: Moved to ...
25368 * sysdeps/mach/configure.ac: ... here.
25369 * sysdeps/mach/hurd/configure.in: Moved to ...
25370 * sysdeps/mach/hurd/configure.ac: ... here.
25371 * sysdeps/powerpc/configure.in: Moved to ...
25372 * sysdeps/powerpc/configure.ac: ... here.
25373 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
25374 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
25375 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
25376 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
25377 * sysdeps/s390/s390-32/configure.in: Moved to ...
25378 * sysdeps/s390/s390-32/configure.ac: ... here.
25379 * sysdeps/s390/s390-64/configure.in: Moved to ...
25380 * sysdeps/s390/s390-64/configure.ac: ... here.
25381 * sysdeps/sh/configure.in: Moved to ...
25382 * sysdeps/sh/configure.ac: ... here.
25383 * sysdeps/sparc/configure.in: Moved to ...
25384 * sysdeps/sparc/configure.ac: ... here.
25385 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
25386 * sysdeps/unix/sysv/linux/configure.ac: ... here.
25387 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
25388 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
25389 * sysdeps/x86_64/configure.in: Moved to ...
25390 * sysdeps/x86_64/configure.ac: ... here.
25391 * sysdeps/x86_64/preconfigure.in: Moved to ...
25392 * sysdeps/x86_64/preconfigure.ac: ... here.
25393 * aclocal.m4: Change reference to configure.in to configure.ac.
25394 * config.h.in: Likewise.
25395 * manual/install.texi: Likewise.
25396 * manual/maint.texi: Likewise.
25397 * Makefile: Likewise.
25398 * malloc/Makefile: Likewise.
25399 * nscd/Makefile: Likewise.
25400 * Makeconfig: Change reference to configure.in and
25401 preconfigure.in to configure.ac and preconfigure.ac
25403 * INSTALL: Regenerated.
25404 * configure: Likewise.
25405 * sysdeps/gnu/configure: Likewise.
25406 * sysdeps/i386/configure: Likewise.
25407 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
25408 * sysdeps/mach/configure: Likewise.
25409 * sysdeps/mach/hurd/configure: Likewise.
25410 * sysdeps/powerpc/configure: Likewise.
25411 * sysdeps/powerpc/powerpc32/configure: Likewise.
25412 * sysdeps/powerpc/powerpc64/configure: Likewise.
25413 * sysdeps/s390/s390-32/configure: Likewise.
25414 * sysdeps/s390/s390-64/configure: Likewise.
25415 * sysdeps/sh/configure: Likewise.
25416 * sysdeps/sparc/configure: Likewise.
25417 * sysdeps/unix/sysv/linux/configure: Likewise.
25418 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
25419 * sysdeps/x86_64/configure: Likewise.
25420 * sysdeps/x86_64/preconfigure: Likewise.
25422 2013-10-29 Andreas Schwab <schwab@suse.de>
25424 * stdio-common/Makefile (tst-swscanf-ENV): Define.
25426 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25428 * benchtests/pow-inputs: Add new inputs.
25430 * benchtests/exp-inputs: Add new inputs.
25432 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
25433 conditional check for return value.
25434 (__cos32): Likewise.
25436 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25438 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
25439 to provide a boost for large inputs with word alignment.
25440 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
25441 implementation based on optimized PPC64 strcpy.
25442 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
25443 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
25444 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
25445 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
25447 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25450 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
25452 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25455 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
25456 * time/tst-strptime.c (day_tests): Add testcase.
25458 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25461 * manual/pattern.texi: Acknowledge that fnmatch can fail.
25463 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
25466 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
25467 MAP_FAILED on error.
25469 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25472 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
25473 heap for large requests.
25475 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
25478 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
25479 result if the result has no associated interface.
25480 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
25481 interface for all 127.X.Y.Z addresses.
25483 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
25485 * locale/iso-639.def: Add Ligurian (lij)
25487 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
25490 * sunrpc/rpc_main.c: Document rpcgen -5.
25492 2013-10-19 Michael Stahl <mstahl@redhat.com>
25494 * elf/rtld.c (do_preload): Print the reason why preloading failed.
25496 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
25499 * posix/glob.c: Match only directories when trailing slash is present.
25500 * posix/tst-gnuglob.c (my_opendir): Do not open files.
25501 (main): Add testcase.
25503 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
25506 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
25508 2013-10-18 Carlos O'Donell <carlos@redhat.com>
25510 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
25511 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
25512 AUTH_DES and cindex for FIPS 140-2.
25513 (DES Encryption): Add cindex FIPS 46-3.
25515 * locale/locarchive.h (struct locarhandle): Add fname.
25516 * locale/programs/localedef.c (main): Pass ARGV[remaining]
25517 if an optional argument was specified to --list-archive,
25519 * locale/programs/locarchive.c (show_archive_content): Take new
25520 argument fname and pass it via ah.fname to open_archive.
25521 * locale/programs/localedef.h: Update decl.
25522 (open_archive): If AH->fname is non-null, open that file
25523 rather than the default file name, and don't ignore ENOENT.
25524 (create_archive): Set AH.fname to NULL.
25525 (delete_locales_from_archive): Likewise.
25526 (add_locales_to_archive): Likewise.
25527 * locale/programs/locfile.c (write_all_categories): Likewise.
25529 2013-10-18 Joseph Myers <joseph@codesourcery.com>
25530 Aldy Hernandez <aldyh@redhat.com>
25532 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
25533 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
25534 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
25535 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
25536 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
25537 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
25538 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
25539 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
25540 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
25541 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
25542 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
25543 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
25544 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
25545 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
25546 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
25548 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
25550 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
25552 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
25554 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
25555 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
25557 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
25558 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
25559 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
25560 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
25562 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
25563 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
25564 * sysdeps/powerpc/preconfigure: Likewise.
25565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
25567 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
25568 Replace contents of file by #include of <fenv_libc.h>.
25569 * sysdeps/powerpc/soft-fp/sfp-machine.h
25570 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
25572 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
25573 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
25574 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
25575 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
25576 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
25577 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
25578 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
25579 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
25580 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
25581 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
25582 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
25583 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
25584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25585 Allow copysignl PLT reference to be missing.
25587 2013-10-18 Richard Sandiford <richard@codesourcery.com>
25588 Joseph Myers <joseph@codesourcery.com
25591 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
25593 (add_to_tablewc): Assert sequence of wide characters is nonempty.
25595 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25597 * elf/tst-tls-dlinfo.c: Don't include tls.h.
25598 * elf/tst-tls1.c: Likewise.
25599 * elf/tst-tls10.h: Likewise.
25600 * elf/tst-tls14.c: Likewise.
25601 * elf/tst-tls2.c: Likewise.
25602 * elf/tst-tls3.c: Likewise.
25603 * elf/tst-tls4.c: Likewise.
25604 * elf/tst-tls5.c: Likewise.
25605 * elf/tst-tls6.c: Likewise.
25606 * elf/tst-tls7.c: Likewise.
25607 * elf/tst-tls8.c: Likewise.
25608 * elf/tst-tls9.c: Likewise.
25609 * elf/tst-tlsmod1.c: Likewise.
25610 * elf/tst-tlsmod13.c: Likewise.
25611 * elf/tst-tlsmod13a.c: Likewise.
25612 * elf/tst-tlsmod14a.c: Likewise.
25613 * elf/tst-tlsmod16a.c: Likewise.
25614 * elf/tst-tlsmod16b.c: Likewise.
25615 * elf/tst-tlsmod2.c: Likewise.
25616 * elf/tst-tlsmod3.c: Likewise.
25617 * elf/tst-tlsmod4.c: Likewise.
25618 * elf/tst-tlsmod5.c: Likewise.
25619 * elf/tst-tlsmod6.c: Likewise.
25621 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
25624 * malloc/malloc.c: remove checks for statistics.
25626 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
25629 * inet/inet_net.c (inet_network): Detect additional invalid strings.
25630 * inet/tst-network.c: Add testcase.
25632 2013-10-17 Andreas Schwab <schwab@suse.de>
25635 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
25636 to determine canonical name.
25638 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
25640 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
25641 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
25642 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25643 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25644 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25645 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25646 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25647 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25648 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25649 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25650 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25651 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25652 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25653 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25654 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25655 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25656 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25657 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25658 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25659 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25660 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25661 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25662 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25663 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
25664 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
25665 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25666 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25667 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
25668 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25669 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
25670 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25671 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25672 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25673 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25674 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25675 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25676 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25677 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25678 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25679 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25680 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25681 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25682 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25683 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25684 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25685 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25686 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25687 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25688 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25689 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25690 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25691 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25692 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25693 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25694 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25695 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25696 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25697 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25699 2013-10-17 Joseph Myers <joseph@codesourcery.com>
25702 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
25703 make result into a quiet NaN.
25705 2013-10-16 Joseph Myers <joseph@codesourcery.com>
25707 * soft-fp/adddf3.c: Fix horizontal whitespace.
25708 * soft-fp/addsf3.c: Likewise.
25709 * soft-fp/addtf3.c: Likewise.
25710 * soft-fp/divdf3.c: Likewise.
25711 * soft-fp/divsf3.c: Likewise.
25712 * soft-fp/divtf3.c: Likewise.
25713 * soft-fp/double.h: Likewise.
25714 * soft-fp/eqdf2.c: Likewise.
25715 * soft-fp/eqsf2.c: Likewise.
25716 * soft-fp/eqtf2.c: Likewise.
25717 * soft-fp/extenddftf2.c: Likewise.
25718 * soft-fp/extended.h: Likewise.
25719 * soft-fp/extendsfdf2.c: Likewise.
25720 * soft-fp/extendsftf2.c: Likewise.
25721 * soft-fp/extendxftf2.c: Likewise.
25722 * soft-fp/fixdfdi.c: Likewise.
25723 * soft-fp/fixdfsi.c: Likewise.
25724 * soft-fp/fixdfti.c: Likewise.
25725 * soft-fp/fixsfdi.c: Likewise.
25726 * soft-fp/fixsfsi.c: Likewise.
25727 * soft-fp/fixsfti.c: Likewise.
25728 * soft-fp/fixtfdi.c: Likewise.
25729 * soft-fp/fixtfsi.c: Likewise.
25730 * soft-fp/fixtfti.c: Likewise.
25731 * soft-fp/fixunsdfdi.c: Likewise.
25732 * soft-fp/fixunsdfsi.c: Likewise.
25733 * soft-fp/fixunsdfti.c: Likewise.
25734 * soft-fp/fixunssfdi.c: Likewise.
25735 * soft-fp/fixunssfsi.c: Likewise.
25736 * soft-fp/fixunssfti.c: Likewise.
25737 * soft-fp/fixunstfdi.c: Likewise.
25738 * soft-fp/fixunstfsi.c: Likewise.
25739 * soft-fp/fixunstfti.c: Likewise.
25740 * soft-fp/floatdidf.c: Likewise.
25741 * soft-fp/floatdisf.c: Likewise.
25742 * soft-fp/floatditf.c: Likewise.
25743 * soft-fp/floatsidf.c: Likewise.
25744 * soft-fp/floatsisf.c: Likewise.
25745 * soft-fp/floatsitf.c: Likewise.
25746 * soft-fp/floattidf.c: Likewise.
25747 * soft-fp/floattisf.c: Likewise.
25748 * soft-fp/floattitf.c: Likewise.
25749 * soft-fp/floatundidf.c: Likewise.
25750 * soft-fp/floatundisf.c: Likewise.
25751 * soft-fp/floatunditf.c: Likewise.
25752 * soft-fp/floatunsidf.c: Likewise.
25753 * soft-fp/floatunsisf.c: Likewise.
25754 * soft-fp/floatunsitf.c: Likewise.
25755 * soft-fp/floatuntidf.c: Likewise.
25756 * soft-fp/floatuntisf.c: Likewise.
25757 * soft-fp/floatuntitf.c: Likewise.
25758 * soft-fp/fmadf4.c: Likewise.
25759 * soft-fp/fmasf4.c: Likewise.
25760 * soft-fp/fmatf4.c: Likewise.
25761 * soft-fp/gedf2.c: Likewise.
25762 * soft-fp/gesf2.c: Likewise.
25763 * soft-fp/getf2.c: Likewise.
25764 * soft-fp/ledf2.c: Likewise.
25765 * soft-fp/lesf2.c: Likewise.
25766 * soft-fp/letf2.c: Likewise.
25767 * soft-fp/muldf3.c: Likewise.
25768 * soft-fp/mulsf3.c: Likewise.
25769 * soft-fp/multf3.c: Likewise.
25770 * soft-fp/negdf2.c: Likewise.
25771 * soft-fp/negsf2.c: Likewise.
25772 * soft-fp/negtf2.c: Likewise.
25773 * soft-fp/op-1.h: Likewise.
25774 * soft-fp/op-2.h: Likewise.
25775 * soft-fp/op-4.h: Likewise.
25776 * soft-fp/op-8.h: Likewise.
25777 * soft-fp/op-common.h: Likewise.
25778 * soft-fp/quad.h: Likewise.
25779 * soft-fp/single.h: Likewise.
25780 * soft-fp/soft-fp.h: Likewise.
25781 * soft-fp/sqrtdf2.c: Likewise.
25782 * soft-fp/sqrtsf2.c: Likewise.
25783 * soft-fp/sqrttf2.c: Likewise.
25784 * soft-fp/subdf3.c: Likewise.
25785 * soft-fp/subsf3.c: Likewise.
25786 * soft-fp/subtf3.c: Likewise.
25787 * soft-fp/truncdfsf2.c: Likewise.
25788 * soft-fp/trunctfdf2.c: Likewise.
25789 * soft-fp/trunctfsf2.c: Likewise.
25790 * soft-fp/trunctfxf2.c: Likewise.
25791 * soft-fp/unorddf2.c: Likewise.
25792 * soft-fp/unordsf2.c: Likewise.
25793 * soft-fp/unordtf2.c: Likewise.
25795 2013-10-15 Joseph Myers <joseph@codesourcery.com>
25797 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
25798 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
25800 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
25802 * elf/dl-libc.c: Clear initfini list after freeing.
25804 2013-10-14 Joseph Myers <joseph@codesourcery.com>
25806 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
25807 * soft-fp/addsf3.c: Likewise.
25808 * soft-fp/addtf3.c: Likewise.
25809 * soft-fp/divdf3.c: Likewise.
25810 * soft-fp/divsf3.c: Likewise.
25811 * soft-fp/divtf3.c: Likewise.
25812 * soft-fp/double.h: Likewise.
25813 * soft-fp/eqdf2.c: Likewise.
25814 * soft-fp/eqsf2.c: Likewise.
25815 * soft-fp/eqtf2.c: Likewise.
25816 * soft-fp/extenddftf2.c: Likewise.
25817 * soft-fp/extended.h: Likewise.
25818 * soft-fp/extendsfdf2.c: Likewise.
25819 * soft-fp/extendsftf2.c: Likewise.
25820 * soft-fp/extendxftf2.c: Likewise.
25821 * soft-fp/fixdfdi.c: Likewise.
25822 * soft-fp/fixdfsi.c: Likewise.
25823 * soft-fp/fixdfti.c: Likewise.
25824 * soft-fp/fixsfdi.c: Likewise.
25825 * soft-fp/fixsfsi.c: Likewise.
25826 * soft-fp/fixsfti.c: Likewise.
25827 * soft-fp/fixtfdi.c: Likewise.
25828 * soft-fp/fixtfsi.c: Likewise.
25829 * soft-fp/fixtfti.c: Likewise.
25830 * soft-fp/fixunsdfdi.c: Likewise.
25831 * soft-fp/fixunsdfsi.c: Likewise.
25832 * soft-fp/fixunsdfti.c: Likewise.
25833 * soft-fp/fixunssfdi.c: Likewise.
25834 * soft-fp/fixunssfsi.c: Likewise.
25835 * soft-fp/fixunssfti.c: Likewise.
25836 * soft-fp/fixunstfdi.c: Likewise.
25837 * soft-fp/fixunstfsi.c: Likewise.
25838 * soft-fp/fixunstfti.c: Likewise.
25839 * soft-fp/floatdidf.c: Likewise.
25840 * soft-fp/floatdisf.c: Likewise.
25841 * soft-fp/floatditf.c: Likewise.
25842 * soft-fp/floatsidf.c: Likewise.
25843 * soft-fp/floatsisf.c: Likewise.
25844 * soft-fp/floatsitf.c: Likewise.
25845 * soft-fp/floattidf.c: Likewise.
25846 * soft-fp/floattisf.c: Likewise.
25847 * soft-fp/floattitf.c: Likewise.
25848 * soft-fp/floatundidf.c: Likewise.
25849 * soft-fp/floatundisf.c: Likewise.
25850 * soft-fp/floatunsidf.c: Likewise.
25851 * soft-fp/floatunsisf.c: Likewise.
25852 * soft-fp/floatuntidf.c: Likewise.
25853 * soft-fp/floatuntisf.c: Likewise.
25854 * soft-fp/floatuntitf.c: Likewise.
25855 * soft-fp/fmadf4.c: Likewise.
25856 * soft-fp/fmasf4.c: Likewise.
25857 * soft-fp/fmatf4.c: Likewise.
25858 * soft-fp/gedf2.c: Likewise.
25859 * soft-fp/gesf2.c: Likewise.
25860 * soft-fp/getf2.c: Likewise.
25861 * soft-fp/ledf2.c: Likewise.
25862 * soft-fp/lesf2.c: Likewise.
25863 * soft-fp/letf2.c: Likewise.
25864 * soft-fp/muldf3.c: Likewise.
25865 * soft-fp/mulsf3.c: Likewise.
25866 * soft-fp/multf3.c: Likewise.
25867 * soft-fp/negdf2.c: Likewise.
25868 * soft-fp/negsf2.c: Likewise.
25869 * soft-fp/negtf2.c: Likewise.
25870 * soft-fp/op-1.h: Likewise.
25871 * soft-fp/op-2.h: Likewise.
25872 * soft-fp/op-4.h: Likewise.
25873 * soft-fp/op-8.h: Likewise.
25874 * soft-fp/op-common.h: Likewise.
25875 * soft-fp/quad.h: Likewise.
25876 * soft-fp/single.h: Likewise.
25877 * soft-fp/soft-fp.h: Likewise.
25878 * soft-fp/sqrtdf2.c: Likewise.
25879 * soft-fp/sqrtsf2.c: Likewise.
25880 * soft-fp/sqrttf2.c: Likewise.
25881 * soft-fp/subdf3.c: Likewise.
25882 * soft-fp/subsf3.c: Likewise.
25883 * soft-fp/subtf3.c: Likewise.
25884 * soft-fp/truncdfsf2.c: Likewise.
25885 * soft-fp/trunctfdf2.c: Likewise.
25886 * soft-fp/trunctfsf2.c: Likewise.
25887 * soft-fp/trunctfxf2.c: Likewise.
25888 * soft-fp/unorddf2.c: Likewise.
25889 * soft-fp/unordsf2.c: Likewise.
25890 * soft-fp/unordtf2.c: Likewise.
25892 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
25895 * misc/error.c (error_tail): Fix possible buffer overflow.
25897 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
25900 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
25903 2013-10-14 P. J. McDermott <pj@pehjota.net>
25906 * elf/ldd.bash.in (try_trace): New function. Delete previous code
25907 testing pipefail option.
25909 2013-10-12 Joseph Myers <joseph@codesourcery.com>
25911 * soft-fp/double.h: Indent preprocessor directives inside #if.
25912 * soft-fp/extended.h: Likewise.
25913 * soft-fp/op-2.h: Likewise.
25914 * soft-fp/op-4.h: Likewise.
25915 * soft-fp/op-common.h: Likewise.
25916 * soft-fp/quad.h: Likewise.
25917 * soft-fp/single.h: Likewise.
25918 * soft-fp/soft-fp.h: Likewise.
25920 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
25922 * iconv/iconv_prog.c: Fix typos.
25923 * stdio-common/psiginfo-data.h: Likewise.
25925 2013-10-12 Reuben Thomas <rrt@sc3d.org>
25928 * locale/setlocale.c: Fix typo.
25930 2013-10-12 Joseph Myers <joseph@codesourcery.com>
25933 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
25934 signaling NaN arguments.
25935 * soft-fp/unordsf2.c (__unordsf2): Likewise.
25936 * soft-fp/unordtf2.c (__unordtf2): Likewise.
25939 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
25940 unordered operands.
25941 * soft-fp/gesf2.c (__gesf2): Likewise.
25942 * soft-fp/getf2.c (__getf2): Likewise.
25943 * soft-fp/ledf2.c (__ledf2): Likewise.
25944 * soft-fp/lesf2.c (__lesf2): Likewise.
25945 * soft-fp/letf2.c (__letf2): Likewise.
25947 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
25948 * soft-fp/eqsf2.c (__eqsf2): Likewise.
25949 * soft-fp/eqtf2.c (__eqtf2): Likewise.
25950 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
25951 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
25952 * soft-fp/fixdfti.c (__fixdfti): Likewise.
25953 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
25954 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
25955 * soft-fp/fixsfti.c (__fixsfti): Likewise.
25956 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
25957 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
25958 * soft-fp/fixtfti.c (__fixtfti): Likewise.
25959 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
25960 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
25961 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
25962 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
25963 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
25964 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
25965 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
25966 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
25967 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
25968 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
25969 * soft-fp/floatdisf.c (__floatdisf): Likewise.
25970 * soft-fp/floatsisf.c (__floatsisf): Likewise.
25971 * soft-fp/floattidf.c (__floattidf): Likewise.
25972 * soft-fp/floattisf.c (__floattisf): Likewise.
25973 * soft-fp/floattitf.c (__floattitf): Likewise.
25974 * soft-fp/floatundidf.c (__floatundidf): Likewise.
25975 * soft-fp/floatundisf.c (__floatundisf): Likewise.
25976 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
25977 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
25978 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
25979 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
25980 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
25981 * soft-fp/gesf2.c (__gesf2): Likewise.
25982 * soft-fp/getf2.c (__getf2): Likewise.
25983 * soft-fp/ledf2.c (__ledf2): Likewise.
25984 * soft-fp/lesf2.c (__lesf2): Likewise.
25985 * soft-fp/letf2.c (__letf2): Likewise.
25987 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
25988 Undefine and redefine.
25989 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
25990 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
25991 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
25992 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
25993 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25994 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
25995 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25996 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
25997 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25998 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
25999 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26000 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
26001 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26002 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
26003 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26006 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
26007 without decrementing exponent if mantissa >= that for the
26008 denominator, not >.
26009 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
26010 denominator, not >. Decrement exponent in < case instead of
26011 incrementing in >= case.
26012 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
26013 without decrementing exponent if mantissa >= that for the
26014 denominator, not >.
26016 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
26017 computing saturated result for unsigned overflow.
26019 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26020 Jeff Law <law@redhat.com>
26022 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
26023 (atan2Mp): Add systemtap probe marker.
26024 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
26025 (__ieee754_log): Add systemtap probe marker.
26026 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
26027 (atanMp): Add systemtap probe marker.
26028 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
26029 (tanMp): Add systemtap probe marker.
26030 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
26031 (__slowexp): Add systemtap probe marker.
26032 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
26033 (__slowpow): Add systemtap probe marker.
26034 * manual/probes.texi: Document probes.
26036 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
26039 * libio/fileops.c (_IO_new_file_write): Return count of bytes
26041 (_IO_new_file_xsputn): Don't return EOF if nothing has been
26043 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
26044 written to buffer but not flushed.
26045 * libio/iofwrite_u.c: Likewise.
26046 * libio/iopadn.c: Return bytes returned even if EOF was
26048 * libio/iowpadn.c: Likewise.
26049 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
26050 if _IO_padn does not write the whole buffer.
26051 [!COMPILE_WPRINTF] (PAD): Likewise.
26053 2013-10-10 David S. Miller <davem@davemloft.net>
26055 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
26058 2013-10-10 Joseph Myers <joseph@codesourcery.com>
26060 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
26061 instead of FSF address.
26062 * soft-fp/fixdfti.c: Likewise.
26063 * soft-fp/fixsfti.c: Likewise.
26064 * soft-fp/fixtfti.c: Likewise.
26065 * soft-fp/fixunsdfti.c: Likewise.
26066 * soft-fp/fixunssfti.c: Likewise.
26067 * soft-fp/fixunstfti.c: Likewise.
26068 * soft-fp/floattidf.c: Likewise.
26069 * soft-fp/floattisf.c: Likewise.
26070 * soft-fp/floattitf.c: Likewise.
26071 * soft-fp/floatuntidf.c: Likewise.
26072 * soft-fp/floatuntisf.c: Likewise.
26073 * soft-fp/floatuntitf.c: Likewise.
26074 * soft-fp/trunctfxf2.c: Likewise.
26076 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
26077 * soft-fp/fixdfti.c: Likewise.
26078 * soft-fp/fixsfti.c: Likewise.
26079 * soft-fp/fixtfti.c: Likewise.
26080 * soft-fp/fixunsdfti.c: Likewise.
26081 * soft-fp/fixunssfti.c: Likewise.
26082 * soft-fp/fixunstfti.c: Likewise.
26083 * soft-fp/floattidf.c: Likewise.
26084 * soft-fp/floattisf.c: Likewise.
26085 * soft-fp/floattitf.c: Likewise.
26086 * soft-fp/floatuntidf.c: Likewise.
26087 * soft-fp/floatuntisf.c: Likewise.
26088 * soft-fp/floatuntitf.c: Likewise.
26089 * soft-fp/trunctfxf2.c: Likewise.
26091 2013-10-10 David S. Miller <davem@davemloft.net>
26093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26095 2013-10-10 Joseph Myers <joseph@codsourcery.com>
26097 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26098 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
26099 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
26100 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
26101 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
26102 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
26103 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
26105 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
26106 for NaNs before doing comparisons on argument.
26107 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26110 2013-10-10 Will Newton <will.newton@linaro.org>
26112 * malloc/hooks.c (memalign_check): Ensure the value of bytes
26113 passed to _int_memalign does not overflow.
26115 2013-10-10 Torvald Riegel <triegel@redhat.com>
26117 * scripts/bench.pl: Add include-sources directive.
26118 * benchtests/README: Update documentation.
26120 2013-10-10 Joseph Myers <joseph@codesourcery.com>
26122 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
26123 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
26124 instead of FP_INIT_ROUNDMODE.
26125 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
26126 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
26129 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
26130 copy class of input value.
26131 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
26132 not handle exceptions.
26133 * soft-fp/negsf2.c (__negsf2): Likewise.
26134 * soft-fp/negtf2.c (__negtf2): Likewise.
26135 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
26137 2013-10-09 Joseph Myers <joseph@codesourcery.com>
26139 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
26140 semicolon. From Linux kernel.
26142 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
26144 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
26146 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
26149 * manual/socket.texi: Added statement about buffer
26150 for gethostbyname2_r.
26152 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
26154 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
26155 Use .p2align directive instead, throughout.
26156 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26157 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26158 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
26159 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26160 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26161 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
26162 * sysdeps/x86_64/strchr.S: Likewise.
26163 * sysdeps/x86_64/strrchr.S: Likewise.
26165 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26167 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
26169 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
26171 * sysdeps/generic/math_private.h (__mpsin1): Remove
26173 (__mpcos1): Likewise.
26174 (__mpsin): New argument __range_reduce.
26175 (__mpcos): Likewise.
26176 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26177 (slow): Use __mpsin and __mpcos.
26181 (sloww1): Likewise.
26182 (sloww2): Likewise.
26183 (bsloww): Likewise.
26184 (bsloww1): Likewise.
26185 (bsloww2): Likewise.
26186 (cslow2): Likewise.
26187 (csloww): Likewise.
26188 (csloww1): Likewise.
26189 (csloww2): Likewise.
26190 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
26191 range_reduce. Merge in __mpsin1.
26192 (__mpcos): Likewise.
26193 (__mpsin1): Remove.
26194 (__mpcos1): Likewise.
26196 2013-10-07 Joseph Myers <joseph@codesourcery.com>
26198 * locale/loadlocale.c (_nl_intern_locale_data): Use
26200 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
26201 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
26202 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
26203 obstack data is appropriately aligned.
26204 (obstack_int32_grow_fast): Likewise.
26205 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
26206 * locale/programs/locfile.c (add_locale_uint32): Likewise.
26207 (add_locale_uint32_array): Likewise.
26209 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26211 * benchtests/Makefile: Remove ARGLIST and RET variables.
26212 ($(objpfx)bench-%.c): Pass only function name to the script.
26213 * benchtests/README: Update documentation.
26214 * benchtests/acos-inputs: Add new directives.
26215 * benchtests/acosh-inputs: Likewise.
26216 * benchtests/asin-inputs: Likewise.
26217 * benchtests/asinh-inputs: Likewise.
26218 * benchtests/atan-inputs: Likewise.
26219 * benchtests/atanh-inputs: Likewise.
26220 * benchtests/cos-inputs: Likewise.
26221 * benchtests/cosh-inputs: Likewise.
26222 * benchtests/exp-inputs: Likewise.
26223 * benchtests/log-inputs: Likewise.
26224 * benchtests/pow-inputs: Likewise.
26225 * benchtests/rint-inputs: Likewise.
26226 * benchtests/sin-inputs: Likewise.
26227 * benchtests/sinh-inputs: Likewise.
26228 * benchtests/tan-inputs: Likewise.
26229 * benchtests/tanh-inputs: Likewise.
26230 * scripts/bench.pl: Add support for new directives.
26232 2013-10-07 Alan Modra <amodra@gmail.com>
26234 * README: Fix careless merge.
26236 2013-10-05 Alan Modra <amodra@gmail.com>
26238 * NEWS: Mention powerpc64le support and bugs fixed.
26239 * README: Both big-endian and little-endian powerpc64 supported.
26241 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26243 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
26244 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
26245 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
26246 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
26248 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
26250 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
26253 2013-10-04 Joseph Myers <joseph@codesourcery.com>
26255 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
26256 Move -mhard-float appending from
26257 ports/sysdeps/powerpc/powerpc32/Makefile.
26258 [$(with-fp) = yes] (ASFLAGS): Likewise.
26259 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
26260 * sysdeps/powerpc/nofpu: Move directory from
26261 ports/sysdeps/powerpc/nofpu.
26262 * sysdeps/powerpc/soft-fp: Move directory from
26263 ports/sysdeps/powerpc/soft-fp.
26264 * sysdeps/powerpc/powerpc32/405: Move directory from
26265 ports/sysdeps/powerpc/powerpc32/405.
26266 * sysdeps/powerpc/powerpc32/440: Move directory from
26267 ports/sysdeps/powerpc/powerpc32/440.
26268 * sysdeps/powerpc/powerpc32/464: Move directory from
26269 ports/sysdeps/powerpc/powerpc32/464.
26270 * sysdeps/powerpc/powerpc32/476: Move directory from
26271 ports/sysdeps/powerpc/powerpc32/476.
26272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
26273 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
26274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
26275 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
26276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
26277 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
26278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
26279 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
26280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
26281 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
26282 * README: Update for powerpc-*-linux-gnu software floating point
26285 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
26286 case to powerpc/powerpc32*.
26287 * sysdeps/unix/sysv/linux/configure: Regenerated.
26289 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
26290 (_FPU_MASK_OM): Define as 0x04.
26291 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
26292 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
26294 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
26296 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
26298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
26299 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
26302 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
26305 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
26306 and setcontext_e500.
26308 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
26310 * locale/iso-3166.def: Update iso-1366.def and related occurrences
26312 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26314 * manual/threads.texi (Default Thread Attributes): Fix typo.
26316 2013-10-04 Will Newton <will.newton@linaro.org>
26318 * malloc/Makefile: Add tst-memalign.
26319 * malloc/tst-memalign.c: New file.
26321 * malloc/tst-posix_memalign.c: Add comments.
26322 (do_test): Add comments and call free on all potentially
26323 allocated pointers. Add space after cast.
26325 * malloc/tst-pvalloc.c: Add comments.
26326 (do_test): Add comments and call free on all potentially
26327 allocated pointers. Remove duplicate check for NULL pointer.
26328 Add space after cast.
26330 * malloc/tst-valloc.c: Add comments.
26331 (do_test): Add comments and call free on all potentially
26332 allocated pointers. Remove duplicate check for NULL pointer.
26333 Add space after cast.
26335 2013-10-04 Alan Modra <amodra@gmail.com>
26337 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26338 Use stdint types in rather than __attribute__((mode())).
26339 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26341 2013-10-04 Alan Modra <amodra@gmail.com>
26343 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26344 Correct handling of unaligned relocs for little-endian.
26345 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26347 2013-10-04 Alan Modra <amodra@gmail.com>
26349 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
26350 * configure: Regenerate.
26351 * nptl/shlib-versions: Powerpc*le starts at 2.18.
26352 * shlib-versions: Likewise.
26354 2013-10-04 Alan Modra <amodra@gmail.com>
26356 * string/tester.c (test_memrchr): Increment reported test cycle.
26358 2013-10-04 Alan Modra <amodra@gmail.com>
26360 * string/test-memcpy.c (do_one_test): When reporting errors, print
26361 string address and don't overrun end of string.
26363 2013-10-04 Alan Modra <amodra@gmail.com>
26365 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
26366 insrdi. Make better use of reg selection to speed exit slightly.
26367 Schedule entry path a little better. Remove useless "are we done"
26368 checks on entry to main loop. Handle wrapping around zero address.
26369 Correct main loop count. Handle single left-over word from main
26370 loop inline rather than by using loop_small. Remove extra word
26371 case in loop_small caused by wrong loop count. Add little-endian
26373 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26374 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
26376 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26377 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
26378 support. Avoid rlwimi.
26379 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
26381 2013-10-04 Alan Modra <amodra@gmail.com>
26383 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
26384 insrdi. Formatting.
26385 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
26386 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26387 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
26388 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26389 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26390 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
26392 2013-10-04 Alan Modra <amodra@gmail.com>
26394 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
26395 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26396 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
26397 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
26398 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26399 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26400 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26401 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26402 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
26403 use of regs. Use power7 mtocrf. Tidy function tails.
26405 2013-10-04 Alan Modra <amodra@gmail.com>
26407 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
26408 Formatting. Consistently use rXXX register defines or rN defines.
26409 Use early exit labels that avoid restoring unused non-volatile regs.
26410 Make cr field use more consistent with rWORDn compares. Rename
26411 regs used as shift registers for unaligned loop, using rN defines
26412 for short lifetime/multiple use regs.
26413 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26414 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
26415 addi 1,1,64 to pop stack frame. Simplify return value code.
26416 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26418 2013-10-04 Alan Modra <amodra@gmail.com>
26420 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
26421 support. Correct typos, formatting. Optimize tail. Use insrdi
26422 rather than rlwimi.
26423 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
26424 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
26425 little-endian support. Correct typos.
26426 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
26427 rather than rlwimi.
26428 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
26429 in loop and entry code to keep "and." results.
26430 (strchr): Add little-endian support. Comment. Move cntlzd
26432 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
26434 2013-10-04 Alan Modra <amodra@gmail.com>
26436 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
26437 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
26438 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
26439 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
26441 2013-10-04 Alan Modra <amodra@gmail.com>
26443 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
26444 (rTMP): Define as r11.
26445 (strcmp): Add little-endian support. Optimise tail.
26446 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
26447 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26448 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26449 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26450 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26451 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26452 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26454 2013-10-04 Alan Modra <amodra@gmail.com>
26456 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
26457 little-endian support. Remove unnecessary "are we done" tests.
26458 Handle "s" wrapping around zero and extremely large "size".
26459 Correct main loop count. Handle single left-over word from main
26460 loop inline rather than by using small_loop. Correct comments.
26461 Delete "zero" tail, use "end_max" instead.
26462 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
26464 2013-10-04 Alan Modra <amodra@gmail.com>
26466 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
26467 support. Don't branch over align.
26468 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
26469 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
26470 support. Rearrange tmp reg use to suit. Comment.
26471 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
26473 2013-10-04 Alan Modra <amodra@gmail.com>
26475 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
26477 2013-10-04 Alan Modra <amodra@gmail.com>
26479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
26480 conditional form of branch and link when obtaining pc.
26481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
26483 2013-10-04 Alan Modra <amodra@gmail.com>
26485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
26487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
26488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
26490 2013-10-04 Alan Modra <amodra@gmail.com>
26492 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
26493 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
26494 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26495 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
26496 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26497 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26498 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
26499 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26500 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
26501 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
26503 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26504 Alistair Popple <alistair@ozlabs.au.ibm.com>
26505 Alan Modra <amodra@gmail.com>
26508 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
26509 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
26510 _dl_hwcap access for little-endian.
26511 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
26512 destroy vmx regs when saving unaligned.
26513 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
26514 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
26515 destroy vmx regs when saving unaligned.
26517 2013-10-04 Alan Modra <amodra@gmail.com>
26519 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
26520 Don't use a union to pack hi/low value.
26522 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26524 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
26526 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26527 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
26528 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26529 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26530 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26532 2013-10-04 Alan Modra <amodra@gmail.com>
26534 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
26535 constants to usual value for .cst8 section, and remove redundant
26537 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
26538 constant for 0x1p52. Load little-endian words of double from
26539 correct stack offsets.
26541 2013-10-04 Alan Modra <amodra@gmail.com>
26543 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
26544 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
26545 words of double from correct stack offsets.
26546 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26547 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
26548 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26549 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26550 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26551 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26552 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26553 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26554 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26555 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26556 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26557 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26558 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26559 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26560 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26561 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
26562 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26564 2013-10-04 Alan Modra <amodra@gmail.com>
26566 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
26567 64-bit int/double union.
26568 (_FPU_SETCW): Likewise.
26569 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
26570 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
26572 2013-10-04 Alan Modra <amodra@gmail.com>
26574 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
26575 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
26577 2013-10-04 Alan Modra <amodra@gmail.com>
26579 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
26580 use vector int constants.
26581 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
26583 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26585 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
26586 array with long long.
26587 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
26588 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
26589 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
26590 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
26591 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
26592 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
26593 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
26594 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
26595 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
26596 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
26597 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
26598 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
26599 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
26601 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26603 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
26604 (__signbit): Likewise. Correct for little-endian.
26605 (__signbitl): Call __signbit.
26606 (lrint): Correct for little-endian.
26607 (lrintf): Call lrint.
26609 2013-10-04 Alan Modra <amodra@gmail.com>
26611 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
26612 union 32-bit int array member with 64-bit int array.
26613 (t515, tm256): Double rather than long double.
26614 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
26616 2013-10-04 Alan Modra <amodra@gmail.com>
26618 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
26620 (IEEE854_LONG_DOUBLE_BIAS): Delete.
26621 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
26622 version of math_ldbl.h.
26624 2013-10-04 Alan Modra <amodra@gmail.com>
26626 [BZ #15734], [BZ #15735]
26627 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
26628 all uses of ieee875 long double macros and unions. Simplify test
26629 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
26630 ldbl_extract_mantissa value for ix,iy exponents. Properly
26631 normalize after ldbl_extract_mantissa, and don't add hidden bit
26632 already handled. Don't treat low word of ieee854 mantissa like
26633 low word of IBM long double and mask off bit when testing for
26635 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
26636 all uses of ieee875 long double macros and unions. Simplify tests
26637 for 0.0L and inf. Correct double adjustment of k. Delete dead code
26638 adjusting ha,hb. Simplify code setting kld. Delete two600 and
26639 two1022, instead use their values. Recognise that tests for large
26640 "a" and small "b" are mutually exclusive. Rename vars. Comment.
26641 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
26642 Rewrite all uses of ieee875 long double macros and unions. Simplify
26643 test for 0.0L and nan. Correct negation.
26644 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
26645 ieee875 long double macros and unions. Correct output for large
26646 magnitude x. Correct absolute value calculation.
26647 (__erfcl): Likewise.
26648 * math/libm-test.inc: Add tests for errors discovered in IBM long
26649 double versions of fmodl, remainderl, erfl and erfcl.
26651 2013-10-04 Alan Modra <amodra@gmail.com>
26653 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
26654 all uses of ieee854 long double macros and unions. Simplify tests
26655 for long doubles that are fully specified by the high double.
26656 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26658 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
26659 Remove dead code too.
26660 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26661 (__ieee754_ynl): Likewise.
26662 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26663 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
26664 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
26665 Remove dead code too.
26666 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
26667 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
26668 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
26669 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
26671 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
26673 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
26674 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
26675 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
26676 Comment on variable precision.
26677 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
26678 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26680 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26681 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26682 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26683 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
26684 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
26686 2013-10-04 Alan Modra <amodra@gmail.com>
26688 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
26689 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
26690 all uses of ieee854 long double macros and unions.
26691 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
26692 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26693 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
26694 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
26695 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26696 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26698 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
26699 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26700 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
26701 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26702 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
26703 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
26704 Simplify sign and nan test too.
26705 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
26706 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
26707 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
26708 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
26710 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26711 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
26713 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26714 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
26715 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
26716 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
26717 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
26718 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
26720 2013-10-04 Alan Modra <amodra@gmail.com>
26722 * stdio-common/printf_size.c (__printf_size): Don't use
26723 union ieee854_long_double in fpnum union.
26724 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
26725 signbit macro to retrieve sign from long double.
26726 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
26727 retrieve sign from long double.
26728 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
26729 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
26730 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
26731 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26732 * math/test-misc.c (main): Don't use union ieee854_long_double.
26734 2013-10-04 Alan Modra <amodra@gmail.com>
26737 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
26738 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
26739 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
26740 calculation. Remove unnecessary test for denormal exponent.
26741 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
26742 Correct handling of denormals. Avoid undefined shift behaviour.
26743 Correct normalisation of low mantissa when low double is denormal.
26744 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
26745 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
26746 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
26747 Correct normalisation of low mantissa. Test for overflow of high
26748 mantissa and normalise.
26749 (ldbl_nearbyint): Use more readable constant for two52.
26750 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
26751 (__mpn_construct_long_double): Fix test for overflow of high
26752 mantissa and correct normalisation. Avoid undefined shift.
26754 2013-10-04 Alan Modra <amodra@gmail.com>
26756 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26757 (union ibm_extended_long_double): Define as an array of ieee754_double.
26758 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
26759 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
26760 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
26761 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26762 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26763 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
26764 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26765 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26766 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26767 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
26768 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26770 2013-10-03 Joseph Myers <joseph@codesourcery.com>
26772 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
26773 page size instead of calling getpagesize.
26775 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
26776 (LOCFILE_ALIGN_MASK): Likewise.
26777 (LOCFILE_ALIGN_UP): Likewise.
26778 (LOCFILE_ALIGNED_P): Likewise.
26779 * locale/programs/ld-collate.c (collate_output): Use the new
26780 macros instead of __alignof__ (int32_t).
26781 * locale/weight.h (findidx): Likewise.
26783 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
26786 * manual/string.texi: Fix strncat and wcsncat.
26788 2013-10-03 Brooks Moses <bmoses@google.com>
26791 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
26792 * Makerules: ...here, and adjust associated comments.
26794 2013-10-02 Will Newton <will.newton@linaro.org>
26796 * malloc/Makefile: Add tst-pvalloc.
26797 * malloc/tst-pvalloc.c: New file.
26799 2013-10-02 Will Newton <will.newton@linaro.org>
26801 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
26802 improve test coverage.
26804 2013-10-02 Will Newton <will.newton@linaro.org>
26806 * malloc/Makefile: Add tst-posix_memalign.
26807 * malloc/tst-posix_memalign.c: New file.
26809 2013-10-01 Eric Blake <eblake@redhat.com>
26811 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
26812 Use __THROWNL rather than __THROW on static functions.
26814 2013-09-30 Petr Machata <pmachata@redhat.com>
26816 * elf/elf.h (R_AARCH64_ABS16): New macro.
26817 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
26818 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
26819 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
26820 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
26821 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
26822 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
26823 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
26824 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
26825 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
26826 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
26827 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
26828 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
26829 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
26830 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
26831 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
26832 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
26833 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
26834 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
26835 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
26836 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
26837 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
26838 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
26839 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
26840 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
26841 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
26842 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
26843 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
26844 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
26845 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
26846 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
26847 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
26848 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
26849 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
26850 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
26851 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
26852 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
26853 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
26854 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
26855 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
26856 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
26857 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
26858 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
26859 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
26860 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
26861 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
26862 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
26863 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
26864 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
26865 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
26866 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
26867 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
26868 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
26869 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
26870 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
26871 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
26872 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
26873 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
26874 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
26875 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
26876 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
26877 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
26878 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
26879 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
26880 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
26881 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
26882 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
26883 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
26884 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
26885 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
26886 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
26887 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
26888 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
26889 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
26890 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
26891 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
26892 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
26893 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
26894 (R_AARCH64_TLSDESC_LDR): Likewise.
26895 (R_AARCH64_TLSDESC_ADD): Likewise.
26896 (R_AARCH64_TLSDESC_CALL): Likewise.
26898 2013-09-30 Andreas Schwab <schwab@suse.de>
26901 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
26902 the nss database lookup.
26903 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26904 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26906 2013-09-28 Mike Frysinger <vapier@gentoo.org>
26908 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
26910 2013-09-28 P. J. McDermott <pj@pehjota.net>
26912 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
26913 ${Bash-specific parameter/pattern/string} parameter expansion.
26914 * sysdeps/unix/make-syscalls.sh: Likewise.
26916 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26918 * sysdeps/sh/stackguard-macros.h: New file.
26920 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
26922 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26923 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
26924 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
26925 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
26926 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26927 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
26929 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26931 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
26932 Fix thread ID register.
26934 2013-09-25 Joseph Myers <joseph@codesourcery.com>
26936 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
26937 [POSIX || UNIX98]: Require rather than permitting all symbols from
26939 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
26940 element of struct sched_param.
26941 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
26942 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
26943 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
26944 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
26947 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
26949 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
26950 argument calculation.
26952 2013-09-24 Joseph Myers <joseph@codesourcery.com>
26954 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
26956 [POSIX] (pthread_attr_t): Do not require type.
26957 [POSIX] (pthread_cond_t): Likewise.
26958 [POSIX] (pthread_condattr_t): Likewise.
26959 [POSIX] (pthread_key_t): Likewise.
26960 [POSIX] (pthread_mutex_t): Likewise.
26961 [POSIX] (pthread_mutexattr_t): Likewise.
26962 [POSIX] (pthread_once_t): Likewise.
26963 [POSIX] (pthread_t): Likewise.
26964 [POSIX-based standards] (pthread_atfork): Expect function.
26966 2013-09-24 Joseph Myers <joseph@codesourcery.com>
26967 Richard Sandiford <richard@codesourcery.com>
26969 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
26970 (swap_endianness_p): New extern variable.
26971 (set_big_endian): New inline function.
26972 (maybe_swap_uint32): Likewise.
26973 (maybe_swap_uint32_array): Likewise.
26974 (maybe_swap_uint32_obstack): Likewise.
26975 * locale/programs/locfile.c: Include <stdbool.h>.
26976 (swap_endianness_p): New variable.
26977 (add_locale_uint32): Call maybe_swap_uint32.
26978 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
26979 (write_locale_data): Call maybe_swap_uint32_array.
26980 * locale/programs/ld-collate.c (obstack_int32_grow): Call
26982 (obstack_int32_grow_fast): Likewise.
26983 (output_weightwc): Call maybe_swap_uint32_obstack.
26984 (collate_output): Likewise.
26985 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
26986 (OPT_LITTLE_ENDIAN): Likewise.
26987 (options): Add --little-endian and --big-endian options.
26988 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
26989 * locale/programs/locarchive.c: Include "locfile.h".
26993 (create_archive): Use the new macros to access fields of
26994 structures directly mapped from or written to locale archives.
26995 (oldlocrecentcmp): Likewise.
26996 (enlarge_archive): Likewise.
26997 (insert_name): Likewise.
26998 (add_alias): Likewise.
26999 (add_locale): Likewise.
27000 (delete_locales_from_archive): Likewise.
27001 (show_archive_content): Likewise.
27002 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
27005 2013-09-24 Roland McGrath <roland@hack.frob.com>
27007 * manual/freemanuals.texi: Updated from (newly) canonical copy at
27008 http://www.gnu.org/doc/freemanuals.texi.
27009 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
27011 2013-09-24 Will Newton <will.newton@linaro.org>
27013 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
27016 2013-09-23 Joseph Myers <joseph@codesourcery.com>
27018 * locale/hashval.h (compute_hashval): Interpret bytes of key as
27021 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
27023 * manual/threads.texi (POSIX Threads): Fix a typo.
27025 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27028 * string/tst-strcoll-overflow.c: New test case.
27029 * string/Makefile (xtests): Add tst-strcoll-overflow.
27030 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
27031 cache if string sizes may cause integer overflow.
27034 * string/strcoll_l.c (coll_seq): New members rule, idx,
27035 save_idx and back_us.
27036 (get_next_seq_nocache): New function.
27037 (do_compare_nocache): New function.
27038 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
27041 2013-09-23 Carlos O'Donell <carlos@redhat.com>
27044 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
27045 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
27046 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
27049 * elf/Makefile (tests): Add tst-ptrguard1.
27050 (tests-static): Add tst-ptrguard1-static.
27051 (tst-ptrguard1-ARGS): Define.
27052 (tst-ptrguard1-static-ARGS): Define.
27053 * elf/tst-ptrguard1.c: New file.
27054 * elf/tst-ptrguard1-static.c: New file.
27055 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
27056 * sysdeps/i386/stackguard-macros.h: Likewise.
27057 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27058 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27059 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27060 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27061 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27062 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27064 2013-09-23 Hector Marco <hecmargi@upv.es>
27065 Ismael Ripoll <iripoll@disca.upv.es>
27066 Carlos O'Donell <carlos@redhat.com>
27069 * sysdeps/generic/stackguard-macros.h: Define
27070 __pointer_chk_guard_local and POINTER_CHK_GUARD.
27071 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
27072 Define __pointer_chk_guard_local.
27073 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
27074 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
27076 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
27079 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
27081 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
27083 * include/string.h (__ffs): Declare as hidden.
27084 * string/ffs.c (__ffs): Define as hidden.
27085 * sysdeps/i386/ffs.c (__ffs): Likewise.
27086 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27087 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
27088 * sysdeps/s390/ffs.c (__ffs): Likewise.
27089 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
27091 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
27093 * NEWS: Mention malloc probes.
27095 * malloc/arena.c (new_heap): New memory_heap_new probe.
27096 (grow_heap): New memory_heap_more probe.
27097 (shrink_heap): New memory_heap_less probe.
27098 (heap_trim): New memory_heap_free probe.
27099 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
27100 (systrim): New memory_sbrk_less probe.
27101 * manual/probes.texi: Document them.
27103 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
27104 * manual/probes.texi: Document it.
27106 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
27107 (__libc_realloc): Add memory_realloc_retry probe.
27108 (__libc_memalign): Add memory_memalign_retry probe.
27109 (__libc_valloc): Add memory_valloc_retry probe.
27110 (__libc_pvalloc): Add memory_pvalloc_retry probe.
27111 (__libc_calloc): Add memory_calloc_retry probe.
27112 * manual/probes.texi: Document them.
27114 * malloc/arena.c (get_free_list): Add probe
27115 memory_arena_reuse_free_list.
27116 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
27117 and memory_arena_reuse.
27118 (arena_get2) [!PER_THREAD]: Likewise.
27119 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
27120 memory_arena_reuse_realloc.
27121 * manual/probes.texi: Document them.
27123 * malloc/malloc.c (__libc_free): Add
27124 memory_mallopt_free_dyn_thresholds probe.
27125 (__libc_mallopt): Add multiple memory_mallopt probes.
27126 * manual/probes.texi: Document them.
27128 * malloc/malloc.c: Include stap-probe.h.
27129 (__libc_mallopt): Add memory_mallopt probe.
27130 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
27131 * manual/probes.texi: New.
27132 * manual/Makefile (chapters): Add probes.
27133 * manual/threads.texi: Set next node.
27135 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
27137 [BZ #15963, #13985]
27138 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
27139 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
27140 Add `Chinese' to `nan' entry name.
27142 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27144 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
27145 (POLYNOMIAL): Likewise.
27146 (TAYLOR_SINCOS): Likewise.
27147 (TAYLOR_SLOW): Likewise.
27148 (__sin): Use TAYLOR_SINCOS.
27150 (slow): Use TAYLOR_SLOW.
27152 (bsloww): Likewise.
27153 (csloww): Likewise.
27155 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27157 * stdlib/strtod_l.c: Fix buffer overrun.
27159 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27161 * benchtests/Makefile (bench): Add sincos.
27162 * benchtests/bench-sincos.c: New file.
27164 * math/libm-test.inc (cos_test_data): New test inputs.
27165 (sin_test_data): Likewise.
27167 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
27173 (sloww1): Likewise.
27174 (sloww2): Likewise.
27175 (bsloww1): Likewise.
27176 (bsloww2): Likewise.
27177 (cslow2): Likewise.
27178 (csloww1): Likewise.
27179 (csloww2): Likewise.
27181 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
27186 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
27190 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
27192 * config.h.in (HAVE_MIPS_NAN2008): New macro.
27193 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
27194 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
27195 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
27196 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
27197 * elf/cache.c (print_entry): Handle the new cache flags.
27199 2013-09-18 Joseph Myers <joseph@codesourcery.com>
27200 Aldy Hernandez <aldyh@redhat.com>
27202 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
27203 Change condition to [_SOFT_FLOAT].
27204 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
27205 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
27206 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
27207 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
27208 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
27209 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
27210 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
27211 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
27212 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
27213 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
27214 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
27215 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
27216 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
27217 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
27218 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
27219 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
27222 2013-09-18 Joseph Myers <joseph@codesourcery.com>
27224 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
27225 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27226 (__longjmp): Use LOAD_GP to load saved GPRs.
27227 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
27228 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27229 (__sigsetjmp): Use SAVE_GP to save GPRs.
27231 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
27232 Do not append -msoft-float.
27233 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
27235 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27237 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
27239 2013-09-17 Joseph Myers <joseph@codesourcery.com>
27242 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
27243 (_FPU_GETCW): Use initial "__" on variable and field names but not
27244 on macro parameter name.
27245 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
27246 parentheses around reference to macro parameter.
27248 2013-09-13 Richard Sandiford <richard@codesourcery.com>
27250 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
27252 (ctype_startup): Use uint32_t in cast and sizeof for
27255 2013-09-11 Jia Liu <proljc@gmail.com>
27257 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
27259 [__FreeBSD__]: Likewise.
27261 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
27263 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27264 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
27265 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
27266 (strchr): Remove __strchr_sse42 ifunc selection.
27267 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
27268 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
27270 2013-09-11 Will Newton <will.newton@linaro.org>
27272 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
27273 parameter to RES. Remove hardcoded 1000 value.
27274 * benchtests/bench-skeleton.c (main): Pass RES parameter
27275 to TIMING_INIT and multiply result by 1000.
27277 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27281 2013-09-11 Andreas Schwab <schwab@suse.de>
27283 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
27285 (O_TMPFILE) [__USE_GNU]: Define.
27286 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
27289 2013-09-11 Will Newton <will.newton@linaro.org>
27292 * malloc/malloc.c (__libc_memalign): Check the value of bytes
27295 2013-09-11 Will Newton <will.newton@linaro.org>
27298 * malloc/malloc.c (__libc_valloc): Check the value of bytes
27301 2013-09-11 Will Newton <will.newton@linaro.org>
27304 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
27307 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
27309 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
27310 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27311 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27312 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27313 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27315 2013-09-10 Allan McRae <allan@archlinux.org>
27318 * manual/arith.texi (Parsing of Floats): Clarify
27322 * manual/install.texi (Running make install): Mention
27324 * INSTALL: Regenerated.
27326 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
27328 * csu/init-first.c (_init): Remove the !SHARED condition around
27329 FPU control word initialization.
27330 * elf/dl-support.c (_dl_fpu_control): New variable.
27331 (_dl_aux_init) <AT_FPUCW>: Initialize it.
27332 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
27333 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
27334 * math/test-fpucw-static.c: New file.
27335 * math/test-fpucw-ieee.c: New file.
27336 * math/test-fpucw-ieee-static.c: New file.
27337 * math/Makefile (tests): Add `test-fpucw-ieee' and
27339 (tests-static): New variable.
27340 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
27342 [($(build-shared),yes)]
27343 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
27345 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
27348 2013-09-09 Allan McRae <allan@archlinux.org>
27351 * manual/string.texi (Collation Functions): Fix typo in
27353 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
27356 * stdlib/isomac.c (get_null_defines): Fix memory leak.
27359 * libio/memstream.c (open_memstream): Fix memory leak.
27360 * libio/wmemstream.c (open_wmemstream): Likewise.
27363 * nscd/netgroupcache.c: Fix nesting of ifdefs.
27365 2013-09-09 Will Newton <will.newton@linaro.org>
27367 * malloc/Makefile: Add tst-realloc to tests.
27368 * malloc/tst-realloc.c: New file.
27370 2013-09-09 Allan McRae <allan@archlinux.org>
27373 * COPYING: Update from GNU website to fix FSF address.
27374 * COPYING.LIB: Likewise.
27376 2013-09-06 David S. Miller <davem@davemloft.net>
27378 * po/zh_TW.po: Update Chinese (traditional) translation from
27379 translation project.
27381 2013-09-06 Richard Sandiford <richard@codesourcery.com>
27382 Joseph Myers <joseph@codesourcery.com>
27384 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
27386 (obstack_chunk_alloc): New macro.
27387 (obstack_chunk_free): Likewise.
27388 (record_offset): New function.
27389 (init_locale_data): Likewise.
27390 (align_locale_data): Likewise.
27391 (add_locale_empty): Likewise.
27392 (add_locale_raw_data): Likewise.
27393 (add_locale_raw_obstack): Likewise.
27394 (add_locale_string): Likewise.
27395 (add_locale_wstring): Likewise.
27396 (add_locale_uint32): Likewise.
27397 (add_locale_uint32_array): Likewise.
27398 (add_locale_char): Likewise.
27399 (start_locale_structure): Likewise.
27400 (end_locale_structure): Likewise.
27401 (start_locale_prelude): Likewise.
27402 (end_locale_prelude): Likewise.
27403 (write_locale_data): Take locale_file structure rather than an
27405 * locale/programs/locfile.h: Include "obstack.h".
27406 (struct locale_file): Change to store locale file contents instead
27408 (init_locale_data): New prototype.
27409 (align_locale_data): Likewise.
27410 (add_locale_empty): Likewise.
27411 (add_locale_raw_data): Likewise.
27412 (add_locale_raw_obstack): Likewise.
27413 (add_locale_string): Likewise.
27414 (add_locale_wstring): Likewise.
27415 (add_locale_uint32): Likewise.
27416 (add_locale_uint32_array): Likewise.
27417 (add_locale_char): Likewise.
27418 (start_locale_structure): Likewise.
27419 (end_locale_structure): Likewise.
27420 (start_locale_prelude): Likewise.
27421 (end_locale_prelude): Likewise.
27422 (write_locale_data): Update prototype.
27423 * locale/programs/3level.h (struct TABLE): Remove result field.
27424 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
27425 Use new locale_file interface.
27426 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
27427 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
27428 * locale/programs/ld-address.c (address_output): Use new
27429 locale_file interface.
27430 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
27432 (collate_finish): Don't call collseq_table_finalize.
27433 (collate_output): Use new locale_file interface.
27434 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
27436 (NO_FINALIZE): Change to NO_ADD_LOCALE.
27437 (TABLE): Move defines earlier in file.
27438 (ELEMENT): Likewise.
27439 (DEFAULT): Likewise.
27440 (wctrans_table_add): Move macro and inline function earlier in
27442 (struct wctype_table): Move type earlier in file.
27443 (add_locale_wctype_table): New static prototype.
27444 (struct locale_ctype_t): Use logical types instead of struct iovec
27445 pointers for members.
27446 (ctype_output): Use new locale_file interface.
27447 (wctype_table_finalize): Change to add_locale_wctype_table. Use
27448 new locale_file interface.
27449 (allocate_arrays): Update for use of new locale_file interface.
27450 * locale/programs/ld-identification.c (identification_output): Use
27451 new locale_file interface.
27452 * locale/programs/ld-measurement.c (measurement_output): Likewise.
27453 * locale/programs/ld-messages.c (messages_output): Likewise.
27454 * locale/programs/ld-monetary.c (monetary_output): Likewise.
27455 * locale/programs/ld-name.c (name_output): Likewise.
27456 * locale/programs/ld-numeric.c (numeric_output): Likewise.
27457 * locale/programs/ld-paper.c (paper_output): Likewise.
27458 * locale/programs/ld-telephone.c (telephone_output): Likewise.
27459 * locale/programs/ld-time.c (time_output): Likewise.
27461 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27463 * benchtests/Makefile: Add memrchr benchmark.
27464 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
27465 benchmark as memrchr.
27466 * benchtests/bench-memrchr-ifunc.c: New file.
27467 * benchtests/bench-memrchr.c: New file.
27469 2013-09-06 Will Newton <will.newton@linaro.org>
27471 * benchtests/Makefile (string-bench): Add memcpy.
27473 2013-09-05 Carlos O'Donell <carlos@redhat.com>
27474 Cong Wang <amwang@redhat.com>
27477 * sysdeps/unix/sysv/linux/bits/in.h
27478 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
27479 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
27480 before __USE_KERNEL_IPV6_DEFS uses.
27481 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
27483 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
27484 sockaddr_in6, or ipv6_mreq.
27486 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27488 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
27489 memory access for final bytes in some large inputs.
27490 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
27492 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27494 * string/test-memrchr.c: New file.
27495 * string/test-memrchr-ifunc.c: New file.
27496 * string/Makefile: Add new memrchr testcase.
27498 2013-09-05 Mike Frysinger <vapier@gentoo.org>
27500 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
27501 fanotify_init returns EPERM.
27503 2013-09-04 Joseph Myers <joseph@codesourcery.com>
27505 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
27507 (top level): Treat second token from macro or constant entries for
27508 allowed headers as allowed.
27509 * include/complex.h: Condition internal declarations on
27511 * include/fenv.h: Condition include of <stdbool.h> and internal
27512 declarations on [!_ISOMAC].
27514 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
27517 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
27519 2013-09-04 Joseph Myers <joseph@codesourcery.com>
27521 * configure.in (--enable-versioning): Remove configure option.
27522 (libc_cv_asm_symver_directive): Remove configure test.
27523 (libc_cv_ld_version_script_option): Likewise.
27524 (VERSIONING): Remove variable and AC_SUBST.
27525 (DO_VERSIONING): Remove AC_DEFINE.
27526 * configure: Regenerated.
27527 * config.h.in (DO_VERSIONING): Remove macro.
27528 * Makerules [$(versioning) = yes]: Change conditionals to
27529 [$(build-shared) = yes].
27530 * config.make.in (versioning): Remove variable.
27531 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
27532 [$(build-shared) = yes].
27533 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
27534 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
27535 * elf/Makefile [$(versioning) = yes]: Change conditionals to
27536 [$(build-shared) = yes].
27537 * extra-lib.mk [$(versioning) = yes]: Likewise.
27538 * hurd/Makefile [$(versioning) = yes]: Likewise.
27539 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
27541 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
27543 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27544 [SHARED && !NO_HIDDEN].
27545 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
27547 [SHARED && DO_VERSIONING]: Likewise..
27548 * libio/Makefile [$(versioning) = yes]: Change conditionals to
27549 [$(build-shared) = yes].
27550 * manual/install.texi (--disable-versioning): Remove
27552 * INSTALL: Regenerated.
27553 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
27555 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
27556 [$(build-shared) = yes].
27557 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
27558 * sysdeps/i386/i686/multiarch/strstr-c.c
27559 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27560 [SHARED && !NO_HIDDEN].
27561 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
27562 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
27563 * sysdeps/powerpc/powerpc32/dl-machine.c
27564 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
27565 * sysdeps/powerpc/powerpc32/sysdep.h
27566 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
27567 to [SHARED && PIC && !NO_HIDDEN].
27568 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
27569 conditional to [SHARED].
27571 2013-09-04 Will Newton <will.newton@linaro.org>
27573 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
27574 * benchtests/bench-string.h: Include bench-timing.h instead
27575 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
27576 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
27577 call to HP_TIMING_DIFF_INIT.
27578 * benchtests/bench-memccpy.c: Use bench-timing.h macros
27579 instead of hp-timing.h macros.
27580 * benchtests/bench-memchr.c: Likewise.
27581 * benchtests/bench-memcmp.c: Likewise.
27582 * benchtests/bench-memcpy.c: Likewise.
27583 * benchtests/bench-memmem.c: Likewise.
27584 * benchtests/bench-memmove.c: Likewise.
27585 * benchtests/bench-memset.c: Likewise.
27586 * benchtests/bench-rawmemchr.c: Likewise.
27587 * benchtests/bench-strcasecmp.c: Likewise.
27588 * benchtests/bench-strcasestr.c: Likewise.
27589 * benchtests/bench-strcat.c: Likewise.
27590 * benchtests/bench-strchr.c: Likewise.
27591 * benchtests/bench-strcmp.c: Likewise.
27592 * benchtests/bench-strcpy.c: Likewise.
27593 * benchtests/bench-strcpy_chk.c: Likewise.
27594 * benchtests/bench-strlen.c: Likewise.
27595 * benchtests/bench-strncasecmp.c: Likewise.
27596 * benchtests/bench-strncat.c: Likewise.
27597 * benchtests/bench-strncmp.c: Likewise.
27598 * benchtests/bench-strncpy.c: Likewise.
27599 * benchtests/bench-strnlen.c: Likewise.
27600 * benchtests/bench-strpbrk.c: Likewise.
27601 * benchtests/bench-strrchr.c: Likewise.
27602 * benchtests/bench-strspn.c: Likewise.
27603 * benchtests/bench-strstr.c: Likewise.
27605 2013-09-04 Will Newton <will.newton@linaro.org>
27607 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
27609 2013-09-03 Joseph Myers <joseph@codesourcery.com>
27612 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
27613 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
27614 * math/libm-test.inc (lgamma_test_data): Add more tests.
27615 * sysdeps/i386/fpu/libm-test-ulps: Update.
27616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27618 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
27620 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
27621 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27623 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27624 Add strcmp-sse2-unaligned
27625 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
27627 2013-09-02 Mike Frysinger <vapier@gentoo.org>
27629 * Versions.def (libc): Add GLIBC_2.19.
27631 2013-09-02 Mike Frysinger <vapier@gentoo.org>
27633 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
27634 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
27636 2013-09-02 Joseph Myers <joseph@codesourcery.com>
27639 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
27640 intermediate calculations in recurrence.
27641 (__ieee754_ynf): Likewise.
27642 * math/libm-test.inc (jn_test_data): Do not allow spurious
27643 underflow exception. Add more tests.
27644 (yn_test_data): Add more tests.
27645 * sysdeps/i386/fpu/libm-test-ulps: Update.
27646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27648 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
27650 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
27652 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
27654 * csu/init-first.c: Fix then/than typos.
27655 * locale/programs/ld-collate.c: Likewise.
27656 * locale/programs/linereader.h: Likewise.
27657 * manual/charset.texi: Likewise.
27658 * manual/filesys.texi: Likewise.
27659 * manual/stdio.texi: Likewise.
27660 * manual/string.texi: Likewise.
27661 * stdlib/fmtmsg.c: Likewise.
27662 * sysdeps/i386/stpncpy.S: Likewise.
27663 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27664 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27665 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27666 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27668 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
27670 * elf/dl-open.c: Fix typos.
27671 * iconvdata/gbbig5.c: Likewise.
27672 * iconvdata/iso-2022-jp.c: Likewise.
27673 * iconv/gconv_int.h: Likewise.
27674 * iconv/loop.c: Likewise.
27675 * nis/rpcsvc/nis.h: Likewise.
27676 * resolv/ns_name.c: Likewise.
27677 * stdio-common/vfscanf.c: Likewise.
27678 * streams/stropts.h: Likewise.
27679 * sunrpc/rpc_thread.c: Likewise.
27680 * sysdeps/i386/strpbrk.S: Likewise.
27681 * sysdeps/ieee754/k_standard.c: Likewise.
27682 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27683 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27684 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
27685 * sysdeps/mach/hurd/profil.c: Likewise.
27686 * sysdeps/s390/dl-procinfo.h: Likewise.
27687 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
27688 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
27689 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
27690 * sysdeps/x86_64/dl-trampoline.S: Likewise.
27691 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27693 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
27695 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
27696 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
27698 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
27700 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
27701 aix specific files.
27702 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
27703 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
27704 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
27705 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
27706 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
27707 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
27708 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
27709 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
27711 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
27712 Roland McGrath <roland@hack.frob.com>
27714 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
27715 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
27717 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
27719 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
27720 __executable_start symbol instead of _start.
27722 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
27724 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
27725 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
27727 * sysdeps/gnu/ldsodefs.h: ... this new file.
27729 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
27730 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
27731 instead of ELFOSABI_LINUX.
27733 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
27734 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
27735 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
27736 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
27738 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
27739 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
27740 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
27742 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27743 (ibm_extended_long_double): Add ieee_nan member.
27744 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
27745 (do_test): New function.
27747 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
27749 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
27750 functions, renamed from truncdfsf_test, trunctfsf_test,
27752 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
27754 (do_test): Run all these.
27756 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
27758 * argp/argp-help.c: Fix typos.
27759 * argp/argp-parse.c: Likewise.
27760 * debug/backtracesyms.c: Likewise.
27761 * elf/elf.h: Likewise.
27762 * malloc/malloc.c: Likewise.
27763 * nis/nis_print.c: Likewise.
27764 * resolv/res_comp.c: Likewise.
27765 * stdlib/stdlib.h: Likewise.
27766 * sunrpc/clnt_tcp.c: Likewise.
27767 * sunrpc/clnt_udp.c: Likewise.
27768 * sunrpc/clnt_unix.c: Likewise.
27769 * sysdeps/unix/bsd/ptsname.c: Likewise.
27770 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
27771 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
27772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
27774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
27776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27778 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27780 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27782 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
27783 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27785 2013-08-27 Mike Frysinger <vapier@gentoo.org>
27788 * dlfcn/Makefile (tests): Add bug-dl-leaf.
27789 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
27790 ($(objpfx)bug-dl-leaf): New rule.
27791 ($(objpfx)bug-dl-leaf.so): Likewise.
27792 ($(objpfx)bug-dl-leaf.out): Likewise.
27793 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
27794 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
27795 * dlfcn/bug-dl-leaf.c: New test.
27796 * dlfcn/bug-dl-leaf-lib.c: Likewise.
27797 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
27798 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
27799 (dlclose): Likewise.
27800 (dlmopen): Likewise.
27802 2013-08-27 Roland McGrath <roland@hack.frob.com>
27804 * include/netdb.h [!_ISOMAC]:
27805 Don't include <tls.h>.
27806 (h_errno, __libc_h_errno): Move declaration and macros out of
27809 * include/resolv.h [_RESOLV_H_]:
27810 Don't include <tls.h>.
27811 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
27812 * resolv/res_libc.c: Don't include <tls.h>.
27813 (_res): Use __attribute__ ((nocommon)) in place of
27814 __attribute__ ((section (".bss"))).
27816 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
27817 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
27819 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
27821 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
27822 only under [SIOCGIFCONF && SIOCGIFNETMASK].
27824 * resolv/res_mkquery.c: Include <sys/time.h>.
27826 * inet/ifreq.c: Moved to ...
27827 * sysdeps/unix/ifreq.c: ... here.
27828 * inet/ifreq.c: New file, true stub version.
27830 * socket/sa_len.c: New file.
27831 * socket/Makefile (aux): Add it.
27832 * sysdeps/unix/sysv/linux/Makefile
27833 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
27834 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
27835 and #include <socket/sa_len.c>.
27836 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
27837 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
27839 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
27840 * bits/socket.h: ... here.
27842 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
27843 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
27844 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
27846 2013-08-27 Andreas Schwab <schwab@suse.de>
27849 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
27850 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
27851 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
27852 * string/test-strcasecmp.c (test_main): Run tests in several
27854 * string/test-strncasecmp.c (test_main): Likewise.
27856 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
27857 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
27858 to __strcasecmp_nonascii and __strncasecmp_nonascii.
27859 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
27860 (__strncasecmp_ssse3) [PIC]: Likewise.
27862 2013-08-26 Roland McGrath <roland@hack.frob.com>
27864 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
27866 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
27867 instead of explicitly declaring xdecrypt.
27868 * nis/nss_nis/nis-publickey.c: Likewise.
27870 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27873 * nscd/aicache.c: Include res_hconf.h.
27874 (addhstaiX): Initialize res_hconf.
27876 2013-08-26 Andreas Schwab <schwab@suse.de>
27878 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
27879 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
27881 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27883 * nscd/aicache.c (addhstaiX): Fix indentation.
27885 2013-08-25 Mike Frysinger <vapier@gentoo.org>
27887 * configure.ac: Quote $build_pt_chown test.
27888 * configure: Regenerated.
27890 2013-08-23 Joseph Myers <joseph@codesourcery.com>
27893 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
27894 * math/s_cexpf.c (__cexpf): Likewise.
27895 * math/s_cexpl.c (__cexpl): Likewise.
27896 * math/libm-test.inc (cexp_test_data): Correct expected return
27897 value for NaN + i0. Add another test.
27899 2013-08-22 David S. Miller <davem@davemloft.net>
27901 * po/ca.po: Update Catalan translation from translation project.
27902 * po/uk.po: Add Ukrainian translations from translation project.
27904 2013-08-21 Joseph Myers <joseph@codesourcery.com>
27907 * math/s_fdim.c (__fdim): Check for infinite arguments if result
27908 is infinite, not alongside NaN test.
27909 * math/s_fdimf.c (__fdimf): Likewise.
27910 * math/s_fdiml.c (__fdiml): Likewise.
27911 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
27912 errno is unchanged.
27914 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
27916 * argp/argp-help.c: Fix typos.
27917 * crypt/speeds.c: Likewise.
27918 * csu/check_fds.c: Likewise.
27919 * elf/dl-load.c: Likewise.
27920 * elf/dl-open.c: Likewise.
27921 * elf/reldep3.c: Likewise.
27922 * elf/reldep.c: Likewise.
27923 * elf/sprof.c: Likewise.
27924 * iconv/iconv_charmap.c: Likewise.
27925 * iconv/skeleton.c: Likewise.
27926 * iconv/strtab.c: Likewise.
27927 * io/lockf64.c: Likewise.
27928 * libio/libioP.h: Likewise.
27929 * resolv/gai_notify.c: Likewise.
27930 * resolv/ns_name.c: Likewise.
27931 * resolv/ns_samedomain.c: Likewise.
27932 * resolv/res_send.c: Likewise.
27933 * stdlib/random.c: Likewise.
27934 * sunrpc/rpc/xdr.h: Likewise.
27935 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
27936 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27937 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27938 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27939 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27940 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27941 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27942 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27943 * sysdeps/mach/hurd/check_fds.c: Likewise.
27944 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27945 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27946 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27947 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27948 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27949 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27950 * sysdeps/pthread/aio_notify.c: Likewise.
27951 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
27952 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
27953 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
27954 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27955 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27957 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27959 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
27960 version if bit_Slow_SSE4_2 is set.
27961 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27962 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27964 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27967 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
27968 trampoline stack frame information.
27969 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
27970 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
27971 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
27972 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
27973 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
27974 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27975 (_libc_vdso_platform_setup): Initialize the signal trampolines.
27976 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
27978 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
27979 interrupting a syscall and set with option SA_SIGINFO.
27981 2013-08-20 Joseph Myers <joseph@codesourcery.com>
27984 * math/s_cproj.c (__cproj): Only return an infinity if one part of
27985 argument is infinite.
27986 * math/s_cprojf.c (__cprojf): Likewise.
27987 * math/s_cprojl.c (__cprojl): Likewise.
27988 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
27989 * math/libm-test.inc (cproj_test_data): Add more tests.
27991 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
27993 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
27994 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
27995 size. Use __ffs to determine corresponding shift.
27997 2013-08-20 Joseph Myers <joseph@codesourcery.com>
27998 Roland McGrath <roland@hack.frob.com>
28000 * Makefile (INSTALL): Remove trailing blank lines from output of
28003 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28005 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
28006 Align 32 bit compat elf_greg to 8 bytes.
28008 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
28010 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
28012 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28014 * string/strcoll_l.c (coll_seq): New structure.
28015 (get_next_seq_cached): New function.
28016 (get_next_seq): New function.
28017 (do_compare): New function.
28018 (STRCOLL): Use GNU style definition. Simplify implementation
28019 by using get_next_seq, get_next_seq_cached and do_compare.
28021 2013-08-16 Florian Weimer <fweimer@redhat.com>
28025 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
28027 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
28029 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
28030 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
28031 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
28033 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
28034 GETDENTS_64BIT_ALIGNED.
28035 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28036 * manual/filesys.texi (Reading/Closing Directory): Document
28037 ENAMETOOLONG return value of readdir_r. Recommend readdir more
28039 * manual/conf.texi (Limits for Files): Add portability note to
28040 NAME_MAX, PATH_MAX.
28041 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
28043 2013-08-13 Andreas Schwab <schwab@suse.de>
28046 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
28048 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
28049 LDBL_MAX_EXP >= 16384]: Add tests for it.
28051 2013-08-12 David S. Miller <davem@davemloft.net>
28053 * version.h (RELEASE): Set to "development".
28054 (VERSION): Set to "2.18.90".
28055 * NEWS: Add 2.19 section.
28057 2013-08-03 David S. Miller <davem@davemloft.net>
28059 * po/ko.po: Update Korean translation from translation project.
28061 2013-08-01 David S. Miller <davem@davemloft.net>
28063 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
28064 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
28067 2013-07-30 David S. Miller <davem@davemloft.net>
28069 * po/fr.po: Update French translation from translation project.
28071 2013-07-28 David S. Miller <davem@davemloft.net>
28073 * po/cs.po: Update Czech translation from translation project.
28075 * po/sv.po: Update Swedish translation from translation project.
28077 2013-07-27 David S. Miller <davem@davemloft.net>
28079 * po/eo.po: Update Esperanto translation from translation project.
28081 * po/vi.po: Update Vietnamese translation from translation project.
28083 * po/de.po: Update German translation from translation project.
28085 2013-07-26 David S. Miller <davem@davemloft.net>
28087 * po/bg.po: Update Bulgarian translation from translation project.
28089 * po/nl.po: Update Dutch translation from translation project.
28090 * po/pl.po: Update Polish translation from translation project.
28091 * po/ru.po: Update Russian translation from translation project.
28093 2013-07-24 David S. Miller <davem@davemloft.net>
28095 * po/libc.pot: Update.
28097 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28099 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
28100 variable page size.
28101 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
28102 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
28103 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
28105 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28107 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
28109 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28110 Andreas Schwab <schwab@suse.de>
28111 Roland McGrath <roland@hack.frob.com>
28112 Joseph Myers <joseph@codesourcery.com>
28113 Carlos O'Donell <carlos@redhat.com>
28116 * config.h.in: Define HAVE_PT_CHOWN.
28117 * config.make.in (build-pt-chown): New variable.
28118 * configure.in (--enable-pt_chown): New configure option.
28119 * configure: Regenerate.
28120 * login/Makefile: Include Makeconfig. Build pt_chown only if
28121 build-pt-chown is enabled.
28122 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
28123 pt_chown to fix pty ownership.
28124 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
28126 * manual/install.texi (Configuring and compiling): Mention
28127 --enable-pt_chown. Add @findex for grantpt.
28128 * INSTALL: Regenerate.
28130 2013-07-20 David S. Miller <davem@davemloft.net>
28132 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
28133 difference between 32-bit and 64-bit.
28135 2013-07-15 Carlos O'Donell <carlos@redhat.com>
28138 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
28139 Avoid system header dependency with -ffreestanding.
28140 ($(objpfx)bits/syscall%d): Likewise.
28142 2013-07-13 David S. Miller <davem@davemloft.net>
28144 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
28145 underflows from atanl/atan2l due to bug 15319.
28146 (casinh_test_data): Likewise.
28148 2013-07-07 David S. Miller <davem@davemloft.net>
28150 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
28152 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
28154 * sysdeps/i386/fpu/libm-test-ulps: Update.
28155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28157 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28159 * configure.in (--enable-lock-elision): Fix message text.
28160 * INSTALL: Regenerate.
28161 * configure: Regenerate.
28163 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28167 2013-07-03 Andreas Jaeger <aj@suse.de>
28169 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
28171 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
28172 (ptrace_peeksiginfo_args): Add.
28173 (__ptrace_peeksiginfo_flags): Add.
28174 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28175 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28176 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28178 2013-07-03 Allan McRae <allan@archlinux.org>
28180 * sysdeps/i386/fpu/libm-test-ulps: Update.
28182 2013-07-02 David S. Miller <davem@davemloft.net>
28184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28186 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
28188 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28190 2013-07-02 Joseph Myers <joseph@codesourcery.com>
28192 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28195 2013-07-02 Andi Kleen <ak@linux.intel.com>
28197 * config.h.in (ENABLE_LOCK_ELISION): Add.
28198 * configure.in (--enable-lock-elision): Add option.
28199 * manual/install.texi: Document --enable lock elision.
28200 * configure: Regenerate
28201 * INSTALL: Regenerate.
28203 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
28205 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
28206 SSE4.2 strcasecmp for libc.a.
28207 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28209 2013-07-02 Joseph Myers <joseph@codesourcery.com>
28212 * soft-fp/op-common.h (_FP_FMA): New macro.
28213 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
28214 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
28215 (_FP_MUL_MEAT_1_imm): ... here.
28216 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
28217 (_FP_MUL_MEAT_1_wide): ... here.
28218 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
28219 (_FP_MUL_MEAT_1_hard): ... here.
28220 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
28221 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
28222 (_FP_MUL_MEAT_2_wide): ... here.
28223 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
28224 (_FP_MUL_MEAT_2_wide_3mul): ... here.
28225 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
28226 (_FP_MUL_MEAT_2_gmp): ... here.
28227 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
28228 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
28229 (_FP_MUL_MEAT_4_wide): ... here.
28230 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
28231 (_FP_MUL_MEAT_4_gmp): ... here.
28232 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
28233 (_FP_WFRACBITS_DW_S): Likewise.
28234 (_FP_WFRACXBITS_DW_S): Likewise.
28235 (_FP_HIGHBIT_DW_S): Likewise.
28236 (FP_FMA_S): Likewise.
28237 (_FP_FRAC_HIGH_DW_S): Likewise.
28238 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
28239 (_FP_WFRACBITS_DW_D): Likewise.
28240 (_FP_WFRACXBITS_DW_D): Likewise.
28241 (_FP_HIGHBIT_DW_D): Likewise.
28242 (FP_FMA_D): Likewise.
28243 (_FP_FRAC_HIGH_DW_D): Likewise.
28244 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
28245 (_FP_WFRACBITS_DW_E): Likewise.
28246 (_FP_WFRACXBITS_DW_E): Likewise.
28247 (_FP_HIGHBIT_DW_E): Likewise.
28248 (FP_FMA_E): Likewise.
28249 (_FP_FRAC_HIGH_DW_E): Likewise.
28250 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
28251 (_FP_WFRACBITS_DW_Q): Likewise.
28252 (_FP_WFRACXBITS_DW_Q): Likewise.
28253 (_FP_HIGHBIT_DW_Q): Likewise.
28254 (FP_FMA_Q): Likewise.
28255 (_FP_FRAC_HIGH_DW_Q): Likewise.
28256 * soft-fp/fmasf4.c: New file.
28257 * soft-fp/fmadf4.c: Likewise.
28258 * soft-fp/fmatf4.c: Likewise.
28260 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28262 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28263 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
28265 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
28267 (index_Slow_SSE4_2): Likewise.
28268 (index_Prefer_PMINUB_for_stringop): Likewise.
28269 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
28270 bit_Slow_SSE4_2 is set.
28271 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28272 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28274 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28276 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
28277 rtld_global._dl_hwcap2.
28278 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
28280 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
28281 POWER8 feature descriptions defined in _dl_hwcap2.
28282 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
28283 string handling for POWER8 feature bits.
28284 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
28285 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
28286 _dl_powerpc_cap_flags.
28287 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
28288 * sysdeps/powerpc/rtld-global-offsets.sym
28289 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
28290 _dl_hwcap2 in the rtld_global_ro structure.
28292 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28294 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
28295 hardware capabilities in support of AT_HWCAP2.
28296 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
28297 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
28299 (_dl_show_auxv): Add support for calling _dl_procinfo to display
28300 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
28301 explicitly the unknown a_type display mechanism is used.
28302 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
28303 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
28305 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
28306 to macro prototype for AT_HWCAP2 support.
28307 * sysdeps/i386/dl-procinfo.h: Likewise.
28308 * sysdeps/s390/dl-procinfo.h: Likewise.
28309 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
28310 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
28311 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
28312 return -1 for unknown a_type display fallback.
28313 * sysdeps/sparc/dl-procinfo.h: Likewise.
28314 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
28315 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
28317 2013-06-28 Joseph Myers <joseph@codesourcery.com>
28319 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
28320 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
28322 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
28325 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
28326 mprotect making __stack_prot writable.
28328 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
28329 Joseph Myers <joseph@codesourcery.com>
28331 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
28332 as being properly aligned.
28334 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
28336 * dlfcn/modstatic5.c: New file.
28337 * dlfcn/tststatic5.c: New file.
28338 * dlfcn/Makefile (tests): Add tststatic5.
28339 (tests-static): Likewise.
28340 (modules-names): Add modstatic5.
28341 (tststatic5-ENV): New variable.
28342 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
28345 * elf/dl-support.c (_dl_main_map): New variable.
28346 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
28347 (_dl_nns, _dl_load_adds): Set to 1.
28348 (_dl_initial_searchlist): Refer to _dl_main_map.
28349 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
28350 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
28351 call to _dl_get_origin.
28352 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
28354 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
28355 * dlfcn/modstatic3.c: New file.
28356 * dlfcn/tststatic3.c: New file.
28357 * dlfcn/tststatic4.c: New file.
28358 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
28359 (tests-static): Likewise.
28360 (modules-names): Add modstatic3.
28361 (tststatic3-ENV, tststatic4-ENV): New variables.
28362 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
28363 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
28365 2013-06-26 Joseph Myers <joseph@codesourcery.com>
28367 * configure.in (CC): Require GCC version 4.4 or later.
28368 * configure: Regenerated.
28369 * manual/install.texi (Tools for Compilation): Update GCC version
28371 * INSTALL: Regenerated.
28373 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28376 * string/test-memcmp.c (check2): New.
28377 (main): Call check2.
28379 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
28381 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
28384 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
28386 (dl_open_worker) [!SHARED]: ... here.
28388 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28390 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
28392 2013-06-25 Richard Henderson <rth@redhat.com>
28394 * locale/programs/locarchive.c: Include <libc-internal.h>
28396 2013-06-25 Joseph Myers <joseph@codesourcery.com>
28398 * manual/texinfo.tex: Update to version 2013-06-21.17, with
28399 trailing whitespace removed.
28401 2013-06-24 Mike Frysinger <vapier@gentoo.org>
28404 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
28405 * locale/programs/locarchive.c: Include libc-mmap.h.
28406 (prepare_address_space): Take two new outputs (the mmap base and len).
28407 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
28409 (create_archive): Declare new mmap base and len values for
28410 prepare_address_space, and store the result in ah.
28411 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
28412 (enlarge_archive): If ah->mmap_base is not NULL, use that and
28413 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28414 Declare new mmap base and len values for
28415 prepare_address_space, and store the result in new_ah.
28416 (open_archive): Declare new mmap base and len values for
28417 prepare_address_space, and store the result in ah.
28418 (close_archive): If ah->mmap_base is not NULL, use that and
28419 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28420 * sysdeps/generic/libc-mmap.h: New file.
28422 2013-06-24 Mike Frysinger <vapier@gentoo.org>
28424 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
28425 (ALIGN_UP): Likewise.
28426 (PTR_ALIGN_DOWN): Likewise.
28427 (PTR_ALIGN_UP): Likewise.
28429 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28431 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
28432 entry mapped to PPC_PLATFORM_POWER8.
28433 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
28435 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
28436 (_dl_string_platform): Add case for exporting platform position for
28438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
28439 search path to sysdeps/powerpc/powerpc32/power8 directory.
28440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
28441 search path to sysdeps/powerpc/powerpc64/power8 directory.
28442 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
28443 power7 directories.
28444 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
28445 power7 directories.
28447 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28449 * INSTALL: Regenerate.
28451 * nscd/connections.c (nscd_init): Fix comment.
28453 2013-06-22 Joseph Myers <joseph@codesourcery.com>
28455 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
28458 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
28459 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
28461 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
28463 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
28465 (DL_DST_REQ_STATIC): Remove macro.
28467 2013-06-21 Joseph Myers <joseph@codesourcery.com>
28470 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
28471 with a shift of 0 bits.
28473 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
28475 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
28478 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28481 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
28483 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28485 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
28486 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
28487 accepts -fno-tree-loop-distribute-patterns.
28488 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
28489 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
28491 * string/memset.c (memset): Likewise.
28492 * string/test-memmove.c (simple_memmove): Disable loop transformation
28494 * string/test-memset.c (simple_memset): Likewise.
28495 * benchtests/bench-memmove.c (simple_memmove): Likewise.
28496 * benchtests/bench-memset.c (simple_memset): Likewise.
28497 * configure: Regenerated.
28499 2013-06-20 Joseph Myers <joseph@codesourcery.com>
28501 * math/test-misc.c (main): Ignore fesetround failure when failures
28502 of subsequent rounding tests would be ignored.
28505 * math/fedisblxcpt.c (fedisableexcept): Return 0.
28506 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
28507 * math/fegetenv.c (__fegetenv): Return 0.
28508 * math/fegetexcept.c (fegetexcept): Return 0.
28509 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
28511 * math/feholdexcpt.c (feholdexcept): Return 0.
28512 * math/fesetenv.c (__fesetenv): Return 0.
28513 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
28514 argument FE_TONEAREST.
28515 * math/feupdateenv.c (__feupdateenv): Return 0.
28516 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
28518 2013-06-18 Roland McGrath <roland@hack.frob.com>
28520 * elf/rtld-Rules (rtld-compile-command.S): New variable.
28521 (rtld-compile-command.s, rtld-compile-command.c): New variables.
28522 ($(objpfx)rtld-%.os rules): Use them.
28524 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28526 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
28529 2013-06-17 Roland McGrath <roland@hack.frob.com>
28531 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
28532 length of target pattern, then descending length of dependency pattern.
28533 * configure.in (AWK): Require gawk 3.1.2 or newer.
28534 * manual/install.texi (Tools for Compilation): Say that we do.
28535 * configure: Regenerated.
28537 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
28538 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
28539 * scripts/sysd-rules.awk: ... this new script.
28540 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
28541 than a glob-style pattern.
28543 2013-06-17 Joseph Myers <joseph@codesourcery.com>
28545 * math/test-misc.c (main): Do not treat incorrectly rounded
28546 conversions as failure unless ROUNDING_TESTS passes.
28548 2013-06-15 Joseph Myers <joseph@codesourcery.com>
28551 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
28552 restore exception state around main square root computation, then
28553 check for inexactness explicitly.
28555 * math/libm-test.inc (fma_test_data): Add another test.
28557 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28559 * manual/threads.texi (Non-POSIX Extensions): New document
28560 node. Document pthread_getattr_default_np and
28561 pthread_setattr_default_np.
28563 * Versions.def (libpthread): Add GLIBC_2.18.
28564 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
28565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28573 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
28575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28579 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28581 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28584 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28586 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28587 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
28589 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28590 H.J. Lu <hjl.tools@gmail.com>
28593 * sysdeps/x86_64/rtld-memset.c: Remove file.
28594 * sysdeps/x86_64/rtld-memset.S: New file.
28596 2013-06-14 Joseph Myers <joseph@codesourcery.com>
28598 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
28599 (test_in_one_mode): Take arguments for whether the rounding mode
28600 is supported for each floating-point type.
28601 (do_test): Pass new arguments to test_in_one_mode using
28604 2013-06-13 Roland McGrath <roland@hack.frob.com>
28606 * posix/tst-waitid.c (do_test): Distinguish different instances of
28607 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
28608 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
28609 before entering the kernel for waitpid.
28611 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28613 * NEWS: Fix note on clock function precision. Text by Roland
28616 2013-06-13 Roland McGrath <roland@hack.frob.com>
28618 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
28619 it into place only when and if the sanity check passes.
28621 2013-06-13 Joseph Myers <joseph@codesourcery.com>
28623 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
28624 output for whether conversion result is exact. Take argument
28625 indicating whether type is IBM long double.
28626 (round_for_all): Change need_exact field to ibm_ld.
28627 * stdlib/tst-strtod-round.c (struct exactness): New type.
28628 (struct test): Change bool ld_ok field to struct exactness exact.
28629 (TEST): Update all definitions for change to field.
28630 (tests): Regenerate array contents.
28631 (test_in_one_mode): Take pointer to new field instead of old ld_ok
28632 field value. Check for IBM long double here.
28633 (do_test): Update calls to test_in_one_mode.
28635 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28638 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
28639 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
28641 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28644 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
28645 generated by the compiler on loop optimizations.
28646 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
28647 general definitions.
28649 2013-06-12 Joseph Myers <joseph@codesourcery.com>
28651 * math/bug-nextafter.c: Include <math-tests.h>.
28652 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28654 * math/bug-nexttoward.c: Include <math-tests.h>.
28655 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28657 * math/test-misc.c: Include <math-tests.h>.
28658 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28661 2013-06-12 Andreas Jaeger <aj@suse.de>
28663 * po/ia.po: Update Interlingua translation from translation
28666 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28668 * include/fenv.h: Include stdbool.h.
28669 (struct rm_ctx): New structure.
28670 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
28672 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
28673 (SET_RESTORE_ROUNDF): Likewise.
28674 (SET_RESTORE_ROUNDL): Likewise.
28675 (SET_RESTORE_ROUND_NOEX): Likewise.
28676 (SET_RESTORE_ROUND_NOEXF): Likewise.
28677 (SET_RESTORE_ROUND_NOEXL): Likewise.
28678 (SET_RESTORE_ROUND_53BIT): Likewise.
28679 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
28680 (libc_feresetround_noexf_ctx): Likewise.
28681 (libc_feresetround_noexl_ctx): Likewise.
28682 (libc_feholdsetround_53bit_ctx): Likewise.
28683 (libc_feresetround_53bit_ctx): Likewise.
28684 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
28685 (libc_feholdexcept_setround_sse_ctx): New function.
28686 (libc_fesetenv_sse_ctx): Likewise.
28687 (libc_feupdateenv_sse_ctx): Likewise.
28688 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
28689 (libc_feholdexcept_setround_387_ctx): Likewise.
28690 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
28691 (libc_feholdsetround_387_prec_ctx): Likewise.
28692 (libc_feholdsetround_387_ctx): Likewise.
28693 (libc_feholdsetround_387_53bit_ctx): Likewise.
28694 (libc_feholdsetround_sse_ctx): Likewise.
28695 (libc_feresetround_sse_ctx): Likewise.
28696 (libc_feresetround_387_ctx): Likewise.
28697 (libc_feupdateenv_387_ctx): Likewise.
28698 (libc_feholdexcept_setroundf_ctx): Define macro.
28699 (libc_fesetenvf_ctx): Likewise.
28700 (libc_feupdateenvf_ctx): Likewise.
28701 (libc_feholdsetroundf_ctx): Likewise.
28702 (libc_feresetroundf_ctx): Likewise.
28703 (libc_feholdexcept_setround_ctx): Likewise.
28704 (libc_fesetenv_ctx): Likewise.
28705 (libc_feupdateenv_ctx): Likewise.
28706 (libc_feholdsetround_ctx): Likewise.
28707 (libc_feresetround_ctx): Likewise.
28708 (libc_feholdexcept_setroundl_ctx): Likewise.
28709 (libc_feupdateenvl_ctx): Likewise.
28710 (libc_feholdsetroundl_ctx): Likewise.
28711 (libc_feresetroundl_ctx): Likewise.
28712 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
28713 (libc_feresetround_53bit_ctx): Likewise.
28715 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28717 * locale/iso-639.def: Convert to UTF-8.
28719 2013-06-11 Joseph Myers <joseph@codesourcery.com>
28721 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
28722 (EXCEPTION_TESTS_double): Likewise.
28723 (EXCEPTION_TESTS_long_double): Likewise.
28724 (EXCEPTION_TESTS): Likewise.
28725 * math/libm-test.inc (test_exceptions): Only test exceptions if
28726 EXCEPTION_TESTS (FLOAT).
28728 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28730 * benchtests/Makefile (string-bench): Add strcpy_chk and
28732 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
28733 * benchtests/bench-stpcpy_chk.c: New file.
28734 * benchtests/bench-strcpy_chk-ifunc.c: New file.
28735 * benchtests/bench-strcpy_chk.c: New file.
28736 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
28738 (do_test): Likewise.
28740 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28742 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
28743 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
28744 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
28745 with tabs where appropriate.
28746 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
28748 [PPC_PLATFORM_PPC440]: Likewise.
28749 [PPC_PLATFORM_PPC464]: Likewise.
28750 [PPC_PLATFORM_PPC476]: Likewise.
28751 (_dl_string_platform): Add support for detecting ppc405, ppc440,
28752 ppc464, and ppc476 platform strings merging from ports/
28755 2013-06-11 Andreas Schwab <schwab@suse.de>
28758 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
28759 (from_ucs4_idx): Regenerate.
28760 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
28761 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
28762 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
28763 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
28764 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
28765 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
28766 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
28767 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
28768 from FROM_LOOP and TO_LOOP specific macros.
28769 (BODY): Handle combining characters.
28770 * iconvdata/BIG5HKSCS.irreversible: Update.
28771 * iconvdata/BIG5HKSCS.precomposed: New file.
28772 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
28774 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
28776 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28778 * include/sys/time.h: Fix indentation and add copyright header.
28780 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
28781 (do_test): Likewise.
28782 * string/test-memchr.c (do_one_test): Likewise.
28783 (do_test): Likewise.
28784 * string/test-memcmp.c (do_one_test): Likewise.
28785 (do_test): Likewise.
28786 * string/test-memcpy.c (do_one_test): Likewise.
28787 (do_test): Likewise.
28788 * string/test-memmem.c (do_one_test): Likewise.
28789 (do_test): Likewise.
28790 (do_random_tests): Likewise.
28791 * string/test-memmove.c (do_one_test): Likewise.
28792 (do_test): Likewise.
28793 * string/test-memset.c (do_one_test): Likewise.
28794 (do_test): Likewise.
28795 * string/test-rawmemchr.c (do_one_test): Likewise.
28796 (do_test): Likewise.
28797 * string/test-strcasecmp.c (do_one_test): Likewise.
28798 (do_test): Likewise.
28799 * string/test-strcasestr.c (do_one_test): Likewise.
28800 (do_test): Likewise.
28801 * string/test-strcat.c (do_one_test): Likewise.
28802 (do_test): Likewise.
28803 * string/test-strchr.c (do_one_test): Likewise.
28804 (do_test): Likewise.
28805 * string/test-strcmp.c (do_one_test): Likewise.
28806 (do_test): Likewise.
28807 * string/test-strcpy.c (do_one_test): Likewise.
28808 (do_test): Likewise.
28809 * string/test-string.h: Likewise.
28810 (test_init): Likewise.
28811 * string/test-strlen.c (do_one_test): Likewise.
28812 (do_test): Likewise.
28813 * string/test-strncasecmp.c (do_one_test): Likewise.
28814 (do_test): Likewise.
28815 * string/test-strncat.c (do_one_test): Likewise.
28816 (do_test): Likewise.
28817 * string/test-strncmp.c (do_one_test): Likewise.
28818 (do_test_limit): Likewise.
28819 (do_test): Likewise.
28820 * string/test-strncpy.c (do_one_test): Likewise.
28821 (do_test): Likewise.
28822 * string/test-strnlen.c (do_one_test): Likewise.
28823 (do_test): Likewise.
28824 * string/test-strpbrk.c (do_one_test): Likewise.
28825 (do_test): Likewise.
28826 * string/test-strrchr.c (do_one_test): Likewise.
28827 (do_test): Likewise.
28828 * string/test-strspn.c (do_one_test): Likewise.
28829 (do_test): Likewise.
28830 * string/test-strstr.c (do_one_test): Likewise.
28831 (do_test): Likewise.
28833 * benchtests/Makefile (string-bench): Add string benchmarks.
28834 * benchtests/bench-bcopy-ifunc.c: New file.
28835 * benchtests/bench-bcopy.c: New file.
28836 * benchtests/bench-bzero-ifunc.c: New file.
28837 * benchtests/bench-bzero.c: New file.
28838 * benchtests/bench-memccpy-ifunc.c: New file.
28839 * benchtests/bench-memccpy.c: New file.
28840 * benchtests/bench-memchr-ifunc.c: New file.
28841 * benchtests/bench-memchr.c: New file.
28842 * benchtests/bench-memcmp-ifunc.c: New file.
28843 * benchtests/bench-memcmp.c: New file.
28844 * benchtests/bench-memmem-ifunc.c: New file.
28845 * benchtests/bench-memmem.c: New file.
28846 * benchtests/bench-memmove-ifunc.c: New file.
28847 * benchtests/bench-memmove.c: New file.
28848 * benchtests/bench-mempcpy-ifunc.c: New file.
28849 * benchtests/bench-mempcpy.c: New file.
28850 * benchtests/bench-memset-ifunc.c: New file.
28851 * benchtests/bench-memset.c: New file.
28852 * benchtests/bench-rawmemchr-ifunc.c: New file.
28853 * benchtests/bench-rawmemchr.c: New file.
28854 * benchtests/bench-stpcpy-ifunc.c: New file.
28855 * benchtests/bench-stpcpy.c: New file.
28856 * benchtests/bench-stpncpy-ifunc.c: New file.
28857 * benchtests/bench-stpncpy.c: New file.
28858 * benchtests/bench-strcasecmp-ifunc.c: New file.
28859 * benchtests/bench-strcasecmp.c: New file.
28860 * benchtests/bench-strcasestr-ifunc.c: New file.
28861 * benchtests/bench-strcasestr.c: New file.
28862 * benchtests/bench-strcat-ifunc.c: New file.
28863 * benchtests/bench-strcat.c: New file.
28864 * benchtests/bench-strchr-ifunc.c: New file.
28865 * benchtests/bench-strchr.c: New file.
28866 * benchtests/bench-strchrnul-ifunc.c: New file.
28867 * benchtests/bench-strchrnul.c: New file.
28868 * benchtests/bench-strcmp-ifunc.c: New file.
28869 * benchtests/bench-strcmp.c: New file.
28870 * benchtests/bench-strcpy-ifunc.c: New file.
28871 * benchtests/bench-strcpy.c: New file.
28872 * benchtests/bench-strcspn-ifunc.c: New file.
28873 * benchtests/bench-strcspn.c: New file.
28874 * benchtests/bench-strlen-ifunc.c: New file.
28875 * benchtests/bench-strlen.c: New file.
28876 * benchtests/bench-strncasecmp-ifunc.c: New file.
28877 * benchtests/bench-strncasecmp.c: New file.
28878 * benchtests/bench-strncat-ifunc.c: New file.
28879 * benchtests/bench-strncat.c: New file.
28880 * benchtests/bench-strncmp-ifunc.c: New file.
28881 * benchtests/bench-strncmp.c: New file.
28882 * benchtests/bench-strncpy-ifunc.c: New file.
28883 * benchtests/bench-strncpy.c: New file.
28884 * benchtests/bench-strnlen-ifunc.c: New file.
28885 * benchtests/bench-strnlen.c: New file.
28886 * benchtests/bench-strpbrk-ifunc.c: New file.
28887 * benchtests/bench-strpbrk.c: New file.
28888 * benchtests/bench-strrchr-ifunc.c: New file.
28889 * benchtests/bench-strrchr.c: New file.
28890 * benchtests/bench-strspn-ifunc.c: New file.
28891 * benchtests/bench-strspn.c: New file.
28892 * benchtests/bench-strstr-ifunc.c: New file.
28893 * benchtests/bench-strstr.c: New file.
28895 * benchtests/Makefile: Disable parallel execution of targets.
28896 (string-bench): Add memcpy.
28897 (benchset): New variable to store a list of benchmark sets.
28898 (bench-func): Renamed from bench.
28899 (bench-set): New target.
28900 (bench): Depend on bench-func and bench-set.
28901 * benchtests/README: Add section on benchmark sets.
28902 * benchtests/bench-memcpy-ifunc.c: New file.
28903 * benchtests/bench-memcpy.c: New file.
28904 * benchtests/bench-string.h: New file.
28906 2013-06-11 Andreas Schwab <schwab@suse.de>
28909 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
28910 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
28911 values in the triple.
28912 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
28913 terminator in the group key.
28915 2013-06-11 Andreas Jaeger <aj@suse.de>
28917 * po/zh_TW.po: Update Chinese (traditional) translation from
28918 translation project.
28920 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28922 * include/time.h (__clock_gettime): Add libc_hidden_proto.
28923 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
28924 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
28925 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28926 (clock_getcpuclockid): Likewise.
28927 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
28928 Add weak_alias and libc_hidden_def.
28929 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
28930 * rt/clock_gettime.c (clock_gettime): Rename to
28931 __clock_gettime. Add weak_alias and libc_hidden_def.
28932 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
28933 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
28934 __clock_nanosleep. Add weak_alias and libc_hidden_def.
28935 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
28936 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
28938 * rt/clock_settime.c (clock_settime): Rename to
28939 __clock_settime. Add weak_alias and libc_hidden_def.
28940 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
28942 2013-06-10 Joseph Myers <joseph@codesourcery.com>
28944 * mach/err_boot.sub: Remove trailing whitespace.
28945 * mach/err_ipc.sub: Likewise.
28946 * mach/err_mach.sub: Likewise.
28948 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
28949 (ROUNDING_TESTS_double): Likewise.
28950 (ROUNDING_TESTS_long_double): Likewise.
28951 (ROUNDING_TESTS): Likewise.
28952 * math/libm-test.inc: Include <math-tests.h>.
28953 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
28954 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28955 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28956 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28958 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28960 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
28963 2013-06-08 Joseph Myers <joseph@codesourcery.com>
28965 * sysdeps/gnu/errlist.awk: Do not generate space at end of
28966 otherwise empty TRANS lines.
28967 * sysdeps/gnu/errlist.c: Regenerated.
28969 * catgets/gencat.c (error_print): Use (void) in function
28971 * crypt/crypt_util.c (__init_des): Likewise.
28972 * crypt/speeds.c (Stop): Likewise.
28974 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
28975 * inet/ruserpass.c (token): Likewise.
28976 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
28977 * intl/localealias.c (extend_alias_table): Likewise.
28978 * intl/plural-exp.c (init_germanic_plural): Likewise.
28979 * libio/fcloseall.c (__fcloseall): Likewise.
28980 * libio/genops.c (_IO_flush_all): Likewise.
28981 (_IO_flush_all_linebuffered): Likewise.
28982 (_IO_cleanup): Likewise.
28983 (_IO_iter_begin): Likewise.
28984 (_IO_iter_end): Likewise.
28985 (_IO_list_lock): Likewise.
28986 (_IO_list_unlock): Likewise.
28987 (_IO_list_resetlock): Likewise.
28988 * libio/getchar.c (getchar): Likewise.
28989 * libio/getchar_u.c (getchar_unlocked): Likewise.
28990 * libio/getwchar.c (getwchar): Likewise.
28991 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
28992 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
28993 * login/getpt.c (__getpt): Likewise.
28994 * login/tst-utmp.c (main): Likewise.
28995 * malloc/hooks.c (__malloc_check_init): Likewise.
28996 * malloc/malloc.c (__malloc_stats): Likewise.
28997 * malloc/mtrace.c (tr_break): Likewise.
28998 (mtrace): Likewise.
28999 (muntrace): Likewise.
29000 * misc/fstab.c (endfsent): Likewise.
29001 * misc/getclktck.c (__getclktck): Likewise.
29002 * misc/getdtsz.c (__getdtablesize): Likewise.
29003 * misc/gethostid.c (gethostid): Likewise.
29004 * misc/getpagesize.c (__getpagesize): Likewise.
29005 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
29006 (__get_nprocs): Likewise.
29007 (__get_phys_pages): Likewise.
29008 (__get_avphys_pages): Likewise.
29009 * misc/getttyent.c (getttyent): Likewise.
29010 (setttyent): Likewise.
29011 (endttyent): Likewise.
29012 * misc/getusershell.c (getusershell): Likewise.
29013 (endusershell): Likewise.
29014 (setusershell): Likewise.
29015 (initshells): Likewise.
29016 * misc/hsearch.c (__hdestroy): Likewise.
29017 * misc/sync.c (sync): Likewise.
29018 * misc/syslog.c (closelog_internal): Likewise.
29019 (closelog): Likewise.
29020 * misc/ttyslot.c (ttyslot): Likewise.
29021 * misc/vhangup.c (vhangup): Likewise.
29022 * posix/fork.c (__fork): Likewise.
29023 * posix/getegid.c (__getegid): Likewise.
29024 * posix/geteuid.c (__geteuid): Likewise.
29025 * posix/getgid.c (__getgid): Likewise.
29026 * posix/getpid.c (__getpid): Likewise.
29027 * posix/getppid.c (__getppid): Likewise.
29028 * posix/getuid.c (__getuid): Likewise.
29029 * posix/pause.c (pause): Likewise.
29030 * posix/setpgrp.c (setpgrp): Likewise.
29031 * posix/setsid.c (__setsid): Likewise.
29032 * posix/test-vfork.c (noop): Likewise.
29033 * resolv/gethnamaddr.c (_endhtent): Likewise.
29034 (_gethtent): Likewise.
29035 (ht_endhostent): Likewise.
29036 (gethostent): Likewise.
29037 (dns_service): Likewise.
29038 * stdlib/drand48.c (drand48): Likewise.
29039 * stdlib/lrand48.c (lrand48): Likewise.
29040 * stdlib/mrand48.c (mrand48): Likewise.
29041 * stdlib/rand.c (rand): Likewise.
29042 * stdlib/random.c (__random): Likewise.
29043 * stdlib/setenv.c (clearenv): Likewise.
29044 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
29045 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
29046 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
29047 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
29048 (__get_nprocs): Likewise.
29049 (__get_phys_pages): Likewise.
29050 (__get_avphys_pages): Likewise.
29051 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
29052 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
29053 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
29054 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
29055 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
29056 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
29057 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
29058 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
29059 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
29060 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
29061 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
29062 * sysdeps/mach/hurd/sync.c (sync): Likewise.
29063 * sysdeps/posix/clock.c (clock): Likewise.
29064 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
29065 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
29066 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
29067 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
29068 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
29069 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29070 (__get_nprocs_conf): Likewise.
29071 (__get_phys_pages): Likewise.
29072 (__get_avphys_pages): Likewise.
29073 * time/clock.c (clock): Likewise.
29074 * time/tzset.c (__tzname_max): Likewise.
29076 2013-06-07 Joseph Myers <joseph@codesourcery.com>
29078 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
29079 (__bswap_32): Do not use "register".
29080 * crypt/crypt.c (_ufc_doit_r): Likewise.
29081 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
29082 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
29083 * gmon/gmon.c (__monstartup): Likewise.
29084 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
29085 * hurd/hurdmalloc.c (more_memory): Likewise.
29086 (malloc): Likewise.
29088 (realloc): Likewise.
29089 (malloc_fork_prepare): Likewise.
29090 (malloc_fork_parent): Likewise.
29091 (malloc_fork_child): Likewise.
29092 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
29093 (_svcauth_des): Likewise.
29094 * inet/inet_lnaof.c (inet_lnaof): Likewise.
29095 * inet/inet_net.c (inet_network): Likewise.
29096 * inet/inet_netof.c (inet_netof): Likewise.
29097 * inet/rcmd.c (__validuser2_sa): Likewise.
29098 * io/fts.c (fts_open): Likewise.
29099 (fts_load): Likewise.
29100 (fts_close): Likewise.
29101 (fts_read): Likewise.
29102 (fts_children): Likewise.
29103 (fts_build): Likewise.
29104 (fts_stat): Likewise.
29105 (fts_sort): Likewise.
29106 (fts_alloc): Likewise.
29107 (fts_lfree): Likewise.
29108 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
29109 (_IO_file_xsgetn): Likewise.
29110 (_IO_file_xsgetn_mmap): Likewise.
29111 * libio/iofopncook.c (_IO_cookie_read): Likewise.
29112 (_IO_cookie_write): Likewise.
29113 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
29114 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
29115 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
29116 * malloc/obstack.c (_obstack_begin): Likewise.
29117 (_obstack_begin_1): Likewise.
29118 (_obstack_newchunk): Likewise.
29119 (_obstack_allocated_p): Likewise.
29120 (obstack_free): Likewise.
29121 (_obstack_memory_used): Likewise.
29122 * misc/getttyent.c (getttynam): Likewise.
29123 (getttyent): Likewise.
29126 * misc/getusershell.c (initshells): Likewise.
29127 * misc/syslog.c (__vsyslog_chk): Likewise.
29128 * misc/ttyslot.c (ttyslot): Likewise.
29129 * nis/nis_hash.c (__nis_hash): Likewise.
29130 * posix/fnmatch_loop.c (FCT): Likewise.
29131 * posix/getconf.c (print_all): Likewise.
29133 * posix/getopt.c (exchange): Likewise.
29134 * posix/glob.c (globfree): Likewise.
29135 (prefix_array): Likewise.
29136 (__glob_pattern_type): Likewise.
29137 * resolv/arpa/nameser.h (NS_GET16): Likewise.
29138 (NS_GET32): Likewise.
29139 (NS_PUT16): Likewise.
29140 (NS_PUT32): Likewise.
29141 * resolv/gethnamaddr.c (getanswer): Likewise.
29142 (gethostbyname2): Likewise.
29143 (gethostbyaddr): Likewise.
29144 (_gethtent): Likewise.
29145 (_gethtbyname2): Likewise.
29146 (_gethtbyaddr): Likewise.
29147 * resolv/ns_print.c (dst_s_get_int16): Likewise.
29148 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
29149 * resolv/res_init.c (__res_vinit): Likewise.
29150 (net_mask): Likewise.
29151 * resolv/res_mkquery.c (outchar): Likewise.
29153 * stdio-common/printf_fp.c (outchar): Likewise.
29155 * stdio-common/printf_fphex.c (outchar): Likewise.
29157 * stdio-common/printf_size.c (outchar): Likewise.
29159 * stdio-common/test_rdwr.c (main): Likewise.
29160 * stdio-common/tfformat.c (matches): Likewise.
29161 * stdio-common/vfprintf.c (outchar): Likewise.
29162 (printf_unknown): Likewise.
29163 (buffered_vfprintf): Likewise.
29164 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
29165 * stdio-common/xbug.c (AppendToBuffer): Likewise.
29166 (ReadFile): Likewise.
29167 * stdlib/qsort.c (SWAP): Likewise.
29168 (_quicksort): Likewise.
29169 * stdlib/setenv.c (__add_to_environ): Likewise.
29170 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
29171 * stdlib/strtol_l.c (__strtol_l): Likewise.
29172 * stdlib/tst-strtod.c (main): Likewise.
29173 * stdlib/tst-strtol.c (main): Likewise.
29174 * stdlib/tst-strtoll.c (main): Likewise.
29175 * string/bits/string2.h (__strcmp_cc): Likewise.
29176 (__strcmp_cg): Likewise.
29177 (__strcspn_c1): Likewise.
29178 (__strcspn_c2): Likewise.
29179 (__strcspn_c3): Likewise.
29180 (__strspn_c1): Likewise.
29181 (__strspn_c2): Likewise.
29182 (__strspn_c3): Likewise.
29183 (__strsep_1c): Likewise.
29184 (__strsep_2c): Likewise.
29185 (__strsep_3c): Likewise.
29186 * string/memccpy.c (__memccpy): Likewise.
29187 * string/stpcpy.c (__stpcpy): Likewise.
29188 * string/strcmp.c (strcmp): Likewise.
29189 * string/strrchr.c (strrchr): Likewise.
29190 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
29192 * sysdeps/mach/hurd/getcwd.c
29193 (_hurd_canonicalize_directory_name_internal): Likewise.
29194 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
29195 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
29196 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
29197 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
29198 Likewise, in both definitions.
29199 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
29201 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
29202 64] (__bswap_64): Likewise.
29203 * time/test_time.c (main): Likewise.
29204 * time/tzfile.c (__tzfile_read): Likewise.
29205 (__tzfile_compute): Likewise.
29206 * time/tzset.c (__tzset_parse_tz): Likewise.
29207 (tzset_internal): Likewise.
29208 (compute_change): Likewise.
29209 * wcsmbs/wcscat.c (__wcscat): Likewise.
29210 * wcsmbs/wcschr.c (wcschr): Likewise.
29211 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
29212 * wcsmbs/wcscspn.c (wcscspn): Likewise.
29213 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
29214 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
29215 * wcsmbs/wcsspn.c (wcsspn): Likewise.
29216 * wcsmbs/wcsstr.c (wcsstr): Likewise.
29217 * wcsmbs/wmemchr.c (wmemchr): Likewise.
29218 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29219 * wcsmbs/wmemset.c (wmemset): Likewise.
29221 2013-06-06 Joseph Myers <joseph@codesourcery.com>
29223 * scripts/config.guess: Update to version 2013-05-16.
29224 * scripts/config.sub: Update to version 2013-04-24.
29225 * scripts/install-sh: Update to version 2011-11-20.07.
29226 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
29227 * scripts/move-if-change: Update to version 2012-01-06 07:23.
29229 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
29231 * debug/fgetws_u_chk.c: Fix leading whitespaces.
29232 * elf/sln.c: Likewise.
29233 * hurd/hurd/ioctl.h: Likewise.
29234 * hurd/hurdmalloc.c: Likewise.
29235 * hurd/xattr.c: Likewise.
29236 * include/shlib-compat.h: Likewise.
29237 * inet/ruserpass.c: Likewise.
29238 * libio/iofgets_u.c: Likewise.
29239 * libio/iofgetws_u.c: Likewise.
29240 * locale/programs/ld-identification.c: Likewise.
29241 * locale/programs/ld-time.c: Likewise.
29242 * mach/msg-destroy.c: Likewise.
29243 * nss/nss_files/files-netgrp.c: Likewise.
29244 * resolv/res_data.c: Likewise.
29245 * soft-fp/op-1.h: Likewise.
29246 * soft-fp/op-2.h: Likewise.
29247 * soft-fp/op-4.h: Likewise.
29248 * soft-fp/op-common.h: Likewise.
29249 * stdio-common/printf_fphex.c: Likewise.
29250 * stdlib/strtod_l.c: Likewise.
29251 * sunrpc/rpc/clnt.h: Likewise.
29252 * sysdeps/generic/framestate.c: Likewise.
29253 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29254 * sysdeps/i386/bsd-setjmp.S: Likewise.
29255 * sysdeps/i386/__longjmp.S: Likewise.
29256 * sysdeps/i386/setjmp.S: Likewise.
29257 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29258 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29259 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29260 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29261 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29262 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29263 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29264 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29265 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29266 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29267 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29268 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29269 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29270 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29271 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29272 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29273 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29274 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
29275 * sysdeps/ieee754/support.c: Likewise.
29276 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29277 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
29278 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
29279 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
29280 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
29281 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
29282 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
29283 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
29284 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
29285 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
29286 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
29287 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
29288 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
29289 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
29290 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
29291 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
29292 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29295 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
29297 * posix/transbug.c: Remove executable mode.
29299 2013-06-05 Joseph Myers <joseph@codesourcery.com>
29301 * crypt/speeds.c: Remove trailing whitespace.
29302 * dlfcn/default.c: Likewise.
29303 * elf/ifuncdep2.c: Likewise.
29304 * elf/ifuncmain1.c: Likewise.
29305 * elf/ifuncmain1vis.c: Likewise.
29306 * elf/testobj.h: Likewise.
29307 * elf/tst-stackguard1.c: Likewise.
29308 * gmon/sys/gmon.h: Likewise.
29309 * hurd/hurdmsg.c: Likewise.
29310 * hurd/new-fd.c: Likewise.
29311 * hurd/ports-get.c: Likewise.
29312 * iconvdata/ibm1008_420.c: Likewise.
29313 * inet/tst-getni1.c: Likewise.
29314 * inet/tst-getni2.c: Likewise.
29315 * libio/ioungetc.c: Likewise.
29316 * libio/wfiledoalloc.c: Likewise.
29317 * manual/libm-err-tab.pl: Likewise.
29318 * math/w_dremf.c: Likewise.
29319 * misc/ftruncate.c: Likewise.
29320 * posix/bug-glob2.c: Likewise.
29321 * posix/tst-pcre.c: Likewise.
29322 * posix/wait4.c: Likewise.
29323 * resolv/README: Likewise.
29324 * resolv/res_debug.h: Likewise.
29325 * resolv/tst-inet_ntop.c: Likewise.
29326 * setjmp/bug269-setjmp.c: Likewise.
29327 * soft-fp/extended.h: Likewise.
29328 * soft-fp/op-1.h: Likewise.
29329 * soft-fp/op-2.h: Likewise.
29330 * soft-fp/op-4.h: Likewise.
29331 * soft-fp/op-8.h: Likewise.
29332 * soft-fp/testit.c: Likewise.
29333 * stdio-common/bug16.c: Likewise.
29334 * stdlib/random.c: Likewise.
29335 * sunrpc/rpcsvc/rquota.x: Likewise.
29336 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
29337 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29338 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29339 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29340 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29341 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29342 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29343 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29344 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29345 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29346 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29347 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29348 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29349 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29350 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29351 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29352 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29353 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29354 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29355 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29356 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29357 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29358 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
29359 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29360 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29361 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29362 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29363 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29364 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29365 * sysdeps/ieee754/s_lib_version.c: Likewise.
29366 * sysdeps/mach/hurd/check_fds.c: Likewise.
29367 * sysdeps/mach/hurd/getsockname.c: Likewise.
29368 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
29369 * sysdeps/mach/hurd/recvfrom.c: Likewise.
29370 * sysdeps/powerpc/bits/link.h: Likewise.
29371 * sysdeps/powerpc/dl-procinfo.c: Likewise.
29372 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
29373 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
29374 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
29375 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29376 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29377 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
29378 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29379 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
29380 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29381 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
29382 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29383 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
29384 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29385 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29386 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29387 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29388 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29389 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29390 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29391 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29392 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
29393 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29394 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29395 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
29396 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29397 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29398 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29399 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29400 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29401 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29402 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29403 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29404 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
29405 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
29406 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29407 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
29408 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29409 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
29410 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
29411 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
29412 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
29413 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
29414 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
29415 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29416 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
29417 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
29418 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29419 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
29420 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
29421 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29422 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29423 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29424 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29425 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
29426 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
29427 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
29428 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29429 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
29430 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
29431 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
29432 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
29433 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
29434 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29435 * sysdeps/powerpc/sysdep.h: Likewise.
29436 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29437 * sysdeps/s390/s390-64/sub_n.S: Likewise.
29438 * sysdeps/sh/dl-trampoline.S: Likewise.
29439 * sysdeps/sh/memset.S: Likewise.
29440 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
29441 * sysdeps/sh/strlen.S: Likewise.
29442 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
29443 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
29444 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
29445 * sysdeps/sparc/sparc32/rem.S: Likewise.
29446 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
29447 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
29448 * sysdeps/sparc/sparc32/strchr.S: Likewise.
29449 * sysdeps/sparc/sparc32/udiv.S: Likewise.
29450 * sysdeps/sparc/sparc32/urem.S: Likewise.
29451 * sysdeps/sparc/sparc64/add_n.S: Likewise.
29452 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29453 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
29454 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
29455 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
29456 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
29457 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
29458 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
29459 * sysdeps/unix/bsd/times.c: Likewise.
29460 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
29461 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
29462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
29465 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
29466 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29467 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
29468 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
29469 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
29470 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
29471 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29472 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
29473 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29474 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29475 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
29476 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29477 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
29478 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
29479 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
29480 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
29481 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
29482 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29483 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
29484 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
29485 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
29486 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
29487 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29488 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
29489 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
29490 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
29491 * sysdeps/x86_64/strcspn.S: Likewise.
29493 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29495 * locale/C-translit.h: Revert #include <stdint.h> because this is a
29496 generated file. Regenerate properly from gen-translit.pl.
29497 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
29498 locale/C-translit.h.
29500 2013-06-05 Andreas Schwab <schwab@suse.de>
29503 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
29504 week as 6 instead of -1.
29505 * time/tst-strptime.c (day_tests): Add test case.
29507 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29509 * sysdeps/generic/math_private.h
29510 (libc_feholdexcept_setround_53bit): Replace with
29511 libc_feholdsetround_53bit.
29512 (libc_feupdateenv_53bit): Replace with
29513 libc_feresetround_53bit.
29514 (SET_RESTORE_ROUND_53BIT): Adjust.
29516 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29518 * string/test-strchrnul.c: Add copyright header.
29520 * posix/tst-getaddrinfo4.c: Increase test timeout.
29522 2013-06-03 Carlos O'Donell <carlos@redhat.com>
29525 * math/libm-test.inc (MAX_EXP): Remove
29527 (ulp): Use MIN_EXP - MANT_DIG.
29528 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
29530 2013-05-31 Carlos O'Donell <carlos@redhat.com>
29532 * po/be.po: Revert last change.
29533 * po/zh_CN.po: Likewise.
29534 * po/header.pot: Likewise.
29536 2013-05-31 Joseph Myers <joseph@codesourcery.com>
29538 * Makefile ($(common-objpfx)linkobj/libc.so): Define
29539 link-libc-deps to empty as target-specific variable.
29540 * Makerules (link-libc-args): New variable.
29541 (libc-for-link): Likewise.
29542 (link-libc-deps): Likewise.
29543 (lib%.so): Depend on $(link-libc-deps). Link with
29545 (build-module): Link with $(link-libc-args).
29546 (build-module-asneeded): Likewise.
29547 (build-module-helper-objlist): Filter out $(link-libc-deps) from
29549 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
29550 target-specific variable.
29551 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
29552 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
29553 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
29555 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
29557 ($(objpfx)libpcprofile.so): Likewise.
29558 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
29560 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
29561 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
29562 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
29564 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
29565 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
29566 * login/Makefile ($(objpfx)libutil.so): Likewise.
29567 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
29568 * math/Makefile ($(objpfx)libm.so): Likewise.
29569 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
29570 $(objpfx)libnsl.so): Define libc-for-link as target-specific
29571 variable instead of depending directly on libc.
29572 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
29573 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
29575 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
29577 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
29578 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
29579 ($(objpfx)libanl.so): Likewise.
29580 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
29582 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
29584 * sysdeps/i386/fpu/Makefile: Remove file.
29585 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
29586 ($(objpfx)libm.so): Remove dependency on ld.so.
29588 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
29591 * nis/yp_xdr.c (XDRMAXNAME): Define.
29592 (XDRMAXRECORD): Define.
29593 (xdr_domainname): Use XDRMAXNAME.
29594 (xdr_mapname): Likewise.
29595 (xdr_peername): Likewise.
29596 (xdr_keydat): Use XDRMAXRECORD.
29597 (xdr_valdat): Likewise.
29599 2013-05-30 Jeff Law <law@redhat.com>
29602 * manual/errno.texi (ESTALE): Update to account for more than
29603 just NFS file systems.
29604 * sysdeps/gnu/errlist.c: Regenerated.
29606 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29609 * elf/Makefile (tests): Add tst-null-argv.
29610 (modules-names): Add tst-null-argv-lib.
29611 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
29612 (tst-null-argv-ENV): Set environment for tst-null-argv.
29613 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
29614 (RTLD_PROGNAME): New macro.
29615 * elf/tst-null-argv.c: New test case.
29616 * elf/tst-null-argv-lib.c: Library for test case.
29617 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
29618 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
29619 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
29620 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
29621 * elf/dl-init.c (call_init): Likewise.
29622 (_dl_init): Likewise.
29623 * elf/dl-load.c (print_search_path): Likewise.
29624 (_dl_map_object): Likewise.
29625 * elf/dl-lookup.c (do_lookup_x): Likewise.
29626 (add_dependency): Likewise.
29627 (_dl_lookup_symbol_x): Likewise.
29628 (_dl_debug_bindings): Likewise.
29629 * elf/dl-open.c (_dl_show_scope): Likewise.
29630 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
29631 * elf/dl-version.c (match_symbol): Likewise.
29632 (_dl_check_map_versions): Likewise.
29633 * elf/rtld.c (dl_main): Likewise.
29634 (print_unresolved): Use RTLD_PROGNAME.
29635 (print_missing_version): Likewise.
29636 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
29637 (elf_machine_rela): Likewise.
29638 * sysdeps/powerpc/powerpc32/dl-machine.c
29639 (__process_machine_rela): Likewise.
29640 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29642 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29644 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29646 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29647 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
29649 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
29651 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29653 2013-05-28 Carlos O'Donell <carlos@redhat.com>
29655 * po/be.po: Add descriptive title.
29656 * po/zh_CN.po: Likewise.
29657 * po/header.pot: Likewise.
29659 2013-05-28 Mike Frysinger <vapier@gentoo.org>
29661 * locale/programs/locarchive.c (create_archive): Inlucde fname in
29663 (enlarge_archive): Likewise.
29665 2013-05-28 Ben North <ben@redfrontdoor.org>
29667 * manual/arith.texi (frexp): It is the magnitude of the return
29668 value which lies in [0.5, 1), not the return value itself.
29670 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29674 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
29676 * stdio-common/bug26.c (main): Correct fscanf template.
29678 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
29679 declare _dl_skip_args.
29681 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
29684 * manual/platform.texi: Add missing @end deftypefun.
29686 2013-05-24 Joseph Myers <joseph@codesourcery.com>
29689 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
29690 bit of mantissa of 2^16382.
29691 * math/libm-test.inc (hypot_test_data): Add more tests.
29693 * math/libm-test.inc: Add drem and pow10 to list of tested
29695 (pow10_test): New function.
29696 (drem_test): Likewise.
29697 (drem_test_tonearest): Likewise.
29698 (drem_test_towardzero): Likewise.
29699 (drem_test_downward): Likewise.
29700 (drem_test_upward): Likewise.
29701 (main): Call the new functions.
29703 * math/libm-test.inc (finite_test_data): Remove.
29704 (finite_test): Run tests from isfinite_test_data.
29705 (gamma_test_data): Remove.
29706 (gamma_test): Run tests from lgamma_test_data.
29707 * sysdeps/i386/fpu/libm-test-ulps: Update.
29708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29710 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29712 * manual/platform.texi: Add PowerPC PPR function set documentation.
29713 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
29716 2013-05-24 Carlos O'Donell <carlos@redhat.com>
29718 * math/libm-test.inc (MAX_EXP): Define.
29720 (ulp): New function.
29721 (check_float_internal): Use ULPDIFF.
29722 (cpow_test): Disable failing test.
29723 (check_ulp): Test ulp() implemetnation.
29724 (main): Call check_ulp before starting tests.
29726 2013-05-24 Joseph Myers <joseph@codesourcery.com>
29728 * math/gen-libm-test.pl (generate_testfile): Do not handle
29729 START_DATA and END_DATA.
29730 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
29732 (acos_tonearest_test_data): Likewise.
29733 (acos_towardzero_test_data): Likewise.
29734 (acos_downward_test_data): Likewise.
29735 (acos_upward_test_data): Likewise.
29736 (acosh_test_data): Likewise.
29737 (asin_test_data): Likewise.
29738 (asin_tonearest_test_data): Likewise.
29739 (asin_towardzero_test_data): Likewise.
29740 (asin_downward_test_data): Likewise.
29741 (asin_upward_test_data): Likewise.
29742 (asinh_test_data): Likewise.
29743 (atan_test_data): Likewise.
29744 (atanh_test_data): Likewise.
29745 (atan2_test_data): Likewise.
29746 (cabs_test_data): Likewise.
29747 (cacos_test_data): Likewise.
29748 (cacosh_test_data): Likewise.
29749 (carg_test_data): Likewise.
29750 (casin_test_data): Likewise.
29751 (casinh_test_data): Likewise.
29752 (catan_test_data): Likewise.
29753 (catanh_test_data): Likewise.
29754 (cbrt_test_data): Likewise.
29755 (ccos_test_data): Likewise.
29756 (ccosh_test_data): Likewise.
29757 (ceil_test_data): Likewise.
29758 (cexp_test_data): Likewise.
29759 (cimag_test_data): Likewise.
29760 (clog_test_data): Likewise.
29761 (clog10_test_data): Likewise.
29762 (conj_test_data): Likewise.
29763 (copysign_test_data): Likewise.
29764 (cos_test_data): Likewise.
29765 (cos_tonearest_test_data): Likewise.
29766 (cos_towardzero_test_data): Likewise.
29767 (cos_downward_test_data): Likewise.
29768 (cos_upward_test_data): Likewise.
29769 (cosh_test_data): Likewise.
29770 (cosh_tonearest_test_data): Likewise.
29771 (cosh_towardzero_test_data): Likewise.
29772 (cosh_downward_test_data): Likewise.
29773 (cosh_upward_test_data): Likewise.
29774 (cpow_test_data): Likewise.
29775 (cproj_test_data): Likewise.
29776 (creal_test_data): Likewise.
29777 (csin_test_data): Likewise.
29778 (csinh_test_data): Likewise.
29779 (csqrt_test_data): Likewise.
29780 (ctan_test_data): Likewise.
29781 (ctan_tonearest_test_data): Likewise.
29782 (ctan_towardzero_test_data): Likewise.
29783 (ctan_downward_test_data): Likewise.
29784 (ctan_upward_test_data): Likewise.
29785 (ctanh_test_data): Likewise.
29786 (ctanh_tonearest_test_data): Likewise.
29787 (ctanh_towardzero_test_data): Likewise.
29788 (ctanh_downward_test_data): Likewise.
29789 (ctanh_upward_test_data): Likewise.
29790 (erf_test_data): Likewise.
29791 (erfc_test_data): Likewise.
29792 (exp_test_data): Likewise.
29793 (exp_tonearest_test_data): Likewise.
29794 (exp_towardzero_test_data): Likewise.
29795 (exp_downward_test_data): Likewise.
29796 (exp_upward_test_data): Likewise.
29797 (exp10_test_data): Likewise.
29798 (exp2_test_data): Likewise.
29799 (expm1_test_data): Likewise.
29800 (fabs_test_data): Likewise.
29801 (fdim_test_data): Likewise.
29802 (finite_test_data): Likewise.
29803 (floor_test_data): Likewise.
29804 (fma_test_data): Likewise.
29805 (fma_towardzero_test_data): Likewise.
29806 (fma_downward_test_data): Likewise.
29807 (fma_upward_test_data): Likewise.
29808 (fmax_test_data): Likewise.
29809 (fmin_test_data): Likewise.
29810 (fmod_test_data): Likewise.
29811 (fpclassify_test_data): Likewise.
29812 (frexp_test_data): Likewise.
29813 (gamma_test_data): Likewise.
29814 (hypot_test_data): Likewise.
29815 (ilogb_test_data): Likewise.
29816 (isfinite_test_data): Likewise.
29817 (isgreater_test_data): Likewise.
29818 (isgreaterequal_test_data): Likewise.
29819 (isinf_test_data): Likewise.
29820 (isless_test_data): Likewise.
29821 (islessequal_test_data): Likewise.
29822 (islessgreater_test_data): Likewise.
29823 (isnan_test_data): Likewise.
29824 (isnormal_test_data): Likewise.
29825 (issignaling_test_data): Likewise.
29826 (isunordered_test_data): Likewise.
29827 (j0_test_data): Likewise.
29828 (j1_test_data): Likewise.
29829 (jn_test_data): Likewise.
29830 (ldexp_test_data): Likewise.
29831 (lgamma_test_data): Likewise.
29832 (lrint_test_data): Likewise.
29833 (lrint_tonearest_test_data): Likewise.
29834 (lrint_towardzero_test_data): Likewise.
29835 (lrint_downward_test_data): Likewise.
29836 (lrint_upward_test_data): Likewise.
29837 (llrint_test_data): Likewise.
29838 (llrint_tonearest_test_data): Likewise.
29839 (llrint_towardzero_test_data): Likewise.
29840 (llrint_downward_test_data): Likewise.
29841 (llrint_upward_test_data): Likewise.
29842 (log_test_data): Likewise.
29843 (log10_test_data): Likewise.
29844 (log1p_test_data): Likewise.
29845 (log2_test_data): Likewise.
29846 (logb_test_data): Likewise.
29847 (logb_downward_test_data): Likewise.
29848 (lround_test_data): Likewise.
29849 (llround_test_data): Likewise.
29850 (modf_test_data): Likewise.
29851 (nearbyint_test_data): Likewise.
29852 (nextafter_test_data): Likewise.
29853 (nexttoward_test_data): Likewise.
29854 (pow_test_data): Likewise.
29855 (pow_tonearest_test_data): Likewise.
29856 (pow_towardzero_test_data): Likewise.
29857 (pow_downward_test_data): Likewise.
29858 (pow_upward_test_data): Likewise.
29859 (remainder_test_data): Likewise.
29860 (remainder_tonearest_test_data): Likewise.
29861 (remainder_towardzero_test_data): Likewise.
29862 (remainder_downward_test_data): Likewise.
29863 (remainder_upward_test_data): Likewise.
29864 (remquo_test_data): Likewise.
29865 (rint_test_data): Likewise.
29866 (rint_tonearest_test_data): Likewise.
29867 (rint_towardzero_test_data): Likewise.
29868 (rint_downward_test_data): Likewise.
29869 (rint_upward_test_data): Likewise.
29870 (round_test_data): Likewise.
29871 (scalb_test_data): Likewise.
29872 (scalbn_test_data): Likewise.
29873 (scalbln_test_data): Likewise.
29874 (signbit_test_data): Likewise.
29875 (sin_test_data): Likewise.
29876 (sin_tonearest_test_data): Likewise.
29877 (sin_towardzero_test_data): Likewise.
29878 (sin_downward_test_data): Likewise.
29879 (sin_upward_test_data): Likewise.
29880 (sincos_test_data): Likewise.
29881 (sinh_test_data): Likewise.
29882 (sinh_tonearest_test_data): Likewise.
29883 (sinh_towardzero_test_data): Likewise.
29884 (sinh_downward_test_data): Likewise.
29885 (sinh_upward_test_data): Likewise.
29886 (sqrt_test_data): Likewise.
29887 (tan_test_data): Likewise.
29888 (tan_tonearest_test_data): Likewise.
29889 (tan_towardzero_test_data): Likewise.
29890 (tan_downward_test_data): Likewise.
29891 (tan_upward_test_data): Likewise.
29892 (tanh_test_data): Likewise.
29893 (tgamma_test_data): Likewise.
29894 (trunc_test_data): Likewise.
29895 (y0_test_data): Likewise.
29896 (y1_test_data): Likewise.
29897 (yn_test_data): Likewise.
29898 (significand_test_data): Likewise.
29900 * math/gen-libm-test.pl (@functions): Remove variable.
29901 (generate_testfile): Don't handle START and END lines.
29902 * math/libm-test.inc (START): New macro.
29904 (END_COMPLEX): Likewise.
29905 (acos_test): Use END macro without arguments.
29906 (acos_test_tonearest): Likewise.
29907 (acos_test_towardzero): Likewise.
29908 (acos_test_downward): Likewise.
29909 (acos_test_upward): Likewise.
29910 (acosh_test): Likewise.
29911 (asin_test): Likewise.
29912 (asin_test_tonearest): Likewise.
29913 (asin_test_towardzero): Likewise.
29914 (asin_test_downward): Likewise.
29915 (asin_test_upward): Likewise.
29916 (asinh_test): Likewise.
29917 (atan_test): Likewise.
29918 (atanh_test): Likewise.
29919 (atan2_test): Likewise.
29920 (cabs_test): Likewise.
29921 (cacos_test): Use END_COMPLEX macro without arguments.
29922 (cacosh_test): Likewise.
29923 (carg_test): Use END macro without arguments.
29924 (casin_test): Use END_COMPLEX macro without arguments.
29925 (casinh_test): Likewise.
29926 (catan_test): Likewise.
29927 (catanh_test): Likewise.
29928 (cbrt_test): Use END macro without arguments.
29929 (ccos_test): Use END_COMPLEX macro without arguments.
29930 (ccosh_test): Likewise.
29931 (ceil_test): Use END macro without arguments.
29932 (cexp_test): Use END_COMPLEX macro without arguments.
29933 (cimag_test): Use END macro without arguments.
29934 (clog_test): Use END_COMPLEX macro without arguments.
29935 (clog10_test): Likewise.
29936 (conj_test): Likewise.
29937 (copysign_test): Use END macro without arguments.
29938 (cos_test): Likewise.
29939 (cos_test_tonearest): Likewise.
29940 (cos_test_towardzero): Likewise.
29941 (cos_test_downward): Likewise.
29942 (cos_test_upward): Likewise.
29943 (cosh_test): Likewise.
29944 (cosh_test_tonearest): Likewise.
29945 (cosh_test_towardzero): Likewise.
29946 (cosh_test_downward): Likewise.
29947 (cosh_test_upward): Likewise.
29948 (cpow_test): Use END_COMPLEX macro without arguments.
29949 (cproj_test): Likewise.
29950 (creal_test): Use END macro without arguments.
29951 (csin_test): Use END_COMPLEX macro without arguments.
29952 (csinh_test): Likewise.
29953 (csqrt_test): Likewise.
29954 (ctan_test): Likewise.
29955 (ctan_test_tonearest): Likewise.
29956 (ctan_test_towardzero): Likewise.
29957 (ctan_test_downward): Likewise.
29958 (ctan_test_upward): Likewise.
29959 (ctanh_test): Likewise.
29960 (ctanh_test_tonearest): Likewise.
29961 (ctanh_test_towardzero): Likewise.
29962 (ctanh_test_downward): Likewise.
29963 (ctanh_test_upward): Likewise.
29964 (erf_test): Use END macro without arguments.
29965 (erfc_test): Likewise.
29966 (exp_test): Likewise.
29967 (exp_test_tonearest): Likewise.
29968 (exp_test_towardzero): Likewise.
29969 (exp_test_downward): Likewise.
29970 (exp_test_upward): Likewise.
29971 (exp10_test): Likewise.
29972 (exp2_test): Likewise.
29973 (expm1_test): Likewise.
29974 (fabs_test): Likewise.
29975 (fdim_test): Likewise.
29976 (finite_test): Likewise.
29977 (floor_test): Likewise.
29978 (fma_test): Likewise.
29979 (fma_test_towardzero): Likewise.
29980 (fma_test_downward): Likewise.
29981 (fma_test_upward): Likewise.
29982 (fmax_test): Likewise.
29983 (fmin_test): Likewise.
29984 (fmod_test): Likewise.
29985 (fpclassify_test): Likewise.
29986 (frexp_test): Likewise.
29987 (gamma_test): Likewise.
29988 (hypot_test): Likewise.
29989 (ilogb_test): Likewise.
29990 (isfinite_test): Likewise.
29991 (isgreater_test): Likewise.
29992 (isgreaterequal_test): Likewise.
29993 (isinf_test): Likewise.
29994 (isless_test): Likewise.
29995 (islessequal_test): Likewise.
29996 (islessgreater_test): Likewise.
29997 (isnan_test): Likewise.
29998 (isnormal_test): Likewise.
29999 (issignaling_test): Likewise.
30000 (isunordered_test): Likewise.
30001 (j0_test): Likewise.
30002 (j1_test): Likewise.
30003 (jn_test): Likewise.
30004 (ldexp_test): Likewise.
30005 (lgamma_test): Likewise.
30006 (lrint_test): Likewise.
30007 (lrint_test_tonearest): Likewise.
30008 (lrint_test_towardzero): Likewise.
30009 (lrint_test_downward): Likewise.
30010 (lrint_test_upward): Likewise.
30011 (llrint_test): Likewise.
30012 (llrint_test_tonearest): Likewise.
30013 (llrint_test_towardzero): Likewise.
30014 (llrint_test_downward): Likewise.
30015 (llrint_test_upward): Likewise.
30016 (log_test): Likewise.
30017 (log10_test): Likewise.
30018 (log1p_test): Likewise.
30019 (log2_test): Likewise.
30020 (logb_test): Likewise.
30021 (logb_test_downward): Likewise.
30022 (lround_test): Likewise.
30023 (llround_test): Likewise.
30024 (modf_test): Likewise.
30025 (nearbyint_test): Likewise.
30026 (nextafter_test): Likewise.
30027 (nexttoward_test): Likewise.
30028 (pow_test): Likewise.
30029 (pow_test_tonearest): Likewise.
30030 (pow_test_towardzero): Likewise.
30031 (pow_test_downward): Likewise.
30032 (pow_test_upward): Likewise.
30033 (remainder_test): Likewise.
30034 (remainder_test_tonearest): Likewise.
30035 (remainder_test_towardzero): Likewise.
30036 (remainder_test_downward): Likewise.
30037 (remainder_test_upward): Likewise.
30038 (remquo_test): Likewise.
30039 (rint_test): Likewise.
30040 (rint_test_tonearest): Likewise.
30041 (rint_test_towardzero): Likewise.
30042 (rint_test_downward): Likewise.
30043 (rint_test_upward): Likewise.
30044 (round_test): Likewise.
30045 (scalb_test): Likewise.
30046 (scalbn_test): Likewise.
30047 (scalbln_test): Likewise.
30048 (signbit_test): Likewise.
30049 (sin_test): Likewise.
30050 (sin_test_tonearest): Likewise.
30051 (sin_test_towardzero): Likewise.
30052 (sin_test_downward): Likewise.
30053 (sin_test_upward): Likewise.
30054 (sincos_test): Likewise.
30055 (sinh_test): Likewise.
30056 (sinh_test_tonearest): Likewise.
30057 (sinh_test_towardzero): Likewise.
30058 (sinh_test_downward): Likewise.
30059 (sinh_test_upward): Likewise.
30060 (sqrt_test): Likewise.
30061 (tan_test): Likewise.
30062 (tan_test_tonearest): Likewise.
30063 (tan_test_towardzero): Likewise.
30064 (tan_test_downward): Likewise.
30065 (tan_test_upward): Likewise.
30066 (tanh_test): Likewise.
30067 (tgamma_test): Likewise.
30068 (trunc_test): Likewise.
30069 (y0_test): Likewise.
30070 (y1_test): Likewise.
30071 (yn_test): Likewise.
30072 (significand_test): Likewise.
30074 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
30077 * libio/genops.c (_IO_no_init): Initialize wide struct info.
30079 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
30082 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
30083 __ppc_mdoio and __ppc_mdoom.
30084 * manual/platform.texi: Document new functions __ppc_yield,
30085 __ppc_mdoio and __ppc_mdoom.
30087 2013-05-22 Carlos O'Donell <carlos@redhat.com>
30089 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
30090 (main): Mention "tls" pseudo-hwcap is legacy.
30091 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
30093 2013-05-22 Joseph Myers <joseph@codesourcery.com>
30095 * math/gen-libm-test.pl (parse_args): Output only string of
30096 arguments as text for test name, not full call or descriptions of
30097 tests for extra outputs.
30098 (generate_testfile): Do not pass function name to parse_args.
30099 Generate this_func variable from START.
30100 * math/libm-test.inc (struct test_f_f_data): Rename test_name
30102 (struct test_ff_f_data): Likewise.
30103 (test_ff_f_data_nexttoward): Likewise.
30104 (struct test_fi_f_data): Likewise.
30105 (struct test_fl_f_data): Likewise.
30106 (struct test_if_f_data): Likewise.
30107 (struct test_fff_f_data): Likewise.
30108 (struct test_c_f_data): Likewise.
30109 (struct test_f_f1_data): Likewise. Remove field extra_name.
30110 (struct test_fF_f1_data): Likewise.
30111 (struct test_ffI_f1_data): Likewise.
30112 (struct test_c_c_data): Rename test_name field to arg_str.
30113 (struct test_cc_c_data): Likewise.
30114 (struct test_f_i_data): Likewise.
30115 (struct test_ff_i_data): Likewise.
30116 (struct test_f_l_data): Likewise.
30117 (struct test_f_L_data): Likewise.
30118 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
30120 (COMMON_TEST_SETUP): New macro.
30121 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
30122 (COMMON_TEST_CLEANUP): Likewise.
30123 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
30124 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
30126 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
30127 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
30129 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
30130 (RUN_TEST_fff_f): Take argument string. Call new setup and
30132 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
30133 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
30135 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
30136 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
30138 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30139 (RUN_TEST_fF_f1): Take argument string. Call new setup and
30141 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30142 (RUN_TEST_fI_f1): Take argument string. Call new setup and
30144 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30145 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
30147 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30148 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
30150 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
30151 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
30153 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
30154 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
30156 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
30157 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
30159 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
30160 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
30162 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
30163 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
30165 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
30166 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
30168 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
30169 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
30171 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
30172 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
30174 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
30175 (RUN_TEST_fFF_11): Take argument string. Call new setup and
30177 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
30179 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
30181 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
30182 to _sifields.sigfault.
30183 (si_addr_lsb): Define new macro.
30184 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
30185 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30186 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
30188 2013-05-03 Carlos O'Donell <carlos at redhat.com>
30191 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
30193 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
30195 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
30196 loading the domain.
30198 2013-05-22 Joseph Myers <joseph@codesourcery.com>
30200 * math/gen-libm-test.pl (parse_args): Do not include expected
30201 result in test name.
30202 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
30203 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30204 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30205 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30206 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30209 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30211 * benchtests/Makefile: Sort function entries.
30213 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
30214 tanh, asinh, acosh, atanh.
30215 * benchtests/acos-inputs: New file.
30216 * benchtests/acosh-inputs: New file.
30217 * benchtests/asin-inputs: New file.
30218 * benchtests/asinh-inputs: New file.
30219 * benchtests/atanh-inputs: New file.
30220 * benchtests/cosh-inputs: New file.
30221 * benchtests/log-inputs: New file.
30222 * benchtests/sinh-inputs: New file.
30223 * benchtests/tanh-inputs: New file.
30225 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
30228 * posix/tst-getaddrinfo4.c: New test.
30229 * posix/Makefile (tests): Add it.
30231 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30234 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
30235 when no services were used.
30236 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
30237 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
30239 2013-05-21 Andreas Schwab <schwab@suse.de>
30242 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
30243 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
30245 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
30246 redundant variable declarations and reallocation of buffer when
30247 parsing as IPv6 address. Always set NSS status when called from
30248 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
30249 buffer too small. Correct computation of needed size.
30250 * nss/Makefile (tests): Add test-digits-dots.
30251 * nss/test-digits-dots.c: New test.
30253 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30255 * benchtests/Makefile: Remove instructions for adding
30257 * benchtests/README: New file to explain how to execute and
30258 enhance the benchmark tests.
30260 2013-05-21 Andreas Schwab <schwab@suse.de>
30263 * setjmp/Makefile (tests): Add tst-sigsetjmp.
30264 * setjmp/tst-sigsetjmp.c: New test.
30266 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
30268 * sysdeps/x86_64/memset.S (memset): New implementation.
30269 (__bzero): Likewise.
30270 (__memset_tail): New function.
30272 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
30274 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
30275 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
30276 __memcpy_sse2_unaligned ifunc selection.
30277 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30278 Add memcpy-sse2-unaligned.S.
30279 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30280 Add: __memcpy_sse2_unaligned.
30282 2013-05-19 Joseph Myers <joseph@codesourcery.com>
30285 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30286 math_force_eval before restoring floating-point envrionment.
30287 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
30288 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30290 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
30292 (__nearbyintl): Use math_force_eval before restoring
30293 floating-point environment.
30294 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
30296 * math/gen-libm-test.pl (special_functions): Remove.
30297 (parse_args): Don't handle TEST_extra. Handle functions with no
30299 * math/libm-test.inc (struct test_sincos_data): Replace with
30300 struct test_fFF_11_data.
30301 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
30302 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
30303 (sincos_test_data): Change element type to struct
30304 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
30305 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
30306 RUN_TEST_LOOP_sincos.
30307 * math/README.libm-test: Don't mention special handling of
30308 individual functions.
30309 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
30310 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30311 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30312 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30313 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30316 * math/gen-libm-test.pl (get_variable): Remove function.
30317 (parse_args): Don't show pointer parameters to call in test
30318 names. Use "extra output N" in test names for extra outputs
30319 rather than naming variables.
30321 2013-05-18 Joseph Myers <joseph@codesourcery.com>
30324 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
30325 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
30326 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
30328 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
30330 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
30333 * math/gen-libm-test.pl (@tests): Remove variable.
30334 ($count): Likewise.
30335 (new_test): Remove function.
30336 (show_exceptions): New function.
30337 (special_functions): Use show_exceptions instead of new_test.
30338 (parse_args): Likewise.
30339 (generate_testfile): Pass only function name in generated call to
30340 print_max_error or print_complex_max_error.
30341 (get_ulps): Do not handle complex tests specially.
30342 (output_test): Rename to ...
30343 (get_all_ulps_for_test): ... this. Return a string rather than
30344 printing to a file. Require ulps to be present.
30345 (output_ulps): Generate arrays rather than #defines.
30346 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
30347 (struct ulp_data): New type.
30348 (BUILD_COMPLEX_ULP): Remove macro.
30349 (compare_ulp_data): New function.
30350 (find_ulps): Likewise.
30351 (find_test_ulps): Likewise.
30352 (find_function_ulps): Likewise.
30353 (find_complex_function_ulps): Likewise.
30354 (print_max_error): Determine allowed ulps using
30355 find_function_ulps.
30356 (print_complex_max_error): Determine allowed ulps using
30357 find_complex_function_ulps.
30358 (check_float_internal): Determine max ulps using find_test_ulps.
30359 (check_float): Do not take max_ulp parameter. Update call to
30360 check_float_internal.
30361 (check_complex): Likewise.
30362 (check_int): Do not take max_ulp parameter.
30363 (check_long): Likewise.
30364 (check_bool): Likewise.
30365 (check_longlong): Likewise.
30366 (struct test_f_f_data): Remove max_ulp field.
30367 (struct test_ff_f_data): Likewise.
30368 (struct test_ff_f_data_nexttoward): Likewise.
30369 (struct test_fi_f_data): Likewise.
30370 (struct test_fl_f_data): Likewise.
30371 (struct test_if_f_data): Likewise.
30372 (struct test_fff_f_data): Likewise.
30373 (struct test_c_f_data): Likewise.
30374 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
30375 (struct test_fF_f1_data): Likewise.
30376 (struct test_ffI_f1_data): Likewise.
30377 (struct test_c_c_data): Remove max_ulp field.
30378 (struct test_cc_c_data): Likewise.
30379 (struct test_f_i_data): Likewise.
30380 (struct test_ff_i_data): Likewise.
30381 (struct test_f_l_data): Likewise.
30382 (struct test_f_L_data): Likewise.
30383 (struct test_sincos_data): Likewise.
30384 (RUN_TEST_f_f): Do not handle ulps.
30385 (RUN_TEST_LOOP_f_f): Likewise.
30386 (RUN_TEST_2_f): Likewise.
30387 (RUN_TEST_LOOP_2_f): Likewise.
30388 (RUN_TEST_fff_f): Likewise.
30389 (RUN_TEST_LOOP_fff_f): Likewise.
30390 (RUN_TEST_c_f): Likewise.
30391 (RUN_TEST_LOOP_c_f): Likewise.
30392 (RUN_TEST_f_f1): Likewise.
30393 (RUN_TEST_LOOP_f_f1): Likewise.
30394 (RUN_TEST_fF_f1): Likewise.
30395 (RUN_TEST_LOOP_fF_f1): Likewise.
30396 (RUN_TEST_fI_f1): Likewise.
30397 (RUN_TEST_LOOP_fI_f1): Likewise.
30398 (RUN_TEST_ffI_f1): Likewise.
30399 (RUN_TEST_LOOP_ffI_f1): Likewise.
30400 (RUN_TEST_c_c): Likewise.
30401 (RUN_TEST_LOOP_c_c): Likewise.
30402 (RUN_TEST_cc_c): Likewise.
30403 (RUN_TEST_LOOP_cc_c): Likewise.
30404 (RUN_TEST_f_i): Likewise.
30405 (RUN_TEST_LOOP_f_i): Likewise.
30406 (RUN_TEST_f_i_tg): Likewise.
30407 (RUN_TEST_LOOP_f_i_tg): Likewise.
30408 (RUN_TEST_ff_i_tg): Likewise.
30409 (RUN_TEST_LOOP_ff_i_tg): Likewise.
30410 (RUN_TEST_f_b): Likewise.
30411 (RUN_TEST_LOOP_f_b): Likewise.
30412 (RUN_TEST_f_b_tg): Likewise.
30413 (RUN_TEST_LOOP_f_b_tg): Likewise.
30414 (RUN_TEST_f_l): Likewise.
30415 (RUN_TEST_LOOP_f_l): Likewise.
30416 (RUN_TEST_f_L): Likewise.
30417 (RUN_TEST_LOOP_f_L): Likewise.
30418 (RUN_TEST_sincos): Likewise.
30419 (RUN_TEST_LOOP_sincos): Likewise.
30421 2013-05-17 Joseph Myers <joseph@codesourcery.com>
30425 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
30426 main case of finite arguments, set rounding mode to FE_TONEAREST
30427 and discard exceptions.
30428 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
30430 (remainder_tonearest_test_data): New variable.
30431 (remainder_test_tonearest): New function.
30432 (remainder_towardzero_test_data): New variable.
30433 (remainder_test_towardzero): New function.
30434 (remainder_downward_test_data): New variable.
30435 (remainder_test_downward): New function.
30436 (remainder_upward_test_data): New variable.
30437 (remainder_test_upward): New function.
30438 (main): Call the new test functions.
30440 * math/libm-test.inc (struct test_f_f1_data): Remove field
30442 (struct test_fF_f1_data): Likewise.
30443 (struct test_ffI_f1_data): Likewise.
30444 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
30445 based on value of EXTRA_EXPECTED.
30446 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30447 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
30448 EXTRA_VAR based on value of EXTRA_EXPECTED.
30449 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30450 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
30451 EXTRA_VAR based on value of EXTRA_EXPECTED.
30452 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30453 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
30454 EXTRA_VAR based on value of EXTRA_EXPECTED.
30455 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30456 * math/gen-libm-test.pl (parse_args): Don't output initializers
30457 for extra output values.
30459 * math/libm-test.inc (check_int): Expect result to be exactly
30460 equal to expected value and do not handle ulps.
30461 (check_long): Likewise.
30462 (check_longlong): Likewise.
30464 * math/libm-test.inc (ceil_test_data): Test for "inexact"
30466 (cimag_test_data): Likewise.
30467 (conj_test_data): Likewise.
30468 (copysign_test_data): Likewise.
30469 (cproj_test_data): Likewise.
30470 (creal_test_data): Likewise.
30471 (fabs_test_data): Likewise.
30472 (fdim_test_data): Likewise.
30473 (finite_test_data): Likewise.
30474 (floor_test_data): Likewise.
30475 (fmax_test_data): Likewise.
30476 (fmin_test_data): Likewise.
30477 (fmod_test_data): Likewise.
30478 (fpclassify_test_data): Likewise.
30479 (frexp_test_data): Likewise.
30480 (ilogb_test_data): Likewise.
30481 (isfinite_test_data): Likewise.
30482 (isgreater_test_data): Likewise.
30483 (isgreaterequal_test_data): Likewise.
30484 (isinf_test_data): Likewise.
30485 (isless_test_data): Likewise.
30486 (islessequal_test_data): Likewise.
30487 (islessgreater_test_data): Likewise.
30488 (isnan_test_data): Likewise.
30489 (isnormal_test_data): Likewise.
30490 (issignaling_test_data): Likewise.
30491 (isunordered_test_data): Likewise.
30492 (ldexp_test_data): Likewise.
30493 (lrint_test_data): Likewise.
30494 (lrint_test_data) [TEST_FLOAT]: Disable one test.
30495 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
30496 (lrint_tonearest_test_data): Test for "inexact" exceptions.
30497 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30498 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
30499 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30501 (lrint_towardzero_test_data): Test for "inexact" exceptions.
30502 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30503 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
30504 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
30506 (lrint_downward_test_data): Test for "inexact" exceptions.
30507 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30508 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
30509 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30511 (lrint_upward_test_data): Test for "inexact" exceptions.
30512 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
30514 (llrint_test_data): Test for "inexact" exceptions.
30515 (llrint_test_data) [TEST_FLOAT]: Disable one test.
30516 (llrint_tonearest_test_data): Test for "inexact" exceptions.
30517 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30518 (llrint_towardzero_test_data): Test for "inexact" exceptions.
30519 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30520 (llrint_downward_test_data): Test for "inexact" exceptions.
30521 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30522 (llrint_upward_test_data): Test for "inexact" exceptions.
30523 (logb_test_data): Likewise.
30524 (logb_downward_test_data): Likewise.
30525 (nextafter_test_data): Likewise.
30526 (nexttoward_test_data): Likewise.
30527 (remainder_test_data): Likewise.
30528 (remquo_test_data): Likewise.
30529 (scalbn_test_data): Likewise.
30530 (scalbln_test_data): Likewise.
30531 (signbit_test_data): Likewise.
30532 (sqrt_test_data): Likewise.
30533 (significand_test_data): Likewise.
30535 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30538 * benchtests/bench-modf.c (struct args): Mark arg0 as
30540 * scripts/bench.pl: Mark members of struct args as volatile.
30542 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30545 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
30546 negative infinity on POWER6 or lower.
30547 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
30549 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
30552 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
30553 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
30554 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
30555 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
30556 (_FP_SETQNAN): New macro.
30557 (_FP_SETQNAN_SEMIRAW): Likewise.
30558 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
30559 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
30560 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
30561 (FP_EXTEND): Use _FP_FRAC_SNANP.
30562 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
30563 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
30565 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30567 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30570 2013-05-16 Joseph Myers <joseph@codesourcery.com>
30572 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
30573 with DIVIDE_BY_ZERO_EXCEPTION.
30574 (gamma_test_data): Likewise.
30575 (lgamma_test_data): Likewise.
30576 (log_test_data): Likewise.
30577 (log10_test_data): Likewise.
30578 (log2_test_data): Likewise.
30579 (tgamma_test_data): Likewise.
30581 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
30582 (acos_test_tonearest): Likewise.
30583 (acos_test_towardzero): Likewise.
30584 (acos_test_downward): Likewise.
30585 (acos_test_upward): Likewise.
30586 (acosh_test): Likewise.
30587 (asin_test): Likewise.
30588 (asin_test_tonearest): Likewise.
30589 (asin_test_towardzero): Likewise.
30590 (asin_test_downward): Likewise.
30591 (asin_test_upward): Likewise.
30592 (asinh_test): Likewise.
30593 (atan_test): Likewise.
30594 (atanh_test): Likewise.
30595 (atan2_test): Likewise.
30596 (cabs_test): Likewise.
30597 (cacos_test): Likewise.
30598 (cacosh_test): Likewise.
30599 (casin_test): Likewise.
30600 (casinh_test): Likewise.
30601 (catan_test): Likewise.
30602 (catanh_test): Likewise.
30603 (cbrt_test): Likewise.
30604 (ccos_test): Likewise.
30605 (ccosh_test): Likewise.
30606 (cexp_test): Likewise.
30607 (clog_test): Likewise.
30608 (clog10_test): Likewise.
30609 (cos_test): Likewise.
30610 (cos_test_tonearest): Likewise.
30611 (cos_test_towardzero): Likewise.
30612 (cos_test_downward): Likewise.
30613 (cos_test_upward): Likewise.
30614 (cosh_test): Likewise.
30615 (cosh_test_tonearest): Likewise.
30616 (cosh_test_towardzero): Likewise.
30617 (cosh_test_downward): Likewise.
30618 (cosh_test_upward): Likewise.
30619 (cpow_test): Likewise.
30620 (csin_test): Likewise.
30621 (csinh_test): Likewise.
30622 (csqrt_test): Likewise.
30623 (ctan_test): Likewise.
30624 (ctan_test_tonearest): Likewise.
30625 (ctan_test_towardzero): Likewise.
30626 (ctan_test_downward): Likewise.
30627 (ctan_test_upward): Likewise.
30628 (ctanh_test): Likewise.
30629 (ctanh_test_tonearest): Likewise.
30630 (ctanh_test_towardzero): Likewise.
30631 (ctanh_test_downward): Likewise.
30632 (ctanh_test_upward): Likewise.
30633 (erf_test): Likewise.
30634 (erfc_test): Likewise.
30635 (exp_test): Likewise.
30636 (exp_test_tonearest): Likewise.
30637 (exp_test_towardzero): Likewise.
30638 (exp_test_downward): Likewise.
30639 (exp_test_upward): Likewise.
30640 (exp10_test): Likewise.
30641 (exp2_test): Likewise.
30642 (expm1_test): Likewise.
30643 (fmod_test): Likewise.
30644 (gamma_test): Likewise.
30645 (hypot_test): Likewise.
30646 (j0_test): Likewise.
30647 (j1_test): Likewise.
30648 (jn_test): Likewise.
30649 (lgamma_test): Likewise.
30650 (log_test): Likewise.
30651 (log10_test): Likewise.
30652 (log1p_test): Likewise.
30653 (log2_test): Likewise.
30654 (logb_test_downward): Likewise.
30655 (pow_test): Likewise.
30656 (pow_test_tonearest): Likewise.
30657 (pow_test_towardzero): Likewise.
30658 (pow_test_downward): Likewise.
30659 (pow_test_upward): Likewise.
30660 (remainder_test): Likewise.
30661 (remquo_test): Likewise.
30662 (sin_test): Likewise.
30663 (sin_test_tonearest): Likewise.
30664 (sin_test_towardzero): Likewise.
30665 (sin_test_downward): Likewise.
30666 (sin_test_upward): Likewise.
30667 (sincos_test): Likewise.
30668 (sinh_test): Likewise.
30669 (sinh_test_tonearest): Likewise.
30670 (sinh_test_towardzero): Likewise.
30671 (sinh_test_downward): Likewise.
30672 (sinh_test_upward): Likewise.
30673 (sqrt_test): Likewise.
30674 (tan_test): Likewise.
30675 (tan_test_tonearest): Likewise.
30676 (tan_test_towardzero): Likewise.
30677 (tan_test_downward): Likewise.
30678 (tan_test_upward): Likewise.
30679 (tanh_test): Likewise.
30680 (tgamma_test): Likewise.
30681 (y0_test): Likewise.
30682 (y1_test): Likewise.
30683 (yn_test): Likewise.
30685 * math/gen-libm-test.pl (adjust_arg): Remove function.
30686 (special_function): Remove argument $in_func. Only handle
30687 generating output for tables of tests, not inside functions.
30688 (parse_args): Likewise.
30689 (generate_testfile): Remove variable $in_func. Update call to
30691 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
30692 (MINUS_ZERO_INIT): Rename macro to minus_zero.
30693 (PLUS_INFTY_INIT): Rename macro to plus_infty.
30694 (MINUS_INFTY_INIT): Rename macro to minus_infty.
30695 (QNAN_VALUE_INIT): Rename macro to qnan_value.
30696 (MAX_VALUE_INIT): Rename macro to max_value.
30697 (MIN_VALUE_INIT): Rename macro to min_value.
30698 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
30699 (plus_zero): Remove variable.
30700 (minus_zero): Likewise.
30701 (plus_infty): Likewise.
30702 (minus_infty): Likewise.
30703 (qnan_value): Likewise.
30704 (max_value): Likewise.
30705 (min_value): Likewise.
30706 (min_subnorm_value): Likewise.
30708 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30710 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
30711 uint64_t or uint32_t usage.
30712 * crypt/sha256-block.c: Likewise.
30713 * crypt/sha256-crypt.c: Likewise.
30714 * crypt/sha256.c: Likewise.
30715 * crypt/sha512-block.c: Likewise.
30716 * crypt/sha512-crypt.c: Likewise.
30717 * crypt/sha512.c: Likewise.
30718 * debug/backtrace-tst.c: Likewise.
30719 * debug/pcprofiledump.c: Likewise.
30720 * elf/cache.c: Likewise.
30721 * elf/dl-cache.c: Likewise.
30722 * elf/dl-misc.c: Likewise.
30723 * elf/dl-profile.c: Likewise.
30724 * elf/dl-support.c: Likewise.
30725 * elf/ldconfig.c: Likewise.
30726 * elf/sprof.c: Likewise.
30727 * iconv/dummy-repertoire.c: Likewise.
30728 * iconv/iconv_charmap.c: Likewise.
30729 * iconv/skeleton.c: Likewise.
30730 * iconvdata/8bit-generic.c: Likewise.
30731 * iconvdata/cp737.h: Likewise.
30732 * iconvdata/cp775.h: Likewise.
30733 * iconvdata/ibm1008.h: Likewise.
30734 * iconvdata/ibm1025.h: Likewise.
30735 * iconvdata/ibm1046.h: Likewise.
30736 * iconvdata/ibm1097.h: Likewise.
30737 * iconvdata/ibm1112.h: Likewise.
30738 * iconvdata/ibm1122.h: Likewise.
30739 * iconvdata/ibm1123.h: Likewise.
30740 * iconvdata/ibm1124.h: Likewise.
30741 * iconvdata/ibm1129.h: Likewise.
30742 * iconvdata/ibm1130.h: Likewise.
30743 * iconvdata/ibm1132.h: Likewise.
30744 * iconvdata/ibm1133.h: Likewise.
30745 * iconvdata/ibm1137.h: Likewise.
30746 * iconvdata/ibm1140.h: Likewise.
30747 * iconvdata/ibm1141.h: Likewise.
30748 * iconvdata/ibm1142.h: Likewise.
30749 * iconvdata/ibm1143.h: Likewise.
30750 * iconvdata/ibm1144.h: Likewise.
30751 * iconvdata/ibm1145.h: Likewise.
30752 * iconvdata/ibm1146.h: Likewise.
30753 * iconvdata/ibm1147.h: Likewise.
30754 * iconvdata/ibm1148.h: Likewise.
30755 * iconvdata/ibm1149.h: Likewise.
30756 * iconvdata/ibm1153.h: Likewise.
30757 * iconvdata/ibm1154.h: Likewise.
30758 * iconvdata/ibm1155.h: Likewise.
30759 * iconvdata/ibm1156.h: Likewise.
30760 * iconvdata/ibm1157.h: Likewise.
30761 * iconvdata/ibm1158.h: Likewise.
30762 * iconvdata/ibm1160.h: Likewise.
30763 * iconvdata/ibm1161.h: Likewise.
30764 * iconvdata/ibm1162.h: Likewise.
30765 * iconvdata/ibm1163.h: Likewise.
30766 * iconvdata/ibm1164.h: Likewise.
30767 * iconvdata/ibm1166.h: Likewise.
30768 * iconvdata/ibm1167.h: Likewise.
30769 * iconvdata/ibm12712.h: Likewise.
30770 * iconvdata/ibm1390.h: Likewise.
30771 * iconvdata/ibm1399.h: Likewise.
30772 * iconvdata/ibm16804.h: Likewise.
30773 * iconvdata/ibm4517.h: Likewise.
30774 * iconvdata/ibm4899.h: Likewise.
30775 * iconvdata/ibm4909.h: Likewise.
30776 * iconvdata/ibm4971.h: Likewise.
30777 * iconvdata/ibm5347.h: Likewise.
30778 * iconvdata/ibm803.h: Likewise.
30779 * iconvdata/ibm856.h: Likewise.
30780 * iconvdata/ibm901.h: Likewise.
30781 * iconvdata/ibm902.h: Likewise.
30782 * iconvdata/ibm9030.h: Likewise.
30783 * iconvdata/ibm9066.h: Likewise.
30784 * iconvdata/ibm921.h: Likewise.
30785 * iconvdata/ibm922.h: Likewise.
30786 * iconvdata/ibm9448.h: Likewise.
30787 * iconvdata/isiri-3342.h: Likewise.
30788 * iconvdata/jis0201.h: Likewise.
30789 * include/link.h: Likewise.
30790 * include/netdb.h: Likewise.
30791 * inet/check_native.c: Likewise.
30792 * inet/check_pf.c: Likewise.
30793 * inet/getipv4sourcefilter.c: Likewise.
30794 * inet/getnameinfo.c: Likewise.
30795 * inet/getsourcefilter.c: Likewise.
30796 * inet/htonl.c: Likewise.
30797 * inet/setipv4sourcefilter.c: Likewise.
30798 * inet/setsourcefilter.c: Likewise.
30799 * inet/test-inet6_opt.c: Likewise.
30800 * inet/tst-network.c: Likewise.
30801 * locale/C-collate.c: Likewise.
30802 * locale/C-ctype.c: Likewise.
30803 * locale/C-time.c: Likewise.
30804 * locale/C-translit.h: Likewise.
30805 * locale/loadarchive.c: Likewise.
30806 * locale/programs/3level.h: Likewise.
30807 * locale/programs/charmap.c: Likewise.
30808 * locale/programs/charmap.h: Likewise.
30809 * locale/programs/ld-address.c: Likewise.
30810 * locale/programs/ld-collate.c: Likewise.
30811 * locale/programs/ld-ctype.c: Likewise.
30812 * locale/programs/ld-identification.c: Likewise.
30813 * locale/programs/ld-measurement.c: Likewise.
30814 * locale/programs/ld-messages.c: Likewise.
30815 * locale/programs/ld-monetary.c: Likewise.
30816 * locale/programs/ld-name.c: Likewise.
30817 * locale/programs/ld-numeric.c: Likewise.
30818 * locale/programs/ld-paper.c: Likewise.
30819 * locale/programs/ld-telephone.c: Likewise.
30820 * locale/programs/ld-time.c: Likewise.
30821 * locale/programs/linereader.c: Likewise.
30822 * locale/programs/locale.c: Likewise.
30823 * locale/programs/locarchive.c: Likewise.
30824 * locale/programs/locfile.h: Likewise.
30825 * locale/programs/repertoire.c: Likewise.
30826 * locale/programs/simple-hash.c: Likewise.
30827 * locale/programs/simple-hash.h: Likewise.
30828 * malloc/memusage.c: Likewise.
30829 * malloc/memusagestat.c: Likewise.
30830 * nis/nis_defaults.c: Likewise.
30831 * nis/nis_hash.c: Likewise.
30832 * nis/nis_print.c: Likewise.
30833 * nis/nis_xdr.c: Likewise.
30834 * nscd/connections.c: Likewise.
30835 * nscd/hstcache.c: Likewise.
30836 * nscd/nscd_gethst_r.c: Likewise.
30837 * nscd/nscd_getserv_r.c: Likewise.
30838 * nscd/nscd_helper.c: Likewise.
30839 * nscd/servicescache.c: Likewise.
30840 * nss/makedb.c: Likewise.
30841 * nss/nss_db/db-XXX.c: Likewise.
30842 * nss/nss_db/db-initgroups.c: Likewise.
30843 * nss/nss_db/db-netgrp.c: Likewise.
30844 * nss/nss_files/files-network.c: Likewise.
30845 * nss/nss_files/files-parse.c: Likewise.
30846 * posix/bug-regex5.c: Likewise.
30847 * posix/fnmatch_loop.c: Likewise.
30848 * posix/regcomp.c: Likewise.
30849 * posix/regexec.c: Likewise.
30850 * posix/tst-rfc3484-2.c: Likewise.
30851 * posix/tst-rfc3484-3.c: Likewise.
30852 * posix/tst-rfc3484.c: Likewise.
30853 * resolv/nss_dns/dns-canon.c: Likewise.
30854 * resolv/nss_dns/dns-network.c: Likewise.
30855 * resolv/res_init.c: Likewise.
30856 * resolv/res_mkquery.c: Likewise.
30857 * resolv/tst-aton.c: Likewise.
30858 * stdlib/cxa_atexit.c: Likewise.
30859 * stdlib/cxa_finalize.c: Likewise.
30860 * stdlib/gen-fpioconst.c: Likewise.
30861 * stdlib/strtol_l.c: Likewise.
30862 * string/tst-endian.c: Likewise.
30863 * sunrpc/auth_des.c: Likewise.
30864 * sunrpc/clnt_udp.c: Likewise.
30865 * sunrpc/rtime.c: Likewise.
30866 * sunrpc/svcauth_des.c: Likewise.
30867 * sunrpc/xdr.c: Likewise.
30868 * sunrpc/xdr_intXX_t.c: Likewise.
30869 * sunrpc/xdr_rec.c: Likewise.
30870 * sysdeps/generic/ldconfig.h: Likewise.
30871 * sysdeps/generic/ldsodefs.h: Likewise.
30872 * sysdeps/generic/memusage.h: Likewise.
30873 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30874 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
30875 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
30876 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30877 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30878 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30879 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30880 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30881 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30882 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30883 * sysdeps/posix/getaddrinfo.c: Likewise.
30884 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30885 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30886 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30887 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30888 * sysdeps/powerpc/test-gettimebase.c: Likewise.
30889 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30890 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
30891 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
30892 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
30893 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
30894 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30895 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30896 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
30897 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
30898 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
30899 * sysdeps/x86_64/dl-tls.h: Likewise.
30900 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
30901 * time/alt_digit.c: Likewise.
30902 * time/era.c: Likewise.
30903 * wcsmbs/tst-c16c32-1.c: Likewise.
30905 2013-05-16 Joseph Myers <joseph@codesourcery.com>
30907 * math/libm-test.inc (struct test_sincos_data): New type.
30908 (RUN_TEST_LOOP_sincos): New macro.
30909 (sincos_test_data): New variable.
30910 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
30912 2013-05-16 Richard Henderson <rth@redhat.com>
30914 * math/atest-exp2.c (LIMB64): New macro.
30915 (CONSTSZ): New macro.
30916 (mp_exp1, mp_exp_m1, mp_log2): New variables.
30918 (print_mpn_fp): ... to function scope.
30919 (read_mpn_hex): Remove.
30920 (get_log2): Remove.
30921 (exp2_mpn): Use mp_log2.
30922 (main): Use mp_exp1.
30924 2013-05-16 Joseph Myers <joseph@codesourcery.com>
30926 * math/libm-test.inc: Remove comment about not testing "inexact"
30928 (INEXACT_EXCEPTION): New macro.
30929 (NO_INEXACT_EXCEPTION): Likewise.
30930 (INVALID_EXCEPTION_OK): Update value.
30931 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30932 (OVERFLOW_EXCEPTION_OK): Likewise.
30933 (UNDERFLOW_EXCEPTION_OK): Likewise.
30934 (IGNORE_ZERO_INF_SIGN): Likewise.
30935 (ERRNO_UNCHANGED): Likewise.
30936 (ERRNO_EDOM): Likewise.
30937 (ERRNO_ERANGE): Likewise.
30938 (test_exceptions): Handle testing "inexact" exceptions.
30939 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
30940 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
30941 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
30942 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
30944 (rint_towardzero_test_data): Likewise.
30945 (rint_downward_test_data): Likewise.
30946 (rint_upward_test_data): Likewise.
30948 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
30949 with OVERFLOW_EXCEPTION.
30950 (exp10_test_data): Likewise.
30951 (exp2_test_data): Likewise.
30952 (expm1_test_data): Likewise.
30953 (lgamma_test_data): Likewise.
30954 (pow_test_data): Likewise.
30955 (tgamma_test_data): Likewise.
30956 (yn_test_data): Remove duplicate test of overflow.
30958 * math/libm-test.inc (struct test_cc_c_data): New type.
30959 (RUN_TEST_LOOP_cc_c): New macro.
30960 (cpow_test_data): New variable.
30961 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
30963 * math/libm-test.inc (struct test_f_L_data): New type.
30964 (RUN_TEST_LOOP_f_L): New macro.
30965 (llrint_test_data): New variable.
30966 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
30967 (llrint_tonearest_test_data): New variable.
30968 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
30969 (llrint_towardzero_test_data): New variable.
30970 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
30971 (llrint_downward_test_data): New variable.
30972 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
30973 (llrint_upward_test_data): New variable.
30974 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
30975 (llround_test_data): New variable.
30976 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
30978 2013-05-13 Peter Collingbourne <pcc@google.com>
30980 * math/atest-exp2.c (get_log2): Remove const attribute.
30982 2013-05-15 Joseph Myers <joseph@codesourcery.com>
30984 * math/libm-test.inc (struct test_f_l_data): New type.
30985 (RUN_TEST_LOOP_f_l): New macro.
30986 (lrint_test_data): New variable.
30987 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
30988 (lrint_tonearest_test_data): New variable.
30989 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
30990 (lrint_towardzero_test_data): New variable.
30991 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
30992 (lrint_downward_test_data): New variable.
30993 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
30994 (lrint_upward_test_data): New variable.
30995 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
30996 (lround_test_data): New variable.
30997 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
30999 2013-05-15 Peter Collingbourne <pcc@google.com>
31001 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
31002 (EXTRACT_WORDS64) Use where appropriate.
31003 (INSERT_WORDS64) Likewise.
31005 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
31006 constraints with x constraints.
31007 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
31009 * malloc/obstack.c (_obstack_compat): Add initializer.
31011 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
31013 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
31014 si_trapno and add si_addr_lsb to _sifields.sigfault.
31015 (si_trapno): Remove macro.
31016 (si_addr_lsb): Define new macro.
31017 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31019 2013-05-15 Joseph Myers <joseph@codesourcery.com>
31021 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
31022 instead of TEST_f_l.
31023 (llrint_test_tonearest): Likewise.
31024 (llrint_test_towardzero): Likewise.
31025 (llrint_test_downward): Likewise.
31026 (llrint_test_upward): Likewise.
31027 (llround_test): Likewise.
31029 * math/libm-test.inc (struct test_f_i_data): Add comment.
31030 (RUN_TEST_LOOP_f_b): New macro.
31031 (RUN_TEST_LOOP_f_b_tg): Likewise.
31032 (finite_test_data): New variable.
31033 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
31034 (isfinite_test_data): New variable.
31035 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31036 (isinf_test_data): New variable.
31037 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31038 (isnan_test_data): New variable.
31039 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31040 (isnormal_test_data): New variable.
31041 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31042 (issignaling_test_data): New variable.
31043 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31044 (signbit_test_data): New variable.
31045 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31047 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
31048 with INVALID_EXCEPTION.
31049 (acosh_test_data): Likewise.
31050 (asin_test_data): Likewise.
31051 (atanh_test_data): Likewise.
31052 (fmod_test_data): Likewise.
31053 (log_test_data): Likewise.
31054 (log10_test_data): Likewise.
31055 (log2_test_data): Likewise.
31056 (pow_test_data): Likewise.
31057 (sqrt_test_data): Likewise.
31058 (y0_test_data): Likewise.
31059 (y1_test_data): Likewise.
31060 (yn_test_data): Likewise.
31062 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
31065 * math/libm-test.inc (struct test_ff_i_data): New type.
31066 (RUN_TEST_LOOP_ff_i_tg): New macro.
31067 (isgreater_test_data): New variable.
31068 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31069 (isgreaterequal_test_data): New variable.
31070 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31071 (isless_test_data): New variable.
31072 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31073 (islessequal_test_data): New variable.
31074 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31075 (islessgreater_test_data): New variable.
31076 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31077 (isunordered_test_data): New variable.
31078 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31080 2013-05-14 David S. Miller <davem@davemloft.net>
31082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31084 2013-05-14 Joseph Myers <joseph@codesourcery.com>
31086 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
31088 * math/libm-test.inc (struct test_fF_f1_data): Change type of
31090 (struct test_f_i_data): Change type of max_ulp to int.
31092 * math/libm-test.inc (test_ffI_f1_data): New type.
31093 (RUN_TEST_LOOP_ffI_f1): New macro.
31094 (remquo_test_data): New variable.
31095 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
31097 * setjmp/tst-setjmp-fp.c: New file.
31098 * setjmp/Makefile (tests): Add tst-setjmp-fp.
31099 (link-libm): New variable.
31100 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
31102 * math/libm-test.inc (struct test_f_i_data): New type.
31103 (RUN_TEST_LOOP_f_i): New macro.
31104 (RUN_TEST_LOOP_f_i_tg): Likewise.
31105 (fpclassify_test_data): New variable.
31106 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
31107 (ilogb_test_data): New variable.
31108 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
31110 * math/libm-test.inc (scalbln_test): Correct function name in END
31113 * math/libm-test.inc (struct test_f_f1_data): Add comment.
31114 (RUN_TEST_LOOP_fI_f1): New macro.
31115 (frexp_test_data): New variable.
31116 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
31118 * math/libm-test.inc (struct test_fF_f1_data): New type.
31119 (RUN_TEST_LOOP_fF_f1): New macro.
31120 (modf_test_data): New variable.
31121 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
31123 * math/libm-test.inc (struct test_f_f1_data): New type.
31124 (RUN_TEST_LOOP_f_f1): New macro.
31125 (gamma_test_data): New variable.
31126 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31127 (lgamma_test_data): New variable.
31128 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31130 2013-05-13 Carlos O'Donell <carlos@redhat.com>
31132 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
31133 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
31134 (main): Comment "tls" pseudo-hwcap.
31136 2013-05-13 Joseph Myers <joseph@codesourcery.com>
31138 * math/libm-test.inc (struct test_fl_f_data): New type.
31139 (RUN_TEST_LOOP_fl_f): New variable.
31140 (scalbln_test_data): New variable.
31141 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
31143 * math/libm-test.inc (struct test_fi_f_data): New type.
31144 (RUN_TEST_LOOP_fi_f): New macro.
31145 (ldexp_test_data): New variable.
31146 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
31147 (scalbn_test_data): New variable.
31148 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
31150 * math/libm-test.inc (struct test_c_f_data): New type.
31151 (RUN_TEST_LOOP_c_f): New macro.
31152 (cabs_test_data): New variable.
31153 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
31154 (carg_test_data): New variable.
31155 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
31156 (cimag_test_data): New variable.
31157 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
31158 (creal_test_data): New variable.
31159 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
31161 * math/libm-test.inc (struct test_if_f_data): New type.
31162 (RUN_TEST_LOOP_if_f): New macro.
31163 (jn_test_data): New variable.
31164 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
31165 (yn_test_data): New variable.
31166 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
31168 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
31170 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31172 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
31173 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
31175 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31177 * benchtests/Makefile (CPPFLAGS-nonlib): Add
31178 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
31179 (bench-deps): Add bench-timing.h.
31180 * benchtests-bench-skeleton.c: Include bench-timing.h.
31181 (main): Use TIMING_* macros instead of clock_gettime.
31182 * benchtests/bench-timing.h: New file.
31185 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
31186 Renamed from _LIB_VERSION.
31187 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
31189 2013-05-12 Joseph Myers <joseph@codesourcery.com>
31191 * math/libm-test.inc (struct test_fff_f_data): New type.
31192 (RUN_TEST_LOOP_fff_f): New macro.
31193 (fma_test_data): New variable.
31194 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
31195 (fma_towardzero_test_data): New variable.
31196 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
31197 (fma_downward_test_data): New variable.
31198 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
31199 (fma_upward_test_data): New variable.
31200 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
31202 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
31203 (struct test_c_c_data): New type.
31204 (RUN_TEST_LOOP_c_c): New macro.
31205 (cacos_test_data): New variable.
31206 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
31207 (cacosh_test_data): New variable.
31208 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
31209 (casin_test_data): New variable.
31210 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
31211 (casinh_test_data): New variable.
31212 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
31213 (catan_test_data): New variable.
31214 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
31215 (catanh_test_data): New variable.
31216 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
31217 (ccos_test_data): New variable.
31218 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
31219 (ccosh_test_data): New variable.
31220 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
31221 (cexp_test_data): New variable.
31222 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
31223 (clog_test_data): New variable.
31224 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
31225 (clog10_test_data): New variable.
31226 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
31227 (conj_test_data): New variable.
31228 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
31229 (cproj_test_data): New variable.
31230 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
31231 (csin_test_data): New variable.
31232 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
31233 (csinh_test_data): New variable.
31234 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
31235 (csqrt_test_data): New variable.
31236 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
31237 (ctan_test_data): New variable.
31238 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
31239 (ctan_tonearest_test_data): New variable.
31240 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31241 (ctan_towardzero_test_data): New variable.
31242 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31243 (ctan_downward_test_data): New variable.
31244 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31245 (ctan_upward_test_data): New variable.
31246 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31247 (ctanh_test_data): New variable.
31248 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
31249 (ctanh_tonearest_test_data): New variable.
31250 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31251 (ctanh_towardzero_test_data): New variable.
31252 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31253 (ctanh_downward_test_data): New variable.
31254 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31255 (ctanh_upward_test_data): New variable.
31256 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31257 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
31260 * math/libm-test.inc (struct test_ff_f_data): New type.
31261 (struct test_ff_f_data_nexttoward): Likewise.
31262 (RUN_TEST_LOOP_2_f): New macro.
31263 (RUN_TEST_LOOP_ff_f): Likewise.
31264 (atan2_test_data): New variable.
31265 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
31266 (copysign_test_data): New variable.
31267 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
31268 (fdim_test_data): New variable.
31269 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
31270 (fmax_test_data): New variable.
31271 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
31272 (fmin_test_data): New variable.
31273 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
31274 (fmod_test_data): New variable.
31275 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
31276 (hypot_test_data): New variable.
31277 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
31278 (nextafter_test_data): New variable.
31279 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
31280 (nexttoward_test_data): New variable.
31281 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
31282 (pow_test_data): New variable.
31283 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
31284 (pow_tonearest_test_data): New variable.
31285 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
31286 (pow_towardzero_test_data): New variable.
31287 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
31288 (pow_downward_test_data): New variable.
31289 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
31290 (pow_upward_test_data): New variable.
31291 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
31292 (remainder_test_data): New variable.
31293 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
31294 (scalb_test_data): New variable.
31295 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
31296 * sysdeps/i386/fpu/libm-test-ulps: Update.
31298 2013-05-11 Joseph Myers <joseph@codesourcery.com>
31300 * math/libm-test.inc (fma_test): Use max_value instead of local
31302 (nextafter_test): Likewise.
31304 * math/libm-test.inc (acos_towardzero_test_data): New variable.
31305 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31306 (acos_downward_test_data): New variable.
31307 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31308 (acos_upward_test_data): New variable.
31309 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31310 (acosh_test_data): New variable.
31311 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
31312 (asin_test_data): New variable.
31313 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
31314 (asin_tonearest_test_data): New variable.
31315 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31316 (asin_towardzero_test_data): New variable.
31317 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31318 (asin_downward_test_data): New variable.
31319 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31320 (asin_upward_test_data): New variable.
31321 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31322 (asinh_test_data): New variable.
31323 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
31324 (atan_test_data): New variable.
31325 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
31326 (atanh_test_data): New variable.
31327 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
31328 (cbrt_test_data): New variable.
31329 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
31330 (ceil_test_data): New variable.
31331 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
31332 (cos_test_data): New variable.
31333 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
31334 (cos_tonearest_test_data): New variable.
31335 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31336 (cos_towardzero_test_data): New variable.
31337 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31338 (cos_downward_test_data): New variable.
31339 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31340 (cos_upward_test_data): New variable.
31341 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31342 (cosh_test_data): New variable.
31343 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
31344 (cosh_tonearest_test_data): New variable.
31345 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31346 (cosh_towardzero_test_data): New variable.
31347 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31348 (cosh_downward_test_data): New variable.
31349 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31350 (cosh_upward_test_data): New variable.
31351 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31352 (erf_test_data): New variable.
31353 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
31354 (erfc_test_data): New variable.
31355 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
31356 (exp_test_data): New variable.
31357 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
31358 (exp_tonearest_test_data): New variable.
31359 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31360 (exp_towardzero_test_data): New variable.
31361 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31362 (exp_downward_test_data): New variable.
31363 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31364 (exp_upward_test_data): New variable.
31365 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31366 (exp10_test_data): New variable.
31367 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
31368 (exp2_test_data): New variable.
31369 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
31370 (expm1_test_data): New variable.
31371 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
31372 (fabs_test_data): New variable.
31373 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
31374 (floor_test_data): New variable.
31375 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
31376 (j0_test_data): New variable.
31377 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
31378 (j1_test_data): New variable.
31379 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
31380 (log_test_data): New variable.
31381 (log_test): Run tests with RUN_TEST_LOOP_f_f.
31382 (log10_test_data): New variable.
31383 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
31384 (log1p_test_data): New variable.
31385 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
31386 (log2_test_data): New variable.
31387 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
31388 (logb_test_data): New variable.
31389 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
31390 (logb_downward_test_data): New variable.
31391 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31392 (nearbyint_test_data): New variable.
31393 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
31394 (rint_test_data): New variable.
31395 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
31396 (rint_tonearest_test_data): New variable.
31397 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31398 (rint_towardzero_test_data): New variable.
31399 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31400 (rint_downward_test_data): New variable.
31401 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31402 (rint_upward_test_data): New variable.
31403 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31404 (round_test_data): New variable.
31405 (round_test): Run tests with RUN_TEST_LOOP_f_f.
31406 (sin_test_data): New variable.
31407 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
31408 (sin_tonearest_test_data): New variable.
31409 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31410 (sin_towardzero_test_data): New variable.
31411 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31412 (sin_downward_test_data): New variable.
31413 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31414 (sin_upward_test_data): New variable.
31415 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31416 (sinh_test_data): New variable.
31417 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
31418 (sinh_tonearest_test_data): New variable.
31419 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31420 (sinh_towardzero_test_data): New variable.
31421 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31422 (sinh_downward_test_data): New variable.
31423 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31424 (sinh_upward_test_data): New variable.
31425 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31426 (sqrt_test_data): New variable.
31427 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
31428 (tan_test_data): New variable.
31429 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
31430 (tan_tonearest_test_data): New variable.
31431 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31432 (tan_towardzero_test_data): New variable.
31433 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31434 (tan_downward_test_data): New variable.
31435 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31436 (tan_upward_test_data): New variable.
31437 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31438 (tanh_test_data): New variable.
31439 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
31440 (tgamma_test_data): New variable.
31441 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
31442 (trunc_test_data): New variable.
31443 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
31444 (y0_test_data): New variable.
31445 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
31446 (y1_test_data): New variable.
31447 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
31448 (significand_test_data): New variable.
31449 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
31451 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
31454 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
31456 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
31458 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
31460 2013-05-10 Andreas Jaeger <aj@suse.de>
31463 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
31464 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
31466 2013-05-10 Joseph Myers <joseph@codesourcery.com>
31468 * math/gen-libm-test.pl (adjust_arg): New function.
31469 (special_functions): Handle generating output in both functions
31471 (parse_args): Likewise.
31472 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
31473 $in_func argument to parse_args.
31474 * math/libm-test.inc (struct test_f_f_data): New type.
31475 (IF_ROUND_INIT_): New macro.
31476 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
31477 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31478 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31479 (IF_ROUND_INIT_FE_UPWARD): Likewise.
31480 (ROUND_RESTORE_): Likewise.
31481 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
31482 (ROUND_RESTORE_FE_TONEAREST): Likewise.
31483 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
31484 (ROUND_RESTORE_FE_UPWARD): Likewise.
31485 (RUN_TEST_LOOP_f_f): New macro.
31486 (acos_test_data): New variable.
31487 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
31488 (acos_tonearest_test_data): New variable.
31489 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31491 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31493 * benchtests/bench-skeleton.c (startup): Fix coding style.
31495 2013-05-10 Joseph Myers <joseph@codesourcery.com>
31498 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
31499 negative infinity argument.
31500 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
31501 negative infinity argument.
31502 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
31503 negative infinity argument.
31504 * math/libm-test.inc (tgamma_test): Expect errno to be set for
31507 2013-05-10 Florian Weimer <fweimer@redhat.com>
31509 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
31510 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
31511 * iconv/iconv_prog.c (main): Likewise.
31512 * locale/programs/charmap-dir.c (charmap_readdir)
31513 (fopen_uncompressed): Likewise.
31514 * locale/programs/locfile.c (siblings_uncached)
31515 (write_locale_data): Use lstat64 instead of lstat.
31516 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
31519 2013-05-10 Andreas Jaeger <aj@suse.de>
31522 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
31524 Include <locale.h>.
31526 2013-05-09 Carlos O'Donell <carlos@redhat.com>
31528 * elf/dl-close.c (_dl_close_worker): Add comments.
31530 2013-05-09 Joseph Myers <joseph@codesourcery.com>
31533 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
31535 (__ieee754_rem_pio2l): Update comments.
31538 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
31540 (__ieee754_rem_pio2l): Update comments.
31542 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
31543 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
31545 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
31548 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
31549 (M_PI_34_LOG10El): Likewise.
31550 (M_PI2_LOG10El): Likewise.
31551 (M_PI4_LOG10El): Likewise.
31552 (M_PI_LOG10El): Likewise.
31554 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31558 2013-05-08 Joseph Myers <joseph@codesourcery.com>
31560 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
31561 (MINUS_ZERO_INIT): Likewise.
31562 (PLUS_INFTY_INIT): Likewise.
31563 (MINUS_INFTY_INIT): Likewise.
31564 (QNAN_VALUE_INIT): Likewise.
31565 (MAX_VALUE_INIT): Likewise.
31566 (MIN_VALUE_INIT): Likewise.
31567 (MIN_SUBNORM_VALUE_INIT): Likewise.
31568 (plus_zero): Initialize with PLUS_ZERO_INIT.
31569 (minus_zero): Initialize with MINUS_ZERO_INIT.
31570 (plus_infty): Initialize with PLUS_INFTY_INIT.
31571 (minus_infty): Initialize with MINUS_INFTY_INIT.
31572 (qnan_value): Initialize with QNAN_VALUE_INIT.
31573 (max_value): Initialize with MAX_VALUE_INIT.
31574 (min_value): Initialize with MIN_VALUE_INIT.
31575 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
31577 * math/libm-test.inc (RUN_TEST_if_f): New macro.
31578 (jn_test): Use TEST_if_f instead of TEST_ff_f.
31579 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
31580 (yn_test): Use TEST_if_f instead of TEST_ff_f.
31582 * math/libm-test.inc (RUN_TEST_f_f): New macro.
31583 (RUN_TEST_2_f): Likewise.
31584 (RUN_TEST_ff_f): Likewise.
31585 (RUN_TEST_fi_f): Likewise.
31586 (RUN_TEST_fl_f): Likewise.
31587 (RUN_TEST_fff_f): Likewise.
31588 (RUN_TEST_c_f): Likewise.
31589 (RUN_TEST_f_f1): Likewise.
31590 (RUN_TEST_fF_f1): Likewise.
31591 (RUN_TEST_fI_f1): Likewise.
31592 (RUN_TEST_ffI_f1): Likewise.
31593 (RUN_TEST_c_c): Likewise.
31594 (RUN_TEST_cc_c): Likewise.
31595 (RUN_TEST_f_i): Likewise.
31596 (RUN_TEST_f_i_tg): Likewise.
31597 (RUN_TEST_ff_i_tg): Likewise.
31598 (RUN_TEST_f_b): Likewise.
31599 (RUN_TEST_f_b_tg): Likewise.
31600 (RUN_TEST_f_l): Likewise.
31601 (RUN_TEST_f_L): Likewise.
31602 (RUN_TEST_sincos): Likewise.
31603 * math/gen-libm-test.pl (new_test): Take new argument to indicate
31604 whether to show exceptions. Do not include ");\n" in return
31606 (special_functions): Output call to RUN_TEST_sincos instead of
31607 check_float calls. Update calls to new_test.
31608 (parse_args): Output call to single RUN_TEST_* macro instead of
31609 check_* calls and other assignments. Update calls to new_test.
31615 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
31616 input to result for tgamma overflow.
31617 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
31618 (gamma_coeff): New variable.
31619 (NCOEFF): New macro.
31620 (gamma_positive): New function.
31621 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
31622 underflow here. Use gamma_positive instead of exp (lgamma) for
31624 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
31625 (gamma_coeff): New variable.
31626 (NCOEFF): New macro.
31627 (gammaf_positive): New function.
31628 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
31629 underflow here. Use gamma_positive instead of exp (lgamma) for
31631 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
31632 (gamma_coeff): New variable.
31633 (NCOEFF): New macro.
31634 (gammal_positive): New function.
31635 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
31636 underflow here. Use gamma_positive instead of exp (lgamma) for
31638 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
31639 (gamma_coeff): New variable.
31640 (NCOEFF): New macro.
31641 (gammal_positive): New function.
31642 (__ieee754_gammal_r): Handle positive infinity, overflow and
31643 underflow here. Handle NaN the same as positive infinity. Remove
31644 check x < 0xffffffff for negative integers. Use gamma_positive
31645 instead of exp (lgamma) for other arguments.
31646 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
31647 (gamma_coeff): New variable.
31648 (NCOEFF): New macro.
31649 (gammal_positive): New function.
31650 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
31651 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
31652 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
31653 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
31654 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
31655 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
31656 * sysdeps/generic/math_private.h (__gamma_productf): New
31658 (__gamma_product): Likewise.
31659 (__gamma_productl): Likewise.
31660 * math/Makefile (libm-calls): Add gamma_product.
31661 * math/libm-test.inc (tgamma_test): Add more tests.
31662 * sysdeps/i386/fpu/libm-test-ulps: Update.
31663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31665 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
31667 * benchtests/bench-skeleton.c (main): Preheat CPU.
31669 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
31671 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
31673 2013-05-07 Roland McGrath <roland@hack.frob.com>
31675 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
31676 and _dl_skip_args_internal.
31678 2013-05-07 Carlos O'Donell <carlos@redhat.com>
31680 * manual/message.texi (Message Translation): Talk about users.
31681 Message to key mapping impacts design.
31683 2013-05-06 Roland McGrath <roland@hack.frob.com>
31685 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
31687 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
31689 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
31690 * sysdeps/wordsize-64/glob64.c: ... here.
31692 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
31693 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
31696 * debug/getlogin_r_chk.c: Moved to ...
31697 * login/getlogin_r_chk.c: ... here.
31698 * debug/Makefile (routines): Move getlogin_r_chk to ...
31699 * login/Makefile (routines): ... here.
31700 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
31701 * login/Versions (libc: GLIBC_2.4): ... here.
31703 * io/poll.c (__poll): Renamed from poll.
31704 Add libc_hidden_def.
31705 (poll): Define as weak alias.
31707 * debug/ptsname_r_chk.c: Moved to ...
31708 * login/ptsname_r_chk.c: ... here.
31709 * debug/Makefile (routines): Move ptsname_r_chk to ...
31710 * login/Makefile (routines): ... here.
31711 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
31712 * login/Versions (libc: GLIBC_2.4): ... here.
31714 * posix/getlogin.c: Moved to ...
31715 * login/getlogin.c: ... here.
31716 * posix/getlogin_r.c: Moved to ...
31717 * login/getlogin_r.c: ... here.
31718 * posix/getlogin_r.c: Moved to ...
31719 * login/getlogin_r.c: ... here.
31720 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
31721 * login/Makefile (routines): ... here.
31722 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
31723 * login/Versions (libc: GLIBC_2.0): ... here.
31725 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
31726 (setrlimit): Define as weak alias.
31728 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
31729 Call __ names for open, ftruncate, and close.
31730 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
31731 (truncate): Define as weak alias.
31733 2013-05-06 Joseph Myers <joseph@codesourcery.com>
31735 * math/gen-libm-test.pl (parse_args): Initialize x before each
31736 test of frexp, modf and remquo.
31738 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
31739 test signgam value.
31741 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31745 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
31747 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31749 2013-05-06 Roland McGrath <roland@hack.frob.com>
31751 * elf/dl-writev.h: New file.
31752 * elf/dl-misc.c: Include it.
31753 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
31754 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
31756 2013-05-04 Joseph Myers <joseph@codesourcery.com>
31758 * math/libm-test.inc (noXFails): Remove variable.
31759 (noXPasses): Likewise.
31760 (BUILD_COMPLEX_INT): Remove macro.
31761 (print_screen): Remove xfail argument.
31762 (print_screen_max_error): Likewise.
31763 (update_stats): Likewise.
31764 (print_max_error): Likewise. Update calls to other affected
31766 (print_complex_max_error): Likewise.
31767 (test_single_exception): Update calls to print_screen.
31768 (test_single_errno): Likewise.
31769 (check_float_internal): Remove xfail argument. Update calls to
31770 other affected functions.
31771 (check_float): Likewise.
31772 (check_complex): Likewise.
31773 (check_int): Likewise.
31774 (check_long): Likewise.
31775 (check_bool): Likewise.
31776 (check_longlong): Likewise.
31777 (main): Don't print noXFails and noXPasses.
31778 * math/gen-libm-test.pl (top level): Don't mention expected
31779 failure handling in comment.
31780 (new_test): Don't handle expected failures.
31781 (parse_args): Don't mention expected failure handling in comment.
31782 (generate_testfile): Don't handle expected failures.
31783 (parse_ulps): Likewise.
31784 (print_ulps_file): Likewise.
31785 (get_failure): Remove function.
31786 (output_test): Don't handle expected failures.
31787 * make/README.libm-test: Don't mention expected failure handling.
31789 * math/libm-test.inc (plus_zero): Make const. Add initializer.
31790 (minus_zero): Likewise.
31791 (plus_infty): Likewise.
31792 (minus_infty): Likewise.
31793 (qnan_value): Likewise.
31794 (max_value): Likewise.
31795 (min_value): Likewise.
31796 (min_subnorm_value): Likewise.
31797 (initialize): Do not initialize those variables dynamically.
31799 2013-05-03 Roland McGrath <roland@hack.frob.com>
31801 * io/open.c (__open_2): Moved to ...
31802 * io/open_2.c: ... this new file.
31803 * io/open64.c (__open64_2): Moved to ...
31804 * io/open64_2.c: ... this new file.
31805 * io/openat.c (__openat_2): Moved to ...
31806 * io/openat_2.c: ... this new file.
31807 * io/openat64.c (__openat64_2): Moved to ...
31808 * io/openat64_2.c: ... this new file.
31809 * io/Makefile (routines): Add them.
31810 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
31811 * sysdeps/unix/sysv/linux/open_2.c: File removed.
31812 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
31813 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
31814 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
31815 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
31816 (__openat64): Add hidden_ver.
31817 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
31818 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
31820 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
31821 Separately conditionalize setting of GLRO(dl_sysinfo) so
31822 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
31823 as well, but the actual setting is only under [NEED_DL_SYSINFO].
31825 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31827 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
31828 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
31830 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
31831 * sysdeps/unix/sysv/linux/powerpc/init-first.c
31832 (_libc_vdso_platform_setup): Add __vdso_time initialization.
31833 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
31834 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
31836 2013-05-03 Joseph Myers <joseph@codesourcery.com>
31838 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
31839 test signgam value.
31841 * math/libm-test.inc (hypot_test): Do not use
31842 IGNORE_ZERO_INF_SIGN.
31844 2013-05-03 Andreas Jaeger <aj@suse.de>
31846 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
31848 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
31849 (PF_MAX): Adjust for VSOCK change.
31851 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31855 2013-05-02 Carlos O'Donell <carlos@redhat.com>
31858 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
31859 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
31860 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
31862 2013-05-02 David S. Miller <davem@davemloft.net>
31864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31866 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
31868 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
31870 2013-05-01 Roland McGrath <roland@hack.frob.com>
31872 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
31874 2013-05-01 Richard Smith <richard@metafoo.co.uk>
31877 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
31878 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
31879 Use __attribute__ ((__gnu_inline__)).
31880 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
31881 Don't use __attribute__ ((__gnu_inline__)).
31883 2013-05-01 Joseph Myers <joseph@codesourcery.com>
31886 * math/s_catan.c (__catan): Handle small real or imaginary part of
31887 input specially to avoid spurious underflow.
31888 * math/s_catanf.c (__catanf): Likewise.
31889 * math/s_catanh.c (__catanh): Likewise.
31890 * math/s_catanhf.c (__catanhf): Likewise.
31891 * math/s_catanhl.c (__catanhl): Likewise.
31892 * math/s_catanl.c (__catanl): Likewise.
31893 * math/libm-test.inc (catan_test): Add more tests.
31894 (catanh_test): Likewise.
31895 * sysdeps/i386/fpu/libm-test-ulps: Update.
31896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31898 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31902 2013-04-30 Joseph Myers <joseph@codesourcery.com>
31905 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
31906 accurately for denominator in atan2.
31907 * math/s_catanf.c (__catanf): Likewise.
31908 * math/s_catanh.c (__catanh): Likewise.
31909 * math/s_catanhf.c (__catanhf): Likewise.
31910 * math/s_catanhl.c (__catanhl): Likewise.
31911 * math/s_catanl.c (__catanl): Likewise.
31912 * math/libm-test.inc (catan_test): Add more tests.
31913 (catanh_test): Likewise.
31914 * sysdeps/i386/fpu/libm-test-ulps: Update.
31915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31917 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31919 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
31921 * benchtests/Makefile (bench): Remove slow benchmarks.
31922 * benchtests/atan-inputs: Add slow benchmark inputs.
31923 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
31924 (BENCH_FUNC): Accept variant offset.
31926 * benchtests/bench-skeleton.c (main): Run benchmark for each
31928 * benchtests/cos-inputs: Add slow benchmark inputs.
31929 * benchtests/exp-inputs: Likewise.
31930 * benchtests/pow-inputs: Likewise.
31931 * benchtests/sin-inputs: Likewise.
31932 * benchtests/slowatan-inputs: Remove.
31933 * benchtests/slowatan.c: Remove.
31934 * benchtests/slowcos-inputs: Remove.
31935 * benchtests/slowcos.c: Remove.
31936 * benchtests/slowexp-inputs: Remove.
31937 * benchtests/slowexp.c: Remove.
31938 * benchtests/slowpow-inputs: Remove.
31939 * benchtests/slowpow.c: Remove.
31940 * benchtests/slowsin-inputs: Remove.
31941 * benchtests/slowsin.c: Remove.
31942 * benchtests/slowtan-inputs: Remove.
31943 * benchtests/slowtan.c: Remove.
31944 * benchtests/tan-inputs: Add slow benchmark inputs.
31945 * scripts/bench.pl: Parse comments and directives.
31947 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
31949 ($(objpfx)bench-%.c): Remove *-ITER.
31950 * benchtests/bench-modf.c: Remove definition of ITER.
31951 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
31952 (main): Loop for DURATION seconds instead of fixed number of
31954 * scripts/bench.pl: Don't expect iterations in parameters.
31956 2013-04-29 Roland McGrath <roland@hack.frob.com>
31958 * io/fchdir.c (__fchdir): Renamed from fchdir.
31959 (fchdir): Define as weak alias.
31961 2013-04-29 Joseph Myers <joseph@codesourcery.com>
31963 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
31964 (ERRNO_EDOM): Likewise.
31965 (ERRNO_ERANGE): Likewise.
31966 (noErrnoTests): New variable.
31967 (init_max_error): Set errno to 0.
31968 (test_single_errno): New function.
31969 (test_errno): Likewise.
31970 (check_float_internal): Call test_errno. Set errno to 0.
31971 (check_complex): Refer to errno tests in comment.
31972 (check_int): Call test_errno. Set errno to 0.
31973 (check_long): Likewise.
31974 (check_bool): Likewise.
31975 (check_longlong): Likewise.
31976 (cos_test): Use ERRNO_* flags for errno tests instead of
31978 (expm1_test): Likewise.
31979 (fmod_test): Likewise.
31980 (ilogb_test): Likewise.
31981 (lgamma_test): Likewise.
31982 (pow_test): Likewise.
31983 (remainder_test): Likewise.
31984 (sin_test): Likewise.
31985 (tan_test): Likewise.
31986 (yn_test): Likewise.
31987 (initialize): Set errno to 0.
31988 (main): Print number of errno tests.
31989 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
31991 2013-04-29 Andreas Jaeger <aj@suse.de>
31994 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
31998 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
31999 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
32003 * stdlib/random.c (__initstate): Return NULL if
32007 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
32008 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
32011 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32015 2013-04-29 Joseph Myers <joseph@codesourcery.com>
32017 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
32018 of individual tests.
32019 (casin_test): Likewise.
32020 (casinh_test): Likewise.
32022 2013-04-27 Joseph Myers <joseph@codesourcery.com>
32025 * math/s_catan.c (__catan): Handle arguments with large real or
32026 imaginary part separately without squaring.
32027 * math/s_catanf.c (__catanf): Likewise.
32028 * math/s_catanh.c (__catanh): Likewise.
32029 * math/s_catanhf.c (__catanhf): Likewise.
32030 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32032 (__catanhl): Handle arguments with large real or imaginary part
32033 separately without squaring.
32034 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32036 (__catanl): Handle arguments with large real or imaginary part
32037 separately without squaring.
32038 * math/libm-test.inc (catan_test): Add more tests.
32039 (catanh_test): Likewise.
32040 * sysdeps/i386/fpu/libm-test-ulps: Update.
32041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32043 2013-04-27 Andreas Jaeger <aj@suse.de>
32046 * stdlib/stdlib.h: Update guards for qecvt.
32047 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
32050 2013-04-27 Allan McRae <allan@archlinux.org>
32052 * sysdeps/i386/fpu/libm-test-ulps: Update.
32054 2013-04-26 Joseph Myers <joseph@codesourcery.com>
32057 * math/s_catan.c: Include <float.h>.
32058 (__catan): Ensure underflow exception occurs for underflowed
32060 * math/s_catanf.c: Include <float.h>.
32061 (__catanf): Ensure underflow exception occurs for underflowed
32063 * math/s_catanh.c: Include <float.h>.
32064 (__catanh): Ensure underflow exception occurs for underflowed
32066 * math/s_catanhf.c: Include <float.h>.
32067 (__catanhf): Ensure underflow exception occurs for underflowed
32069 * math/s_catanhl.c: Include <float.h>.
32070 (__catanhl): Ensure underflow exception occurs for underflowed
32072 * math/s_catanl.c: Include <float.h>.
32073 (__catanl): Ensure underflow exception occurs for underflowed
32075 * math/libm-test.inc (catan_test): Add more tests.
32076 (catanh_test): Likewise.
32079 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
32080 underflowed result.
32081 * math/s_ccoshf.c (__ccoshf): Likewise.
32082 * math/s_ccoshl.c (__ccoshl): Likewise.
32083 * math/s_csin.c (__csin): Likewise.
32084 * math/s_csinf.c (__csinf): Likewise.
32085 * math/s_csinh.c (__csinh): Likewise.
32086 * math/s_csinhf.c (__csinhf): Likewise.
32087 * math/s_csinhl.c (__csinhl): Likewise.
32088 * math/s_csinl.c (__csinl): Likewise.
32089 * math/libm-test.inc (ccos_test): Add more tests.
32090 (ccosh_test): Likewise.
32091 (csin_test): Likewise.
32092 (csinh_test): Likewise.
32094 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32096 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
32097 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
32098 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
32099 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
32100 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
32101 powerpc/power5+/fpu folders.
32102 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
32105 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32107 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32109 2013-04-25 Joseph Myers <joseph@codesourcery.com>
32111 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
32112 additions to variable.
32113 [$(config-machine) = x86_64] (modules-names): Likewise.
32114 ($(objpfx)tst-audit3): Remove dependency.
32115 ($(objpfx)tst-audit3.out): Likewise.
32116 ($(objpfx)tst-audit4): Likewise.
32117 ($(objpfx)tst-audit4.out): Likewise.
32118 ($(objpfx)tst-audit5): Likewise.
32119 ($(objpfx)tst-audit5.out): Likewise.
32120 ($(objpfx)tst-audit6): Likewise.
32121 ($(objpfx)tst-audit6.out): Likewise.
32122 ($(objpfx)tst-audit7): Likewise.
32123 ($(objpfx)tst-audit7.out): Likewise.
32124 (tst-audit3-ENV): Remove variable.
32125 (tst-audit4-ENV): Likewise.
32126 (tst-audit5-ENV): Likewise.
32127 (tst-audit6-ENV): Likewise.
32128 (tst-audit7-ENV): Likewise.
32129 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
32130 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
32131 addition to variable.
32132 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
32133 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
32134 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
32135 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
32136 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
32137 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
32138 tst-audit3, tst-audit4 and tst-audit5.
32139 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
32140 tst-audit6 and tst-audit7.
32141 [$(subdir) = elf] (modules-names): Add audit modules for those
32143 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
32144 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
32145 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
32146 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
32147 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
32148 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
32149 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
32150 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
32151 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
32152 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
32153 [$(subdir) = elf] (tst-audit3-ENV): New variable.
32154 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
32155 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
32156 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
32157 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
32158 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
32160 [$(subdir) = elf && $(config-cflags-avx) = yes]
32161 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
32162 [$(subdir) = elf && $(config-cflags-avx) = yes]
32163 (CFLAGS-tst-auditmod4a.c): Likewise.
32164 [$(subdir) = elf && $(config-cflags-avx) = yes]
32165 (CFLAGS-tst-auditmod4b.c): Likewise.
32166 [$(subdir) = elf && $(config-cflags-avx) = yes]
32167 (CFLAGS-tst-auditmod6b.c): Likewise.
32168 [$(subdir) = elf && $(config-cflags-avx) = yes]
32169 (CFLAGS-tst-auditmod6c.c): Likewise.
32170 [$(subdir) = elf && $(config-cflags-avx) = yes]
32171 (CFLAGS-tst-auditmod7b.c): Likewise.
32172 * elf/tst-audit3.c: Move to ...
32173 * sysdeps/x86_64/tst-audit3.c: ... here.
32174 * elf/tst-audit4.c: Move to ...
32175 * sysdeps/x86_64/tst-audit4.c: ... here.
32176 * elf/tst-audit5.c: Move to ...
32177 * sysdeps/x86_64/tst-audit5.c: ... here.
32178 * elf/tst-audit6.c: Move to ...
32179 * sysdeps/x86_64/tst-audit6.c: ... here.
32180 * elf/tst-audit7.c: Move to ...
32181 * sysdeps/x86_64/tst-audit7.c: ... here.
32182 * elf/tst-auditmod3a.c: Move to ...
32183 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
32184 * elf/tst-auditmod3b.c: Move to ...
32185 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
32186 * elf/tst-auditmod4a.c: Move to ...
32187 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
32188 * elf/tst-auditmod4b.c: Move to ...
32189 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
32190 * elf/tst-auditmod5a.c: Move to ...
32191 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
32192 * elf/tst-auditmod5b.c: Move to ...
32193 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
32194 * elf/tst-auditmod6a.c: Move to ...
32195 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
32196 * elf/tst-auditmod6b.c: Move to ...
32197 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
32198 * elf/tst-auditmod6c.c: Move to ...
32199 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
32200 * elf/tst-auditmod7a.c: Move to ...
32201 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
32202 * elf/tst-auditmod7b.c: Move to ...
32203 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
32205 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
32208 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
32209 define unconditionally.
32210 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
32211 define unconditionally.
32212 (INT8_C, INT16_C, etc.): Likewise.
32214 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
32216 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
32217 __ehdr_start with hidden visibility.
32219 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
32221 2013-04-24 Carlos O'Donell <carlos@redhat.com>
32223 * math/libm-test.inc (cos_test): Use accurate hex constants.
32224 (sincost_test): Likewise.
32226 2013-04-24 Joseph Myers <joseph@codesourcery.com>
32228 * math/libm-test.inc (catan_test): Add more tests.
32229 (catanh_test): Likewise.
32231 * math/s_catanf.c (__catanf): Use suffixed floating-point
32233 * math/s_catanhf.c (__catanhf): Likewise.
32234 * math/s_catanhl.c (__catanhl): Likewise.
32235 * math/s_catanl.c (__catanl): Likewise.
32238 * math/s_catan.c (__catan): Calculate imaginary part of result
32239 with log1p not log unless computing log of number close to 0.
32240 * math/s_catanf.c (__catanf): Likewise.
32241 * math/s_catanl.c (__catanl): Likewise.
32242 * math/s_catanh.c (__catanh): Calculate real part of result with
32243 log1p not log unless computing log of number close to 0.
32244 * math/s_catanhf.c (__catanhf): Likewise.
32245 * math/s_catanhl.c (__catanhl): Likewise.
32246 * math/libm-test.inc (catan_test): Add more tests.
32247 (catanh_test): Likewise.
32248 * sysdeps/i386/fpu/libm-test-ulps: Update.
32249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32251 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32253 * benchtests/Makefile: Mention files in which fast and slow
32254 paths of math functions are implemented.
32256 2013-04-23 Roland McGrath <roland@hack.frob.com>
32258 * sysdeps/posix/timespec_get.c: New file.
32260 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32262 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
32264 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
32266 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
32267 powerpc/power5/fpu folders.
32268 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
32269 * benchtests/Makefile: Add modf testcase.
32270 * benchtests/bench-modf.c: New file: Benchmark test for mo
32272 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
32275 * time/Makefile (tests): Add tst-strptime-whitespace.
32276 * time/strptime_l.c (get_number): Use ISSPACE.
32277 (__strptime_internal): Likewise.
32278 * time/tst-strptime-whitespace.c: New test case.
32280 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
32282 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
32284 (_nss_files_init): Set it here.
32286 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
32288 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
32289 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
32292 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
32294 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
32296 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32298 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
32301 2013-04-21 David S. Miller <davem@davemloft.net>
32303 * po/ru.po: Update Russion translation from translation project.
32305 2013-04-17 Adam Conrad <adconrad@0c3.net>
32307 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
32310 2013-04-17 Carlos O'Donell <carlos@redhat.com>
32312 * configure.in: Remove i386 configure warning. Remove i386 case.
32313 * configure: Regenerate.
32314 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
32315 Add example to error message.
32316 * sysdeps/i386/configure: Regenerate.
32318 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32320 * benchtests/Makefile (bench): Add cos, tan, slowcos and
32322 * benchtests/cos-inputs: New file.
32323 * benchtests/slowcos-inputs: New file.
32324 * benchtests/slowcos.c: New file.
32325 * benchtests/slowtan-inputs: New file.
32326 * benchtests/slowtan.c: New file.
32327 * benchtests/tan-inputs: New file.
32329 2013-04-16 Roland McGrath <roland@hack.frob.com>
32331 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
32334 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32336 * benchtests/Makefile: Include cppflags-iterator.mk to add
32337 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
32339 * Makefile.in (bench-clean): New target.
32340 * benchtests/Makefile (bench-clean): Likewise.
32342 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
32344 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
32346 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
32348 * stdio-common/tstdiomisc.c: Fix coding-style violation.
32350 2013-04-15 Andreas Schwab <schwab@suse.de>
32352 * nscd/grpcache.c (cache_addgr): Properly check for short write.
32353 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32354 * nscd/pwdcache.c (cache_addpw): Likewise.
32355 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
32358 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32360 * benchtests/Makefile (bench): Write all output to
32361 bench-out.tmp together.
32363 2013-04-15 Andreas Schwab <schwab@suse.de>
32365 * nscd/nscd.c (main): Don't fork again after closing files.
32367 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32369 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
32371 * benchtests/Rules (bench-deps): Collect dependencies into a
32372 single variable. Add Makefile to dependencies.
32373 ($(objpfx)bench-%.c): Depend on bench-deps.
32375 2013-04-12 Roland McGrath <roland@hack.frob.com>
32376 Xavier Roche <roche+kml2@exalead.com>
32379 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
32380 just that it's a file descriptor.
32381 * manual/llio.texi (Synchronizing AIO Operations): Update description
32382 for EBADF error from aio_fsync.
32384 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
32386 * Rules (bench): Move target definition...
32387 * benchtests/Makefile: ... here.
32389 2013-04-11 Carlos O'Donell <carlos@redhat.com>
32391 * math/libm-test.inc (cos_test): Fix PI/2 test.
32392 (sincos_test): Likewise.
32393 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
32394 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
32396 2013-04-11 Andreas Schwab <schwab@suse.de>
32399 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
32400 accept exponent character only when digits were seen.
32401 * stdio-common/Makefile (tests): Add bug26.
32402 * stdio-common/bug26.c: New file.
32405 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
32408 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32410 * Makeconfig (rtld-prefix): Define built linker prefix.
32411 * Rules (run-bench): Use it.
32412 * math/Makefile (run-regen-ulps): Likewise.
32414 * Rules (bench): Remove eval.
32416 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32417 Roland McGrath <roland@hack.frob.com>
32418 Ondrej Bilka <neleai@seznam.cz>
32421 * time/getdate.c: Include ctype.h and alloca.h.
32422 (__getdate_r): Trim leading and trailing spaces of input.
32423 * time/tst-getdate.c (tests): Add tests with leading and
32426 2013-04-08 Roland McGrath <roland@hack.frob.com>
32429 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
32430 when computing value.
32432 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32434 * math/README.libm-test (How can I generate "libm-test-ulps"?):
32435 Use testrun.sh to run libm tests.
32438 * elf/dl-open.c (dl_open_worker): memset all of seen array.
32440 2013-04-06 Marko Myllynen <myllynen@redhat.com>
32443 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
32445 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32447 * Makefile.in (regen-ulps): New target.
32448 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
32449 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
32450 [ifneq (no,$(PERL)] (regen-ulps): New target.
32451 [ifeq (no,$(PERL)] (regen-ulps): New target.
32452 * math/libm-test.inc (ulps_file_name): Define.
32453 (output_dir): New variable.
32454 (options): Add "output-dir" option.
32455 (parse_opt): Handle 'o' case.
32456 (main): If output_dir is non-NULL use it as a prefix
32458 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
32460 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32462 [BZ #10060, #10062]
32463 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
32464 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
32465 fail configure if __sync_val_compare_and_swap is not inlined.
32466 * sysdeps/i386/configure: Regenerate.
32467 * configure.in: Build for i686 when configured for i386.
32468 * configure: Regenerate.
32469 * README: Remove i386 reference.
32471 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32473 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
32474 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32476 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
32478 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
32479 (lmsnanval): New variables.
32480 (F): Add conversion tests.
32481 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
32482 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
32484 * stdio-common/tstdiomisc.c (F): Properly collect individual
32487 [BZ #14686, #15336]
32488 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
32489 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
32490 Instead, use input NaN values or generate a qNaN by arithmetic
32491 operation. Also fix bugs to comply with the standard.
32492 * math/libm-test.inc (remainder_test): Add more tests.
32494 [BZ #15335, #15342]
32495 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
32496 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
32497 input NaN values or generate a qNaN by arithmetic operation.
32499 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
32502 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
32505 2013-04-03 Joseph Myers <joseph@codesourcery.com>
32508 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
32509 underflowed result.
32510 * math/s_cexpf.c (__cexpf): Likewise.
32511 * math/s_cexpl.c (__cexpl): Likewise.
32512 * math/libm-test.inc (cexp_test): Add more tests.
32514 2013-04-03 Andreas Schwab <schwab@suse.de>
32517 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
32518 order arrays from heap if bigger than alloca cutoff.
32520 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
32522 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
32523 (SNAN_TESTS_double): Refer to GCC PR56831.
32524 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
32527 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
32529 * Rules (bench): Move bench.out after the run is complete.
32531 * Rules (bench): Echo currently running benchmark.
32533 * benchtests/Makefile (bench): Add atan and slowatan.
32534 * benchtests/atan-inputs: New file.
32535 * benchtests/slowatan-inputs: New file.
32536 * benchtests/slowatan.c: New file.
32538 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
32539 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
32543 * sysdeps/unix/sysv/linux/kernel-features.h
32544 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
32545 __ASSUME_XFS_RESTRICTED_CHOWN.
32546 * sysdeps/unix/sysv/linux/pathconf.c
32547 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32548 Save and restore errno.
32550 2013-04-02 Joseph Myers <joseph@codesourcery.com>
32553 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
32554 arguments using __kernel_casinh.
32555 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
32556 arguments using __kernel_casinhf.
32557 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
32558 arguments using __kernel_casinhl.
32559 * math/libm-test.inc (cacosh_test): Add more tests.
32560 * sysdeps/i386/fpu/libm-test-ulps: Update.
32561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32563 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32565 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
32566 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
32568 * bench/Makefile (bench): Add sin and slowsin.
32569 * benchtests/sin-inputs: New file.
32570 * benchtests/slowsin-inputs: New file.
32571 * benchtests/slowsin.c: New file.
32573 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
32574 (bench): Add slowexp and slowpow.
32575 (exp-ITER): Increase iterations.
32576 (pow-ITER): Likewise.
32577 * benchtests/exp-inputs: Change input.
32578 * benchtests/pow-inputs: Likewise.
32579 * benchtests/slowexp-inputs: New file.
32580 * benchtests/slowexp.c: New file.
32581 * benchtests/slowpow-inputs: New file.
32582 * benchtests/slowpow.c: New file.
32584 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32586 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
32588 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32589 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
32590 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32591 * benchtests/Makefile: Add rint benchtest.
32592 * benchtests/rint-inputs: Input for rint benchtest.
32594 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
32596 * Versions.def (libm): Add GLIBC_2.18.
32597 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
32598 hidden libm prototypes.
32599 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
32600 * math/Makefile (libm-calls): Add s_issignaling.
32601 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
32602 __issignalingf, __issignalingl. Adjust all libm.abilist files.
32603 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
32605 * math/math.h [__USE_GNU] (issignaling): New macro.
32606 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
32607 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
32608 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
32609 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
32610 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
32611 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
32612 * manual/arith.texi (issignaling): New section.
32613 * manual/libm-err-tab.pl (@all_functions): Update comment.
32614 * math/gen-libm-test.pl (parse_args): Apply special handling for
32616 * math/libm-test.inc (print_float, issignaling_test): New
32618 (check_float_internal): Add issignaling checks.
32619 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
32620 default definition.
32621 * sysdeps/powerpc/math-tests.h: New file.
32622 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
32624 * math/test-snan.c (TEST_FUNC): Likewise.
32626 2013-03-30 David S. Miller <davem@davemloft.net>
32628 * po/de.po: Update from translation team.
32630 2013-03-30 Joseph Myers <joseph@codesourcery.com>
32633 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32634 imaginary part less than 1.0 and real part less than 0.5
32636 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32637 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32638 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
32639 (cacos_test): Add more tests.
32640 (casin_test): Likewise.
32641 (casinh_test): Likewise.
32642 * sysdeps/i386/fpu/libm-test-ulps: Update.
32643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32645 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32647 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
32648 ONE with its value.
32650 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
32651 (__pow_mp): Replace ONE and MONE with their values.
32652 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32653 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
32654 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32655 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
32656 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32657 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32659 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
32661 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
32662 (__pow_mp): Replace ZERO and MZERO with their values.
32663 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32664 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32665 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32666 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32667 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32668 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
32671 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
32673 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
32675 2013-03-28 Roland McGrath <roland@hack.frob.com>
32677 * include/stdlib.h [!SHARED] (__call_tls_dtors):
32678 Declare with __attribute__ ((weak)).
32679 * stdlib/exit.c (__libc_atexit) [!SHARED]:
32680 Call __call_tls_dtors only if it's not NULL.
32682 2013-03-28 Roland McGrath <roland@hack.frob.com>
32684 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
32685 didn't do it already, then set _dl_phdr and _dl_phnum based on the
32686 magic __ehdr_start linker symbol if it's defined.
32687 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
32688 them up here if it was already done.
32690 * elf/dl-support.c (_dl_phdr): Make pointer to const.
32691 (_dl_aux_init): Use const in cast when setting it.
32692 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
32693 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
32694 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
32696 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
32698 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
32699 * csu/libc-tls.c: Nor here.
32700 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
32702 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
32703 (__libc_message): Never call vsyslog.
32705 2013-03-28 Alan Modra <amodra@gmail.com>
32707 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
32709 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
32712 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32715 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
32717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32719 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32722 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32723 Don't add gid passed as argument.
32725 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
32727 2013-03-27 Joseph Myers <joseph@codesourcery.com>
32730 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32731 imaginary part between 1.0 and 1.5 and real part less than 0.5
32733 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32734 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32735 * math/libm-test.inc (cacos_test): Add more tests.
32736 (casin_test): Likewise.
32737 (casinh_test): Likewise.
32738 * sysdeps/i386/fpu/libm-test-ulps: Update.
32739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32741 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32743 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
32746 (denorm): Likewise.
32747 (__dbl_mp): Likewise.
32748 (add_magnitudes): Likewise.
32749 (sub_magnitudes): Likewise.
32757 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
32759 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
32760 (__dubcos): Likewise.
32761 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
32762 (__ieee754_acos): Likewise.
32763 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32764 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
32765 (__exp1): Likewise.
32766 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32767 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32769 (my_log2): Likewise.
32770 (checkint): Likewise.
32771 * sysdeps/ieee754/dbl-64/e_remainder.c
32772 (__ieee754_remainder): Likewise.
32773 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32774 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
32775 (bsloww): Likewise.
32776 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32778 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
32779 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
32780 MANTISSA_STORE_T to store computations on mantissa. Use
32781 macros for rounding and division.
32782 (denorm): Likewise.
32783 (__dbl_mp): Likewise.
32784 (add_magnitudes): Likewise.
32785 (sub_magnitudes): Likewise.
32788 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
32789 powers of two in terms of TWOPOW macro.
32790 (mp_no): Make type of mantissa as MANTISSA_T.
32791 [!RADIXI]: Define RADIXI.
32792 [!TWO52]: Define TWO52.
32793 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
32795 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32797 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
32798 llroundl symbol when building for PPC32.
32800 2013-03-24 Mark H Weaver <mhw@netris.org>
32802 * manual/arith.texi (Normalization Functions): Fix prototypes for
32803 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
32805 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32808 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
32809 high value to check if expl overflow.
32810 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
32811 to check for underflow and overflow.
32812 * math/libm-test.inc: Add exp test.
32814 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
32817 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
32820 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32822 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
32825 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
32827 * math/gen-libm-test.pl (parse_args, special_functions): Properly
32828 wrap blocks consisting of several statements.
32830 * sysdeps/generic/math-tests.h: New file.
32831 * sysdeps/i386/fpu/math-tests.h: Likewise.
32832 * math/test-snan.c: Include it.
32833 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
32835 2013-03-21 Joseph Myers <joseph@codesourcery.com>
32838 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
32839 (__ieee754_j0l): Do not improve calculations using cos of twice
32840 input for inputs above LDBL_MAX / 2.0L.
32841 (__ieee754_y0l): Likewise.
32842 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
32843 (__ieee754_j1l): Do not improve calculations using cos of twice
32844 input for inputs above LDBL_MAX / 2.0L.
32845 (__ieee754_y1l): Likewise.
32846 * math/libm-test.inc (j0_test): Add another test.
32847 (j1_test): Likewise.
32848 (y0_test): Likewise.
32849 (y1_test): Likewise.
32850 * sysdeps/i386/fpu/libm-test-ulps: Update.
32852 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32854 * Rules ($(objpfx)bench-%.c): Include code from a C source
32857 2013-03-21 Joseph Myers <joseph@codesourcery.com>
32860 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32861 imaginary part 1.0 and real part less than 0.5 specially.
32862 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32863 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32864 * math/libm-test.inc (cacos_test): Add more tests.
32865 (casin_test): Likewise.
32866 (casinh_test): Likewise.
32867 * sysdeps/i386/fpu/libm-test-ulps: Update.
32868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32870 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32872 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
32873 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
32875 2013-03-20 Joseph Myers <joseph@codesourcery.com>
32877 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
32878 * config.make.in (config-cflags-sse4): Remove variable.
32879 (config-cflags-avx): Likewise.
32880 (config-cflags-sse2avx): Likewise.
32881 (config-cflags-novzeroupper): Likewise.
32882 (config-asflags-i686): Likewise.
32883 (have-mfma4): Likewise.
32884 (have-as-vis3): Likewise.
32886 * configure.in (MIG): Do not AC_SUBST.
32887 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
32888 (libc_cv_cc_sse4): Do not AC_SUBST.
32889 (libc_cv_cc_avx): Likewise.
32890 (libc_cv_cc_sse2avx): Likewise.
32891 (libc_cv_cc_novzeroupper): Likewise.
32892 (libc_cv_cc_fma4): Likewise.
32893 (libc_cv_as_i686): Likewise.
32894 (libc_cv_sparc_as_vis3): Likewise.
32895 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
32897 (config-asflags-i686): Likewise.
32898 (config-cflags-avx): Likewise.
32899 (config-cflags-sse2avx): Likewise.
32900 (have-mfma4): Likewise.
32901 (config-cflags-novzeroupper): Likewise.
32902 * sysdeps/mach/configure.in (MIG): Likewise.
32903 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
32904 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
32906 (config-cflags-avx): Likewise.
32907 (config-cflags-sse2avx): Likewise.
32908 (have-mfma4): Likewise.
32909 (config-cflags-novzeroupper): Likewise.
32910 * configure: Regenerated.
32911 * sysdeps/i386/configure: Likewise.
32912 * sysdeps/mach/configure: Likewise.
32913 * sysdeps/sparc/configure: Likewise.
32914 * sysdeps/x86_64/configure: Likewise.
32916 2013-03-20 Roland McGrath <roland@hack.frob.com>
32919 * locale/programs/localedef.c (options): Put N_ translation marker
32920 on argument names, not just descriptions.
32922 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32924 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
32926 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
32929 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
32931 2013-03-19 Roland McGrath <roland@hack.frob.com>
32933 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
32934 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
32935 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
32936 [!BEFORE_ABORT] (before_abort): New function.
32937 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
32938 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
32939 (writev_for_fatal): New function.
32940 (WRITEV_FOR_FATAL): New macro; call that.
32941 (backtrace_and_maps): New function.
32942 (BEFORE_ABORT): New macro; call that.
32943 (struct str_list): Type removed.
32944 (__libc_message, __libc_fatal): Functions removed.
32945 Include <sysdeps/posix/libc_fatal.c> instead.
32947 2013-03-19 Joseph Myers <joseph@codesourcery.com>
32949 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
32951 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
32954 2013-03-19 Andreas Schwab <schwab@suse.de>
32956 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
32957 * sysdeps/gnu/configure: Regenerate.
32959 * configure.in: Substitute libc_cv_rtlddir.
32960 * configure: Regenerate.
32961 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
32962 * Makeconfig (rtlddir, inst_rtlddir): New variables.
32963 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
32964 * elf/Makefile (install-others, CFLAGS-interp.c)
32965 (ldso_install, common-ldd-rewrite): Likewise.
32966 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
32967 $(inst_slibdir)/$(rtld-installed-name).
32968 * scripts/rellns-sh: Add -p option.
32969 * Makerules (make-shlib-link): Use rellns-sh to get relative name
32972 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32974 * manual/nptl.texi: Renamed to ...
32975 * manual/threads.texi: ... this.
32976 * manual/Makefile (chapters): Update.
32978 2013-03-18 Roland McGrath <roland@hack.frob.com>
32981 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
32982 on argument names, not just descriptions.
32983 * malloc/memusagestat.c (options): Likewise.
32984 * nss/getent.c (options): Likewise.
32986 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
32989 * iconv/iconv_prog.c (options): Put N_ translation marker
32990 on argument names, not just descriptions.
32991 * iconv/iconvconfig.c (options): Likewise.
32993 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
32995 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
32996 implementation which is faster on all x86_64 architectures.
32997 Tested on AMD, Intel Nehalem, SNB, IVB.
32998 * sysdeps/x86_64/strnlen.S: Likewise.
33000 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33001 Remove all multiarch strlen and strnlen versions.
33002 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33003 Remove strlen and strnlen related parts.
33005 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
33006 Inline strlen part.
33007 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
33009 * sysdeps/x86_64/multiarch/strlen.S: Remove.
33010 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
33011 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
33012 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
33013 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33014 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
33016 2013-03-17 Carlos O'Donell <carlos@redhat.com>
33018 * manual/memory.texi (Malloc Tunable Parameters):
33019 Sort parameters alphabetically. Add comments for missing entries.
33021 2013-03-17 David S. Miller <davem@davemloft.net>
33023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33025 2013-03-16 Joseph Myers <joseph@codesourcery.com>
33028 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
33029 for arguments at most half maximum finite value.
33030 * math/libm-test.inc (j0_test): Add more tests.
33031 (j1_test): Likewise.
33032 (y0_test): Likewise.
33033 (y1_test): Likewise.
33034 * sysdeps/i386/fpu/libm-test-ulps: Update.
33035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33038 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
33039 1 / x and functions P and Q for arguments above 0x1p256L.
33040 (__ieee754_y0l): Likewise.
33041 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
33042 (__ieee754_y1l): Likewise.
33043 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
33044 (j1_test): Likewise.
33045 (y0_test): Likewise.
33046 (y1_test): Likewise.
33048 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
33050 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
33053 2013-03-15 Roland McGrath <roland@hack.frob.com>
33055 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
33056 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
33057 zero since it's initialized to EXEC_PAGESIZE.
33059 * sysdeps/unix/sysv/linux/ldsodefs.h
33060 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
33061 * sysdeps/generic/ldsodefs.h: ... here.
33063 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
33065 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
33067 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
33069 * math/test-snan.c: Renamed from
33070 sysdeps/powerpc/fpu/test-powerpc-snan.c.
33071 * math/Makefile (tests): Add test-snan.
33072 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
33075 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
33076 SUFFIX. Initialize qNaN_var with __builtin_nan family of
33078 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
33079 __builtin_nan family of functions.
33080 * math/libm-test.inc (initialize): Initialize qnan_value with
33081 __builtin_nan family of functions.
33082 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
33084 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
33086 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
33087 storage class. Initialize qNaN_var and sNaN_var with
33088 __builtin_nan and __builtin_nans families of functions,
33091 * math/libm-test.inc (acosh_test): Also test with qNaN input.
33092 (sqrt_test): Remove duplicate test with qNaN input.
33093 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
33094 (round_test, signbit_test, significand_test): Note missing +/-Inf
33095 as well as qNaN tests.
33097 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
33098 qNaN_var. Fix a few strings, too.
33099 * math/libm-test.inc (nan_value): Rename to qnan_value.
33100 * math/gen-libm-test.pl (%beautify): Adjust to that.
33101 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
33102 * math/test-misc.c (main): Likewise.
33103 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
33104 to __qnan_bytes, and __qnan_union, respectively.
33105 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
33107 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
33108 and lqnanval, respectively.
33109 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
33110 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
33111 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
33112 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
33114 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
33115 * math/test-misc.c (main) [__x86_64__]: Enable test for long
33118 * math/test-misc.c (main): Fix copy'n'pastos.
33119 * misc/tst-efgcvt.c (special): Likewise.
33121 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
33122 Remove declarations.
33124 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33126 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
33127 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
33128 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
33129 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
33131 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33133 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
33134 macro to return vdso values correctly in IFUNC implementations.
33135 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33136 Optimization by using IFUNC.
33138 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33139 Richard Henderson <rth@redhat.com>
33140 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33142 * Makefile.in (bench): New target.
33143 * NEWS: Mention the benchmark framework.
33144 * Rules (bench): Likewise.
33145 (binaries-bench): Generate binaries for functions to
33147 * benchtests/Makefile: New makefile for benchmark tests.
33148 * benchtests/bench-skeleton.c: New skeleton file for benchmark
33150 * benchtests/exp-inputs: New input file for EXP function.
33151 * benchtests/pow-inputs: New input file for POW function.
33152 * scripts/bench.pl: New script to generate source files for
33153 benchmark programs.
33155 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33157 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33158 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
33159 computations on mantissa. Use macros for rounding and
33161 (denorm): Likewise.
33162 (__dbl_mp): Likewise.
33163 (add_magnitudes): Likewise.
33164 (sub_magnitudes): Likewise.
33167 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
33168 powers of two in terms of TWOPOW macro.
33169 (mp_no): Make type of mantissa as MANTISSA_T.
33170 [!RADIXI]: Define RADIXI.
33171 [!TWO52]: Define TWO52.
33172 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33174 * manual/nptl.texi (cindex): Modify threads to pthreads.
33176 2013-03-15 Joseph Myers <joseph@codesourcery.com>
33178 * sysdeps/x86_64/preconfigure: Regenerated.
33180 2013-03-14 Joseph Myers <joseph@codesourcery.com>
33183 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
33185 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
33186 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
33188 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
33189 * math/libm-test.inc (j0_test): Do not allow one spurious
33190 underflow exception.
33191 (y1_test): Likewise.
33193 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33195 * manual/Makefile (chapters): Add nptl.
33196 * manual/debug.texi (Debugging Support): Add link to Threads
33198 * manual/nptl.texi: New file.
33200 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
33202 2013-03-14 Petr Baudis <pasky@ucw.cz>
33204 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
33205 for non-NULL pointer before the memory validity test. Pointed
33206 out by Holger Brunck <holger.brunck@keymile.com>.
33208 2013-03-13 Andreas Schwab <schwab@suse.de>
33210 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
33213 2013-03-13 Joseph Myers <joseph@codesourcery.com>
33215 * timezone/zic.c: Update from tzcode 2013b.
33217 2013-03-12 Carlos O'Donell <carlos@redhat.com>
33219 * manual/install.texi (Configuring and compiling):
33220 Mention i686 and i586.
33221 * INSTALL: Regenerate.
33223 2013-03-12 Roland McGrath <roland@hack.frob.com>
33225 * sysdeps/init_array/elf-init.c: New file.
33227 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
33228 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
33230 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
33231 __gmon_start__ as global, but as static with a .preinit_array pointer.
33232 * sysdeps/init_array/gmon-start.c: New file. Use that.
33233 * sysdeps/init_array/crti.S: New file, empty except for comments.
33234 * sysdeps/init_array/crtn.S: Likewise.
33236 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
33238 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
33240 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33241 Remove Prefer_SSE_for_memop.
33242 * sysdeps/x86_64/multiarch/init-arch.h: Remove
33243 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
33244 HAS_PREFER_SSE_FOR_MEMOP.
33245 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
33247 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33248 Remove bzero, memset ifunc support.
33249 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
33250 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
33251 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33252 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33254 2013-03-11 Andreas Schwab <schwab@suse.de>
33257 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
33259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
33260 (GLIBC_2.16): Remove pthread_atfork.
33262 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33264 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
33265 (ptestcases.h): Likewise.
33267 2013-03-08 Roland McGrath <roland@hack.frob.com>
33269 * Makeconfig ($(common-objpfx)config.status): Depend on
33270 sysdeps/*/preconfigure{,.in} too.
33272 2013-03-08 Joseph Myers <joseph@codesourcery.com>
33274 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
33275 (__free_hook): Use void * instead of __malloc_ptr_t.
33276 (__malloc_hook): Likewise.
33277 (__realloc_hook): Likewise.
33278 (__memalign_hook): Likewise.
33279 (__after_morecore_hook): Likewise.
33280 * malloc/arena.c (save_malloc_hook): Likewise.
33281 (save_free_hook): Likewise.
33282 * malloc/hooks.c (malloc_hook_ini): Likewise.
33283 (realloc_hook_ini): Likewise.
33284 (memalign_hook_ini): Likewise.
33285 * malloc/malloc.c (malloc_hook_ini): Likewise.
33286 (realloc_hook_ini): Likewise.
33287 (memalign_hook_ini): Likewise.
33288 (__free_hook): Likewise.
33289 (__malloc_hook): Likewise.
33290 (__realloc_hook): Likewise.
33291 (__memalign_hook): Likewise.
33292 (__libc_malloc): Likewise.
33293 (__libc_free): Likewise.
33294 (__libc_realloc): Likewise.
33295 (__libc_memalign): Likewise.
33296 (__libc_valloc): Likewise.
33297 (__libc_pvalloc): Likewise.
33298 (__libc_calloc): Likewise.
33299 (__posix_memalign): Likewise.
33300 * malloc/morecore.c (__sbrk): Likewise.
33301 (__default_morecore): Likewise.
33303 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
33305 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
33306 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
33307 __malloc_ptrdiff_t.
33309 * malloc/malloc.h (__malloc_size_t): Remove macro.
33310 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
33312 (old_memalign_hook): Likewise.
33313 (old_realloc_hook): Likewise.
33314 (struct hdr): Likewise.
33316 (mallochook): Likewise.
33317 (memalignhook): Likewise.
33318 (reallochook): Likewise.
33319 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
33320 (tr_old_realloc_hook): Likewise.
33321 (tr_old_memalign_hook): Likewise.
33322 (tr_mallochook): Likewise.
33323 (tr_reallochook): Likewise.
33324 (tr_memalignhook): Likewise.
33326 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33328 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
33329 default_ldbl_pack and using as default implementation.
33330 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
33332 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
33333 redundant definition.
33334 (ldbl_insert_mantissa): Likewise.
33335 (ldbl_canonicalize): Likewise.
33336 (ldbl_nearbyint): Likewise.
33337 (ldbl_pack): Rename to ldbl_pack_ppc.
33338 (ldbl_unpack): Rename to ldbl_unpack_ppc.
33339 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
33340 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
33342 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33344 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
33345 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
33346 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
33347 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
33348 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
33349 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
33350 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
33351 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
33353 2013-03-07 Andreas Jaeger <aj@suse.de>
33355 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33358 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33360 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
33361 Include mpa.h and declare __MPEXP.
33362 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
33363 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33364 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33365 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
33366 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33367 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33368 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
33370 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
33371 (__slowpow): Use long double EXPL and LOGL functions to
33373 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33374 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33375 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
33376 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33377 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33378 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
33380 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
33381 intermediate variable to calculate exponent.
33383 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
33387 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
33388 [!NO__SQR]: Define __sqr.
33389 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
33390 and NO__SQR. Remove all code except __mul and __sqr. Include
33391 sysdeps/ieee754/dbl-64/mpa.c.
33392 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33395 * posix/Makefile (tests): Add tst-pathconf.
33396 * posix/tst-pathconf.c: New test case.
33397 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
33399 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
33401 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
33403 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
33405 2013-03-06 Andreas Jaeger <aj@suse.de>
33407 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
33408 definition via __MAP_ANONYMOUS.
33410 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
33411 it's not part of Linux headers.
33413 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
33414 (MAP_HUGE_MASK): Define.
33416 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33418 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33419 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33421 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33422 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33424 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33425 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
33427 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33429 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
33430 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
33431 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
33432 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
33433 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
33434 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
33436 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33439 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33440 Handle f2fs and efivarfs.
33442 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
33445 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
33446 (EFIVARFS_MAGIC): Add.
33447 (F2FS_LINK_MAX): Add.
33449 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33451 * stdio-common/vfprintf.c: Replace __builtin_expect with
33454 2013-03-06 Joseph Myers <joseph@codesourcery.com>
33457 * sysdeps/generic/bp-sym.h: Remove file.
33458 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
33459 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
33460 <bp-sym.h> and <bp-asm.h>.
33461 (__longjmp): Don't use BP_SYM.
33462 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
33464 (memcpy): Don't use BP_SYM.
33465 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
33466 <bp-sym.h> and <bp-asm.h>.
33467 (memcpy): Don't use BP_SYM.
33468 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
33470 (memcpy): Don't use BP_SYM.
33471 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
33473 (memset): Don't use BP_SYM.
33474 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33475 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33476 (__bzero): Don't use BP_SYM.
33477 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33478 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33479 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
33480 <bp-sym.h> and <bp-asm.h>.
33481 (memcmp): Don't use BP_SYM. Remove comment about bounded
33483 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
33484 <bp-sym.h> and <bp-asm.h>.
33485 (memcpy): Don't use BP_SYM.
33486 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
33487 <bp-sym.h> and <bp-asm.h>.
33488 (memset): Don't use BP_SYM.
33489 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33490 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33491 (__bzero): Don't use BP_SYM.
33492 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33493 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33494 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
33495 <bp-sym.h> and <bp-asm.h>.
33496 (strncmp): Don't use BP_SYM. Remove comment about bounded
33498 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
33499 <bp-sym.h> and <bp-asm.h>.
33500 (memcpy): Don't use BP_SYM.
33501 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
33502 <bp-sym.h> and <bp-asm.h>.
33503 (memset): Don't use BP_SYM.
33504 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33505 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33506 (__bzero): Don't use BP_SYM.
33507 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33508 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33509 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
33510 <bp-sym.h> and <bp-asm.h>.
33511 (__memchr): Don't use BP_SYM.
33512 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
33513 <bp-sym.h> and <bp-asm.h>.
33514 (memcmp): Don't use BP_SYM. Remove comment about bounded
33516 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
33517 <bp-sym.h> and <bp-asm.h>.
33518 (memcpy): Don't use BP_SYM.
33519 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
33520 <bp-sym.h> and <bp-asm.h>.
33521 (__mempcpy): Don't use BP_SYM.
33522 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
33523 <bp-sym.h> and <bp-asm.h>.
33524 (__memrchr): Don't use BP_SYM.
33525 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
33526 <bp-sym.h> and <bp-asm.h>.
33527 (memset): Don't use BP_SYM.
33528 (__bzero): Likewise.
33529 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
33530 <bp-sym.h> and <bp-asm.h>.
33531 (__rawmemchr): Don't use BP_SYM.
33532 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
33533 <bp-sym.h> and <bp-asm.h>.
33534 (__STRCMP): Don't use BP_SYM.
33535 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
33536 <bp-sym.h> and <bp-asm.h>.
33537 (strchr): Don't use BP_SYM.
33538 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
33539 <bp-sym.h> and <bp-asm.h>.
33540 (__strchrnul): Don't use BP_SYM.
33541 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
33542 <bp-sym.h> and <bp-asm.h>.
33543 (strlen): Don't use BP_SYM.
33544 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
33545 <bp-sym.h> and <bp-asm.h>.
33546 (strncmp): Don't use BP_SYM. Remove comment about bounded
33548 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
33549 <bp-sym.h> and <bp-asm.h>.
33550 (__strnlen): Don't use BP_SYM.
33551 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
33552 <bp-sym.h> and <bp-asm.h>.
33553 (__GI__setjmp): Don't use BP_SYM.
33554 (_setjmp): Likewise.
33555 (__sigsetjmp): Likewise.
33556 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
33557 (L(start_addresses)): Don't use BP_SYM.
33558 (_start): Likewise.
33559 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
33561 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
33562 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
33563 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33564 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33565 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
33567 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
33568 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
33569 about bounded pointers.
33570 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33571 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33572 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
33574 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
33575 about bounded pointers. Remove GKM FIXME comments.
33576 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33577 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
33579 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
33580 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
33581 Remove GKM FIXME comments.
33582 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33583 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33584 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
33586 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
33587 about bounded pointers. Remove GKM FIXME comment.
33588 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
33590 (strncmp): Don't use BP_SYM. Remove comment about bounded
33592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
33593 <bp-sym.h> and <bp-asm.h>.
33594 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
33596 <bp-sym.h> and <bp-asm.h>.
33597 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
33600 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33602 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
33605 2013-03-05 David S. Miller <davem@davemloft.net>
33607 * po/es.po: Update from translation team.
33609 2013-03-05 Andreas Jaeger <aj@suse.de>
33611 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
33612 <bits/mman-linux.h>.
33613 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33615 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
33616 <bits/mman-linux.h> to end of file.
33617 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33619 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
33620 <bits/mman-linux.h> to end of file.
33621 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33623 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
33624 <bits/mman-linux.h> to end of file.
33626 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
33627 (MCL_CURRENT, MCL_FUTURE): Define here.
33629 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33632 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
33634 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33636 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33638 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
33639 fourth parameter needed for rt_sigprocmask syscall.
33640 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33641 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33642 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
33643 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33644 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33645 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
33647 2013-03-04 Joseph Myers <joseph@codesourcery.com>
33650 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
33651 comment about bounded pointers.
33652 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
33653 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
33655 2013-03-04 Andreas Jaeger <aj@suse.de>
33657 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
33658 common definitions.
33660 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
33661 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
33662 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
33663 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33664 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33665 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33667 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33670 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33671 __ieee754_sqrl instead of __sqrl.
33673 2013-03-01 Joseph Myers <joseph@codesourcery.com>
33675 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
33676 * sysdeps/powerpc/fpu_control.h: ... here.
33677 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
33678 * sysdeps/powerpc/bits/fenvinline.h: ... here.
33679 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
33680 * sysdeps/powerpc/bits/mathinline.h: ... here.
33682 2013-03-01 Roland McGrath <roland@hack.frob.com>
33684 * elf/dl-hwcaps.c (_dl_important_hwcaps):
33685 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
33686 to just [NEED_DL_SYSINFO_DSO].
33687 * elf/dl-support.c: Likewise.
33688 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
33689 * elf/rtld.c (dl_main): Likewise.
33690 * elf/setup-vdso.h (setup_vdso): Likewise.
33691 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
33692 * sysdeps/unix/sysv/linux/dl-sysdep.c
33693 (_dl_discover_osversion): Likewise.
33695 2013-03-01 Carlos O'Donell <carlos@redhat.com>
33697 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
33698 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33700 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
33702 * NEWS: Mention libm performance improvements and non-x86 PI
33705 * csu/libc-start.c (__pthread_initialize_minimal): Change
33706 function arguments.
33707 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33709 2013-02-28 Joseph Myers <joseph@codesourcery.com>
33712 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
33713 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
33714 <bp-sym.h> and <bp-asm.h>.
33715 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33716 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
33718 (memcpy): Don't use BP_SYM.
33719 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
33721 (__mpn_add_n): Don't use BP_SYM.
33722 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
33723 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
33725 (__mpn_addmul_1): Don't use BP_SYM.
33726 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33727 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
33729 (_setjmp): Don't use BP_SYM.
33730 (__novmx_setjmp): Likewise.
33731 (__GI__setjmp): Likewise.
33732 (__vmx_setjmp): Likewise.
33733 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
33735 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
33736 (__bzero): Don't use BP_SYM.
33737 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33738 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33739 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
33740 <bp-sym.h> and <bp-asm.h>.
33741 (memcpy): Don't use BP_SYM.
33742 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
33743 <bp-sym.h> and <bp-asm.h>.
33744 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33745 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
33746 <bp-sym.h> and <bp-asm.h>.
33747 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33748 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
33750 (__mpn_lshift): Don't use BP_SYM.
33751 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33752 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
33754 (memset): Don't use BP_SYM.
33755 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33756 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33757 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
33759 (__mpn_mul_1): Don't use BP_SYM.
33760 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33761 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
33762 <bp-sym.h> and <bp-asm.h>.
33763 (memcmp): Don't use BP_SYM.
33764 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
33765 <bp-sym.h> and <bp-asm.h>.
33766 (memcpy): Don't use BP_SYM.
33767 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
33768 <bp-sym.h> and <bp-asm.h>.
33769 (memset): Don't use BP_SYM.
33770 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
33771 <bp-sym.h> and <bp-asm.h>.
33772 (strncmp): Don't use BP_SYM.
33773 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
33774 <bp-sym.h> and <bp-asm.h>.
33775 (memcpy): Don't use BP_SYM.
33776 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
33777 <bp-sym.h> and <bp-asm.h>.
33778 (memset): Don't use BP_SYM.
33779 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
33780 <bp-sym.h> and <bp-asm.h>.
33781 (__memchr): Don't use BP_SYM.
33782 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
33783 <bp-sym.h> and <bp-asm.h>.
33784 (memcmp): Don't use BP_SYM.
33785 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
33786 <bp-sym.h> and <bp-asm.h>.
33787 (memcpy): Don't use BP_SYM.
33788 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
33789 <bp-sym.h> and <bp-asm.h>.
33790 (__mempcpy): Don't use BP_SYM.
33791 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
33792 <bp-sym.h> and <bp-asm.h>.
33793 (__memrchr): Don't use BP_SYM.
33794 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
33795 <bp-sym.h> and <bp-asm.h>.
33796 (memset): Don't use BP_SYM.
33797 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
33798 <bp-sym.h> and <bp-asm.h>.
33799 (__rawmemchr): Don't use BP_SYM.
33800 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
33801 <bp-sym.h> and <bp-asm.h>.
33802 (__STRCMP): Don't use BP_SYM.
33803 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
33804 <bp-sym.h> and <bp-asm.h>.
33805 (strchr): Don't use BP_SYM.
33806 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
33807 <bp-sym.h> and <bp-asm.h>.
33808 (__strchrnul): Don't use BP_SYM.
33809 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
33810 <bp-sym.h> and <bp-asm.h>.
33811 (strlen): Don't use BP_SYM.
33812 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
33813 <bp-sym.h> and <bp-asm.h>.
33814 (strncmp): Don't use BP_SYM.
33815 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
33816 <bp-sym.h> and <bp-asm.h>.
33817 (__strnlen): Don't use BP_SYM.
33818 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
33820 (__mpn_rshift): Don't use BP_SYM.
33821 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33822 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
33823 <bp-sym.h> and <bp-asm.h>.
33824 (__sigsetjmp): Don't use BP_SYM.
33825 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
33826 (L(start_addresses)): Don't use BP_SYM.
33827 (_start): Likewise.
33828 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
33830 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
33831 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33832 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33833 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
33835 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
33836 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33837 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33838 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
33840 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
33842 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33843 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
33845 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
33847 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33848 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33849 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
33851 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
33853 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
33855 (strncmp): Don't use BP_SYM,
33856 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
33858 (__mpn_sub_n): Don't use BP_SYM.
33859 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33860 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
33862 (__mpn_submul_1): Don't use BP_SYM.
33863 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
33865 <bp-sym.h> and <bp-asm.h>.
33866 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
33868 <bp-sym.h> and <bp-asm.h>.
33869 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
33872 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33874 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
33875 Use ZK to minimize writes to Z.
33876 (sub_magnitudes): Simplify code a bit.
33877 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
33878 Use ZK to minimize writes to Z.
33879 (sub_magnitudes): Simplify code a bit.
33881 2013-02-27 Roland McGrath <roland@hack.frob.com>
33883 * csu/gmon-start.c: Add special exception to license text.
33885 2013-02-27 Richard Henderson <rth@redhat.com>
33887 * scripts/config.guess: Update from config.git.
33888 * scripts/config.sub: Likewise.
33890 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33892 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
33894 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
33896 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
33898 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
33900 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
33902 2013-02-26 Roland McGrath <roland@hack.frob.com>
33904 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
33905 [$(build-shared = yes].
33907 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33909 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
33910 (__mul): Reduce iterations for calculating mantissa.
33912 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
33914 (__mpranred): Likewise.
33917 * malloc/memusagestat.c (main): Draw graphs for heap and stack
33918 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
33920 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
33922 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
33923 Define __attribute__.
33925 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33927 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
33929 * posix/regex_internal.h (__attribute): Remove.
33930 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
33931 (re_string_context_at): Likewise.
33932 (bitset_not): Use __attribute__ and mark function as possibly
33934 (bitset_merge): Likewise.
33935 (bitset_mask): Likewise.
33936 (re_string_char_size_at): Likewise.
33937 (re_string_wchar_at): Likewise.
33938 (re_string_elem_size_at): Likewise.
33940 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33942 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
33946 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
33950 (denorm): Likewise.
33951 (__dbl_mp): Likewise.
33952 (add_magnitudes): Likewise.
33953 (sub_magnitudes): Likewise.
33957 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
33960 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
33963 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
33966 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
33967 up changes with default code.
33968 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
33971 2013-02-24 Allan McRae <allan@archlinux.org>
33973 * manual/socket.texi (The Internet Namespace): Order menu items
33974 to match that in the file.
33976 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
33977 node listing of the info page menu.
33979 2013-02-21 Joseph Myers <joseph@codesourcery.com>
33982 * sysdeps/i386/bp-asm.h: Remove file.
33983 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
33984 (PARMS): Do not use macros from bp-asm.h.
33988 (__mpn_add_n): Do not use BP_SYM
33989 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
33991 (PARMS): Do not use macros from bp-asm.h.
33994 (__mpn_addmul_1): Do not use BP_SYM
33995 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
33997 (PARMS): Do not use macros from bp-asm.h.
33998 (SIGMSK): Likewise.
33999 (_setjmp): Likewise. Do not use BP_SYM.
34000 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
34002 (PARMS): Do not use macros from bp-asm.h.
34003 (SIGMSK): Likewise.
34004 (setjmp): Likewise. Do not use BP_SYM.
34005 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
34007 (PARMS): Do not use macros from bp-asm.h.
34008 (__frexp): Do not use BP_SYM.
34010 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
34012 (PARMS): Do not use macros from bp-asm.h.
34013 (__frexpf): Do not use BP_SYM.
34014 (frexpf): Likewise.
34015 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
34017 (PARMS): Do not use macros from bp-asm.h.
34018 (__frexpl): Do not use BP_SYM.
34019 (frexpl): Likewise.
34020 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
34022 (PARMS): Do not use macros from bp-asm.h.
34023 (__remquo): Do not use BP_SYM.
34024 (remquo): Likewise.
34025 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
34027 (PARMS): Do not use macros from bp-asm.h.
34028 (__remquof): Do not use BP_SYM.
34029 (remquof): Likewise.
34030 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
34032 (PARMS): Do not use macros from bp-asm.h.
34033 (__remquol): Do not use BP_SYM.
34034 (remquol): Likewise.
34035 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
34037 (PARMS): Do not use macros from bp-asm.h.
34040 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
34041 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
34043 (PARMS): Do not use macros from bp-asm.h.
34044 (strlen): Do not use BP_SYM.
34045 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
34047 (PARMS): Do not use macros from bp-asm.h.
34051 (__mpn_add_n): Do not use BP_SYM.
34052 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
34054 (PARMS): Do not use macros from bp-asm.h.
34057 (__mpn_addmul_1): Do not use BP_SYM.
34058 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
34061 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
34063 (PARMS): Do not use macros from bp-asm.h.
34066 (__mpn_lshift): Do not use BP_SYM.
34067 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
34069 (PARMS): Do not use macros from bp-asm.h.
34073 (memcpy): Likewise. Do not use BP_SYM.
34074 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
34075 libc_hidden_def and weak_alias.
34076 (mempcpy): Do not use BP_SYM in weak_alias.
34077 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
34079 (PARMS): Do not use macros from bp-asm.h.
34082 [!BZERO_P] (CHR): Likewise.
34083 (memset): Likewise. Do not use BP_SYM.
34084 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
34086 (PARMS): Do not use macros from bp-asm.h.
34089 (__mpn_mul_1): Do not use BP_SYM.
34090 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
34092 (PARMS): Do not use macros from bp-asm.h.
34095 (__mpn_rshift): Do not use BP_SYM.
34096 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
34098 (PARMS): Do not use macros from bp-asm.h.
34101 (strchr): Likewise. Do not use BP_SYM.
34102 (index): Do not use BP_SYM in weak_alias.
34103 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
34105 (PARMS): Do not use macros from bp-asm.h.
34108 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
34109 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
34111 (PARMS): Do not use macros from bp-asm.h.
34112 (strlen): Do not use BP_SYM.
34113 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
34115 (PARMS): Do not use macros from bp-asm.h.
34119 (__mpn_sub_n): Do not use BP_SYM.
34120 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
34122 (PARMS): Do not use macros from bp-asm.h.
34125 (__mpn_submul_1): Do not use BP_SYM.
34126 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
34128 (PARMS): Do not use macros from bp-asm.h.
34132 (__mpn_add_n): Do not use BP_SYM.
34133 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
34136 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
34138 (PARMS): Do not use macros from bp-asm.h.
34141 (memcmp): Do not use BP_SYM.
34142 (bcmp): Do not use BP_SYM in weak_alias.
34143 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
34145 (PARMS): Do not use macros from bp-asm.h.
34149 (memcpy): Likewise. Do not use BP_SYM.
34150 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
34152 (PARMS): Do not use macros from bp-asm.h.
34156 (memmove): Likewise. Do not use BP_SYM.
34157 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
34159 (PARMS): Do not use macros from bp-asm.h.
34163 (__mempcpy): Likewise. Do not use BP_SYM.
34164 (mempcpy): Do not use BP_SYM in weak_alias.
34165 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
34167 (PARMS): Do not use macros from bp-asm.h.
34170 [!BZERO_P] (CHR): Likewise.
34171 (memset): Likewise. Do not use BP_SYM.
34172 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
34174 (PARMS): Do not use macros from bp-asm.h.
34176 (strcmp): Do not use BP_SYM.
34177 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
34179 (PARMS): Do not use macros from bp-asm.h.
34182 [USE_AS_STRTOK_R] (SAVE): Likewise.
34183 (FUNCTION): Likewise. Do not use BP_SYM.
34184 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
34186 (strtok_r): Likewise.
34187 (__GI___strtok_r): Likewise.
34188 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34189 (PARMS): Do not use macros from bp-asm.h.
34192 (__mpn_lshift): Do not use BP_SYM.
34193 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34194 (PARMS): Do not use macros from bp-asm.h.
34197 (__memchr): Do not use BP_SYM.
34198 (memchr): Do not use BP_SYM in weak_alias.
34199 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34200 (PARMS): Do not use macros from bp-asm.h.
34203 (memcmp): Do not use BP_SYM.
34204 (bcmp): Do not use BP_SYM in weak_alias.
34205 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
34206 (PARMS): Do not use macros from bp-asm.h.
34209 (__mpn_mul_1): Do not use BP_SYM.
34210 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
34212 (PARMS): Do not use macros from bp-asm.h.
34215 (__rawmemchr): Do not use BP_SYM.
34216 (rawmemchr): Do not use BP_SYM in weak_alias.
34217 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34218 (PARMS): Do not use macros from bp-asm.h.
34221 (__mpn_rshift): Do not use BP_SYM.
34222 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34223 (PARMS): Do not use macros from bp-asm.h.
34224 (SIGMSK): Likewise.
34225 (__sigsetjmp): Likewise. Do not use BP_SYM.
34226 * sysdeps/i386/start.S: Do not include "bp-sym.h".
34227 (_start): Do not use BP_SYM.
34228 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
34229 (PARMS): Do not use macros from bp-asm.h.
34232 (__stpcpy): Likewise. Do not use BP_SYM.
34233 (stpcpy): Do not use BP_SYM in weak_alias.
34234 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
34236 (PARMS): Do not use macros from bp-asm.h.
34240 (__stpncpy): Likewise. Do not use BP_SYM.
34241 (stpncpy): Do not use BP_SYM in weak_alias.
34242 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34243 (PARMS): Do not use macros from bp-asm.h.
34246 (strchr): Likewise. Do not use BP_SYM.
34247 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
34249 (PARMS): Do not use macros from bp-asm.h.
34252 (__strchrnul): Likewise. Do not use BP_SYM.
34253 (strchrnul): Do not use BP_SYM in weak_alias.
34254 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
34256 (PARMS): Do not use macros from bp-asm.h.
34258 (strcspn): Do not use BP_SYM.
34259 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
34261 (PARMS): Do not use macros from bp-asm.h.
34264 (strpbrk): Likewise. Do not use BP_SYM.
34265 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
34267 (PARMS): Do not use macros from bp-asm.h.
34270 (strrchr): Likewise. Do not use BP_SYM.
34271 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
34272 (PARMS): Do not use macros from bp-asm.h.
34274 (strspn): Do not use BP_SYM.
34275 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
34276 (PARMS): Do not use macros from bp-asm.h.
34280 (FUNCTION): Likewise. Do not use BP_SYM.
34281 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
34283 (strtok_r): Likewise.
34284 (__GI___strtok_r): Likewise.
34285 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34286 (PARMS): Do not use macros from bp-asm.h.
34290 (__mpn_sub_n): Do not use BP_SYM.
34291 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
34293 (PARMS): Do not use macros from bp-asm.h.
34296 (__mpn_submul_1): Do not use BP_SYM.
34297 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
34299 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
34301 (PARMS): Do not use macros from bp-asm.h.
34306 (__clone): Do not use BP_SYM.
34307 (clone): Do not use BP_SYM in weak_alias.
34308 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
34310 (PARMS): Do not use macros from bp-asm.h.
34312 (__mmap64): Do not use BP_SYM.
34313 (mmap64): Do not use BP_SYM in weak_alias.
34314 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34315 <bp-sym.h> and <bp-asm.h>.
34316 (PARMS): Do not use macros from bp-asm.h.
34317 (__posix_fadvise64_l64): Do not use BP_SYM.
34318 * sysdeps/unix/sysv/linux/i386/semtimedop.S
34319 (PARMS): Do not use macros from bp-asm.h.
34321 (semtimedop): Do not use BP_SYM.
34322 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
34325 2013-02-21 Allan McRae <allan@archlinux.org>
34327 * manual/message.texi (Charset conversion in gettext):
34328 Move @end statement to beginning of line.
34330 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34332 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
34334 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34337 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
34338 (denorm): Likewise.
34339 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
34340 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
34342 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34344 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
34345 tail-call to the resolved function if pltexit isn't needed.
34347 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34349 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
34350 or Y being zero as being unlikely.
34351 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34354 2013-02-20 Carlos O'Donell <carlos@redhat.com>
34356 * manual/nss.texi (System Databases and Name Service Switch):
34357 Remove frobnicate @pxref.
34359 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
34361 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34362 __attribute__ ((unused)) to __attribute__ ((__unused__)).
34364 2013-02-20 Petr Machata <pmachata@redhat.com>
34366 * elf/elf.h (R_ARM_TARGET1): New macro.
34367 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
34368 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
34369 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
34370 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
34371 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
34372 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
34373 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
34374 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
34375 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
34376 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
34377 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
34378 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
34379 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
34380 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
34381 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
34382 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
34383 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
34384 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
34385 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
34386 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
34387 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
34388 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
34389 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
34390 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
34391 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
34392 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
34393 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
34394 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
34395 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
34396 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
34397 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
34398 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
34399 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
34400 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
34401 (R_ARM_THM_GOT_BREL12): Likewise.
34402 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
34403 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
34404 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
34405 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
34406 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
34407 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
34408 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
34409 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
34410 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
34412 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
34414 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34415 __attribute_used__ to __attribute__ ((unused)).
34417 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34419 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
34421 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
34422 comment formatting.
34423 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
34425 2013-02-19 Joseph Myers <joseph@codesourcery.com>
34428 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
34430 (ENTER): Remove both macro definitions.
34432 (CHECK_BOUNDS_LOW): Likewise.
34433 (CHECK_BOUNDS_HIGH): Likewise.
34434 (CHECK_BOUNDS_BOTH): Likewise.
34435 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
34436 (RETURN_BOUNDED_POINTER): Likewise.
34437 (RETURN_NULL_BOUNDED_POINTER): Likewise.
34438 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
34439 (POP_ERRNO_LOCATION_RETURN): Likewise.
34440 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
34441 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34442 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
34444 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34445 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
34446 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
34447 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
34448 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
34449 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
34450 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
34451 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
34452 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
34453 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
34454 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
34455 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
34456 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34457 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
34459 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34460 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
34462 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34463 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
34464 * sysdeps/i386/i586/memset.S (memset): Likewise.
34465 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
34466 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34467 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
34469 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34470 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
34471 Change uses of L(2) to L(out).
34472 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
34473 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
34474 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
34475 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34476 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
34478 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34479 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
34481 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34482 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
34483 (RETURN): Do not use macro LEAVE.
34484 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
34485 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
34486 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
34487 * sysdeps/i386/i686/memset.S (memset): Likewise.
34488 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
34489 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
34490 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34491 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
34493 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34494 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
34495 L(1_2) and L(1_3) into L(1).
34496 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34497 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
34498 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34499 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
34500 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34501 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
34502 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
34503 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34504 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
34506 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
34507 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34508 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
34509 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
34510 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
34511 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34512 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
34513 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
34514 * sysdeps/i386/strcspn.S (strcspn): Likewise.
34515 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
34516 * sysdeps/i386/strrchr.S (strrchr): Likewise.
34517 * sysdeps/i386/strspn.S (strspn): Likewise.
34518 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
34520 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34521 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
34522 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34523 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
34524 L(1_3) into L(1_1).
34525 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
34526 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34527 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
34529 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34531 2013-02-19 Jakub Jelinek <jakub@redhat.com>
34533 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
34536 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34538 * math/atest-exp.c (exp_mpn): Remove ROUND.
34539 * math/atest-exp2.c (exp_mpn): Likewise.
34540 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
34542 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
34543 * stdlib/tst-tls-atexit-lib.c: Likewise.
34544 * stdlib/tst-tls-atexit.c: Likewise.
34546 2013-02-18 Mike Frysinger <vapier@gentoo.org>
34548 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
34549 and __attribute_alloc_size__.
34551 2013-02-18 Mike Frysinger <vapier@gentoo.org>
34553 * include/programs/xmalloc.h: Change __attribute_alloc_size to
34554 __attribute_alloc_size__.
34555 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
34556 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
34558 2013-02-18 Mike Frysinger <vapier@gentoo.org>
34560 * include/programs/xmalloc.h: New file.
34561 * catgets/gencat.c: Include it.
34562 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
34563 * elf/pldd.c: Likewise.
34564 * iconv/iconv_charmap.c: Likewise.
34565 * iconv/iconvconfig.c: Likewise.
34566 * iconv/strtab.c: Likewise.
34567 * locale/programs/locale.c: Likewise.
34568 * locale/programs/localedef.h: Likewise.
34569 * locale/programs/simple-hash.c: Likewise.
34570 * nscd/nscd.h: Likewise.
34571 * nss/makedb.c: Likewise.
34572 * sysdeps/generic/ldconfig.h: Likewise.
34574 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34576 * Versions.def: Add GLIBC_2.18.
34577 * include/link.h (struct link_map): New member l_tls_dtor_count.
34578 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
34579 (__call_tls_dtors): Likewise.
34580 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
34581 __cxa_thread_atexit_impl.
34582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34590 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
34593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
34595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34596 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34598 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
34599 (tests): Add test case tst-tls-atexit.
34600 (modules-names): Add shared library for tst-tls-atexit.
34601 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
34602 (GLIBC_PRIVATE): Add __call_tls_dtors.
34603 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
34605 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
34606 * stdlib/tst-tls-atexit.c: New test case.
34607 * stdlib/tst-tls-atexit-lib.c: New test case.
34609 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
34611 * elf/Versions (ld): Add _dl_find_dso_for_object.
34612 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
34613 * elf/dl-open.c (_dl_find_dso_for_object): New function.
34614 (dl_open_worker): Use _dl_find_dso_for_object.
34615 * elf/dl-sym.c (do_sym): Likewise.
34616 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
34618 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34620 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
34621 Syntactic changes only.
34622 (_dl_runtime_profile): Do a tail-call to the resolved function.
34624 2013-02-17 Joseph Myers <joseph@codesourcery.com>
34627 * sysdeps/x86_64/bp-asm.h: Remove file.
34628 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
34629 <bp-sym.h> and <bp-asm.h>.
34630 (__clone): Do not use BP_SYM.
34631 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
34632 <bp-sym.h> and <bp-asm.h>.
34633 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34634 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
34636 (_setjmp): Do not use BP_SYM.
34637 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
34639 (setjmp): Do not use BP_SYM.
34640 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
34642 (mempcpy): Do not use BP_SYM in weak_alias.
34643 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
34645 (strchr): Do not use BP_SYM.
34646 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
34648 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
34649 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
34650 (_start): Do not use BP_SYM.
34651 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
34653 (strcat): Do not use BP_SYM.
34654 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
34656 (STRCMP): Do not use BP_SYM.
34657 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
34659 (STRCPY): Do not use BP_SYM.
34660 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
34662 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
34664 (FUNCTION): Do not use BP_SYM.
34665 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
34667 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
34669 2013-02-17 Andreas Jaeger <aj@suse.de>
34671 * time/Versions: Sort entries.
34672 * string/Versions: Likewise.
34673 * resolv/Versions: Likewise.
34674 * posix/Versions: Likewise.
34675 * iconv/Versions: Likewise.
34676 * elf/Versions: Likewise.
34677 * wcsmbs/Versions: Likewise.
34679 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34681 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
34682 loop termination condition.
34684 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
34685 variable to calculate EZ.
34688 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
34689 the lower precision input.
34691 2013-02-15 Joseph Myers <joseph@codesourcery.com>
34694 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
34695 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
34696 (run-via-rtld-prefix): Do not handle %-bp tests.
34697 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
34698 (all-object-suffixes): Remove .ob.
34699 (bppfx): Remove variable.
34700 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
34701 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
34702 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
34703 [$(build-bounded) = yes] (libtype.ob): Likewise.
34704 * Makerules (elide-routines.ob): Remove variable.
34705 (do-tests-clean): Do not handle *-bp.out.
34706 (common-mostlyclean): Do not handle *-bp and *-bp.out.
34707 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
34708 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
34709 (tests): Do not include $(tests-bp.out).
34710 (xtests): Do not include $(xtests-bp.out).
34711 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
34712 [$(build-bounded) = yes] ($(addprefix
34713 $(objpfx),$(binaries-bounded))): Remove rule.
34714 ($(objpfx)%-bp.out): Remove rule.
34715 * config.make.in (build-bounded): Remove variable.
34716 * crypt/Makefile [$(build-bounded) = yes]
34717 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
34718 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
34719 append to variable.
34720 [$(build-bounded) = yes] (install-lib): Likewise.
34721 [$(build-bounded) = yes] (generated): Likewise.
34722 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
34724 * intl/Makefile [$(build-bounded) = yes]
34725 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
34726 * math/Makefile [$(build-bounded) = yes]
34727 ($(tests:%=$(objpfx)%-bp): Likewise.
34728 * misc/Makefile [$(build-bounded) = yes]
34729 ($(objpfx)tst-tsearch-bp): Likewise.
34730 * nptl/Makeconfig (bounded-thread-library): Remove variable.
34731 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
34733 * string/Makefile (o-objects.ob): Remove variable.
34734 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
34735 (CFLAGS-.ob): Remove variable.
34736 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
34737 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
34738 both definitions of variable.
34739 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
34740 (ASFLAGS-.ob): Remove variable.
34742 2013-02-14 Joseph Myers <joseph@codesourcery.com>
34745 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
34746 Remove __BOUNDED_POINTERS__ from condition.
34747 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
34748 * string/bits/string2.h [!__NO_STRING_INLINES &&
34749 !__BOUNDED_POINTERS__]: Likewise.
34750 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
34752 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
34753 Remove conditional code.
34754 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
34755 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
34756 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
34760 * csu/libc-start.c: Do not include <bp-sym.h>.
34761 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
34762 * elf/dl-open.c: Do not include <bp-sym.h>.
34763 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
34764 * math/fegetenv.c: Do not include <bp-sym.h>.
34765 (fegetenv): Do not use BP_SYM in versioned symbols.
34766 * nptl/sysdeps/pthread/bits/libc-lockP.h
34767 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
34769 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34770 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
34771 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34772 (__pthread_mutex_destroy): Likewise.
34773 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34774 (__pthread_mutex_lock): Likewise.
34775 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34776 (__pthread_mutex_trylock): Likewise.
34777 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34778 (__pthread_mutex_unlock): Likewise.
34779 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34780 (__pthread_mutexattr_init): Likewise.
34781 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34782 (__pthread_mutexattr_destroy): Likewise.
34783 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34784 (__pthread_mutexattr_settype): Likewise.
34785 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34786 (__pthread_rwlock_init): Likewise.
34787 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34788 (__pthread_rwlock_destroy): Likewise.
34789 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34790 (__pthread_rwlock_rdlock): Likewise.
34791 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34792 (__pthread_rwlock_tryrdlock): Likewise.
34793 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34794 (__pthread_rwlock_wrlock): Likewise.
34795 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34796 (__pthread_rwlock_trywrlock): Likewise.
34797 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34798 (__pthread_rwlock_unlock): Likewise.
34799 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34800 (__pthread_key_create): Likewise.
34801 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34802 (__pthread_setspecific): Likewise.
34803 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34804 (__pthread_getspecific): Likewise.
34805 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
34807 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34808 (_pthread_cleanup_push_defer): Likewise.
34809 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34810 (_pthread_cleanup_pop_restore): Likewise.
34811 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34812 (pthread_setcancelstate): Likewise.
34813 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
34815 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
34816 (memchr): Do not use BP_SYM in weak_alias.
34817 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
34818 (fegetenv): Do not use BP_SYM in versioned symbols.
34819 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
34820 (fesetenv): Do not use BP_SYM in versioned symbols.
34821 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34822 (feupdateenv): Do not use BP_SYM in versioned symbols.
34823 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34824 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34825 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
34826 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
34827 (open64): Do not use BP_SYM in weak_alias.
34828 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
34829 (fegetenv): Do not use BP_SYM in versioned symbols.
34830 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
34831 (fesetenv): Do not use BP_SYM in versioned symbols.
34832 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34833 (feupdateenv): Do not use BP_SYM in versioned symbols.
34834 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
34835 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
34836 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
34837 (feraiseexcept): Do not use BP_SYM in versioned symbols.
34838 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34839 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34840 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
34842 (__libc_start_main): Do not use BP_SYM.
34844 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34846 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
34847 redundant return line.
34849 (denorm): Likewise.
34850 (dbl_mp): Likewise.
34851 (sub_magnitudes): Likewise.
34857 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
34859 (denorm): Likewise.
34860 (dbl_mp): Likewise.
34861 (sub_magnitudes): Likewise.
34868 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
34870 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34871 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
34874 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
34875 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
34876 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
34877 of __mul for squares.
34878 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
34880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
34882 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
34883 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34885 2013-02-13 Joseph Myers <joseph@codesourcery.com>
34888 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
34890 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
34891 prototype or function definition. Rename ubp_* variables and
34892 parameters. Remove argv definitions conditional on
34893 [__BOUNDED_POINTERS__].
34894 * debug/backtrace.c (__backtrace): Do not use __unbounded.
34895 * elf/dl-runtime.c (_dl_fixup): Likewise.
34896 * include/set-hooks.h (RUN_HOOK): Likewise.
34897 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
34899 * string/strcpy.c (strcpy): Do not use __unbounded.
34900 * sysdeps/generic/frame.h (struct layout): Likewise.
34901 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
34902 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
34903 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
34904 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
34905 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
34906 (__backtrace): Likewise.
34907 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
34909 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
34910 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
34911 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
34913 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
34914 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
34915 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
34916 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
34917 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
34918 Do not use __unbounded.
34919 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
34920 Rename __unboundedrlimits parameter to rlimits in prototype.
34921 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
34922 Do not use __unbounded.
34923 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
34924 not use __ptrvalue.
34925 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
34926 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
34927 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
34928 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
34929 __ptrvalue or __unbounded.
34930 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
34931 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
34933 (__new_msgctl): Do not use __ptrvalue.
34934 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
34936 (__libc_msgrcv): Do not use __ptrvalue.
34937 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
34938 startup_info): Do not use __unbounded.
34939 (__libc_start_main): Likewise. Rename ubp_* variables and
34940 parameters. Remove argv definitions conditional on
34941 [__BOUNDED_POINTERS__].
34942 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
34944 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
34946 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
34948 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
34950 (__new_shmctl): Do not use __ptrvalue.
34951 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
34952 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
34954 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
34955 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
34956 (__libc_sigaction): Likewise.
34957 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
34958 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
34960 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
34962 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
34964 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
34966 * string/mempcpy.c: Implement by calling memcpy.
34968 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34970 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
34972 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
34975 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
34976 values in the mantissa.
34978 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
34979 minimize writes to Z.
34980 (sub_magnitudes): Simplify code a bit.
34982 2013-02-12 Roland McGrath <roland@hack.frob.com>
34984 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
34985 from the message. The linker prefixes all warnings with that already.
34987 2013-02-12 Andreas Schwab <schwab@suse.de>
34990 * posix/regexec.c (extend_buffers): Add parameter min_len.
34991 (check_matching): Pass minimum needed length.
34992 (clean_state_log_if_needed): Likewise.
34993 (get_subexp): Likewise.
34994 * posix/Makefile (tests): Add bug-regex34.
34995 (bug-regex34-ENV): Define.
34996 * posix/bug-regex34.c: New file.
34999 * posix/regcomp.c (parse_bracket_exp): When looking up collating
35000 elements compare against the byte sequence of it, not its name.
35001 * posix/Makefile (tests): Add bug-regex35.
35002 (bug-regex35-ENV): Define.
35003 * posix/bug-regex35.c: New file.
35005 2013-02-11 Tom de Vries <tom@codesourcery.com>
35007 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
35009 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
35010 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
35011 (CHECK_EOL): Add undef.
35013 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
35015 * bits/stdlib-bsearch.h: New file.
35016 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
35017 * stdlib/stdlib.h: Likewise.
35019 2013-02-11 Roland McGrath <roland@hack.frob.com>
35021 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
35022 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
35024 * manual/search.texi (Array Search Function): Add missing const in
35026 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
35027 declaration to use rlim_t.
35028 (Basic Scheduling Functions): Remove erroneous const from
35029 sched_getparam prototype. Remove erroneous * from
35030 sched_get_priority_max and sched_get_priority_min prototypes.
35031 (Resource Usage): Fix summary @comment on vtimes to refer to
35032 sys/vtimes.h rather than vtimes.h.
35033 Add missing *s in vtimes prototype.
35034 (Limits on Resources): Fix ulimit prototype to return long int.
35035 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
35036 prototypes to use long int rather than double.
35037 (BSD Random): Fix initstate and setstate to use char *, not void *.
35038 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
35039 prototype to make second argument 'struct aiocb64 *const[]'.
35040 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
35041 (Status of AIO Operations): Remove erroneous const in aio_return and
35042 aio_return64 prototypes.
35043 (Synchronizing I/O): Fix sync prototype to return void.
35044 * manual/startup.texi (Suboptions): Remove an erroneous const in
35045 getsubopt prototype.
35046 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
35047 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
35048 use size_t rather than int.
35049 (Scanning All Users): Likewise for getpwent_r.
35050 (Setting Groups): Add missing const to setgroups prototype.
35051 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
35052 * manual/socket.texi (Host Names): Fix gethostbyaddr and
35053 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
35054 'const void *' rather than 'const char *'.
35055 (Host Address Functions): Likewise for inet_ntop.
35056 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
35057 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
35058 ssize_t for return value.
35059 (Sending Data): Likewise for send, sendto, sendmsg.
35060 (Socket Option Functions): Add a missing const in setsockopt prototype.
35061 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
35062 use wchar_t for the argument.
35063 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
35064 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
35066 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
35067 double/float/long double for second argument.
35068 Fix return types of significand, significandf, significandl.
35069 * manual/filesys.texi (Setting Permissions): Use mode_t for second
35070 argument in fchmod prototype.
35071 (File Owner): Use uid_t and gid_t in fchown prototype.
35072 (File Times): Add const to utimes, futimes, and lutimes prototypes.
35073 (Making Special Files): Use mode_t and dev_t in mknod prototype.
35074 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
35075 use 'const struct dirent **' as argument types to CMP function pointer
35077 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
35078 (File Times): Fix summary magic @comment for struct utimbuf and utime
35079 to refer to utime.h, not time.h.
35080 * manual/string.texi (Argz Functions): Add missing const in
35081 argz_extract and argz_next prototypes.
35082 (Finding Tokens in a String): Likewise for basename.
35083 (String/Array Comparison): Fix typo in wcscasecmp prototype.
35084 (Copying and Concatenation): Fix typo in wmemmove prototype.
35085 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
35086 (Signal Stack): Remove erroneous const in sigstack prototype.
35087 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
35089 (Simple Calendar Time): Likewise for stime.
35090 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
35092 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
35093 say sys/sysctl.h instead.
35094 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
35095 and vsyslog prototypes.
35097 2013-02-11 Tom de Vries <tom@codesourcery.com>
35099 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
35102 2013-02-11 Roland McGrath <roland@hack.frob.com>
35104 * misc/sys/mman.h: Fix typo in mremap comment.
35106 2013-02-08 Roland McGrath <roland@hack.frob.com>
35108 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
35109 the '\0' terminator.
35111 2013-02-08 Joseph Myers <joseph@codesourcery.com>
35114 * debug/segfault.c: Don't include <bp-checks.h>.
35115 * sysdeps/generic/bp-checks.h: Remove file.
35116 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
35117 (__GETDENTS): Don't use CHECK_N.
35118 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
35119 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
35120 (__getgroups): Don't use CHECK_N.
35121 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
35122 (setgroups): Don't use CHECK_N.
35123 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
35124 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
35125 (__libc_msgrcv): Don't use CHECK_N.
35126 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
35127 (__libc_msgsnd): Don't use CHECK_N.
35128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
35130 (__libc_pread): Don't use CHECK_N.
35131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
35132 include <bp-checks.h>.
35133 (__libc_pread64): Don't use CHECK_N.
35134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
35135 include <bp-checks.h>.
35136 (__libc_pwrite): Don't use CHECK_N.
35137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
35138 include <bp-checks.h>.
35139 (__libc_pwrite64): Don't use CHECK_N.
35140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
35142 (__libc_pread): Don't use CHECK_N.
35143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
35144 include <bp-checks.h>.
35145 (__libc_pread64): Don't use CHECK_N.
35146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
35147 include <bp-checks.h>.
35148 (__libc_pwrite): Don't use CHECK_N.
35149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
35150 include <bp-checks.h>.
35151 (__libc_pwrite64): Don't use CHECK_N.
35152 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
35153 (do_pread): Don't use CHECK_N.
35154 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
35155 (do_pread64): Don't use CHECK_N.
35156 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
35157 (do_pwrite): Don't use CHECK_N.
35158 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
35159 (do_pwrite64): Don't use CHECK_N.
35160 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
35161 (__libc_readv): Don't use CHECK_N.
35162 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
35163 (semop): Don't use CHECK_N.
35164 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
35166 (semtimedop): Don't use CHECK_N.
35167 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
35168 (__libc_pread): Don't use CHECK_N.
35169 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
35171 (__libc_pread64): Don't use CHECK_N.
35172 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
35174 (__libc_pwrite): Don't use CHECK_N.
35175 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
35177 (__libc_pwrite64): Don't use CHECK_N.
35178 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
35180 (__libc_msgrcv): Don't use CHECK_N.
35181 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
35182 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
35183 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
35184 (__libc_writev): Don't use CHECK_N.
35186 2013-02-08 Roland McGrath <roland@hack.frob.com>
35188 * string/strcpy.c: Removed unused variable.
35190 * Makeconfig (+sysdep-includes): Define with := rather than =.
35191 Use an existing include/ subdir of each sysdeps dir before it.
35193 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35195 * nscd/connection.c (register_traced_file): Comment function.
35196 [HAVE_INOTIFY] (union __inev): Define.
35197 [HAVE_INOTIFY] (inotify_check_files): New function.
35198 [HAVE_INOTIFY] (clear_db_cache): Likewise.
35199 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
35201 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
35203 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35205 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
35206 loaded if not already and that a failure is permanent.
35208 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35211 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
35212 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
35214 2013-02-08 Joseph Myers <joseph@codesourcery.com>
35217 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
35218 (CHECK_1_NULL_OK): Likewise.
35219 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
35220 (__fxstat): Do not use CHECK_1.
35221 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
35223 (___fxstat64): Do not use CHECK_1.
35224 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
35226 (__fxstatat): Do not use CHECK_1.
35227 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
35229 (__fxstatat64): Do not use CHECK_1.
35230 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
35232 (__fxstat): Do not use CHECK_1.
35233 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
35235 (__fxstatat): Do not use CHECK_1.
35236 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35238 (__getresgid): Do not use CHECK_1.
35239 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35241 (__getresuid): Do not use CHECK_1.
35242 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
35244 (__lxstat): Do not use CHECK_1.
35245 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35247 (__old_msgctl): Do not use CHECK_1.
35248 (__new_msgctl): Likewise.
35249 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
35251 (__new_setrlimit): Do not use CHECK_1.
35252 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35254 (__old_shmctl): Do not use CHECK_1.
35255 (__new_shmctl): Likewise.
35256 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
35258 (__xstat): Do not use CHECK_1.
35259 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
35260 (__lxstat): Do not use CHECK_1.
35261 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
35263 (___lxstat64): Do not use CHECK_1.
35264 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
35265 (__old_msgctl): Do not use CHECK_1.
35266 (__new_msgctl): Likewise.
35267 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
35269 (__gettimeofday): Do not use CHECK_1.
35270 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
35271 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
35272 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
35274 (__gettimeofday): Do not use CHECK_1.
35275 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
35276 (__old_shmctl): Do not use CHECK_1_NULL_OK.
35277 (__new_shmctl): Do not use CHECK_1.
35278 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
35280 (do_sigtimedwait): Do not use CHECK_1.
35281 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
35283 (do_sigwaitinfo): Do not use CHECK_1.
35284 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
35286 (msgctl): Do not use CHECK_1.
35287 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
35289 (shmctl): Do not use CHECK_1.
35290 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
35291 (ustat): Do not use CHECK_1.
35292 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
35294 (__fxstat): Do not use CHECK_1.
35295 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
35297 (__fxstatat): Do not use CHECK_1.
35298 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
35300 (__lxstat): Do not use CHECK_1.
35301 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
35303 (__xstat): Do not use CHECK_1.
35304 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
35305 (__xstat): Do not use CHECK_1.
35306 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
35307 (___xstat64): Do not use CHECK_1.
35310 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
35312 (CHECK_BOUNDS_HIGH): Likewise.
35313 * string/strcpy.c: Do not include <bp-checks.h>.
35314 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
35316 2013-02-07 Roland McGrath <roland@hack.frob.com>
35318 * nscd/nscd-client.h (__nscd_drop_map_ref):
35319 Add __attribute__ ((unused)).
35320 * nis/nss-nisplus.h (niserr2nss): Likewise.
35322 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
35323 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
35325 * csu/libc-tls.c (init_static_tls, init_slotinfo):
35326 Remove inline keyword.
35327 * include/rounding-mode.h (round_away): Likewise.
35328 * libio/wfileops.c (adjust_wide_data): Likewise.
35329 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
35330 (__m128i_strloadu_tolower): Likewise.
35331 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
35332 (__m128i_strloadu_tolower): Likewise.
35333 * time/mktime.c (ydhms_diff): Likewise.
35334 * locale/elem-hash.h (elem_hash): Likewise.
35335 * locale/setlocale.c (setdata): Likewise.
35336 * posix/regex_internal.h (re_string_char_size_at): Likewise.
35337 (re_string_wchar_at): Likewise.
35338 (bitset_not, bitset_merge, bitset_mask): Likewise.
35339 [!(__GNUC__ > 3)] (inline): Remove macro.
35340 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
35341 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
35342 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
35343 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
35344 * string/memcmp.c (memcmp_bytes): Likewise.
35345 * locale/programs/locarchive.c (compute_hashval): Likewise.
35346 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
35347 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
35348 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
35349 * nss/getent.c (print_rpc, print_protocols): Likewise.
35350 (print_passwd, print_group, print_aliases): Likewise.
35351 * nis/nss-nisplus.h (niserr2nss): Likewise.
35352 * nscd/connections.c (restart_p): Likewise.
35353 Change return type to bool.
35355 2013-02-05 Roland McGrath <roland@hack.frob.com>
35357 * Makeconfig (all-Depend-files): Add existing
35358 $(sorted-subdirs:=/Depend) files.
35359 (all-subdirs): Remove nss.
35360 * sysdeps/unix/inet/Subdirs: Add it here instead.
35361 * hesiod/Depend: New file.
35363 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
35364 instead of calling alloca.
35366 * io/lseek.c (__lseek): Rename to __libc_lseek.
35367 Define __lseek as an alias.
35369 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
35371 2013-02-04 Carlos O'Donell <carlos@redhat.com>
35373 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
35374 else clause and remove check for non-standard endianness.
35376 2013-02-04 David S. Miller <davem@davemloft.net>
35378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35380 2013-02-04 Joseph Myers <joseph@codesourcery.com>
35383 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
35384 (__ubp_memchr): Remove prototype.
35385 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
35386 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35387 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
35388 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35389 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
35391 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
35392 (__ubp_memchr): Likewise.
35393 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
35394 (__ubp_memchr): Likewise.
35395 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
35396 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
35397 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
35398 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
35400 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
35401 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
35402 (__getcwd): Do not use CHECK_STRING.
35403 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35405 (__real_chown): Do not use CHECK_STRING.
35406 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
35408 (fchownat): Do not use CHECK_STRING.
35409 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
35411 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35413 (__lchown): Do not use CHECK_STRING.
35414 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35415 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35416 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35417 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
35418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35419 include <bp-checks.h>.
35420 (truncate64): Do not use CHECK_STRING.
35421 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35423 (__real_chown): Do not use CHECK_STRING.
35424 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35426 (__lchown): Do not use CHECK_STRING.
35427 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35429 (__chown): Do not use CHECK_STRING.
35430 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
35432 (truncate64): Do not use CHECK_STRING.
35433 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
35435 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
35436 (__xmknod): Do not use CHECK_STRING.
35437 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
35439 (__xmknodat): Do not use CHECK_STRING.
35440 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35441 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
35443 2013-02-04 Andreas Schwab <schwab@suse.de>
35446 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
35447 * include/netdb.h: Likewise for h_errno.
35448 * elf/tst-stackguard1.c: Include <tls.h>.
35450 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
35452 * elf/link.h (struct link_map): Extend the l_addr comment.
35453 * include/link.h (struct link_map): Likewise.
35455 2013-02-01 Joseph Myers <joseph@codesourcery.com>
35458 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
35459 (BOUNDED_1): Remove macro.
35460 * debug/backtrace.c: Don't include <bp-checks.h>.
35461 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
35462 (__backtrace): Likewise.
35463 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
35465 (__backtrace): Don't use BOUNDED_1.
35466 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
35468 (__backtrace): Don't use BOUNDED_1.
35469 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
35470 (__backtrace): Don't use BOUNDED_1.
35471 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
35472 (shmat): Don't use BOUNDED_N.
35474 2013-01-31 Joseph Myers <joseph@codesourcery.com>
35477 * sysdeps/generic/bp-start.h: Remove file.
35478 * csu/libc-start.c: Don't include <bp-start.h>.
35479 (LIBC_START_MAIN): Set up __environ directly instead of using
35480 INIT_ARGV_and_ENVIRON.
35481 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
35485 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
35487 (CHECK_FCNTL): Likewise.
35488 (CHECK_N_PAGES): Likewise.
35491 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
35493 (CHECK_SIGSET_NULL_OK): Likewise.
35494 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
35496 (sigpending): Don't use CHECK_SIGSET.
35497 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
35499 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35500 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
35502 (do_sigsuspend): Don't use CHECK_SIGSET.
35503 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
35505 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
35506 (do_sigwait): Don't use CHECK_SIGSET.
35507 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
35509 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
35510 include <bp-checks.h>.
35511 (sigpending): Don't use CHECK_SIGSET.
35512 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
35513 include <bp-checks.h>.
35514 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35515 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
35517 (sigpending): Don't use CHECK_SIGSET.
35518 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
35520 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35523 * sysdeps/generic/bp-semctl.h: Remove file.
35524 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
35525 <bp-checks.h> and <bp-semctl.h>.
35526 (__old_semctl): Don't use CHECK_SEMCTL.
35527 (__new_semctl): Likewise.
35528 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
35530 (__old_semctl): Don't use CHECK_SEMCTL.
35531 (__new_semctl): Likewise.
35532 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
35533 <bp-checks.h> and <bp-semctl.h>.
35534 (__old_semctl): Don't use CHECK_SEMCTL.
35535 (__new_semctl): Likewise.
35536 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
35537 <bp-checks.h> and <bp-semctl.h>.
35538 (semctl): Don't use CHECK_SEMCTL.
35541 * Makerules (elide-bp-thunks): Remove variable.
35542 (elide-routines.oS): Don't use $(elide-bp-thunks).
35543 (elide-routines.os): Likewise.
35544 (elide-routines.o): Likewise.
35545 (elide-routines.op): Likewise.
35546 (elide-routines.og): Likewise.
35547 (objects): Don't use $(bp-thunks).
35548 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
35550 (common-generated): Do not add s-proto-bp.d.
35551 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
35554 Do not generate makefile rules for bounded-pointer thunks.
35555 * sysdeps/generic/bp-thunks.h: Remove file.
35556 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
35557 * sysdeps/unix/s-proto-bp.S: Likewise.
35560 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
35561 parts of result separately when argument is not close to line from
35562 -i to i and one part of argument is small.
35563 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35564 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35565 * math/libm-test.inc (cacos_test): Add more tests.
35566 (casin_test): Likewise.
35567 (casinh_test): Likewise.
35568 * sysdeps/i386/fpu/libm-test-ulps: Update.
35569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35571 2013-01-31 David S. Miller <davem@davemloft.net>
35573 * po/de.po: Update from translation team.
35575 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
35577 * time/tzfile.c: Include stdint.h for SIZE_MAX.
35579 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
35581 * configure.in (_AC_PROG_CC_C89): New definition.
35582 * configure: Regenerate.
35584 * configure.in (AC_PROG_CPP): New definition.
35585 * configure: Regenerate.
35587 2013-01-23 Joseph Myers <joseph@codesourcery.com>
35589 * debug/tst-backtrace.h: New file.
35590 * debug/tst-backtrace2.c: Include tst-backtrace.h.
35591 (ret): Remove variable.
35593 (FAIL): Remove macro.
35594 (NO_INLINE): Likewise.
35595 (fn1): Use match function instead of strstr.
35596 * debug/tst-backtrace3.c: Include tst-backtrace.h.
35597 (ret): Remove variable.
35599 (FAIL): Remove macro.
35600 (NO_INLINE): Likewise.
35601 (fn): Use match function instead of strstr.
35602 * debug/tst-backtrace4.c: Include tst-backtrace.h.
35603 (ret): Remove variable.
35605 (FAIL): Remove macro.
35606 (NO_INLINE): Likewise.
35607 (handle_signal): Use match function instead of strstr.
35608 * debug/tst-backtrace5.c: Include tst-backtrace.h.
35609 (ret): Remove variable.
35611 (FAIL): Remove macro.
35612 (NO_INLINE): Likewise.
35613 (handle_signal): Use match function instead of strstr.
35615 2013-01-23 Roland McGrath <roland@hack.frob.com>
35617 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
35619 2013-01-23 David S. Miller <davem@davemloft.net>
35621 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
35622 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
35623 argument of CAS if possible.
35624 * sysdeps/sparc/sparc64/bits/atomic.h
35625 (__arch_compare_and_exchange_val_32_acq): Likewise.
35626 (__arch_compare_and_exchange_val_64_acq): Likewise.
35628 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
35630 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
35631 * sysdeps/posix/ulimit.c: ... this.
35632 Include <limits.h>.
35633 * sysdeps/unix/bsd/ulimit.c: Remove file.
35635 2013-01-23 Adam Conrad <adconrad@0c3.net>
35637 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
35638 (LDFLAGS-tst-array5): Likewise.
35640 2013-01-23 Joseph Myers <joseph@codesourcery.com>
35643 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
35644 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
35645 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
35646 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
35648 2013-01-21 David S. Miller <davem@davemloft.net>
35650 * sysdeps/sparc/backtrace.c: New file.
35651 * sysdeps/sparc/sparc32/backtrace.h: New file.
35652 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
35653 * sysdeps/sparc/sparc64/backtrace.h: New file.
35654 * sysdeps/sparc/sparc64/backtrace.c: Delete.
35655 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
35658 2013-01-21 Andreas Schwab <schwab@suse.de>
35661 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
35664 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
35666 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
35668 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35670 2013-01-18 Joseph Myers <joseph@codesourcery.com>
35671 Mark Mitchell <mark@codesourcery.com>
35672 Tom de Vries <tom@codesourcery.com>
35673 Paul Pluzhnikov <ppluzhnikov@google.com>
35675 * debug/tst-backtrace2.c: New file.
35676 * debug/tst-backtrace3.c: Likewise.
35677 * debug/tst-backtrace4.c: Likewise.
35678 * debug/tst-backtrace5.c: Likewise.
35679 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
35680 (CFLAGS-tst-backtrace3.c): Likewise.
35681 (CFLAGS-tst-backtrace4.c): Likewise.
35682 (CFLAGS-tst-backtrace5.c): Likewise.
35683 (LDFLAGS-tst-backtrace2): Likewise.
35684 (LDFLAGS-tst-backtrace3): Likewise.
35685 (LDFLAGS-tst-backtrace4): Likewise.
35686 (LDFLAGS-tst-backtrace5): Likewise.
35687 (tests): Add new tests tst-backtrace2, tst-backtrace3,
35688 tst-backtrace4 and tst-backtrace5.
35690 2013-01-18 Anton Blanchard <anton@samba.org>
35691 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35693 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
35694 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
35695 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
35696 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
35697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35698 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
35699 "+r" and remove output regs list as redundant. Add explicit inline
35700 asm to specify register of return val to work around compiler codegen
35701 bug. Remove (int) cast on return value. Add return type parameter to
35702 use in macro so that this macro does not truncate return value for
35704 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
35705 pass to INTERNAL_VSYSCALL_NCS.
35706 (INLINE_VSYSCALL): Add 'long int' as return type to
35707 INTERNAL_VSYSCALL_NCS macro invocation.
35708 (INTERNAL_VSYSCALL): Add 'long int' as return type to
35709 INTERNAL_VSYSCALL_NCS macro invocation.
35710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35712 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35715 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
35716 Fix application of SIMD FP exception mask.
35718 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
35719 mp_no from a power of two.
35720 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
35721 __mpexp_twomm1. Use __pow_mp.
35723 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
35726 2013-01-17 David S. Miller <davem@davemloft.net>
35728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35730 2013-01-17 Joseph Myers <joseph@codesourcery.com>
35733 * include/complex.h: Condition contents on [!_COMPLEX_H].
35734 (__kernel_casinhf): New prototype.
35735 (__kernel_casinh): Likewise.
35736 (__kernel_casinhl): Likewise.
35737 * math/Makefile (libm_calls): Add k_casinh.
35738 * math/k_casinh.c: New file.
35739 * math/k_casinhf.c: Likewise.
35740 * math/k_casinhl.c: Likewise.
35741 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
35742 finite nonzero arguments.
35743 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
35744 finite nonzero arguments.
35745 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
35746 finite nonzero arguments.
35747 * math/s_casinh.c: Do not include <float.h>.
35748 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
35749 * math/s_casinhf.c: Do not include <float.h>.
35750 (__casinhf): Move code for finite nonzero arguments to
35752 * math/s_casinhl.c: Do not include <float.h>.
35753 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
35755 (__casinhl): Move code for finite nonzero arguments to
35757 * math/libm-test.inc (cacos_test): Add more tests.
35758 * sysdeps/i386/fpu/libm-test-ulps: Update.
35759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35761 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
35763 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
35764 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
35765 [!HAVE_MREMAP]: Remove [defined linux] case.
35766 * malloc/arena.c: Do not include <malloc-sysdep.h>.
35768 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35770 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
35772 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
35774 * elf/elf.h (R_386_SIZE32): New relocation.
35775 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
35777 (elf_machine_rela): Likewise.
35778 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35779 R_X86_64_SIZE64 and R_X86_64_SIZE32.
35781 2013-01-17 Joseph Myers <joseph@codesourcery.com>
35783 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
35784 (FP_FAST_FMA): Do not define.
35785 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
35786 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
35787 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
35788 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
35789 !_SOFT_FLOAT]: Likewise.
35790 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
35791 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
35793 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
35794 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
35795 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
35796 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
35797 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
35798 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
35801 2013-01-16 Andreas Schwab <schwab@suse.de>
35804 * include/stdlib.h (__mktemp): Add declaration.
35805 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
35806 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
35808 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35810 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
35812 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
35813 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
35814 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
35816 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
35817 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
35819 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
35821 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
35822 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
35823 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
35825 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
35826 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
35828 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
35830 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
35832 2013-01-15 David S. Miller <davem@davemloft.net>
35834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35835 trunc{,f} to libm-sysdep_routes.
35836 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
35839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
35840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
35842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
35844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
35845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
35846 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
35847 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
35848 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
35849 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
35850 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
35851 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
35853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35854 nearbyint{,f} to libm-sysdep_routes.
35855 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
35858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
35860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
35862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
35864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
35865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
35866 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
35868 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
35869 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
35871 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
35872 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
35873 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
35875 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35876 libc_feholdexcept and libc_fesetenv.
35878 2013-01-15 Mike Frysinger <vapier@gentoo.org>
35880 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
35882 2013-01-14 David S. Miller <davem@davemloft.net>
35884 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
35885 (SPARC_ASM_VIS2_IFUNC): Likewise.
35886 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
35887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
35888 use of 'siam' instruction.
35889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
35891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
35893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
35895 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
35896 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
35897 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
35898 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
35899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
35901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
35903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
35905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
35907 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
35908 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
35909 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
35910 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
35911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
35913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35917 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35918 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35919 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35920 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
35922 routines to libm-sysdep_routines.
35923 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35926 fdim/fdimf to libm-sysdep_routines.
35927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
35929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
35930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
35932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
35933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
35934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
35935 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
35936 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
35937 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
35938 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
35940 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
35942 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
35943 to optimize copies.
35945 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
35946 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35947 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35949 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
35950 local variable MPTWO.
35951 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35954 2013-01-13 Mike Frysinger <vapier@gentoo.org>
35956 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
35959 2013-01-13 Mike Frysinger <vapier@gentoo.org>
35961 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
35963 2013-01-13 Mike Frysinger <vapier@gentoo.org>
35965 * manual/pattern.texi (glob_t): Document gl_flags.
35966 (glob64_t): Likewise.
35968 2013-01-11 David S. Miller <davem@davemloft.net>
35970 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
35971 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
35972 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
35973 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
35974 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
35975 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
35976 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
35977 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
35978 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
35979 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
35980 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
35981 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
35982 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
35984 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
35985 sparc V9 rather than using V8 code.
35986 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35987 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35989 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35991 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
35994 2013-01-11 Roland McGrath <roland@hack.frob.com>
35996 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
35997 not in the main loop.
35998 * configure: Regenerated.
36000 2013-01-11 Joseph Myers <joseph@codesourcery.com>
36002 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
36003 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
36005 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
36006 [!__GLIBC_HAVE_LONG_LONG] case.
36007 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
36008 condition to just #else.
36009 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
36010 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
36011 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
36012 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
36014 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
36015 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36016 #elif condition to just #else.
36017 * sysdeps/unix/sysv/linux/sys/sysmacros.h
36018 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
36019 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36020 #elif condition to just #else.
36022 2013-01-11 Steve Ellcey <sellcey@mips.com>
36024 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
36025 (EF_MIPS_ARCH_64): Fix value.
36026 (EF_MIPS_ARCH_32R2): New.
36027 (EF_MIPS_ARCH_64R2): New.
36029 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
36031 * Makeconfig (+link-pie-before-libc): New.
36032 (+link-pie-after-libc): Likewise.
36033 (+link-pie-tests): Likewise.
36034 (+link-pie): Rewritten.
36035 (link-before-libc): Remove $(config-LDFLAGS).
36036 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
36037 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
36038 (config-LDFLAGS): Renamed to ...
36039 (rtld-LDFLAGS): This.
36040 (rtld-tests-LDFLAGS): New macro.
36041 (link-libc-rpath-link): Likewise.
36042 (link-libc-tests-rpath-link): Likewise.
36043 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
36044 (link-libc): Prepand $(link-libc-rpath-link).
36045 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
36046 (test-program-prefix): New macro.
36047 (test-via-rtld-prefix): Likewise.
36048 (test-program-cmd): Likewise.
36049 (host-test-program-cmd): Likewise.
36050 * Makefile ($(common-objpfx)testrun.sh): Replace
36051 $(run-program-prefix) with $(test-program-prefix).
36052 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
36054 ($(common-objpfx)shlib.lds): Likewise.
36055 (build-module-helper): Likewise.
36056 ($(common-objpfx)format.lds): Likewise.
36057 * Rules (binaries-pie-tests): New.
36058 (binaries-pie-notests): Likewise.
36059 (binaries-pie): Rewritten.
36060 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
36061 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
36062 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
36063 (make-test-out): Replace $(host-built-program-cmd) with
36064 $(host-test-program-cmd).
36065 * config.make.in (build-hardcoded-path-in-tests): New variable.
36066 * configure.in (--enable-hardcoded-path-in-tests): New configure
36068 (hardcoded_path_in_tests): New AC_SUBST.
36069 * configure: Regenerated.
36070 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
36071 $(built-program-cmd) with $(test-program-cmd).
36072 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
36073 (test_program_cmd): This.
36074 * elf/Makefile ($(objpfx)order.out): Run test with
36075 $(test-program-prefix).
36076 ($(objpfx)order2.out): Likewise.
36077 ($(objpfx)tst-initorder.out): Likewise.
36078 ($(objpfx)tst-initorder2.out): Likewise.
36079 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
36080 $(test-program-cmd).
36081 ($(objpfx)tst-array1-static.out): Likewise.
36082 ($(objpfx)tst-array2.out): Likewise.
36083 ($(objpfx)tst-array3.out): Likewise.
36084 ($(objpfx)tst-array4.out): Likewise.
36085 ($(objpfx)tst-array5.out): Likewise.
36086 ($(objpfx)tst-array5-static.out): Likewise.
36087 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
36088 $(test-program-cmd).
36089 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
36090 $(run-program-prefix) with $(test-program-prefix).
36091 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
36092 (test_program_prefix): This.
36093 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
36094 $(run-program-prefix) with $(test-program-prefix).
36095 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
36096 (test_program_prefix): This.
36097 * iconvdata/tst-tables.sh: Likewise.
36098 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
36099 $(run-program-prefix) with $(test-program-prefix).
36100 ($(objpfx)tst-translit.out): Likewise.
36101 ($(objpfx)tst-gettext2.out): Likewise.
36102 ($(objpfx)tst-gettext4.out): Likewise.
36103 ($(objpfx)tst-gettext6.out): Likewise.
36104 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
36105 (test_program_prefix): This.
36106 * intl/tst-gettext2.sh: Likewise.
36107 * intl/tst-gettext4.sh Likewise.
36108 * intl/tst-gettext6.sh: Likewise.
36109 * intl/tst-translit.sh: Likewise.
36110 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
36111 with $(test-program-cmd).
36112 * libio/Makefile ($(objpfx)test-freopen.out): Replace
36113 $(run-program-prefix) with $(test-program-prefix).
36114 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
36115 (test_program_prefix): This.
36116 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
36117 $(run-program-prefix) with $(test-program-prefix).
36118 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
36119 (test_program_prefix): This.
36120 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
36121 * posix/Makefile ($(objpfx)globtest.out): Replace
36122 $(run-via-rtld-prefix) and $(test-wrapper) with
36123 $(test-program-prefix) and $(test-via-rtld-prefix).
36124 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
36125 $(test-program-prefix).
36126 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
36127 $(host-test-program-cmd).
36128 (tst-spawn-ARGS): Likewise.
36129 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
36130 $(test-program-prefix).
36131 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
36132 (test_via_rtld_prefix): This.
36133 (test_wrapper): Renamed to ...
36134 (test_program_prefix): This.
36135 (run_program_prefix): Replaced by test_program_prefix.
36136 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
36137 (test_program_prefix): This.
36138 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
36139 with $(host-test-program-cmd).
36140 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
36141 $(run-program-prefix) with $(test-program-prefix).
36142 ($(objpfx)tst-printf.out): Likewise.
36143 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
36144 $(test-program-cmd).
36145 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
36146 (test_program_prefix): This.
36147 * stdio-common/tst-unbputc.sh: Likewise.
36148 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
36149 $(run-program-prefix) with $(test-program-prefix).
36150 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
36151 (test_program_prefix): This.
36152 * string/Makefile ($(objpfx)tst-svc.out): Replace
36153 $(built-program-cmd) with $(test-program-cmd).
36155 2013-01-11 Andreas Jaeger <aj@suse.de>
36158 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
36159 value. Sync with Linux 3.7.
36161 2013-01-10 David S. Miller <davem@davemloft.net>
36163 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
36164 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36165 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36167 2013-01-10 Roland McGrath <roland@hack.frob.com>
36169 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
36171 * configure: Regenerated.
36173 2013-01-10 David S. Miller <davem@davemloft.net>
36175 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36176 sparc V9 rather than using V8 code.
36177 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36178 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36180 2013-01-10 Roland McGrath <roland@hack.frob.com>
36182 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
36183 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
36184 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
36185 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
36186 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
36187 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
36188 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
36189 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
36190 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
36191 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
36192 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
36193 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
36194 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
36195 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
36196 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
36197 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
36198 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
36199 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
36200 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
36201 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
36202 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
36203 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
36204 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
36205 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
36206 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
36207 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
36208 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
36210 2013-01-10 David S. Miller <davem@davemloft.net>
36212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36214 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
36216 * posix/Makefile (tests-static): New variable.
36217 (tests): Add $(tests-static).
36218 (tst-exec-static-ARGS): New variable.
36219 (tst-spawn-static-ARGS): Likewise.
36220 * posix/tst-exec-static.c: New file.
36221 * posix/tst-spawn-static.c: Likewise.
36222 * posix/tst-exec.c: Support run directly.
36223 * posix/tst-spawn.c: Likewise.
36225 2013-01-10 Joseph Myers <joseph@codesourcery.com>
36227 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
36229 * math/bits/mathcalls.h (llrint): Likewise.
36230 (llround): Likewise.
36231 * stdlib/stdlib.h (struct drand48_data): Likewise.
36232 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
36233 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
36234 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
36236 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
36238 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
36239 (elf_greg_t): Likewise.
36240 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
36241 (__jmp_buf): Likewise.
36242 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
36244 (llrint): Likewise, for all definitions.
36245 (llrintl): Likewise.
36247 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
36248 Remove [__GNUC__] condition.
36249 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
36250 condition to just [__USE_ISOC99].
36251 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
36253 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
36256 * sysdeps/unix/sysv/linux/x86/bits/environments.h
36257 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
36259 (_POSIX_V6_ILP32_OFF32): Likewise.
36260 (_XBS5_ILP32_OFF32): Likewise.
36261 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
36262 (__ILP32_OFFBIG_LDFLAGS): Likewise.
36264 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36266 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
36268 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
36269 doubles __mpexp_twomm1. Adjust usage.
36270 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
36273 2013-01-10 Andreas Schwab <schwab@suse.de>
36276 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
36277 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
36279 2013-01-09 David S. Miller <davem@davemloft.net>
36282 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
36283 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
36284 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
36285 (TCP_FASTOPEN): Define.
36286 (tcp_repair_opt): New structure.
36287 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
36289 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
36290 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
36291 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
36292 (tcp_cookie_transactions): New structure.
36294 2013-01-09 Anton Blanchard <anton@samba.org>
36296 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
36297 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
36298 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
36299 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
36301 2013-01-09 Joseph Myers <joseph@codesourcery.com>
36303 * include/features.h (__USE_ANSI): Remove.
36305 2013-01-09 Roland McGrath <roland@hack.frob.com>
36307 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
36309 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
36311 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
36313 * sysdeps/s390/fpu/libm-test-ulps: Update.
36315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36317 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
36321 (denorm): Likewise.
36322 (__mp_dbl): Likewise.
36323 (__dbl_mp): Likewise.
36324 (add_magnitudes): Likewise.
36325 (sub_magnitudes): Likewise.
36331 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
36335 (denorm): Likewise.
36336 (__mp_dbl): Likewise.
36337 (__dbl_mp): Likewise.
36338 (add_magnitudes): Likewise.
36339 (sub_magnitudes): Likewise.
36345 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
36349 (denorm): Likewise.
36350 (__mp_dbl): Likewise.
36351 (__dbl_mp): Likewise.
36352 (add_magnitudes): Likewise.
36353 (sub_magnitudes): Likewise.
36360 2013-01-08 Joseph Myers <joseph@codesourcery.com>
36362 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
36363 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
36364 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
36365 2 && __USE_EXTERN_INLINES]: Likewise.
36367 2013-01-08 Andreas Jaeger <aj@suse.de>
36370 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
36372 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36373 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36375 2013-01-07 Anton Blanchard <anton@samba.org>
36377 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
36378 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
36379 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
36380 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
36381 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
36382 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36383 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
36384 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36385 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36386 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36387 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36388 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36389 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36390 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36391 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
36392 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36393 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36394 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36395 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
36396 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
36397 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
36398 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
36399 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36400 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
36401 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
36402 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
36403 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36404 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
36405 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
36406 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36407 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
36408 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36409 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36410 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36411 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36412 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36413 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36414 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36415 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
36416 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
36417 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
36418 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36419 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36421 2013-01-07 Joseph Myers <joseph@codesourcery.com>
36423 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
36424 (__MALLOC_PMT): Likewise.
36425 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
36426 [__GNUC__], only on [_LIBC].
36427 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36428 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
36429 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36430 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
36431 forward declaration.
36432 (realloc_hook_ini): Likewise.
36433 (memalign_hook_ini): Likewise.
36434 (__libc_memalign): Do not use __MALLOC_PMT in variable
36436 (__libc_valloc): Likewise.
36437 (__libc_pvalloc): Likewise.
36438 (__libc_calloc): Likewise.
36439 (__posix_memalign): Likewise.
36442 * math/s_casinh.c: Include <float.h>.
36443 (__casinh): Do not do computation with squaring and square root
36444 for large arguments.
36445 * math/s_casinhf.c: Include <float.h>.
36446 (__casinhf): Do not do computation with squaring and square root
36447 for large arguments.
36448 * math/s_casinhl.c: Include <float.h>.
36449 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
36450 (__casinhl): Do not do computation with squaring and square root
36451 for large arguments.
36452 * math/libm-test.inc (casin_test): Add more tests.
36453 (casinh_test): Likewise.
36454 * sysdeps/i386/fpu/libm-test-ulps: Update.
36455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36457 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
36459 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
36460 (__x86_64_raw_data_cache_size): Likewise.
36461 (__x86_64_data_cache_size_half): Likewise.
36462 (__x86_64_raw_data_cache_size_half): Likewise.
36463 (__x86_64_shared_cache_size): Likewise.
36464 (__x86_64_raw_shared_cache_size): Likewise.
36465 (__x86_64_shared_cache_size_half): Likewise.
36466 (__x86_64_raw_shared_cache_size_half): Likewise.
36467 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
36469 (__x86_data_cache_size): This.
36470 (__x86_64_raw_data_cache_size): Renamed to ...
36471 (__x86_raw_data_cache_size): This.
36472 (__x86_64_data_cache_size_half): Renamed to ...
36473 (__x86_data_cache_size_half): This.
36474 (__x86_64_raw_data_cache_size_half): Renamed to ...
36475 (__x86_raw_data_cache_size_half): This.
36476 (__x86_64_shared_cache_size): Renamed to ...
36477 (__x86_shared_cache_size): This.
36478 (__x86_64_raw_shared_cache_size): Renamed to ...
36479 (__x86_raw_shared_cache_size): This.
36480 (__x86_64_shared_cache_size_half): Renamed to ...
36481 (__x86_shared_cache_size_half): This.
36482 (__x86_64_raw_shared_cache_size_half): Renamed to ...
36483 (__x86_raw_shared_cache_size_half): This.
36484 * sysdeps/x86_64/memcpy.S: Updated.
36485 * sysdeps/x86_64/memset.S: Likewise.
36486 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36487 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36488 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36490 2013-01-04 David S. Miller <davem@davemloft.net>
36492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36494 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
36496 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
36497 1 to avoid redefinition warning.
36498 (__USE_GNU): Don't define.
36499 (init_signaling_nan): Protoize.
36501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36503 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36505 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
36506 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
36507 (__cpymn): Likewise.
36508 (norm): Remove commented code.
36509 (denorm): Likewise.
36510 (__mp_dbl): Likewise.
36512 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
36513 (__cpymn): Likewise.
36514 (norm): Remove commented code.
36515 (denorm): Likewise.
36516 (__mp_dbl): Likewise.
36519 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
36520 mp_no value for 1.0 and 2.0.
36521 (norm): Use RADIXI instead of radixi.d.
36522 (denorm): Likewise.
36523 (__mul): Use 0.0 instead of zero.d.
36524 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
36525 mp_no value for 1.0 and 2.0.
36526 (norm): Use RADIXI instead of radixi.d.
36527 (denorm): Likewise.
36528 (__mul): Use 0.0 instead of zero.d.
36530 2013-01-04 Joseph Myers <joseph@codesourcery.com>
36533 * math/s_casinh.c (__casinh): Reduce finite argument to first
36534 quadrant then set signs of results at the end.
36535 * math/s_casinhf.c (__casinhf): Likewise.
36536 * math/s_casinhl.c (__casinhl): Likewise.
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 Siddhesh Poyarekar <siddhesh@redhat.com>
36544 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
36546 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
36548 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
36550 (denorm): Likewise.
36551 (__mp_dbl): Likewise.
36554 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
36555 and adjust the header comment.
36557 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
36558 variable name from declaration.
36560 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
36562 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36563 Initialize COMMON_CPUID_INDEX_7 element.
36564 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
36565 (CPUID_RTM): Likewise.
36566 (HAS_RTM): Likewise.
36567 (COMMON_CPUID_INDEX_7): New enum.
36569 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
36572 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
36573 size is zero, record memory as freed.
36575 2013-01-03 Andreas Jaeger <aj@suse.de>
36577 * po/ia.po: Add new Interlingua translation.
36579 2012-01-03 Allan McRae <allan@archlinux.org>
36581 * locale/programs/localedef.c: Fix description of '--posix' flag.
36583 2013-01-02 Joseph Myers <joseph@codesourcery.com>
36585 * NEWS: Update dates in second copyright notice.
36586 * README: Update copyright dates in example.
36587 * manual/libc.texinfo: Update copyright dates.
36588 * scripts/test-installation.pl: Update copyright date in --version
36591 * hurd/ctty-input.c: Fix copyright notice formatting.
36592 * hurd/ctty-output.c: Likewise.
36593 * hurd/dtable.c: Likewise.
36594 * hurd/hurd-raise.c: Likewise.
36595 * hurd/hurdprio.c: Likewise.
36596 * hurd/msgportdemux.c: Likewise.
36597 * misc/sys/file.h: Likewise.
36598 * misc/sys/ioctl.h: Likewise.
36599 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36600 * sysdeps/mach/hurd/chdir.c: Likewise.
36601 * sysdeps/mach/hurd/fchdir.c: Likewise.
36602 * sysdeps/mach/hurd/rename.c: Likewise.
36603 * sysdeps/mach/hurd/rmdir.c: Likewise.
36604 * sysdeps/mach/hurd/seekdir.c: Likewise.
36605 * sysdeps/mach/hurd/setsid.c: Likewise.
36606 * sysdeps/posix/wait3.c: Likewise.
36608 * All files with FSF copyright notices: Update copyright dates
36609 using scripts/update-copyrights.
36610 * intl/plural.c: Regenerated.
36611 * locale/programs/charmap-kw.h: Likewise.
36612 * locale/programs/locfile-kw.h: Likewise.
36614 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36616 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
36619 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
36620 calculation loop and add branch prediction.
36622 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
36623 check access beyond bounds of m1np.
36625 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36627 (__inv): Remove local variable MPTWO to use the global
36629 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
36630 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36632 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
36633 MP3HALFS static const.
36635 2013-01-01 David S. Miller <davem@davemloft.net>
36637 * po/ca.po: Update from translation team.
36639 2013-01-01 Joseph Myers <joseph@codesourcery.com>
36641 * scripts/update-copyrights: New file.
36642 * Makeconfig: Reformat copyright notice.
36643 * ctype/ctype.h: Likewise.
36644 * debug/swprintf_chk.c: Likewise.
36645 * elf/dl-cache.c: Likewise.
36646 * elf/dl-debug.c: Likewise.
36647 * elf/dl-object.c: Likewise.
36648 * grp/initgroups.c: Likewise.
36649 * hurd/Makefile: Likewise.
36650 * hurd/hurd/signal.h: Likewise.
36651 * hurd/hurdfault.c: Likewise.
36652 * hurd/hurdioctl.c: Likewise.
36653 * hurd/hurdlookup.c: Likewise.
36654 * hurd/intr-msg.c: Likewise.
36655 * iconv/gconv_open.c: Likewise.
36656 * libio/swprintf.c: Likewise.
36657 * locale/lc-ctype.c: Likewise.
36658 * locale/nl_langinfo.c: Likewise.
36659 * mach/Machrules: Likewise.
36660 * mach/Makefile: Likewise.
36661 * malloc/obstack.h: Likewise.
36662 * manual/Makefile: Likewise.
36663 * manual/tsort.awk: Likewise.
36664 * misc/bits/stab.def: Likewise.
36665 * nis/nis_print_group_entry.c: Likewise.
36666 * nis/nis_table.c: Likewise.
36667 * nis/nss_compat/compat-pwd.c: Likewise.
36668 * nis/nss_compat/compat-spwd.c: Likewise.
36669 * po/Makefile: Likewise.
36670 * posix/fnmatch.c: Likewise.
36671 * posix/regex.h: Likewise.
36672 * resolv/Makefile: Likewise.
36673 * resolv/nss_dns/dns-network.c: Likewise.
36674 * resolv/res_hconf.c: Likewise.
36675 * scripts/gen-sorted.awk: Likewise.
36676 * soft-fp/soft-fp.h: Likewise.
36677 * stdio-common/printf.h: Likewise.
36678 * stdlib/monetary.h: Likewise.
36679 * stdlib/random.c: Likewise.
36680 * stdlib/random_r.c: Likewise.
36681 * sysdeps/generic/Makefile: Likewise.
36682 * sysdeps/gnu/Makefile: Likewise.
36683 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36684 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36685 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36686 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36687 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36688 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36689 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36690 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36691 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36692 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36693 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36694 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36695 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36696 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36697 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
36698 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36699 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36700 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36701 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36702 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36703 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36704 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36705 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36706 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
36707 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
36708 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
36709 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
36710 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
36711 * sysdeps/mach/hurd/errnos.awk: Likewise.
36712 * sysdeps/mach/hurd/fork.c: Likewise.
36713 * sysdeps/mach/hurd/getcwd.c: Likewise.
36714 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
36715 * sysdeps/mach/hurd/mmap.c: Likewise.
36716 * sysdeps/mach/hurd/utimes.c: Likewise.
36717 * sysdeps/mach/hurd/xmknod.c: Likewise.
36718 * sysdeps/posix/profil.c: Likewise.
36719 * sysdeps/posix/readdir_r.c: Likewise.
36720 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36721 * sysdeps/powerpc/bits/setjmp.h: Likewise.
36722 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
36723 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36724 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36725 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36726 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36727 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36728 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36729 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36730 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36731 * sysdeps/pthread/lio_listio.c: Likewise.
36732 * sysdeps/sparc/dl-procinfo.h: Likewise.
36733 * sysdeps/unix/i386/sysdep.S: Likewise.
36734 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
36735 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
36736 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
36737 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
36738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36739 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
36740 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
36741 * sysdeps/unix/sysv/linux/speed.c: Likewise.
36742 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
36743 * sysdeps/wordsize-32/divdi3.c: Likewise.
36744 * time/sys/time.h: Likewise.
36745 * wcsmbs/Makefile: Likewise.
36747 2013-01-01 David S. Miller <davem@davemloft.net>
36749 * po/fr.po: Update from translation team.
36751 * catgets/gencat.c: Update copyright year.
36752 * csu/version.c: Likewise.
36753 * debug/catchsegv.sh: Likewise.
36754 * debug/pcprofiledump.c: Likewise.
36755 * debug/xtrace.sh: Likewise.
36756 * elf/ldconfig.c: Likewise.
36757 * elf/ldd.bash.in: Likewise.
36758 * elf/pldd.c: Likewise.
36759 * elf/sotruss.ksh: Likewise.
36760 * elf/sprof.c: Likewise.
36761 * iconv/iconv_prog.c: Likewise.
36762 * iconv/iconvconfig.c: Likewise.
36763 * locale/programs/locale.c: Likewise.
36764 * locale/programs/localedef.c: Likewise.
36765 * login/programs/pt_chown.c: Likewise.
36766 * malloc/memusage.sh: Likewise.
36767 * malloc/memusagestat.c: Likewise.
36768 * malloc/mtrace.pl: Likewise.
36769 * nscd/nscd.c: Likewise.
36770 * nss/getent.c: Likewise.
36771 * nss/makedb.c: Likewise.
36772 * posix/getconf.c: Likewise.
36774 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36776 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
36779 2012-12-30 Mike Frysinger <vapier@gentoo.org>
36781 * math/bits/mathcalls.h (modf): Use __nonnull.
36783 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36785 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
36786 (split): Use macro CN instead of the bare value.
36787 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
36789 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
36790 instead of the bare value.
36791 (power1): Likewise.
36793 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36795 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
36797 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36799 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
36801 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36802 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36803 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
36804 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36806 2012-12-28 Andreas Jaeger <aj@suse.de>
36808 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
36809 values are from Linux 3.7.
36811 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
36812 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
36814 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36816 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
36819 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
36821 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
36822 variables with preprocessor constants.
36823 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36824 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36825 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36827 2012-12-27 Bruno Haible <bruno@clisp.org>
36830 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
36833 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36835 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
36836 and use variable directly.
36837 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
36839 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36841 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
36842 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36844 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36845 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36846 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
36847 include directive. Remove local variable MPONE.
36848 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
36849 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
36850 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36852 2012-12-25 David S. Miller <davem@davemloft.net>
36854 * version.h (RELEASE): Set to "development".
36855 (VERSION): Set to "2.17.90".
36856 * NEWS: Add 2.18 section.
36858 2012-12-21 David S. Miller <davem@davemloft.net>
36860 * po/hr.po: Update from translation team.
36862 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36864 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
36866 2012-12-19 Steve Ellcey <sellcey@mips.com>
36868 * NEWS: Mention new memcpy for MIPS.
36870 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36872 * manual/contrib.texi (Contributors): Spelling correction.
36874 2012-12-15 David S. Miller <davem@davemloft.net>
36876 * po/ru.po: Update from translation team.
36878 2012-12-13 David S. Miller <davem@davemloft.net>
36880 * NEWS: Mention IFUNC testsuite enhancements.
36882 * po/pl.po: Update from translation team.
36883 * po/bg.po: Likewise.
36885 * manual/contrib.texi (Contributors): Update entries for Hongjiu
36886 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
36888 2012-12-11 David S. Miller <davem@davemloft.net>
36890 * po/sv.po: Update from translation team.
36892 * po/vi.po: Update from translation team.
36894 * po/cs.po: Update from translation team.
36896 * po/de.po: Update from translation team.
36897 * po/eo.po: Likewise.
36898 * po/nl.po: Likewise.
36900 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
36903 * manual/argp.texi (Argp Helper Functions): Move node to follow
36904 Argp Parsing State.
36907 * manual/conf.texi (Limits on File System Capacity): Mention if
36908 terminating null is included in the max size.
36910 2012-12-10 Andreas Jaeger <aj@suse.de>
36912 * po/cs.po: Update from translation team.
36914 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
36916 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
36917 void pointer and cast to uintptr_t.
36918 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
36920 * sysdeps/s390/s390-64/memcpy.S: Likewise.
36921 * sysdeps/s390/s390-64/memset.S: Likewise.
36923 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
36926 * menual/message.texi (Message Translation): Fix typos.
36927 (Helper programs for gettext): Likewise.
36929 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
36932 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
36935 2012-12-07 David S. Miller <davem@davemloft.net>
36937 * po/libc.pot: Update.
36939 2012-12-07 Richard Henderson <rth@redhat.com>
36942 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
36943 normal/normal case to before the switch.
36944 (_FP_DIV): Likewise.
36946 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
36947 Mike Frysinger <vapier@gentoo.org>
36949 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
36950 check for __NR_fadvise64_64.
36952 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
36954 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
36955 0, not just to plain "0" as a statement.
36956 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
36959 2012-12-06 Joseph Myers <joseph@codesourcery.com>
36961 * NEWS: Use sourceware.org in Bugzilla URL.
36963 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
36965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36966 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
36968 * stdio-common/tst-put-error.c (do_test): Add newline to the
36969 padded test to ensure flush.
36971 2012-12-05 Jeff Law <law@redhat.com>
36973 * sunrpc/etc.rpc (fedfs_admin): Add entry.
36975 2012-12-05 Joseph Myers <joseph@codesourcery.com>
36977 * README: Don't refer to ports add-on as distributed separately.
36978 Mention AArch64 in list of systems supported in the ports add-on.
36980 * LICENSES: Add more non-FSF copyright and license notices.
36982 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
36985 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
36987 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
36988 10000 as width of padded output.
36990 2012-12-04 Joseph Myers <joseph@codesourcery.com>
36992 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
36994 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
36995 variable LX with __attribute__ ((unused)).
36996 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
36998 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
36999 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37000 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
37001 with __attribute__ ((unused)).
37003 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
37005 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
37007 2012-12-04 Joseph Myers <joseph@codesourcery.com>
37009 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
37010 (CFLAGS-nldbl-acos.c): New variable.
37011 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
37012 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
37013 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
37014 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
37015 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
37016 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
37017 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
37018 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
37019 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
37020 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
37021 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
37022 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
37023 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
37024 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
37025 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
37026 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
37027 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
37028 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
37029 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
37030 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
37031 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
37032 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
37033 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
37034 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
37035 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
37036 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
37037 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
37038 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
37039 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
37040 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
37041 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
37042 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
37043 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
37044 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
37045 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
37046 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
37047 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
37048 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
37049 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
37050 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
37051 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
37052 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
37053 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
37054 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
37055 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
37056 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
37057 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
37058 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
37059 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
37060 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
37061 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
37062 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
37063 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
37064 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
37065 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
37066 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
37067 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
37068 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
37069 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
37070 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
37071 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
37072 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
37073 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
37074 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
37075 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
37076 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
37077 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
37078 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
37079 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
37080 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
37081 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
37082 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
37083 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
37084 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
37085 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
37086 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
37087 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
37088 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
37089 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
37090 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
37091 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
37092 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
37093 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
37094 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
37095 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
37096 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
37097 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
37098 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
37099 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
37100 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
37101 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
37102 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
37103 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
37104 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
37105 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
37106 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
37107 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
37109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37110 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37113 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
37114 whole low double instead of just low 47 bits when splitting values
37117 2012-12-03 Allan McRae <allan@archlinux.org>
37119 * manual/stdio.texi (Predefined Printf Handlers): Remove
37120 @hsep and @vsep usage.
37122 2012-12-03 Mike Frysinger <vapier@gentoo.org>
37124 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
37125 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
37127 2012-12-03 Jeff Law <law@redhat.com>
37129 * time/sys/time.h (settimeofday): Do not mark TV argument
37132 2012-12-01 Mike Frysinger <vapier@gentoo.org>
37134 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
37135 when currently writing and seek to current position when not.
37136 * libio/Makefile (tests): Remove bug-fclose1.
37137 * libio/bug-fclose1.c: Delete.
37139 2012-12-01 Joseph Myers <joseph@codesourcery.com>
37141 * manual/arith.texi (feenableexcept): Fix typo.
37142 (fedisableexcept): Likewise.
37144 2012-11-30 Roland McGrath <roland@hack.frob.com>
37146 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
37147 second, differently-typed declaration, rather than a cast.
37149 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37151 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
37152 * include/rpc/svc.h: ... here.
37154 2012-11-30 Aurelien Jarno <aurel32@debian.org>
37157 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
37158 depending n and resplen2 to catch cases where answer
37161 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
37163 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
37164 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
37166 2012-11-29 Mike Frysinger <vapier@gentoo.org>
37168 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
37170 2012-11-29 Roland McGrath <roland@hack.frob.com>
37172 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
37174 2012-11-28 Jeff Law <law@redhat.com>
37177 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
37178 dataset_temporary. Track alloca usage into alloca_used.
37179 If dataset is large allocate and release it via malloc/free.
37181 2012-06-04 Florian Weimer <fweimer@redhat.com>
37184 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
37186 2012-11-28 David S. Miller <davem@davemloft.net>
37188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37190 2012-11-28 Joseph Myers <joseph@codesourcery.com>
37193 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
37194 of pi/2 rounded to nearest to 64 bits.
37195 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
37196 nearest to 64 bits.
37197 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
37200 2012-11-28 Jeff Law <law@redhat.com>
37201 Martin Osvald <mosvald@redhat.com>
37204 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
37205 * sunrpc/svc.c: Include time.h.
37206 (__svc_accept_failed): New function.
37207 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
37208 any reason other than EINTR, call __svc_accept_failed.
37209 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
37210 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
37212 2012-11-28 Andreas Schwab <schwab@suse.de>
37214 * scripts/abilist.awk: Also handle indirect functions in .opd
37217 2012-11-28 Joseph Myers <joseph@codesourcery.com>
37220 * sysdeps/x86/fpu/powl_helper.c: New file.
37221 * sysdeps/x86/fpu/Makefile: Likewise.
37222 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
37224 (__ieee754_powl): Use __powl_helper for finite arguments except
37225 integer exponents below 8.
37226 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
37228 (__ieee754_powl): Use __powl_helper for finite arguments except
37229 integer exponents below 8.
37230 * math/libm-test.inc (pow_test): Add more tests and enable some
37231 previously disabled tests.
37232 * sysdeps/i386/fpu/libm-test-ulps: Update.
37233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37235 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37236 Carlos O'Donell <carlos_odonell@mentor.com>
37238 * nss/makedb.c (is_prime): Assert that input is odd and greater
37239 than 4. Note that fact in a comment too.
37240 (next_prime): Add 4 to input.
37242 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37245 * libio/Makefile (tests): Add test case tst-fwrite-error.
37246 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
37247 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
37248 * libio/tst-fwrite-error.c: New test case.
37250 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
37252 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
37253 before casting to void *.
37254 * include/libc-internal.h (__pointer_type): New macro.
37255 (__integer_if_pointer_type_sub): Likewise.
37256 (__integer_if_pointer_type): Likewise.
37257 (cast_to_integer): Likewise.
37258 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
37259 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
37260 before casting to atomic64_t.
37261 (atomic_exchange_acq): Likewise.
37262 (__arch_exchange_and_add_body): Likewise.
37263 (__arch_add_body): Likewise.
37264 (atomic_add_negative): Likewise.
37265 (atomic_add_zero): Likewise.
37267 2012-11-26 Joseph Myers <joseph@codesourcery.com>
37269 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
37270 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
37271 (add_fdes): Likewise.
37272 (linear_search_fdes): Likewise.
37273 (binary_search_unencoded_fdes): Likewise.
37275 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
37277 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
37279 2012-11-24 Adam Conrad <adconrad@0c3.net>
37281 * configure.in: Autodetect C++ header directories.
37282 * configure: Regenerated.
37284 2012-11-23 Mike Frysinger <vapier@gentoo.org>
37286 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
37288 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
37290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37292 2012-11-22 Joseph Myers <joseph@codesourcery.com>
37294 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
37295 LDBL_MANT_DIG == 106]: Disable some tests.
37296 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37298 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37302 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
37303 input for small inputs. Return +/- pi/2 for large inputs.
37304 * math/libm-test.inc (atan_test): Add more tests.
37306 * sysdeps/generic/unwind-dw2-fde-glibc.c
37307 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
37308 __attribute__ ((unused)).
37311 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
37312 x * y if x and y are nonzero and z is zero.
37315 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
37316 nonzero exponents with absolute value below 0x1p-117 to +/-
37320 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
37321 up arguments below 2**-450, not just those below 2**-500.
37322 * math/libm-test.inc (hypot_test): Add another test.
37325 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
37326 Return a+b for ratio over 2**120, not 2**60.
37327 * math/libm-test.inc (hypot_test): Add another test.
37329 * math/libm-test.inc (clog_test): Use
37330 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
37331 (clog10_test): Likewise.
37334 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
37336 2012-11-22 Andreas Schwab <schwab@suse.de>
37338 * sysdeps/i386/fpu/libm-test-ulps: Update.
37340 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
37342 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
37343 printf output with newline.
37345 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
37348 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
37349 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
37350 -z nodlopen, -z initfirst and -z execstack support.
37351 * configure: Regenerated.
37353 * elf/elf.h (DF_1_NODIRECT): New macro.
37354 (DF_1_IGNMULDEF): Likewise.
37355 (DF_1_NOKSYMS): Likewise.
37356 (DF_1_NOHDR): Likewise.
37357 (DF_1_EDITED): Likewise.
37358 (DF_1_NORELOC): Likewise.
37359 (DF_1_SYMINTPOSE): Likewise.
37360 (DF_1_GLOBAUDIT): Likewise.
37361 (DF_1_SINGLETON): Likewise.
37362 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
37363 DT_1_SUPPORTED_MASK bits.
37364 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
37366 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
37368 * sysdeps/unix/make-syscalls.sh: Document prefixes.
37370 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
37372 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
37375 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
37376 (sendmmsg): Move declarations...
37377 * socket/sys/socket.h: ... here.
37378 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
37379 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
37381 * socket/recvmmsg.c: ... this new file.
37382 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
37383 (sendmmsg): Rename to __sendmmsg, create weak alias and make
37384 definition of __sendmmsg hidden.
37385 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
37386 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
37387 Move ENOSYS stub into and include it from...
37388 * socket/sendmmsg.c: ... this new file.
37389 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
37390 (sysdep_routines): Move recvmmsg and sendmmsg...
37391 * socket/Makefile (routines): ... here.
37392 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
37393 (GLIBC_PRIVATE): Add __sendmmsg.
37394 * include/sys/socket.h (__sendmmsg): Add declarations.
37395 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
37398 2012-11-20 Joseph Myers <joseph@codesourcery.com>
37400 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
37401 variable I1 with __attribute__ ((unused)).
37402 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37404 2012-11-19 Joseph Myers <joseph@codesourcery.com>
37406 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
37407 DUMMY variables with __attribute__ ((unused)).
37409 * bits/byteswap.h: Include <bits/types.h>.
37410 (__bswap_64): Use __uint64_t instead of unsigned long long int.
37412 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
37414 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
37415 string_t. Do not manually set errno.
37416 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
37417 length with __strnlen. Make sure to both set errno and return it on
37420 2012-11-19 David S. Miller <davem@davemloft.net>
37422 With help from Joseph Myers.
37423 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
37424 very large arguments properly.
37425 * math/libm-test.inc (atan_test): New tests.
37426 (atan2_test): New tests.
37427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37428 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37430 2012-11-19 Joseph Myers <joseph@codesourcery.com>
37433 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
37436 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
37437 [POSIX] (EADDRNOTAVAIL): Likewise.
37438 [POSIX] (EAFNOSUPPORT): Likewise.
37439 [POSIX] (EALREADY): Likewise.
37440 [POSIX] (ECONNABORTED): Likewise.
37441 [POSIX] (ECONNREFUSED): Likewise.
37442 [POSIX] (ECONNRESET): Likewise.
37443 [POSIX] (EDESTADDRREQ): Likewise.
37444 [POSIX] (EDQUOT): Likewise.
37445 [POSIX] (EHOSTUNREACH): Likewise.
37446 [POSIX] (EIDRM): Likewise.
37447 [POSIX] (EISCONN): Likewise.
37448 [POSIX] (ELOOP): Likewise.
37449 [POSIX] (EMULTIHOP): Likewise.
37450 [POSIX] (ENETDOWN): Likewise.
37451 [POSIX] (ENETUNREACH): Likewise.
37452 [POSIX] (ENOBUFS): Likewise.
37453 [POSIX] (ENODATA): Likewise.
37454 [POSIX] (ENOLINK): Likewise.
37455 [POSIX] (ENOMSG): Likewise.
37456 [POSIX] (ENOPROTOOPT): Likewise.
37457 [POSIX] (ENOSR): Likewise.
37458 [POSIX] (ENOSTR): Likewise.
37459 [POSIX] (ENOTCONN): Likewise.
37460 [POSIX] (ENOTSOCK): Likewise.
37461 [POSIX] (EOPNOTSUPP): Likewise.
37462 [POSIX] (EOVERFLOW): Likewise.
37463 [POSIX] (EPROTO): Likewise.
37464 [POSIX] (EPROTONOSUPPORT): Likewise.
37465 [POSIX] (EPROTOTYPE): Likewise.
37466 [POSIX] (ESTALE): Likewise.
37467 [POSIX] (ETIME): Likewise.
37468 [POSIX] (ETXTBSY): Likewise.
37469 [POSIX] (EWOULDBLOCK): Likewise.
37470 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
37471 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
37472 [POSIX] (SEEK_CUR): Likewise.
37473 [POSIX] (SEEK_END): Likewise.
37474 [POSIX || UNIX98] (mode_t): Do not require.
37475 [POSIX] (off_t): Likewise.
37476 [POSIX] (pid_t): Likewise.
37477 [POSIX] (sys/stat.h): Do not allow header.
37478 [POSIX] (unistd.h): Likewise.
37479 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
37480 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
37481 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
37482 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
37484 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
37485 sigevent): Specify elements.
37486 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
37488 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
37489 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
37491 * conform/data/cpio.h-data [POSIX]: Disable whole file.
37492 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
37493 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
37494 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
37495 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
37496 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
37497 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
37498 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
37499 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
37500 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
37501 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
37502 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
37503 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
37504 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
37506 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
37508 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
37510 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
37512 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
37513 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
37514 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
37515 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
37516 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
37517 Specify lower bound on value.
37518 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
37519 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
37520 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
37521 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
37522 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
37523 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
37524 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
37525 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
37527 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
37529 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
37530 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
37531 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
37532 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
37533 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
37534 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
37535 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
37536 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
37537 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
37538 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
37539 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
37540 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
37541 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
37542 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
37543 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
37544 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
37546 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
37548 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
37549 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
37550 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
37551 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
37552 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
37553 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
37555 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
37556 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
37557 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
37558 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
37559 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
37560 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
37561 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
37563 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
37564 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
37565 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
37566 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
37567 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
37568 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
37569 specify as optional.
37570 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
37571 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
37572 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
37573 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
37574 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
37575 [XPG3] (NL_LANGMAX): Likewise.
37576 [POSIX || XPG3] (NL_MSGMAX): Likewise.
37577 [POSIX || XPG3] (NL_NMAX): Likewise.
37578 [POSIX || XPG3] (NL_SETMAX): Likewise.
37579 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
37580 [XPG3] (NZERO): Likewise.
37581 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
37582 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
37583 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
37584 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
37585 (REG_ERANGE): Expect.
37586 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
37588 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
37589 Use (void) in prototype.
37590 [POSIX] (*_t): Allow.
37591 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
37592 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
37593 (WRDE_BADVAL): Expect.
37595 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
37597 [XPG3 || XPG4] (O_RSYNC): Likewise.
37598 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
37600 [XPG3 || XPG4] (pthread_sigmask): Likewise.
37601 [XPG3 || XPG4] (sigqueue): Likewise.
37602 [XPG3 || XPG4] (sigtimedwait): Likewise.
37603 [XPG3 || XPG4] (sigwaitinfo): Likewise.
37604 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
37605 [XPG3 || XPG4] (vsnprintf): Likewise.
37606 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
37608 [XPG3 || XPG4] (blksize_t): Likewise.
37609 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
37611 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
37612 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37613 [XPG3 || XPG4] (struct itimerspec): Likewise.
37614 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
37615 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
37616 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
37617 [XPG3 || XPG4] (clockid_t): Likewise.
37618 [XPG3 || XPG4] (timer_t): Likewise.
37619 [XPG3 || XPG4] (clock_getres): Likewise.
37620 [XPG3 || XPG4] (clock_gettime): Likewise.
37621 [XPG3 || XPG4] (clock_settime): Likewise.
37622 [XPG3 || XPG4] (nanosleep): Likewise.
37623 [XPG3 || XPG4] (timer_create): Likewise.
37624 [XPG3 || XPG4] (timer_delete): Likewise.
37625 [XPG3 || XPG4] (timer_gettime): Likewise.
37626 [XPG3 || XPG4] (timer_getoverrun): Likewise.
37627 [XPG3 || XPG4] (timer_settime): Likewise.
37628 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
37629 [XPG3 || XPG4] (getlogin_r): Likewise.
37630 [XPG3 || XPG4] (pread): Likewise.
37631 [XPG3 || XPG4] (pthread_atfork): Likewise.
37632 [XPG3 || XPG4] (pwrite): Likewise.
37635 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
37638 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
37640 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
37641 finalizing MALLSTREAM.
37643 * sysdeps/mach/hurd/syncfs.c: New file.
37645 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37648 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
37649 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
37650 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
37651 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
37652 (_nss_dns_gethostbyname4_r): Likewise.
37653 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
37654 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
37656 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
37659 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
37661 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
37663 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
37664 * elf/cache.c (print_entry): Print ",AArch64" for
37667 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
37668 * elf/cache.c (print_entry): Print ",hard-float" for
37671 2012-11-18 David S. Miller <davem@davemloft.net>
37673 With help from Joseph Myers.
37674 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
37676 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
37678 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
37679 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
37681 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
37682 * math/libm-test.inc (y0_test): New tests.
37683 (y1_test): New tests.
37684 * sysdeps/i386/fpu/libm-test-ulps: Update.
37685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37688 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
37690 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
37692 * configure: Regenerated.
37694 2012-11-17 David S. Miller <davem@davemloft.net>
37697 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
37698 nonzero exponents with absolute value below 0x1p-128 to +/-
37701 2012-11-17 Joseph Myers <joseph@codesourcery.com>
37703 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
37705 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
37707 * posix/getconf-speclist.c: New file.
37708 * posix/posix-envs.def: Likewise.
37709 * posix/confstr.c (START_ENV_GROUP): New macro.
37710 (END_ENV_GROUP): Likewise.
37711 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37712 (KNOWN_PRESENT_ENV_STRING): Likewise.
37713 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37714 (UNKNOWN_ENVIRONMENT): Likewise.
37715 (confstr): Include posix-envs.def instead of handling
37716 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
37717 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
37718 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
37719 (END_ENV_GROUP): Likewise.
37720 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37721 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37722 (UNKNOWN_ENVIRONMENT): Likewise.
37723 (__sysconf): Include posix-envs.def instead of handling associated
37724 cases directly here.
37725 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
37726 preprocessing getconf-speclist.c rather than running getconf or
37727 generating empty file.
37729 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
37731 * scripts/check-local-headers.sh: Ignore 'mach' headers.
37733 2012-11-16 Andrej Lajovic <natrij@gmail.com>
37736 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
37738 2012-11-16 David S. Miller <davem@davemloft.net>
37740 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
37741 smaller than LDBL_EPSILON/2.0L, just return xm1.
37743 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
37745 * elf/tst-array1.c (init): Set constructor priority to 1000.
37746 (fini): Set destructor priority to 1000.
37747 * elf/tst-array2dep.c: Likewise.
37749 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37752 * libio/fileops.c (_IO_new_file_write): Correctly return error.
37753 (_IO_new_file_xsputn): Also return EOF if none of the input
37754 data was written when overflow failed.
37755 * libio/iopadn.c (_IO_padn): Likewise.
37756 * libio/iowpadn.c (_IO_wpadn): Likewise.
37757 * stdio-common/tst-put-error.c: Add copyright notice.
37758 (do_test): Add case for printing padded string.
37759 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
37760 _IO_padn returned error.
37761 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
37762 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
37765 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37767 * libio/libioP.h: Add comment note that the references to C++
37768 bits are now obsolete.
37770 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37772 * math/libm-test.inc (check_complex): Use asprintf.
37774 2012-11-14 Joseph Myers <joseph@codesourcery.com>
37776 * debug/pcprofiledump.c (print_version): Update copyright year.
37777 * malloc/memusagestat.c (print_version): Likewise.
37779 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
37782 * elf/Makefile (tests): Add tst-audit8.
37783 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
37784 ($(objpfx)tst-audit8.out): New target.
37785 (tst-audit8-ENV): New variable.
37786 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
37787 audit if l_reloc_result is NULL.
37788 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
37789 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
37790 * elf/tst-audit8.c: New file.
37792 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37794 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
37795 * misc/Makefile (CFLAGS-select.c): Define.
37796 * posix/Makefile (CFLAGS-pause.c): Define.
37798 2012-11-13 David S. Miller <davem@davemloft.net>
37800 * crypt/Makefile: Move test targets after toplevel Rules
37801 inclusion. Grab any necessary sysdep routines when linking.
37802 * crypt/md5.c (md5_process_block): Remove define, we will always
37803 name it __md5_process_block.
37804 (md5_finish_ctx): Update md5_process_block call.
37805 (md5_stream): Likewise.
37806 (md5_process_bytes): Likewise.
37807 (md5_process_block): Rename to __md5_process_block and move to ...
37808 * crypt/md5-block.c: ... here.
37809 * crypt/sha256.c (sha256_process_block): Move to ...
37810 * crypt/sha256-block.c: ... here.
37811 * crypt/sha512.c (sha512_process_block): Move to ...
37812 * crypt/sha512-block.c: ... here.
37813 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
37815 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
37816 * sysdeps/sparc/sparc64/multiarch/Makefile
37817 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
37819 (localedef-aux): Add md5 crypto assembler when in locale subdir.
37820 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
37822 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
37823 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
37824 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
37825 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
37826 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
37827 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
37828 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
37829 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
37830 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
37832 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
37833 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
37835 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
37837 2012-11-13 Joseph Myers <joseph@codesourcery.com>
37839 * timezone/tzselect.ksh: Update from tzcode git revision
37840 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
37841 * timezone/zdump.c: Likewise.
37842 * timezone/zic.c: Likewise.
37843 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
37844 in TZVERSION setting, not $(PKGVERSION).
37845 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
37846 REPORT_BUGS_TO settings.
37849 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
37852 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37854 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
37855 detection to immediately after _FP_ROUND().
37856 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
37859 2012-11-11 David S. Miller <davem@davemloft.net>
37861 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
37863 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
37864 __close rather than their public counterparts.
37866 2012-11-10 Joseph Myers <joseph@codesourcery.com>
37868 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
37870 [UNIX98] (sem_timedwait): Do not expect.
37871 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
37872 [XPG4 || UNIX98] (sockatmark): Do not expect.
37873 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
37874 (clock_getcpuclockid): Do not expect.
37875 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
37876 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
37878 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
37879 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
37880 [UNIX98] (vwscanf): Likewise.
37881 [UNIX98] (vswscanf): Likewise.
37883 2012-11-09 Joseph Myers <joseph@codesourcery.com>
37885 * timezone/version.h: Remove file.
37886 * timezone/README: Do not refer to version.h.
37887 * timezone/Makefile ($(objpfx)zic.o): New dependency on
37888 $(objpfx)version.h.
37889 ($(objpfx)zdump.o): Likewise.
37890 ($(objpfx)version.h): New target.
37892 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
37894 * timezone/README: Don't mention modification to tzselect.ksh.
37895 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
37896 work on unmodified tzselect.ksh. Substitute version numbers in
37899 * Makefile (format-me): Remove.
37900 (INSTALL): Adjust indentation. Use commands directly instead of
37901 using $(format-me).
37903 * aclocal.m4 (ACX_PKGVERSION): New macro.
37904 (ACX_BUGURL): Likewise.
37905 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
37906 (PKGVERSION): New AC_DEFINE_UNQUOTED.
37907 (REPORT_BUGS_TO): Likewise.
37908 * configure: Regenerated.
37909 * config.h.in (PKGVERSION): New macro.
37910 (REPORT_BUGS_TO): Likewise.
37911 * config.make.in (PKGVERSION): New variable.
37912 (PKGVERSION_TEXI): Likewise.
37913 (REPORT_BUGS_TO): Likewise.
37914 (REPORT_BUGS_TEXI): Likewise.
37915 * Makefile (format-me): Use -I$(common-objpfx)manual.
37916 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
37917 ($(common-objpfx)manual/%): New target.
37918 (manual/%): Remove target.
37919 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
37920 (print_version): Use PKGVERSION.
37921 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
37922 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
37923 and REPORT_BUGS_TO.
37924 ($(objpfx)xtrace): Likewise.
37925 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
37926 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
37927 (print_version): Use PKGVERSION.
37928 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
37929 (do_version): Use PKGVERSION.
37930 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
37932 (common-ldd-rewrite): Likewise.
37933 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
37934 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
37935 (print_version): Use PKGVERSION.
37936 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
37937 * elf/pldd.c (argp_program_bug_address): Remove variable.
37938 (more_help): New function.
37939 (argp): Use more_help.
37940 (print_version): Use PKGVERSION.
37941 * elf/sln.c (main): Use PKGVERSION.
37942 (usage): Use REPORT_BUGS_TO.
37943 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
37944 (top level): Use PKGVERSION.
37945 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
37946 (print_version): Use PKGVERSION.
37947 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
37948 (print_version): Use PKGVERSION.
37949 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
37950 (print_version): Use PKGVERSION.
37951 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
37952 (print_version): Use PKGVERSION.
37953 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
37954 (print_version): Use PKGVERSION.
37955 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
37956 (print_version): Use PKGVERSION.
37957 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
37959 ($(objpfx)memusage): Likewise.
37960 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
37961 (do_version): Use PKGVERSION.
37962 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
37963 (print_version): Use PKGVERSION.
37964 * malloc/mtrace.pl ($PACKAGE): Remove variable.
37965 ($PKGVERSION): New variable.
37966 ($REPORT_BUGS_TO): Likewise.
37967 (usage): Use $REPORT_BUGS_TO.
37968 (top level): Use $PKGVERSION.
37969 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
37970 ($(objpfx)pkgvers.texi): New rule.
37971 ($(objpfx)stamp-pkgvers): Likewise.
37972 * manual/install.texi: Include pkgvers.texi.
37973 (--with-pkgversion): Document new configure option.
37974 (--with-bugurl): Likewise.
37975 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
37976 than necessarily for this particular distribution. Use
37977 REPORT_BUGS_TO for where to report bugs.
37978 * INSTALL: Regenerated.
37979 * manual/libc.texinfo: Include pkgvers.texi.
37980 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
37981 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
37982 (print_version): Use PKGVERSION.
37983 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
37984 (print_version): Use PKGVERSION.
37985 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
37986 (print_version): Use PKGVERSION.
37987 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
37988 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
37990 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
37991 (print_version): Use PKGVERSION.
37992 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
37993 (print_version): Use PKGVERSION.
37994 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
37997 * timezone/checktab.awk: Update from tzcode 2012i.
37998 * timezone/ialloc.c: Likewise.
37999 * timezone/private.h: Likewise.
38000 * timezone/scheck.c: Likewise.
38001 * timezone/tzfile.h: Likewise.
38002 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
38003 (TZVERSION): Hardcode tzcode version number.
38004 * timezone/zdump.c: Update from tzcode 2012i.
38005 * timezone/zic.c: Likewise.
38006 * timezone/version.h: New file.
38007 * timezone/README: Describe version.h. Update upstream location.
38010 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
38011 (mktemp): Enable declaration.
38012 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
38013 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
38014 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
38015 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
38017 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
38019 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
38021 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
38023 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
38025 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
38029 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
38030 offset in buffer as u_int32_t not u_long. Consistently use memcpy
38031 for copies of such integer values.
38032 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38033 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38035 2012-11-09 Andreas Jaeger <aj@suse.de>
38037 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
38038 definitions and declarations that are provided by
38039 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38041 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38043 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
38044 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
38045 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
38048 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38050 * elf/elf.h: Update comment before AArch64 relocations.
38052 2012-11-07 David S. Miller <davem@davemloft.net>
38054 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
38055 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38056 (__start_context): Declare.
38057 (__makecontext_ret): Delete.
38058 (__makecontext): Hook up __start_context instead of
38060 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
38061 (sysdep_routines): Add __start_context when in stdlib.
38063 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38065 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
38066 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
38067 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
38069 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
38070 (READELF): New variable. Use it instead of hardcoded "readelf".
38072 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
38074 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
38075 * sysdeps/x86/Makefile: Here.
38076 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
38077 * sysdeps/x86/tst-xmmymm.sh: This.
38079 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38081 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
38083 [UNIX98] (pthread_barrier_t): Do not expect.
38084 [UNIX98] (pthread_barrierattr_t): Likewise.
38085 [UNIX98] (pthread_spinlock_t): Likewise.
38086 [UNIX98] (pthread_barrier_destroy): Likewise.
38087 [UNIX98] (pthread_barrier_init): Likewise.
38088 [UNIX98] (pthread_barrier_wait): Likewise.
38089 [UNIX98] (pthread_barrierattr_destroy): Likewise.
38090 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
38091 [UNIX98] (pthread_barrierattr_init): Likewise.
38092 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
38093 [UNIX98] (pthread_getcpuclockid): Likewise.
38094 [UNIX98] (pthread_mutex_timedlock): Likewise.
38095 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
38096 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
38097 [UNIX98] (pthread_sigmask): Likewise.
38098 [UNIX98] (pthread_spin_destroy): Likewise.
38099 [UNIX98] (pthread_spin_init): Likewise.
38100 [UNIX98] (pthread_spin_lock): Likewise.
38101 [UNIX98] (pthread_spin_trylock): Likewise.
38102 [UNIX98] (pthread_spin_unlock): Likewise.
38103 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
38105 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
38106 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
38107 [XPG3 || XPG4] (pthread_cond_t): Likewise.
38108 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
38109 [XPG3 || XPG4] (pthread_key_t): Likewise.
38110 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
38111 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
38112 [XPG3 || XPG4] (pthread_once_t): Likewise.
38113 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
38114 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
38115 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
38116 [XPG3 || XPG4] (pthread_t): Likewise.
38118 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
38120 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
38122 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
38123 Change function return type to int.
38125 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
38126 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
38127 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
38128 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
38129 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
38130 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
38131 [!POSIX] (posix_madvise): Likewise.
38132 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
38134 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
38135 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
38136 (mode_t): Likewise.
38137 (posix_mem_offset): Likewise.
38138 (posix_typed_mem_get_info): Likewise.
38139 (posix_typed_mem_open): Likewise.
38141 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
38142 Change condition to [XOPEN2K8].
38144 * conform/conformtest.pl: Preprocess allow-header data with -x c
38145 instead of from stdin.
38146 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
38147 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
38148 [C99-based standards] (cerfc): Likewise.
38149 [C99-based standards] (cexp2): Likewise.
38150 [C99-based standards] (cexpm1): Likewise.
38151 [C99-based standards] (clog10): Likewise.
38152 [C99-based standards] (clog1p): Likewise.
38153 [C99-based standards] (clog2): Likewise.
38154 [C99-based standards] (clgamma): Likewise.
38155 [C99-based standards] (ctgamma): Likewise.
38156 [C99-based standards] (cerff): Likewise.
38157 [C99-based standards] (cerfcf): Likewise.
38158 [C99-based standards] (cexp2f): Likewise.
38159 [C99-based standards] (cexpm1f): Likewise.
38160 [C99-based standards] (clog10f): Likewise.
38161 [C99-based standards] (clog1pf): Likewise.
38162 [C99-based standards] (clog2f): Likewise.
38163 [C99-based standards] (clgammaf): Likewise.
38164 [C99-based standards] (ctgammaf): Likewise.
38165 [C99-based standards] (cerfl): Likewise.
38166 [C99-based standards] (cerfcl): Likewise.
38167 [C99-based standards] (cexp2l): Likewise.
38168 [C99-based standards] (cexpm1l): Likewise.
38169 [C99-based standards] (clog10l): Likewise.
38170 [C99-based standards] (clog1pl): Likewise.
38171 [C99-based standards] (clog2l): Likewise.
38172 [C99-based standards] (clgammal): Likewise.
38173 [C99-based standards] (ctgammal): Likewise.
38174 * conform/data/inttypes.h-data [C99-based standards]: Include
38175 stdint.h-data. Remove all expectations for stdint.h contents.
38176 [C99-based standards] (PRI*): Do not allow.
38177 [C99-based standards] (SCN*): Likewise.
38178 [C99-based standards] (*_t): Likewise.
38179 [C99-based-standards] (PRId8): Expect macro.
38180 [C99-based-standards] (PRIi8): Likewise.
38181 [C99-based-standards] (PRIo8): Likewise.
38182 [C99-based-standards] (PRIu8): Likewise.
38183 [C99-based-standards] (PRIx8): Likewise.
38184 [C99-based-standards] (PRIX8): Likewise.
38185 [C99-based-standards] (SCNd8): Likewise.
38186 [C99-based-standards] (SCNi8): Likewise.
38187 [C99-based-standards] (SCNo8): Likewise.
38188 [C99-based-standards] (SCNu8): Likewise.
38189 [C99-based-standards] (SCNx8): Likewise.
38190 [C99-based-standards] (PRIdLEAST8): Likewise.
38191 [C99-based-standards] (PRIiLEAST8): Likewise.
38192 [C99-based-standards] (PRIoLEAST8): Likewise.
38193 [C99-based-standards] (PRIuLEAST8): Likewise.
38194 [C99-based-standards] (PRIxLEAST8): Likewise.
38195 [C99-based-standards] (PRIXLEAST8): Likewise.
38196 [C99-based-standards] (SCNdLEAST8): Likewise.
38197 [C99-based-standards] (SCNiLEAST8): Likewise.
38198 [C99-based-standards] (SCNoLEAST8): Likewise.
38199 [C99-based-standards] (SCNuLEAST8): Likewise.
38200 [C99-based-standards] (SCNxLEAST8): Likewise.
38201 [C99-based-standards] (PRIdFAST8): Likewise.
38202 [C99-based-standards] (PRIiFAST8): Likewise.
38203 [C99-based-standards] (PRIoFAST8): Likewise.
38204 [C99-based-standards] (PRIuFAST8): Likewise.
38205 [C99-based-standards] (PRIxFAST8): Likewise.
38206 [C99-based-standards] (PRIXFAST8): Likewise.
38207 [C99-based-standards] (SCNdFAST8): Likewise.
38208 [C99-based-standards] (SCNiFAST8): Likewise.
38209 [C99-based-standards] (SCNoFAST8): Likewise.
38210 [C99-based-standards] (SCNuFAST8): Likewise.
38211 [C99-based-standards] (SCNxFAST8): Likewise.
38212 [C99-based-standards] (PRId16): Likewise.
38213 [C99-based-standards] (PRIi16): Likewise.
38214 [C99-based-standards] (PRIo16): Likewise.
38215 [C99-based-standards] (PRIu16): Likewise.
38216 [C99-based-standards] (PRIx16): Likewise.
38217 [C99-based-standards] (PRIX16): Likewise.
38218 [C99-based-standards] (SCNd16): Likewise.
38219 [C99-based-standards] (SCNi16): Likewise.
38220 [C99-based-standards] (SCNo16): Likewise.
38221 [C99-based-standards] (SCNu16): Likewise.
38222 [C99-based-standards] (SCNx16): Likewise.
38223 [C99-based-standards] (PRIdLEAST16): Likewise.
38224 [C99-based-standards] (PRIiLEAST16): Likewise.
38225 [C99-based-standards] (PRIoLEAST16): Likewise.
38226 [C99-based-standards] (PRIuLEAST16): Likewise.
38227 [C99-based-standards] (PRIxLEAST16): Likewise.
38228 [C99-based-standards] (PRIXLEAST16): Likewise.
38229 [C99-based-standards] (SCNdLEAST16): Likewise.
38230 [C99-based-standards] (SCNiLEAST16): Likewise.
38231 [C99-based-standards] (SCNoLEAST16): Likewise.
38232 [C99-based-standards] (SCNuLEAST16): Likewise.
38233 [C99-based-standards] (SCNxLEAST16): Likewise.
38234 [C99-based-standards] (PRIdFAST16): Likewise.
38235 [C99-based-standards] (PRIiFAST16): Likewise.
38236 [C99-based-standards] (PRIoFAST16): Likewise.
38237 [C99-based-standards] (PRIuFAST16): Likewise.
38238 [C99-based-standards] (PRIxFAST16): Likewise.
38239 [C99-based-standards] (PRIXFAST16): Likewise.
38240 [C99-based-standards] (SCNdFAST16): Likewise.
38241 [C99-based-standards] (SCNiFAST16): Likewise.
38242 [C99-based-standards] (SCNoFAST16): Likewise.
38243 [C99-based-standards] (SCNuFAST16): Likewise.
38244 [C99-based-standards] (SCNxFAST16): Likewise.
38245 [C99-based-standards] (PRId32): Likewise.
38246 [C99-based-standards] (PRIi32): Likewise.
38247 [C99-based-standards] (PRIo32): Likewise.
38248 [C99-based-standards] (PRIu32): Likewise.
38249 [C99-based-standards] (PRIx32): Likewise.
38250 [C99-based-standards] (PRIX32): Likewise.
38251 [C99-based-standards] (SCNd32): Likewise.
38252 [C99-based-standards] (SCNi32): Likewise.
38253 [C99-based-standards] (SCNo32): Likewise.
38254 [C99-based-standards] (SCNu32): Likewise.
38255 [C99-based-standards] (SCNx32): Likewise.
38256 [C99-based-standards] (PRIdLEAST32): Likewise.
38257 [C99-based-standards] (PRIiLEAST32): Likewise.
38258 [C99-based-standards] (PRIoLEAST32): Likewise.
38259 [C99-based-standards] (PRIuLEAST32): Likewise.
38260 [C99-based-standards] (PRIxLEAST32): Likewise.
38261 [C99-based-standards] (PRIXLEAST32): Likewise.
38262 [C99-based-standards] (SCNdLEAST32): Likewise.
38263 [C99-based-standards] (SCNiLEAST32): Likewise.
38264 [C99-based-standards] (SCNoLEAST32): Likewise.
38265 [C99-based-standards] (SCNuLEAST32): Likewise.
38266 [C99-based-standards] (SCNxLEAST32): Likewise.
38267 [C99-based-standards] (PRIdFAST32): Likewise.
38268 [C99-based-standards] (PRIiFAST32): Likewise.
38269 [C99-based-standards] (PRIoFAST32): Likewise.
38270 [C99-based-standards] (PRIuFAST32): Likewise.
38271 [C99-based-standards] (PRIxFAST32): Likewise.
38272 [C99-based-standards] (PRIXFAST32): Likewise.
38273 [C99-based-standards] (SCNdFAST32): Likewise.
38274 [C99-based-standards] (SCNiFAST32): Likewise.
38275 [C99-based-standards] (SCNoFAST32): Likewise.
38276 [C99-based-standards] (SCNuFAST32): Likewise.
38277 [C99-based-standards] (SCNxFAST32): Likewise.
38278 [C99-based-standards] (PRId64): Likewise.
38279 [C99-based-standards] (PRIi64): Likewise.
38280 [C99-based-standards] (PRIo64): Likewise.
38281 [C99-based-standards] (PRIu64): Likewise.
38282 [C99-based-standards] (PRIx64): Likewise.
38283 [C99-based-standards] (PRIX64): Likewise.
38284 [C99-based-standards] (SCNd64): Likewise.
38285 [C99-based-standards] (SCNi64): Likewise.
38286 [C99-based-standards] (SCNo64): Likewise.
38287 [C99-based-standards] (SCNu64): Likewise.
38288 [C99-based-standards] (SCNx64): Likewise.
38289 [C99-based-standards] (PRIdLEAST64): Likewise.
38290 [C99-based-standards] (PRIiLEAST64): Likewise.
38291 [C99-based-standards] (PRIoLEAST64): Likewise.
38292 [C99-based-standards] (PRIuLEAST64): Likewise.
38293 [C99-based-standards] (PRIxLEAST64): Likewise.
38294 [C99-based-standards] (PRIXLEAST64): Likewise.
38295 [C99-based-standards] (SCNdLEAST64): Likewise.
38296 [C99-based-standards] (SCNiLEAST64): Likewise.
38297 [C99-based-standards] (SCNoLEAST64): Likewise.
38298 [C99-based-standards] (SCNuLEAST64): Likewise.
38299 [C99-based-standards] (SCNxLEAST64): Likewise.
38300 [C99-based-standards] (PRIdFAST64): Likewise.
38301 [C99-based-standards] (PRIiFAST64): Likewise.
38302 [C99-based-standards] (PRIoFAST64): Likewise.
38303 [C99-based-standards] (PRIuFAST64): Likewise.
38304 [C99-based-standards] (PRIxFAST64): Likewise.
38305 [C99-based-standards] (PRIXFAST64): Likewise.
38306 [C99-based-standards] (SCNdFAST64): Likewise.
38307 [C99-based-standards] (SCNiFAST64): Likewise.
38308 [C99-based-standards] (SCNoFAST64): Likewise.
38309 [C99-based-standards] (SCNuFAST64): Likewise.
38310 [C99-based-standards] (SCNxFAST64): Likewise.
38311 [C99-based-standards] (PRIdMAX): Likewise.
38312 [C99-based-standards] (PRIiMAX): Likewise.
38313 [C99-based-standards] (PRIoMAX): Likewise.
38314 [C99-based-standards] (PRIuMAX): Likewise.
38315 [C99-based-standards] (PRIxMAX): Likewise.
38316 [C99-based-standards] (PRIXMAX): Likewise.
38317 [C99-based-standards] (SCNdMAX): Likewise.
38318 [C99-based-standards] (SCNiMAX): Likewise.
38319 [C99-based-standards] (SCNoMAX): Likewise.
38320 [C99-based-standards] (SCNuMAX): Likewise.
38321 [C99-based-standards] (SCNxMAX): Likewise.
38322 [C99-based-standards] (PRIdPTR): Likewise.
38323 [C99-based-standards] (PRIiPTR): Likewise.
38324 [C99-based-standards] (PRIoPTR): Likewise.
38325 [C99-based-standards] (PRIuPTR): Likewise.
38326 [C99-based-standards] (PRIxPTR): Likewise.
38327 [C99-based-standards] (PRIXPTR): Likewise.
38328 [C99-based-standards] (SCNdPTR): Likewise.
38329 [C99-based-standards] (SCNiPTR): Likewise.
38330 [C99-based-standards] (SCNoPTR): Likewise.
38331 [C99-based-standards] (SCNuPTR): Likewise.
38332 [C99-based-standards] (SCNxPTR): Likewise.
38333 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
38335 * conform/data/stdint.h-data: Update comments to clarify
38337 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
38339 [C99-based standards] (INT8_MAX): Likewise.
38340 [C99-based standards] (INT16_MIN): Likewise.
38341 [C99-based standards] (INT16_MAX): Likewise.
38342 [C99-based standards] (INT32_MIN): Likewise.
38343 [C99-based standards] (INT32_MAX): Likewise.
38344 [C99-based standards] (INT64_MIN): Likewise.
38345 [C99-based standards] (INT64_MAX): Likewise.
38346 [C99-based standards] (UINT8_MAX): Likewise.
38347 [C99-based standards] (UINT16_MAX): Likewise.
38348 [C99-based standards] (UINT32_MAX): Likewise.
38349 [C99-based standards] (UINT64_MAX): Likewise.
38350 [C99-based standards] (INT_LEAST8_MIN): Likewise.
38351 [C99-based standards] (INT_LEAST8_MAX): Likewise.
38352 [C99-based standards] (INT_LEAST16_MIN): Likewise.
38353 [C99-based standards] (INT_LEAST16_MAX): Likewise.
38354 [C99-based standards] (INT_LEAST32_MIN): Likewise.
38355 [C99-based standards] (INT_LEAST32_MAX): Likewise.
38356 [C99-based standards] (INT_LEAST64_MIN): Likewise.
38357 [C99-based standards] (INT_LEAST64_MAX): Likewise.
38358 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
38359 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
38360 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
38361 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
38362 [C99-based standards] (INT_FAST8_MIN): Likewise.
38363 [C99-based standards] (INT_FAST8_MAX): Likewise.
38364 [C99-based standards] (INT_FAST16_MIN): Likewise.
38365 [C99-based standards] (INT_FAST16_MAX): Likewise.
38366 [C99-based standards] (INT_FAST32_MIN): Likewise.
38367 [C99-based standards] (INT_FAST32_MAX): Likewise.
38368 [C99-based standards] (INT_FAST64_MIN): Likewise.
38369 [C99-based standards] (INT_FAST64_MAX): Likewise.
38370 [C99-based standards] (UINT_FAST8_MAX): Likewise.
38371 [C99-based standards] (UINT_FAST16_MAX): Likewise.
38372 [C99-based standards] (UINT_FAST32_MAX): Likewise.
38373 [C99-based standards] (UINT_FAST64_MAX): Likewise.
38374 [C99-based standards] (INTPTR_MIN): Likewise.
38375 [C99-based standards] (INTPTR_MAX): Likewise.
38376 [C99-based standards] (UINTPTR_MAX): Likewise.
38377 [C99-based standards] (INTMAX_MIN): Likewise.
38378 [C99-based standards] (INTMAX_MAX): Likewise.
38379 [C99-based standards] (UINTMAX_MAX): Likewise.
38380 [C99-based standards] (PTRDIFF_MIN): Likewise.
38381 [C99-based standards] (PTRDIFF_MAX): Likewise.
38382 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
38383 [C99-based standards] (SIZE_MAX): Likewise.
38384 [C99-based standards] (WCHAR_MAX): Likewise.
38385 [C99-based standards] (WINT_MAX): Likewise.
38386 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
38387 constraint on value.
38388 [C99-based standards] (WCHAR_MIN): Likewise.
38389 [C99-based standards] (WINT_MIN): Likewise.
38390 [C99-based standards] (*_t): Allow.
38391 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
38392 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
38393 Include math.h-data and complex.h-data. Remove all expectations
38394 of math.h and complex.h contents.
38395 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
38397 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
38398 (struct tm): Expect tag.
38399 [C99-based-standards] (wcstof): Expect function.
38400 [C99-based-standards] (wcstold): Likewise.
38401 [C99-based-standards] (wcstoll): Likewise.
38402 [C99-based-standards] (wcstoull): Likewise.
38403 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
38404 macro-int-constant. Specify type.
38405 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
38406 constraint on value.
38407 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38409 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
38411 [ISO C standards]: Do not allow headers.
38412 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
38413 wcs[abcdefghijklmnopqrstuvwxyz]*.
38414 [ISO C standards] (*_t): Do not allow.
38415 * conform/data/wctype.h-data [C99-based standards] (iswblank):
38417 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
38418 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38420 [ISO C standards]: Do not allow headers.
38421 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
38422 is[abcdefghijklmnopqrstuvwxyz]*.
38423 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
38424 to[abcdefghijklmnopqrstuvwxyz]*.
38425 [ISO C standards] (*_t): Do not allow.
38426 * conform/data/stdalign.h-data: New file.
38427 * conform/data/stdbool.h-data: Likewise.
38428 * conform/data/stdnoreturn.h-data: Likewise.
38430 2012-11-07 Roland McGrath <roland@hack.frob.com>
38433 * manual/filesys.texi (Directory Entries): Typo fix.
38434 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
38436 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38438 * elf/elf.h (EM_AARCH64): New macro.
38439 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
38440 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
38441 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
38442 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
38443 (R_AARCH64_TLSDESC): Likewise.
38444 (NT_ARM_TLS): Likewise.
38445 (NT_ARM_HW_BREAK): Likewise.
38446 (NT_ARM_HW_WATCH): Likewise.
38448 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38451 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
38452 (__ieee754_powl): Saturate nonzero exponents with absolute value
38453 below 0x1p-79 to +/- 0x1p-79.
38454 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
38455 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
38456 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
38457 nonzero exponents with absolute value below 0x1p-32 to +/-
38459 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
38460 (__ieee754_powl): Saturate nonzero exponents with absolute value
38461 below 0x1p-79 to +/- 0x1p-79.
38462 * math/libm-test.inc (pow_test): Add more tests.
38464 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38466 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
38467 _dl_s390_cap_flags with kernel. Increase string length.
38468 (_dl_s390_platforms): Add z196 and zEC12.
38470 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38472 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
38473 Change XOPEN21K to XOPEN2K.
38475 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
38477 * string/memmove.c: Use memcpy when possible.
38479 2012-11-06 Andreas Jaeger <aj@suse.de>
38481 * po/eo.po: Update from translation team.
38483 2012-11-06 Joseph Myers <joseph@codesourcery.com>
38486 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
38487 exponent and small x and y exponents, scale x or y up. Increase
38488 by 2 the exponent used in scaling up.
38489 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38490 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38491 * math/libm-test.inc (fma_test): Add more tests.
38492 (fma_test_towardzero): Likewise.
38493 (fma_test_downward): Likewise.
38494 (fma_test_upward): Likewise.
38496 2012-11-05 Joseph Myers <joseph@codesourcery.com>
38499 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
38503 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
38504 namespace for names of struct fields.
38505 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
38507 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
38508 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
38510 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
38513 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
38515 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
38517 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
38521 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
38524 2012-11-04 Joseph Myers <joseph@codesourcery.com>
38527 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
38528 definitely overflow as x * y not x * y + z.
38529 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38530 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38531 * math/libm-test.inc (fma_test): Add more tests.
38532 (fma_test_towardzero): Likewise.
38533 (fma_test_downward): Likewise.
38534 (fma_test_upward): Likewise.
38536 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
38540 * include/stub-tag.h: Remove file.
38541 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
38543 * manual/maint.texi (Porting): Don't reference it.
38544 * Makerules ($(objpfx)stubs): Likewise.
38545 * dirent/closedir.c: Don't include <stub-tag.h>.
38546 * dirent/dirfd.c: Likewise.
38547 * dirent/fdopendir.c: Likewise.
38548 * dirent/getdents.c: Likewise.
38549 * dirent/getdents64.c: Likewise.
38550 * dirent/opendir.c: Likewise.
38551 * dirent/readdir.c: Likewise.
38552 * dirent/readdir64.c: Likewise.
38553 * dirent/readdir64_r.c: Likewise.
38554 * dirent/readdir_r.c: Likewise.
38555 * dirent/rewinddir.c: Likewise.
38556 * dirent/seekdir.c: Likewise.
38557 * dirent/telldir.c: Likewise.
38558 * gmon/profil.c: Likewise.
38559 * grp/setgroups.c: Likewise.
38560 * inet/if_index.c: Likewise.
38561 * io/access.c: Likewise.
38562 * io/chdir.c: Likewise.
38563 * io/chmod.c: Likewise.
38564 * io/chown.c: Likewise.
38565 * io/close.c: Likewise.
38566 * io/dup.c: Likewise.
38567 * io/dup2.c: Likewise.
38568 * io/dup3.c: Likewise.
38569 * io/euidaccess.c: Likewise.
38570 * io/faccessat.c: Likewise.
38571 * io/fchdir.c: Likewise.
38572 * io/fchmod.c: Likewise.
38573 * io/fchmodat.c: Likewise.
38574 * io/fchown.c: Likewise.
38575 * io/fchownat.c: Likewise.
38576 * io/fcntl.c: Likewise.
38577 * io/flock.c: Likewise.
38578 * io/fstatfs.c: Likewise.
38579 * io/fstatfs64.c: Likewise.
38580 * io/fstatvfs.c: Likewise.
38581 * io/fstatvfs64.c: Likewise.
38582 * io/futimens.c: Likewise.
38583 * io/fxstat.c: Likewise.
38584 * io/fxstat64.c: Likewise.
38585 * io/fxstatat.c: Likewise.
38586 * io/fxstatat64.c: Likewise.
38587 * io/getcwd.c: Likewise.
38588 * io/isatty.c: Likewise.
38589 * io/lchmod.c: Likewise.
38590 * io/lchown.c: Likewise.
38591 * io/link.c: Likewise.
38592 * io/linkat.c: Likewise.
38593 * io/lseek.c: Likewise.
38594 * io/lseek64.c: Likewise.
38595 * io/lxstat64.c: Likewise.
38596 * io/mkdir.c: Likewise.
38597 * io/mkdirat.c: Likewise.
38598 * io/mkfifo.c: Likewise.
38599 * io/mkfifoat.c: Likewise.
38600 * io/open.c: Likewise.
38601 * io/open64.c: Likewise.
38602 * io/openat.c: Likewise.
38603 * io/openat64.c: Likewise.
38604 * io/pipe.c: Likewise.
38605 * io/pipe2.c: Likewise.
38606 * io/poll.c: Likewise.
38607 * io/posix_fadvise.c: Likewise.
38608 * io/posix_fadvise64.c: Likewise.
38609 * io/posix_fallocate.c: Likewise.
38610 * io/posix_fallocate64.c: Likewise.
38611 * io/read.c: Likewise.
38612 * io/readlink.c: Likewise.
38613 * io/readlinkat.c: Likewise.
38614 * io/rmdir.c: Likewise.
38615 * io/sendfile.c: Likewise.
38616 * io/sendfile64.c: Likewise.
38617 * io/statfs.c: Likewise.
38618 * io/statfs64.c: Likewise.
38619 * io/statvfs.c: Likewise.
38620 * io/statvfs64.c: Likewise.
38621 * io/symlink.c: Likewise.
38622 * io/symlinkat.c: Likewise.
38623 * io/ttyname.c: Likewise.
38624 * io/ttyname_r.c: Likewise.
38625 * io/umask.c: Likewise.
38626 * io/unlink.c: Likewise.
38627 * io/unlinkat.c: Likewise.
38628 * io/utime.c: Likewise.
38629 * io/utimensat.c: Likewise.
38630 * io/write.c: Likewise.
38631 * io/xmknod.c: Likewise.
38632 * io/xmknodat.c: Likewise.
38633 * io/xstat.c: Likewise.
38634 * io/xstat64.c: Likewise.
38635 * login/getpt.c: Likewise.
38636 * login/grantpt.c: Likewise.
38637 * login/unlockpt.c: Likewise.
38638 * math/e_acoshl.c: Likewise.
38639 * math/e_acosl.c: Likewise.
38640 * math/e_asinl.c: Likewise.
38641 * math/e_atan2l.c: Likewise.
38642 * math/e_atanhl.c: Likewise.
38643 * math/e_coshl.c: Likewise.
38644 * math/e_expl.c: Likewise.
38645 * math/e_fmodl.c: Likewise.
38646 * math/e_gammal_r.c: Likewise.
38647 * math/e_hypotl.c: Likewise.
38648 * math/e_j0l.c: Likewise.
38649 * math/e_j1l.c: Likewise.
38650 * math/e_jnl.c: Likewise.
38651 * math/e_lgammal_r.c: Likewise.
38652 * math/e_log10l.c: Likewise.
38653 * math/e_log2l.c: Likewise.
38654 * math/e_logl.c: Likewise.
38655 * math/e_powl.c: Likewise.
38656 * math/e_rem_pio2l.c: Likewise.
38657 * math/e_sinhl.c: Likewise.
38658 * math/e_sqrtl.c: Likewise.
38659 * math/fclrexcpt.c: Likewise.
38660 * math/fedisblxcpt.c: Likewise.
38661 * math/feenablxcpt.c: Likewise.
38662 * math/fegetenv.c: Likewise.
38663 * math/fegetexcept.c: Likewise.
38664 * math/fegetround.c: Likewise.
38665 * math/feholdexcpt.c: Likewise.
38666 * math/fesetenv.c: Likewise.
38667 * math/fesetround.c: Likewise.
38668 * math/feupdateenv.c: Likewise.
38669 * math/fgetexcptflg.c: Likewise.
38670 * math/fraiseexcpt.c: Likewise.
38671 * math/fsetexcptflg.c: Likewise.
38672 * math/ftestexcept.c: Likewise.
38673 * math/k_cosl.c: Likewise.
38674 * math/k_rem_pio2l.c: Likewise.
38675 * math/k_sinl.c: Likewise.
38676 * math/k_tanl.c: Likewise.
38677 * math/s_asinhl.c: Likewise.
38678 * math/s_atanl.c: Likewise.
38679 * math/s_cbrtl.c: Likewise.
38680 * math/s_erfl.c: Likewise.
38681 * math/s_expm1l.c: Likewise.
38682 * math/s_log1pl.c: Likewise.
38683 * math/s_tanhl.c: Likewise.
38684 * misc/acct.c: Likewise.
38685 * misc/brk.c: Likewise.
38686 * misc/chflags.c: Likewise.
38687 * misc/chroot.c: Likewise.
38688 * misc/fchflags.c: Likewise.
38689 * misc/fgetxattr.c: Likewise.
38690 * misc/flistxattr.c: Likewise.
38691 * misc/fremovexattr.c: Likewise.
38692 * misc/fsetxattr.c: Likewise.
38693 * misc/fsync.c: Likewise.
38694 * misc/ftruncate.c: Likewise.
38695 * misc/futimes.c: Likewise.
38696 * misc/futimesat.c: Likewise.
38697 * misc/getdomain.c: Likewise.
38698 * misc/getdtsz.c: Likewise.
38699 * misc/gethostid.c: Likewise.
38700 * misc/gethostname.c: Likewise.
38701 * misc/getloadavg.c: Likewise.
38702 * misc/getpagesize.c: Likewise.
38703 * misc/getsysstats.c: Likewise.
38704 * misc/getxattr.c: Likewise.
38705 * misc/gtty.c: Likewise.
38706 * misc/ioctl.c: Likewise.
38707 * misc/lgetxattr.c: Likewise.
38708 * misc/listxattr.c: Likewise.
38709 * misc/llistxattr.c: Likewise.
38710 * misc/lremovexattr.c: Likewise.
38711 * misc/lsetxattr.c: Likewise.
38712 * misc/lutimes.c: Likewise.
38713 * misc/madvise.c: Likewise.
38714 * misc/mincore.c: Likewise.
38715 * misc/mlock.c: Likewise.
38716 * misc/mlockall.c: Likewise.
38717 * misc/mmap.c: Likewise.
38718 * misc/mprotect.c: Likewise.
38719 * misc/msync.c: Likewise.
38720 * misc/munlock.c: Likewise.
38721 * misc/munlockall.c: Likewise.
38722 * misc/munmap.c: Likewise.
38723 * misc/preadv.c: Likewise.
38724 * misc/preadv64.c: Likewise.
38725 * misc/ptrace.c: Likewise.
38726 * misc/pwritev.c: Likewise.
38727 * misc/pwritev64.c: Likewise.
38728 * misc/readv.c: Likewise.
38729 * misc/reboot.c: Likewise.
38730 * misc/remap_file_pages.c: Likewise.
38731 * misc/removexattr.c: Likewise.
38732 * misc/revoke.c: Likewise.
38733 * misc/select.c: Likewise.
38734 * misc/setdomain.c: Likewise.
38735 * misc/setegid.c: Likewise.
38736 * misc/seteuid.c: Likewise.
38737 * misc/sethostid.c: Likewise.
38738 * misc/sethostname.c: Likewise.
38739 * misc/setregid.c: Likewise.
38740 * misc/setreuid.c: Likewise.
38741 * misc/setxattr.c: Likewise.
38742 * misc/sstk.c: Likewise.
38743 * misc/stty.c: Likewise.
38744 * misc/swapoff.c: Likewise.
38745 * misc/swapon.c: Likewise.
38746 * misc/sync.c: Likewise.
38747 * misc/syncfs.c: Likewise.
38748 * misc/syscall.c: Likewise.
38749 * misc/truncate.c: Likewise.
38750 * misc/ualarm.c: Likewise.
38751 * misc/usleep.c: Likewise.
38752 * misc/ustat.c: Likewise.
38753 * misc/utimes.c: Likewise.
38754 * misc/vhangup.c: Likewise.
38755 * misc/writev.c: Likewise.
38756 * posix/_exit.c: Likewise.
38757 * posix/alarm.c: Likewise.
38758 * posix/execve.c: Likewise.
38759 * posix/fexecve.c: Likewise.
38760 * posix/fork.c: Likewise.
38761 * posix/fpathconf.c: Likewise.
38762 * posix/getaddrinfo.c: Likewise.
38763 * posix/getegid.c: Likewise.
38764 * posix/geteuid.c: Likewise.
38765 * posix/getgid.c: Likewise.
38766 * posix/getgroups.c: Likewise.
38767 * posix/getlogin.c: Likewise.
38768 * posix/getlogin_r.c: Likewise.
38769 * posix/getpgid.c: Likewise.
38770 * posix/getpid.c: Likewise.
38771 * posix/getppid.c: Likewise.
38772 * posix/getresgid.c: Likewise.
38773 * posix/getresuid.c: Likewise.
38774 * posix/getsid.c: Likewise.
38775 * posix/getuid.c: Likewise.
38776 * posix/glob64.c: Likewise.
38777 * posix/nanosleep.c: Likewise.
38778 * posix/pathconf.c: Likewise.
38779 * posix/pause.c: Likewise.
38780 * posix/posix_madvise.c: Likewise.
38781 * posix/pread.c: Likewise.
38782 * posix/pread64.c: Likewise.
38783 * posix/pwrite.c: Likewise.
38784 * posix/pwrite64.c: Likewise.
38785 * posix/sched_getaffinity.c: Likewise.
38786 * posix/sched_getp.c: Likewise.
38787 * posix/sched_gets.c: Likewise.
38788 * posix/sched_primax.c: Likewise.
38789 * posix/sched_primin.c: Likewise.
38790 * posix/sched_rr_gi.c: Likewise.
38791 * posix/sched_setaffinity.c: Likewise.
38792 * posix/sched_setp.c: Likewise.
38793 * posix/sched_sets.c: Likewise.
38794 * posix/sched_yield.c: Likewise.
38795 * posix/setgid.c: Likewise.
38796 * posix/setlogin.c: Likewise.
38797 * posix/setpgid.c: Likewise.
38798 * posix/setresgid.c: Likewise.
38799 * posix/setresuid.c: Likewise.
38800 * posix/setsid.c: Likewise.
38801 * posix/setuid.c: Likewise.
38802 * posix/sleep.c: Likewise.
38803 * posix/spawni.c: Likewise.
38804 * posix/sysconf.c: Likewise.
38805 * posix/times.c: Likewise.
38806 * posix/wait.c: Likewise.
38807 * posix/wait3.c: Likewise.
38808 * posix/wait4.c: Likewise.
38809 * posix/waitpid.c: Likewise.
38810 * resolv/gai_sigqueue.c: Likewise.
38811 * resource/getpriority.c: Likewise.
38812 * resource/getrlimit.c: Likewise.
38813 * resource/getrusage.c: Likewise.
38814 * resource/nice.c: Likewise.
38815 * resource/setpriority.c: Likewise.
38816 * resource/setrlimit.c: Likewise.
38817 * resource/ulimit.c: Likewise.
38818 * rt/aio_cancel.c: Likewise.
38819 * rt/aio_fsync.c: Likewise.
38820 * rt/aio_read.c: Likewise.
38821 * rt/aio_sigqueue.c: Likewise.
38822 * rt/aio_suspend.c: Likewise.
38823 * rt/aio_write.c: Likewise.
38824 * rt/clock_getres.c: Likewise.
38825 * rt/clock_gettime.c: Likewise.
38826 * rt/clock_nanosleep.c: Likewise.
38827 * rt/clock_settime.c: Likewise.
38828 * rt/lio_listio.c: Likewise.
38829 * rt/mq_close.c: Likewise.
38830 * rt/mq_getattr.c: Likewise.
38831 * rt/mq_notify.c: Likewise.
38832 * rt/mq_open.c: Likewise.
38833 * rt/mq_receive.c: Likewise.
38834 * rt/mq_send.c: Likewise.
38835 * rt/mq_setattr.c: Likewise.
38836 * rt/mq_timedreceive.c: Likewise.
38837 * rt/mq_timedsend.c: Likewise.
38838 * rt/mq_unlink.c: Likewise.
38839 * rt/shm_open.c: Likewise.
38840 * rt/shm_unlink.c: Likewise.
38841 * rt/timer_create.c: Likewise.
38842 * rt/timer_delete.c: Likewise.
38843 * rt/timer_getoverr.c: Likewise.
38844 * rt/timer_gettime.c: Likewise.
38845 * rt/timer_settime.c: Likewise.
38846 * setjmp/__longjmp.c: Likewise.
38847 * setjmp/setjmp.c: Likewise.
38848 * signal/kill.c: Likewise.
38849 * signal/killpg.c: Likewise.
38850 * signal/raise.c: Likewise.
38851 * signal/sigaction.c: Likewise.
38852 * signal/sigaltstack.c: Likewise.
38853 * signal/sigblock.c: Likewise.
38854 * signal/sigignore.c: Likewise.
38855 * signal/sigintr.c: Likewise.
38856 * signal/signal.c: Likewise.
38857 * signal/sigpause.c: Likewise.
38858 * signal/sigpending.c: Likewise.
38859 * signal/sigqueue.c: Likewise.
38860 * signal/sigreturn.c: Likewise.
38861 * signal/sigset.c: Likewise.
38862 * signal/sigsetmask.c: Likewise.
38863 * signal/sigstack.c: Likewise.
38864 * signal/sigsuspend.c: Likewise.
38865 * signal/sigtimedwait.c: Likewise.
38866 * signal/sigvec.c: Likewise.
38867 * signal/sigwait.c: Likewise.
38868 * signal/sigwaitinfo.c: Likewise.
38869 * signal/sysv_signal.c: Likewise.
38870 * socket/accept.c: Likewise.
38871 * socket/accept4.c: Likewise.
38872 * socket/bind.c: Likewise.
38873 * socket/connect.c: Likewise.
38874 * socket/getpeername.c: Likewise.
38875 * socket/getsockname.c: Likewise.
38876 * socket/getsockopt.c: Likewise.
38877 * socket/isfdtype.c: Likewise.
38878 * socket/listen.c: Likewise.
38879 * socket/recv.c: Likewise.
38880 * socket/recvfrom.c: Likewise.
38881 * socket/recvmsg.c: Likewise.
38882 * socket/send.c: Likewise.
38883 * socket/sendmsg.c: Likewise.
38884 * socket/sendto.c: Likewise.
38885 * socket/setsockopt.c: Likewise.
38886 * socket/shutdown.c: Likewise.
38887 * socket/sockatmark.c: Likewise.
38888 * socket/socket.c: Likewise.
38889 * socket/socketpair.c: Likewise.
38890 * stdio-common/ctermid.c: Likewise.
38891 * stdio-common/cuserid.c: Likewise.
38892 * stdio-common/remove.c: Likewise.
38893 * stdio-common/rename.c: Likewise.
38894 * stdio-common/renameat.c: Likewise.
38895 * stdio-common/tempname.c: Likewise.
38896 * stdlib/getcontext.c: Likewise.
38897 * stdlib/makecontext.c: Likewise.
38898 * stdlib/setcontext.c: Likewise.
38899 * stdlib/swapcontext.c: Likewise.
38900 * stdlib/system.c: Likewise.
38901 * streams/fattach.c: Likewise.
38902 * streams/fdetach.c: Likewise.
38903 * streams/getmsg.c: Likewise.
38904 * streams/getpmsg.c: Likewise.
38905 * streams/putmsg.c: Likewise.
38906 * streams/putpmsg.c: Likewise.
38907 * sysdeps/unix/bsd/getpt.c: Likewise.
38908 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
38909 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
38910 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38913 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
38914 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38915 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
38916 * sysvipc/msgctl.c: Likewise.
38917 * sysvipc/msgget.c: Likewise.
38918 * sysvipc/msgrcv.c: Likewise.
38919 * sysvipc/msgsnd.c: Likewise.
38920 * sysvipc/semctl.c: Likewise.
38921 * sysvipc/semget.c: Likewise.
38922 * sysvipc/semop.c: Likewise.
38923 * sysvipc/semtimedop.c: Likewise.
38924 * sysvipc/shmat.c: Likewise.
38925 * sysvipc/shmctl.c: Likewise.
38926 * sysvipc/shmdt.c: Likewise.
38927 * sysvipc/shmget.c: Likewise.
38928 * termios/tcdrain.c: Likewise.
38929 * termios/tcflow.c: Likewise.
38930 * termios/tcflush.c: Likewise.
38931 * termios/tcgetattr.c: Likewise.
38932 * termios/tcgetpgrp.c: Likewise.
38933 * termios/tcsendbrk.c: Likewise.
38934 * termios/tcsetattr.c: Likewise.
38935 * termios/tcsetpgrp.c: Likewise.
38936 * time/adjtime.c: Likewise.
38937 * time/clock.c: Likewise.
38938 * time/getitimer.c: Likewise.
38939 * time/gettimeofday.c: Likewise.
38940 * time/setitimer.c: Likewise.
38941 * time/settimeofday.c: Likewise.
38942 * time/stime.c: Likewise.
38943 * time/time.c: Likewise.
38945 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
38947 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
38950 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
38952 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
38954 2012-11-03 Joseph Myers <joseph@codesourcery.com>
38957 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
38958 FE_TONEAREST before applying Dekker multiplication and Knuth
38959 addition. Clear inexact exceptions and check for exact zero
38960 results afterwards.
38961 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38962 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38963 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38964 * math/libm-test.inc (fma_test): Add more tests.
38965 (fma_test_towardzero): Likewise.
38966 (fma_test_downward): Likewise.
38967 (fma_test_upward): Likewise.
38968 * sysdeps/generic/math_private.h (default_libc_fesetround): New
38970 (libc_fesetround): New macro.
38971 (libc_fesetroundf): Likewise.
38972 (libc_fesetroundl): Likewise.
38973 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
38975 (libc_fesetround_387): Likewise.
38976 (libc_fesetroundf): New macro.
38977 (libc_fesetround): Likewise.
38978 (libc_fesetroundl): Likewise.
38979 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
38981 (libc_fesetroundf): New macro.
38982 (libc_fesetround): Likewise.
38983 (libc_fesetroundl): Likewise.
38984 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
38985 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
38986 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
38988 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
38989 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
38991 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
38992 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
38994 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
38998 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
38999 integer constant usable in #if and use that to give value to enum
39001 (FE_DIVBYZERO): Likewise.
39002 (FE_UNDERFLOW): Likewise.
39003 (FE_OVERFLOW): Likewise.
39004 (FE_INVALID): Likewise.
39005 (FE_INVALID_SNAN): Likewise.
39006 (FE_INVALID_ISI): Likewise.
39007 (FE_INVALID_IDI): Likewise.
39008 (FE_INVALID_ZDZ): Likewise.
39009 (FE_INVALID_IMZ): Likewise.
39010 (FE_INVALID_COMPARE): Likewise.
39011 (FE_INVALID_SOFTWARE): Likewise.
39012 (FE_INVALID_SQRT): Likewise.
39013 (FE_INVALID_INTEGER_CONVERSION): Likewise.
39014 (FE_TONEAREST): Likewise.
39015 (FE_TOWARDZERO): Likewise.
39016 (FE_UPWARD): Likewise.
39017 (FE_DOWNWARD): Likewise.
39018 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
39019 (FE_DIVBYZERO): Likewise.
39020 (FE_OVERFLOW): Likewise.
39021 (FE_UNDERFLOW): Likewise.
39022 (FE_INEXACT): Likewise.
39023 (FE_TONEAREST): Likewise.
39024 (FE_DOWNWARD): Likewise.
39025 (FE_UPWARD): Likewise.
39026 (FE_TOWARDZERO): Likewise.
39027 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
39028 (FE_UNDERFLOW): Likewise.
39029 (FE_OVERFLOW): Likewise.
39030 (FE_DIVBYZERO): Likewise.
39031 (FE_INVALID): Likewise.
39032 (FE_TONEAREST): Likewise.
39033 (FE_TOWARDZERO): Likewise.
39034 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
39035 (FE_OVERFLOW): Likewise.
39036 (FE_UNDERFLOW): Likewise.
39037 (FE_DIVBYZERO): Likewise.
39038 (FE_INEXACT): Likewise.
39039 (FE_TONEAREST): Likewise.
39040 (FE_TOWARDZERO): Likewise.
39041 (FE_UPWARD): Likewise.
39042 (FE_DOWNWARD): Likewise.
39043 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
39044 (FE_DIVBYZERO): Likewise.
39045 (FE_OVERFLOW): Likewise.
39046 (FE_UNDERFLOW): Likewise.
39047 (FE_INEXACT): Likewise.
39048 (FE_TONEAREST): Likewise.
39049 (FE_DOWNWARD): Likewise.
39050 (FE_UPWARD): Likewise.
39051 (FE_TOWARDZERO): Likewise.
39053 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
39055 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
39057 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
39059 * scripts/cross-test-ssh.sh (command): Use newlines to separate
39060 commands. Quote $PWD.
39061 (blacklist_exports): Don't use remove_newlines. Replace "declare
39063 (remove_newlines): Remove.
39065 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
39067 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
39068 * stdlib/stdlib.h (atof): Moved to ...
39069 * include/bits/stdlib-float.h: Here. New file.
39070 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
39071 * stdlib/bits/stdlib-float.h: New file.
39072 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
39074 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
39077 2012-11-02 Joseph Myers <joseph@codesourcery.com>
39079 * conform/conformtest.pl (@headers): Add fenv.h.
39080 * conform/data/fenv.h-data: New file.
39081 * include/fenv.h [_ISOMAC]: Disable all contents of file except
39082 include of <math/fenv.h>.
39084 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
39085 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
39086 && !UNIX98]. Enables tests for XOPEN2K8.
39087 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
39088 POSIX2008]: Likewise.
39090 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
39091 (struct rusage): Do not expect type or its members.
39094 * math/math.h (FP_NAN): Define macro to integer constant usable in
39095 #if and use that to give value to enum constant.
39096 (FP_INFINITE): Likewise.
39097 (FP_ZERO): Likewise.
39098 (FP_SUBNORMAL): Likewise.
39099 (FP_NORMAL): Likewise.
39101 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
39103 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
39104 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
39107 2012-11-02 Roland McGrath <roland@hack.frob.com>
39109 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
39110 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
39111 autoconf-time if not.
39112 * configure.in: Remove AC_PREREQ.
39114 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39116 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
39117 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
39118 of the internal implementation.
39120 2012-11-02 Joseph Myers <joseph@codesourcery.com>
39122 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
39123 except include of <misc/sys/syslog.h>.
39125 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
39127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
39128 function returns with a NULL context exit with zero.
39130 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39132 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
39134 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
39136 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
39137 (run_program_cmd): This.
39138 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
39139 (tst_langinfo): New variable. Use it.
39141 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
39143 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
39144 floating point opcodes.
39146 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39148 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
39151 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
39153 * sysdeps/mach/hurd/powerpc: Remove directory.
39154 * sysdeps/mach/powerpc: Likewise.
39156 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
39158 * scripts/check-local-headers.sh: Ignore c++ headers.
39160 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39162 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
39163 __libc_cleanup_region_start argument.
39165 2012-11-01 Joseph Myers <joseph@codesourcery.com>
39169 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
39170 x * y using scaling, not as x * y + z.
39171 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39172 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39173 * math/libm-test.inc (fma_test): Add more tests.
39174 (fma_test_towardzero): Likewise.
39175 (fma_test_downward): Likewise.
39176 (fma_test_upward): Likewise.
39178 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39180 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
39182 2012-10-31 Joseph Myers <joseph@codesourcery.com>
39184 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
39187 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
39189 * rt/tst-shm.c (worker): Correct checking for mmap failure.
39191 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
39193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39198 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39201 Fix the order of the list for glibc 2.17.
39202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39205 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
39207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39209 2012-10-31 Joseph Myers <joseph@codesourcery.com>
39212 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
39213 for low part of x being zero before using __atanl (y).
39214 * math/libm-test.inc (atan2_test): Add another test.
39216 * manual/install.texi (Configuring and compiling): Document
39217 general use of test-wrapper and test-wrapper-env.
39218 * INSTALL: Regenerated.
39220 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
39221 (__fma): Do not extract and scale down low bits on after-rounding
39222 systems when result rounded to normal precision would have normal
39224 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
39225 (__fmal): Do not extract and scale down low bits on after-rounding
39226 systems when result rounded to normal precision would have normal
39228 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
39229 (__fmal): Do not extract and scale down low bits on after-rounding
39230 systems when result rounded to normal precision would have normal
39232 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
39234 (fma_test): Add more tests.
39235 (fma_test_towardzero): Likewise.
39236 (fma_test_downward): Likewise.
39237 (fma_test_upward): Likewise.
39239 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
39241 * sysdeps/i386/tininess.h: Renamed to ...
39242 * sysdeps/x86/tininess.h: This.
39243 * sysdeps/x86_64/tininess.h: Removed.
39245 2012-10-30 Joseph Myers <joseph@codesourcery.com>
39247 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
39248 input. Use $(build-program-cmd).
39249 ($(objpfx)tst-array1-static.out): Likewise.
39250 ($(objpfx)tst-array2.out): Likewise.
39251 ($(objpfx)tst-array3.out): Likewise.
39252 ($(objpfx)tst-array4.out): Likewise.
39253 ($(objpfx)tst-array5.out): Likewise.
39254 ($(objpfx)tst-array5-static.out): Likewise.
39256 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
39258 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
39261 * nss/nsswitch.h (nss_interface_function): Provide new
39262 macro for use with NSS functions.
39263 * grp/initgroups.c: Use new macro.
39264 * nss/getXXbyYY.c: Likewise.
39265 * nss/getXXbyYY_r.c: Likewise.
39266 * nss/getXXent.c: Likewise.
39267 * nss/getXXent_r.c: Likewise.
39268 * sysdeps/posix/getaddrinfo.c: Likewise.
39270 2012-10-30 Andreas Jaeger <aj@suse.de>
39272 * po/ru.po: Update Russion translation from translation project.
39274 2012-10-30 Joseph Myers <joseph@codesourcery.com>
39278 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
39279 result and shift together with sticky bit instead of replicating
39280 round-to-nearest rounding.
39281 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39282 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39283 * math/libm-test.inc (fma_test): Add more tests. Do not permit
39284 missing underflow exceptions.
39285 (fma_test_towardzero): Add more tests.
39286 (fma_test_downward): Likewise.
39287 (fma_test_upward): Likewise.
39290 * sysdeps/generic/tininess.h: New file.
39291 * sysdeps/i386/tininess.h: Likewise.
39292 * sysdeps/sh/tininess.h: Likewise.
39293 * sysdeps/x86_64/tininess.h: Likewise.
39294 * stdlib/tst-strtod-underflow.c: Likewise.
39295 * stdlib/tst-tininess.c: Likewise.
39296 * stdlib/strtod_l.c: Include <tininess.h>.
39297 (round_and_return): Do not set errno for exact underflow cases.
39298 Force an underflow exception when setting errno for underflow.
39299 Determine underflow based on rounding to normal precision if
39300 TININESS_AFTER_ROUNDING.
39301 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
39302 ERANGE for exact underflow cases.
39303 * stdlib/Makefile (tests): Add tst-tininess and
39304 tst-strtod-underflow.
39305 ($(objpfx)tst-tininess): Use $(link-libm).
39306 ($(objpfx)tst-strtod-underflow): Likewise.
39308 2012-10-30 Andreas Jaeger <aj@suse.de>
39311 * elf/Makefile (tests): Remove conditional for have-initfini-array
39312 since this is now always required and the variable does not exist
39314 (tests-static): Likewise.
39315 (modules-names): Likewise.
39317 * po/eo.po: Add Esperanto translation from translation project.
39319 * elf/tst-array1.c (fini_array): Make writeable so that it can be
39320 merged with constructor/destructor.
39321 (init_array): Likewise.
39322 * elf/tst-array2dep.c (fini_array): Likewise.
39323 (init_array): Likewise.
39325 2012-10-29 Mike Frysinger <vapier@gentoo.org>
39327 * manual/message.texi: Delete @cartouche tags.
39329 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
39331 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
39333 * sysdeps/mach/hurd/fsync.c: Likewise.
39335 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
39336 [_POSIX_REALTIME_SIGNALS]: Change condition to
39337 [_POSIX_REALTIME_SIGNALS > 0].
39339 2012-10-27 Andreas Jaeger <aj@suse.de>
39341 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
39342 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
39343 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
39344 [__WORDSIZE != 64]: Likewise.
39346 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
39348 * iconvdata/tst-table.sh: Remove ${SHELL}.
39349 * iconvdata/tst-tables.sh: Likewise.
39351 2012-10-25 David S. Miller <davem@davemloft.net>
39353 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39354 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
39357 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
39359 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39360 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
39361 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
39364 2012-10-25 Roland McGrath <roland@hack.frob.com>
39366 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39367 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
39370 2012-10-25 Joseph Myers <joseph@codesourcery.com>
39371 Jim Blandy <jimb@codesourcery.com>
39373 * scripts/cross-test-ssh.sh: New file.
39374 * manual/install.texi (Configuring and compiling): Document use of
39376 * INSTALL: Regenerated.
39378 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
39380 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
39383 2012-10-25 Joseph Myers <joseph@codesourcery.com>
39385 * Makeconfig (run-program-prefix): Fix comment.
39387 2012-10-24 Joseph Myers <joseph@codesourcery.com>
39388 Jim Blandy <jimb@codesourcery.com>
39390 * Makeconfig (test-wrapper): New variable,
39391 (test-wrapper-env): Likewise.
39392 [$(cross-compiling) = yes && $(test-wrapper) != ""]
39393 (run-built-tests): Define to yes.
39394 (run-program-prefix): Use $(test-wrapper).
39395 (built-program-cmd): Likewise.
39396 * Rules (make-test-out): Use $(test-wrapper-env) and
39397 $(host-built-program-cmd).
39398 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
39399 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
39401 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
39402 $(test-wrapper-env) to tst-rtld-load-self.sh.
39403 ($(objpfx)order2.out): Use $(test-wrapper).
39404 ($(objpfx)tst-initorder.out): Likewise.
39405 ($(objpfx)tst-initorder2.out): Likewise.
39406 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
39407 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
39408 (test_wrapper_env): New variable. Use it to run ld.so.
39409 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
39410 Use it to run ld.so.
39411 (test_wrapper_env): Likewise.
39412 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
39413 $(test-wrapper) to run-iconv-test.sh.
39414 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
39415 (ICONV): Use $test_wrapper.
39416 * posix/Makefile ($(objpfx)globtest.out): Pass
39417 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
39418 globtest.sh, not $(run-program-prefix).
39419 * posix/globtest.sh (run_via_rtld_prefix): New variable.
39420 (test_wrapper): Likewise.
39421 (test_wrapper_env): Likewise. Use it to run globtest with HOME
39422 set together with run_via_rtld_prefix.
39423 (run_program_prefix): Define in terms of test_wrapper and
39424 run_via_rtld_prefix.
39426 2012-10-24 Roland McGrath <roland@hack.frob.com>
39428 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
39429 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
39433 * include/time.h: Remove librt_hidden_proto (clock_gettime).
39434 Declare __clock_getres, __clock_gettime, __clock_settime,
39435 __clock_nanosleep, and __clock_getcpuclockid.
39436 * rt/clock_gettime.c: Define __clock_gettime as an alias.
39437 Remove librt_hidden_def (clock_gettime).
39438 * sysdeps/unix/clock_gettime.c: Likewise.
39439 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
39440 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
39441 * rt/clock_getres.c: Define __clock_getres as an alias.
39442 * sysdeps/posix/clock_getres.c: Likewise.
39443 * rt/clock_settime.c: Define __clock_settime as an alias.
39444 * sysdeps/unix/clock_settime.c: Likewise.
39445 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
39446 * sysdeps/unix/clock_nanosleep.c: Likewise.
39447 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
39448 * rt/clock-compat.c: New file.
39449 * rt/Makefile (librt-routines): Add clock-compat and move
39450 $(clock-routines) to ...
39451 (routines): ... here, new variable.
39452 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
39453 Don't add get_clockfreq here.
39454 * rt/Versions (libc: GLIBC_2.17): New version set.
39455 Add clock_* symbols here.
39456 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
39457 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
39458 (GLIBC_2.17): Add clock_* symbols.
39459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39461 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39466 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39467 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39470 * NEWS: Mention the move.
39472 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39473 Use __open, __read, __close rather than their public counterparts.
39474 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39475 (__get_clockfreq_via_cpuinfo): Likewise.
39476 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
39477 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
39479 * config.h.in (HAVE_IFUNC): New #undef.
39480 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
39482 * configure: Regenerated.
39484 2012-10-24 Mike Frysinger <vapier@gentoo.org>
39486 * configure.in: Move READELF check to start of file.
39487 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
39488 libc_cv_asm_gnu_indirect_function in the process.
39489 * configure: Regenerated.
39491 2012-10-24 Mike Frysinger <vapier@gentoo.org>
39493 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
39494 send the output to /dev/null.
39495 (libc_cv_cc_with_libunwind): Likewise.
39496 (libc_cv_as_noexecstack): Likewise.
39497 * configure: Regenerate.
39499 2012-10-24 Joseph Myers <joseph@codesourcery.com>
39501 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
39503 * posix/globtest.sh (TMPDIR): Do not set.
39504 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
39505 (testout): Likewise.
39507 2012-10-24 Andreas Jaeger <aj@suse.de>
39509 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
39510 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
39511 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
39512 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
39513 posix_fadvise64, posix_fallocate64.
39515 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
39516 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
39517 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
39519 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
39521 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
39523 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
39524 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
39525 <bits/fcntl-linux.h>.
39526 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
39528 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
39529 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
39530 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
39531 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
39532 [__WORDSIZE != 64]: Likewise.
39534 2012-10-23 Joseph Myers <joseph@codesourcery.com>
39536 * Makeconfig (run-built-tests): New variable.
39537 * Rules [$(cross-compiling) = yes]: Change condition to
39538 [$(run-built-tests) = no].
39539 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
39540 to [$(run-built-tests) = yes].
39541 * elf/Makefile [$(cross-compiling) = no]: Likewise
39542 * grp/Makefile [$(cross-compiling) = no]: Likewise.
39543 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
39544 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
39545 * intl/Makefile [$(cross-compiling) = no]: Likewise.
39546 * io/Makefile [$(cross-compiling) = no]: Likewise.
39547 * libio/Makefile [$(cross-compiling) = no]: Likewise.
39548 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
39549 * misc/Makefile [$(cross-compiling) = no]: Likewise.
39550 * posix/Makefile [$(cross-compiling) = no]: Likewise.
39551 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
39552 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
39553 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
39554 * string/Makefile [$(cross-compiling) = no]: Likewise.
39556 * posix/Makefile ($(objpfx)globtest.out): Pass
39557 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
39558 $(rtld-installed-name).
39559 * posix/globtest.sh (elf_objpfx): Remove variable.
39560 (rtld_installed_name): Likewise.
39561 (library_path): Likewise.
39562 (run_program_prefix): New variable. Use for running globtest
39565 2012-10-23 Jim Blandy <jimb@codesourcery.com>
39566 Joseph Myers <joseph@codesourcery.com>
39568 * Makeconfig (host-built-program-cmd): New variable.
39569 * elf/Makefile (tst-stackguard1-ARGS): Use
39570 $(host-built-program-cmd).
39571 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
39572 (tst-spawn-ARGS): Likewise.
39573 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
39575 2012-10-23 Joseph Myers <joseph@codesourcery.com>
39576 Jim Blandy <jimb@codesourcery.com>
39578 * Makeconfig (run-via-rtld-prefix): New variable.
39579 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
39580 (built-program-cmd): Likewise.
39582 2012-10-22 Andreas Jaeger <aj@suse.de>
39584 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
39585 __O_RSYNC if it exists, otherwise to O_SYNC.
39587 2012-10-22 Jim Blandy <jimb@codesourcery.com>
39588 Joseph Myers <joseph@codesourcery.com>
39590 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
39592 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
39594 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
39597 2012-10-22 Andreas Jaeger <aj@suse.de>
39599 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
39601 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
39603 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39604 bits/fcntl-linux.h.
39606 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
39607 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
39609 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
39611 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
39614 2012-10-21 Jim Blandy <jimb@codesourcery.com>
39615 Joseph Myers <joseph@codesourcery.com>
39617 * config.make.in (NM): New variable.
39619 2012-10-21 Andreas Jaeger <aj@suse.de>
39621 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
39622 definitions and declarations that are provided by
39623 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39625 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
39628 * elf/Makefile (tests-static): Add tst-leaks1-static.
39629 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
39630 ($(objpfx)tst-leaks1-static): New rule.
39631 ($(objpfx)tst-leaks1-static-mem): Likewise.
39632 (tst-leaks1-static-ENV): New macro.
39633 * elf/dl-open.c (dl_open_worker): Check the main application
39634 only if SHARED is defined.
39635 * elf/tst-leaks1-static.c: New file.
39637 2012-10-20 Andreas Jaeger <aj@suse.de>
39639 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
39640 generic values for Linux.
39641 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
39642 and declarations that are provided by <bits/fcntl-linux.h> and
39643 include <bits/fcntl-linux.h>.
39644 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39645 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39647 2012-10-20 Roland McGrath <roland@hack.frob.com>
39649 * io/fcntl.h: Move include of <bits/types.h> to the top and
39650 include it unconditionally.
39652 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
39654 * wcsmbs/Makefile (tests-ifunc): New variable.
39655 (tests): Add $(tests-ifunc).
39656 * wcsmbs/test-wcschr-ifunc.c: New file.
39657 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
39658 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
39659 * wcsmbs/test-wcslen-ifunc.c: Likewise.
39660 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
39661 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
39663 * string/Makefile (tests-ifunc): New variable.
39664 (tests): Add $(tests-ifunc).
39665 * string/test-memccpy.c (TEST_NAME): New macro.
39666 * string/test-memchr.c (TEST_NAME): Likewise.
39667 * string/test-memcmp.c (TEST_NAME): Likewise.
39668 * string/test-memcpy.c (TEST_NAME): Likewise.
39669 * string/test-memmem.c (TEST_NAME): Likewise.
39670 * string/test-memmove.c (TEST_NAME): Likewise.
39671 * string/test-memset.c (TEST_NAME): Likewise.
39672 * string/test-rawmemchr.c (TEST_NAME): Likewise.
39673 * string/test-stpcpy.c (TEST_NAME): Likewise.
39674 * string/test-stpncpy.c (TEST_NAME): Likewise.
39675 * string/test-strcasecmp.c (TEST_NAME): Likewise.
39676 * string/test-strcasestr.c (TEST_NAME): Likewise.
39677 * string/test-strcat.c (TEST_NAME): Likewise.
39678 * string/test-strchr.c (TEST_NAME): Likewise.
39679 * string/test-strcmp.c(TEST_NAME): Likewise.
39680 * string/test-strcpy.c (TEST_NAME): Likewise.
39681 * string/test-strcspn.c (TEST_NAME): Likewise.
39682 * string/test-strlen.c (TEST_NAME): Likewise.
39683 * string/test-strncasecmp.c (TEST_NAME): Likewise.
39684 * string/test-strncmp.c (TEST_NAME): Likewise.
39685 * string/test-strncpy.c (TEST_NAME): Likewise.
39686 * string/test-strnlen.c (TEST_NAME): Likewise.
39687 * string/test-strpbrk.c (TEST_NAME): Likewise.
39688 * string/test-strrchr.c (TEST_NAME): Likewise.
39689 * string/test-strspn.c (TEST_NAME): Likewise.
39690 * string/test-strstr.c (TEST_NAME): Likewise.
39691 * string/test-bcopy-ifunc.c: New file.
39692 * string/test-bzero-ifunc.c: Likewise.
39693 * string/test-memccpy-ifunc.c: Likewise.
39694 * string/test-memchr-ifunc.c: Likewise.
39695 * string/test-memcmp-ifunc.c: Likewise.
39696 * string/test-memcpy-ifunc.c: Likewise.
39697 * string/test-memmem-ifunc.c: Likewise.
39698 * string/test-memmove-ifunc.c: Likewise.
39699 * string/test-mempcpy-ifunc.c: Likewise.
39700 * string/test-memset-ifunc.c: Likewise.
39701 * string/test-rawmemchr-ifunc.c: Likewise.
39702 * string/test-stpcpy-ifunc.c: Likewise.
39703 * string/test-stpncpy-ifunc.c: Likewise.
39704 * string/test-strcasecmp-ifunc.c: Likewise.
39705 * string/test-strcasestr-ifunc.c: Likewise.
39706 * string/test-strcat-ifunc.c: Likewise.
39707 * string/test-strchr-ifunc.c: Likewise.
39708 * string/test-strchrnul-ifunc.c: Likewise.
39709 * string/test-strcmp-ifunc.c: Likewise.
39710 * string/test-strcpy-ifunc.c: Likewise.
39711 * string/test-strcspn-ifunc.c: Likewise.
39712 * string/test-strlen-ifunc.c: Likewise.
39713 * string/test-strncasecmp-ifunc.c: Likewise.
39714 * string/test-strncat-ifunc.c: Likewise.
39715 * string/test-strncmp-ifunc.c: Likewise.
39716 * string/test-strncpy-ifunc.c: Likewise.
39717 * string/test-strnlen-ifunc.c: Likewise.
39718 * string/test-strpbrk-ifunc.c: Likewise.
39719 * string/test-strrchr-ifunc.c: Likewise.
39720 * string/test-strspn-ifunc.c: Likewise.
39721 * string/test-strstr-ifunc.c: Likewise.
39723 * debug/Makefile (tests-ifunc): New variable.
39724 (tests): Add $(tests-ifunc).
39725 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
39726 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
39727 * debug/test-stpcpy_chk-ifunc.c: New file.
39728 * debug/test-strcpy_chk-ifunc.c: Likewise.
39730 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39733 * elf/dl-load.c (open_verify): Retry read if the entire ELF
39734 header is not read in.
39736 2012-10-19 Joseph Myers <joseph@codesourcery.com>
39738 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
39739 script to $(SHELL) as $<. Pass $(common-objpfx) to script
39740 directly. Pass built executable to script as
39741 $(built-program-cmd).
39742 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
39743 $testprogram without using LD_LIBRARY_PATH and $ldso.
39745 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
39746 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
39747 $(rtld-installed-name).
39748 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
39749 (rtld_installed_name): Likewise.
39750 (library_path): Likewise.
39751 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
39752 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
39753 $(run-program-prefix) to tst-tables.sh.
39754 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
39755 it to run tst-table-from and tst-table-to.
39756 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
39757 Pass it to tst-table.sh.
39758 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
39759 $(run-program-prefix) to tst-gettext.sh.
39760 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
39762 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
39764 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
39765 to run tst-gettext.
39766 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
39767 to run tst-gettext2.
39768 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
39769 to run tst-translit.
39770 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
39771 $(run-program-prefix) to tst-mtrace.sh.
39772 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
39774 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
39775 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
39776 $(rtld-installed-name).
39777 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
39778 (rtld_installed_name): Likewise.
39779 (run_program_prefix): New variable. Use it to run wordexp-test.
39781 * Makeconfig (ARCH): Remove all definitions.
39782 (machine): Likewise.
39783 [ARCH]: Remove conditional code.
39784 [!objdir]: Give error.
39785 [!objdir] (objpfx): Remove.
39786 [!objdir] (common-objpfx): Likewise.
39787 [!objdir] (common-objdir): Likewise.
39788 * configure.in (config_makefile): Remove. Hardcode Makefile in
39789 AC_CONFIG_FILES call.
39790 * configure: Regenerated.
39793 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
39795 (testout): Likewise.
39797 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
39798 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
39799 $(rtld-installed-name).
39800 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
39801 (rtld_installed_name): Likwise.
39802 (runit): Remove function.
39803 (run_getconf): New variable, Use it for running getconf binary.
39805 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
39808 * string/test-memmem.c (check_result): New function.
39809 (do_one_test): Use it.
39810 (check1): New function.
39811 (test_main): Use it.
39813 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
39815 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
39817 2012-10-18 Joseph Myers <joseph@codesourcery.com>
39819 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
39820 (_G_LSEEK64): Likewise.
39821 (_G_MMAP64): Likewise.
39822 (_G_FSTAT64): Likewise.
39823 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
39824 (_G_LSEEK64): Likewise.
39825 (_G_MMAP64): Likewise.
39826 (_G_FSTAT64): Likewise.
39827 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
39828 unconditional. Call __mmap64 directly.
39829 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
39830 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
39831 __lseek64 directly.
39832 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
39833 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
39835 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
39836 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
39837 __lseek64 directly.
39838 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
39839 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
39840 __lseek64 directly.
39841 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
39842 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
39843 __lseek64 directly.
39844 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
39845 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
39846 __fxstat64 directly.
39847 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
39848 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
39850 (freopen64) [!_G_OPEN64]: Remove conditional code.
39851 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
39853 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
39854 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
39856 (ftello64) [!_G_LSEEK64]: Remove conditional code.
39857 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
39859 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
39860 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
39862 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
39863 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
39865 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
39866 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
39868 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
39869 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
39871 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
39873 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39876 * manual/memory.texi (Malloc Tunable Parameters): Add note
39877 about free list pointers overwriting some perturb bytes.
39878 Wording suggested by Roland McGrath.
39880 2012-10-17 Joseph Myers <joseph@codesourcery.com>
39882 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
39883 (lgamma_test): Likewise.
39884 (tgamma_test): Likewise.
39886 2012-10-16 Florian Weimer <fweimer@redhat.com>
39889 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
39890 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
39892 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
39894 * NEWS: Mention BZ #14716.
39895 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
39896 when removing AVAILABLE1_USES_J macro.
39898 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
39900 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
39901 (__bswap_64): __uint64_t for unsigned 64-bit int.
39903 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
39905 * include/string.h (memmem): Declare libc hidden alias.
39906 * string/memmem.c (memmem): Define libc hidden alias.
39907 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
39908 __read, __close instead of open, read, close.
39910 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
39912 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
39913 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
39915 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
39916 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
39917 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
39919 (__rawmemchr_sse2): Likewise.
39920 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
39921 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
39922 (__strchr_sse2): Likewise.
39923 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
39924 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
39925 (__strcasecmp_sse2): Likewise.
39926 (__strncasecmp_sse2): Likewise.
39927 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
39928 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
39929 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
39930 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
39931 (__strrchr_sse2): Likewise.
39932 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
39934 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
39935 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
39936 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
39937 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39938 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
39939 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
39940 * sysdeps/x86_64/multiarch/memset.S: Likewise.
39941 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39942 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
39943 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
39944 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
39945 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
39946 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
39947 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
39948 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
39949 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
39950 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
39951 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
39952 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
39953 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
39954 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
39955 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
39956 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
39957 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
39958 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
39959 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39960 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
39961 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39962 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
39963 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
39965 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
39967 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
39968 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
39969 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
39970 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
39972 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
39974 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
39975 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
39976 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
39977 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
39979 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39980 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39981 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39982 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39983 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39984 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39985 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39986 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39987 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39988 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39989 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39990 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39991 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39992 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
39993 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
39994 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39995 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
39996 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
39997 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39998 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39999 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40000 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40001 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40002 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40003 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40004 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
40005 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
40006 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
40007 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
40008 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40009 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
40010 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40011 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40012 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
40013 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40014 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40015 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40016 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40017 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40018 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40019 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
40021 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
40022 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
40023 * include/ifunc-impl-list.h: New file.
40024 * misc/ifunc-impl-list.c: Likewise.
40025 * misc/Makefile (routines): Add ifunc-impl-list.
40026 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
40027 * string/test-string.h: Include <ifunc-impl-list.h>.
40028 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
40029 TEST_NAME]: New variables.
40030 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
40032 (test_init): Call __libc_ifunc_impl_list to initialize
40033 func_list if TEST_IFUNC and TEST_NAME are defined.
40035 * string/Makefile (strop-tests): Add bcopy and bzero.
40036 * string/test-bcopy.c: New file.
40037 * string/test-bzero.c: Likewise.
40038 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
40040 * string/test-memset.c: Support bzero test if TEST_BZERO is
40042 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
40044 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
40046 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
40049 2012-10-10 Joseph Myers <joseph@codesourcery.com>
40051 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
40052 * configure: Regenerated.
40054 * Makeconfig (+link-static-before-libc): Don't include
40055 $(link-static-libc).
40057 * libio/libio.h (_IO_pos_t): Remove.
40059 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
40061 * NEWS: Add note about FIPS mode. Wording suggested by Roland
40064 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
40066 * crypt/crypt-entry.c: Include fips-private.h.
40067 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
40068 * crypt/md5c-test.c (main): Tolerate disabled MD5.
40069 * sysdeps/unix/sysv/linux/fips-private.h: New file.
40070 * sysdeps/generic/fips-private.h: New file, dummy fallback.
40072 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
40074 * crypt/crypt-private.h: Include stdbool.h.
40075 (_ufc_setup_salt_r): Return bool.
40076 * crypt/crypt-entry.c: Include errno.h.
40077 (__crypt_r): Return NULL with EINVAL for bad salt.
40078 * crypt/crypt_util.c (bad_for_salt): New.
40079 (_ufc_setup_salt_r): Check that salt is long enough and within
40080 the specified alphabet.
40081 * crypt/badsalttest.c: New file.
40082 * crypt/Makefile (tests): Add it.
40083 ($(objpfx)badsalttest): New.
40085 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
40087 * NEWS: Add entry for BZ #14602.
40089 2012-10-09 Joseph Myers <joseph@codesourcery.com>
40091 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
40093 * math/libm-test.inc: Update comment listing what functions and
40095 (isgreater_test): New function.
40096 (isgreaterequal_test): Likewise.
40097 (isless_test): Likewise.
40098 (islessequal_test): Likewise.
40099 (islessgreater_test): Likewise.
40100 (isunordered_test): Likewise.
40101 (main): Call the new functions.
40103 2012-10-09 Roland McGrath <roland@hack.frob.com>
40105 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
40106 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
40107 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
40108 * sysdeps/i386/configure: Regenerated.
40109 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
40110 * sysdeps/mach/configure: Regenerated.
40111 * sysdeps/mach/hurd/configure: Regenerated.
40112 * sysdeps/powerpc/configure: Regenerated.
40113 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40114 * sysdeps/powerpc/powerpc64/configure: Regenerated.
40115 * sysdeps/s390/s390-32/configure: Regenerated.
40116 * sysdeps/s390/s390-64/configure: Regenerated.
40117 * sysdeps/sh/configure: Regenerated.
40118 * sysdeps/sparc/configure: Regenerated.
40119 * sysdeps/unix/sysv/linux/configure: Regenerated.
40120 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
40121 * sysdeps/x86_64/configure: Regenerated.
40123 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
40124 defined. Don't check if MAP is NULL.
40126 2012-10-09 Joseph Myers <joseph@codesourcery.com>
40128 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
40129 (_G_stat64): Likewise.
40130 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
40131 (_G_stat64): Likewise.
40132 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
40133 instead of struct _G_stat64.
40134 * libio/fileops.c (mmap_remap_check): Likewise.
40135 (decide_maybe_mmap): Likewise.
40136 (_IO_new_file_seekoff): Likewise.
40137 (_IO_file_stat): Likewise.
40138 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
40140 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
40141 instead of struct _G_stat64.
40142 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40144 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
40147 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40149 (CHECK_EOL): New macro.
40150 (two_way_short_needle): Check beginning of haystack for EOL. Use
40152 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40153 Replace with CHECK_EOL.
40154 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40155 Replace with CHECK_EOL.
40157 2012-10-08 Joseph Myers <joseph@codesourcery.com>
40159 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
40161 * math/libm-test.inc: Update comment listing what functions and
40163 (finite_test): New function.
40164 (isinf_test): Likewise.
40165 (isnan_test): Likewise.
40166 (fpclassify_test): Test subnormal input.
40167 (isfinite_test): Likewise.
40168 (isnormal_test): Likewise.
40169 (main): Call the new functions.
40171 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
40174 * Makerules (%.dynsym): Force C locale when running
40175 $(OBJDUMP) --dynamic-syms.
40177 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
40179 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
40182 2012-10-06 David S. Miller <davem@davemloft.net>
40184 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
40185 upper 32-bits of the length value in %o2 since we use branch-on-register
40186 tests which consider the entire 64-bit register.
40188 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
40190 * string/test-strstr.c (check2): Add a test for page boundary.
40192 2012-10-05 David S. Miller <davem@davemloft.net>
40194 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
40195 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
40197 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40199 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40200 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
40201 and bzero when HWCAP_SPARC_CRYPTO is present.
40203 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
40206 * string/test-strstr.c (check2): New function.
40207 (test_main): Call check2.
40209 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
40211 * string/bug-strcasestr1.c (do_test): Moved to ...
40212 * string/test-strcasestr.c (check1): Here. New function.
40213 (do_one_test): Break out result checking code into ...
40214 (check_result): This. New function.
40215 (do_one_test): Call check_result.
40216 (test_main): Call check1.
40217 * string/bug-strchr1.c (do_test): Moved to ...
40218 * string/test-strchr.c (check1): Here. New function.
40219 (do_one_test): Break out result checking code into ...
40220 (check_result): This. New function.
40221 (do_one_test): Call check_result.
40222 (test_main): Call check1.
40223 * string/bug-strstr1.c (main): Moved to ...
40224 * string/test-strstr.c (check1): Here. New function.
40225 (do_one_test): Break out result checking code into ...
40226 (check_result): This. New function.
40227 (do_one_test): Call check_result.
40228 (test_main): Call check1.
40229 * string/bug-strcasestr1.c: Removed.
40230 * string/bug-strchr1.c: Likewise.
40231 * string/bug-strstr1.c: Likewise.
40233 * elf/Makefile (dl-routines): Add hwcaps.
40234 * elf/dl-support.c (_dl_important_hwcaps): Removed.
40235 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
40236 (_dl_important_hwcaps): Moved to ...
40237 * elf/dl-hwcaps.c: Here. New file.
40238 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
40241 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
40242 if IS_IN_rtld isn't defined.
40244 * elf/dl-support.c (_dl_sysinfo_map): New.
40245 Include "get-dynamic-info.h" and "setup-vdso.h".
40246 (_dl_non_dynamic_init): Call setup_vdso.
40247 * elf/dynamic-link.h: Don't include <assert.h>.
40248 (elf_get_dynamic_info): Moved to ...
40249 * elf/get-dynamic-info.h: Here. New file.
40250 * elf/dynamic-link.h: Include "get-dynamic-info.h".
40251 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
40252 * elf/setup-vdso.h: Here. New file.
40253 * elf/rtld.c: Include "setup-vdso.h".
40254 (dl_main): Call setup_vdso.
40256 2012-10-05 Joseph Myers <joseph@codesourcery.com>
40258 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
40259 creal in comment listing functions tested. List finite, isinf,
40260 isnan, isless, islessequal, isgreater, isgreaterequal,
40261 islessgreater, isunordered, lgamma_r and pow10 as functions and
40262 macros not tested. Mention which functions not tested are aliases
40263 for other functions. Fix typo. Note that signs of NaNs are not
40266 * scripts/config.guess: Update from config.git.
40267 * scripts/config.sub: Likewise.
40269 2012-10-04 Roland McGrath <roland@hack.frob.com>
40271 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
40272 * misc/madvise.c (madvise): Renamed to __madvise.
40273 Make madvise a weak alias.
40274 * include/sys/mman.h: Declare __madvise.
40275 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
40276 * sysdeps/unix/syscalls.list
40277 (madvise): Make __madvise the strong name, and madvise a weak alias.
40278 * sysdeps/unix/sysv/linux/syscalls.list
40279 (madvise, mmap): Remove redundant entries.
40280 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
40281 * malloc/malloc.c (mtrim): Likewise.
40282 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
40284 2012-10-03 Roland McGrath <roland@hack.frob.com>
40286 * sysdeps/mach/hurd/dl-cache.c: File removed.
40287 * config.h.in (USE_LDCONFIG): New #undef.
40288 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
40289 * configure: Regenerated.
40290 * elf/Makefile (dl-routines): Add dl-cache only under
40291 [$(use-ldconfig) = yes].
40292 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
40293 cache on [USE_LDCONFIG].
40294 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
40296 * elf/rtld.c (dl_main): Likewise.
40298 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
40300 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
40301 _SC_LEVEL4_CACHE_LINESIZE.
40303 2012-10-03 Roland McGrath <roland@hack.frob.com>
40305 * sysdeps/unix/bsd/confstr.h: File removed.
40307 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
40309 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
40312 2012-10-02 Roland McGrath <roland@hack.frob.com>
40314 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
40315 Make 'mapoff' field ElfW(Off) rather than off_t.
40317 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
40319 * nscd/Makefile: Remove nscd-cflags and all its users.
40320 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
40321 (CFLAGS-nonlib): Add compiler flags for nscd modules.
40324 * malloc.c (malloc_printerr): Clarify error message.
40326 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
40329 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40330 Set bit_FMA_Usable if FMA is supported.
40331 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
40333 (bit_FMA4_Usable): Updated.
40334 (index_FMA_Usable): New macro.
40335 (CPUID_FMA): Likewise
40336 (HAS_FMA): Defined with bit_FMA_Usable.
40338 2012-10-01 Roland McGrath <roland@hack.frob.com>
40340 * bits/types.h (__swblk_t): Type removed.
40341 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
40342 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
40343 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40344 (__SWBLK_T_TYPE): Likewise.
40345 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40346 (__SWBLK_T_TYPE): Likewise.
40347 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40348 (__SWBLK_T_TYPE): Likewise.
40349 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40350 (__SWBLK_T_TYPE): Likewise.
40352 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
40353 Honza Horak <hhorak@redhat.com>
40355 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
40356 (xdr_mapname): Use YPMAXMAP as maxsize.
40357 (xdr_peername): Use YPMAXPEER as maxsize.
40358 (xdr_keydat): Use YPAXRECORD as maxsize.
40359 (xdr_valdat): Use YPMAXRECORD as maxsize.
40361 2012-10-01 Roland McGrath <roland@hack.frob.com>
40363 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
40365 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
40366 * csu/init-first.c: ... here.
40367 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
40368 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
40369 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40370 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40371 * sysdeps/i386/init-first.c: File removed.
40372 * sysdeps/sh/init-first.c: File removed.
40374 2012-10-01 Joseph Myers <joseph@codesourcery.com>
40377 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
40378 if x * y might underflow to zero and z is zero.
40379 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40380 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40381 * math/libm-test.inc (min_subnorm_value): New variable.
40382 (fma_test): Add more tests.
40383 (fma_test_towardzero): Likewise.
40384 (fma_test_downward): Likewise
40385 (fma_test_upward): Likewise.
40386 (initialize): Set min_subnorm_value.
40388 2012-09-29 Joseph Myers <joseph@codesourcery.com>
40391 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
40393 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
40394 mode for addition resulting in exact zero.
40395 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
40396 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
40398 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40399 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40400 * math/libm-test.inc (fma_test): Add more tests.
40401 (fma_test_towardzero): New function.
40402 (fma_test_downward): Likewise.
40403 (fma_test_upward): Likewise.
40404 (main): Call the new functions.
40406 2012-09-28 David S. Miller <davem@davemloft.net>
40408 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
40410 2012-09-28 Roland McGrath <roland@hack.frob.com>
40412 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
40413 instead of SIGALRM.
40415 * sysdeps/gnu/_G_config.h: Moved to ...
40416 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
40417 * sysdeps/mach/hurd/_G_config.h: Moved to ...
40418 * sysdeps/generic/_G_config.h: ... here.
40420 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
40422 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
40424 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
40425 Conditionalize target on [libnss_test1.so-version].
40427 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
40429 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
40430 (elfobjdir): Move out of conditionals.
40432 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
40433 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
40434 (__nss_lookup_function): Conditionalize label remove_from_tree on
40435 [!DO_STATIC_NSS || SHARED], matching its only use.
40437 2012-09-28 David S. Miller <davem@davemloft.net>
40439 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
40440 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
40442 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40444 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40445 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
40446 when HWCAP_SPARC_CRYPTO is present.
40448 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40450 * io/tst-mknodat.c: Create a FIFO instead of a socket.
40452 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
40455 * stdio-common/vfprintf.c (process_string_arg): Revert
40458 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
40460 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
40462 * stdio-common/tst-sprintf.c: Include <locale.h>
40463 (main): Test sprintf's handling of incomplete multibyte
40466 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
40468 * elf/dl-runtime.c (VERSYMIDX): Removed.
40469 * elf/dl-version.c (VERSYMIDX): Likewise.
40470 * elf/do-rel.h (VERSYMIDX): Likewise.
40471 (VALIDX): Likewise.
40472 * elf/dynamic-link.h (VERSYMIDX): Likewise.
40473 * elf/rtld.c (VALIDX): Likewise.
40474 (ADDRIDX): Likewise.
40475 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
40476 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
40477 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
40478 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
40479 (VALIDX): Likewise.
40480 (ADDRIDX): Likewise.
40482 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40484 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
40486 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
40489 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
40491 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
40492 addresses are in the same scope as 192.0.2/24.
40493 * posix/gai.conf: Document new scope table defaults.
40495 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40498 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
40499 for ftell. Compute offsets from write pointers instead.
40500 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40502 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40505 * libio/Makefile (tests): New test case tst-fseek.
40506 * libio/tst-fseek.c: New test case to verify that fseek/ftell
40507 combination works in wide mode.
40508 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
40509 state when the external buffer state changes.
40511 2012-09-27 David S. Miller <davem@davemloft.net>
40514 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
40515 pass reloc->r_addend in as the 'high' argument to
40516 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
40518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40520 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40522 * rt/tst-aio2.c: Include <pthread.h>.
40523 * rt/tst-aio3.c: Likewise.
40525 2012-09-27 Steve Ellcey <sellcey@mips.com>
40527 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
40529 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
40531 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
40532 contents on [SHARED].
40534 2012-09-26 Marek Polacek <polacek@redhat.com>
40538 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
40539 for C++ and GCC <4.3 as well as for non GCC compilers.
40541 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
40543 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40545 2012-09-25 Roland McGrath <roland@hack.frob.com>
40547 * Makefile.in (all, install): Declare with .PHONY.
40548 Reported by Michael Hope <michael.hope@linaro.org>.
40550 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40552 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
40553 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
40555 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
40557 (sydep_routines): Add the new and the internal functions.
40558 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
40559 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
40560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
40561 (GLIBC_2.17): Add the new function.
40562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40563 (GLIBC_2.17): Likewise.
40564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
40565 (GLIBC_2.17): Likewise.
40566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
40567 (GLIBC_2.17): Likewise.
40568 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
40570 2012-09-25 Alan Modra <amodra@gmail.com>
40572 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
40573 Add release barrier before setting once_control to say
40574 initialisation is done. Add hints on lwarx. Use macro in
40576 (clear_once_control): Add release barrier.
40578 2012-09-25 Joseph Myers <joseph@codesourcery.com>
40581 * math/s_clog.c (__clog): Handle more values close to |z| = 1
40583 * math/s_clog10.c (__clog10): Likewise.
40584 * math/s_clog10f.c (__clog10f): Likewise.
40585 * math/s_clog10l.c (__clog10l): Likewise.
40586 * math/s_clogf.c (__clogf): Likewise.
40587 * math/s_clogl.c (__clogl): Likewise.
40588 * math/Makefile (libm-calls): Add x2y2m1.
40589 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
40590 (__x2y2m1): Likewise.
40591 (__x2y2m1l): Likewise.
40592 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
40593 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
40594 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
40595 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40596 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
40597 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
40598 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
40599 * sysdeps/i386/fpu/libm-test-ulps: Update.
40600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40603 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
40604 int as type of variable DEPTH.
40605 (glob): Use size_t instead of int as type of variables NEWCOUNT
40608 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40610 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
40611 Add s_sincosf-sse2.
40612 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
40613 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
40614 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
40615 macros for using routine as __sincosf_ia32.
40616 Use macro for function declaration and weak_alias.
40617 * sysdeps/i386/fpu/libm-test-ulps: Update.
40619 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
40620 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40622 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
40623 subnormal argument.
40624 * math/s_cexpf.c (__cexpf): Likewise.
40625 * math/s_csinf.c (__csinf): Likewise.
40626 * math/s_csinhf.c (__csinhf): Likewise.
40627 * math/s_ctanf.c (__ctanf): Likewise.
40628 * math/s_ctanhf.c (__ctanhf): Likewise.
40629 * math/s_ccosh.c (__ccoshf): Likewise.
40630 * math/s_cexp.c (__cexpl): Likewise.
40631 * math/s_csin.c (__csin): Likewise.
40632 * math/s_csinh.c (__csinh): Likewise.
40633 * math/s_ctan.c (__ctan): Likewise.
40634 * math/s_ctanh.c (ctanh): Likewise.
40635 * math/s_ccoshl.c (__ccoshl): Likewise.
40636 * math/s_cexpl.c (__cexpl): Likewise.
40637 * math/s_csinl.c (__csinl): Likewise.
40638 * math/s_csinhl.c (__csinhl): Likewise.
40639 * math/s_ctanl.c (__ctanl): Likewise.
40640 * math/s_ctanhl.c (__ctanhl): Likewise.
40642 2012-09-25 Joseph Myers <joseph@codesourcery.com>
40644 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
40645 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
40646 (_IO_off_t): Define to __off_t, not _G_off_t.
40647 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
40648 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
40649 (_IO_wint_t): Define to wint_t, not _G_wint_t.
40650 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
40651 type of __dummy and __dummy2 fields.
40652 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
40653 (_G_ssize_t): Likewise.
40654 (_G_off_t): Likewise.
40655 (_G_pid_t): Likewise.
40656 (_G_uid_t): Likewise.
40657 (_G_wchar_t): Likewise.
40658 (_G_wint_t): Likewise.
40659 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
40660 (_G_ssize_t): Likewise.
40661 (_G_off_t): Likewise.
40662 (_G_pid_t): Likewise.
40663 (_G_uid_t): Likewise.
40664 (_G_wchar_t): Likewise.
40665 (_G_wint_t): Likewise.
40666 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
40667 (_G_ssize_t): Likewise.
40668 (_G_off_t): Likewise.
40669 (_G_pid_t): Likewise.
40670 (_G_uid_t): Likewise.
40671 (_G_wchar_t): Likewise.
40672 (_G_wint_t): Likewise.
40674 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40676 * malloc/arena.c: Include malloc-sysdep.h.
40677 (shrink_heap): Use check_may_shrink_heap to decide if madvise
40678 is sufficient to shrink the heap or an unmap is needed.
40679 * sysdeps/generic/malloc-sysdep.h: New file. Define
40680 new function check_may_shrink_heap.
40681 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
40682 new function check_may_shrink_heap.
40684 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40686 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
40689 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
40691 * catgets/test-gencat.sh: Add "set -e".
40692 * elf/tst-pathopt.sh: Likewise.
40693 * grp/tst_fgetgrent.sh: Likewise.
40694 * iconvdata/run-iconv-test.sh: Likewise.
40695 * intl/tst-gettext.sh: Likewise.
40696 * intl/tst-gettext2.sh: Likewise.
40697 * intl/tst-gettext4.sh: Likewise.
40698 * intl/tst-gettext6.sh: Likewise.
40699 * intl/tst-translit.sh: Likewise.
40700 * io/ftwtest-sh: Likewise.
40701 * libio/test-freopen.sh: Likewise.
40702 * malloc/tst-mtrace.sh: Likewise.
40703 * posix/globtest.sh: Likewise.
40704 * posix/tst-getconf.sh: Likewise.
40705 * posix/wordexp-tst.sh: Likewise.
40706 * stdio-common/tst-printf.sh: Likewise.
40707 * stdio-common/tst-unbputc.sh: Likewise.
40708 * stdlib/tst-fmtmsg.sh: Likewise.
40709 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40710 * catgets/Makefile: Do not specify -e option when running
40711 testsuite shell scripts.
40712 * elf/Makefile: Likewise.
40713 * grp/Makefile: Likewise.
40714 * iconvdata/Makefile: Likewise.
40715 * intl/Makefile: Likewise.
40716 * io/Makefile: Likewise.
40717 * libio/Makefile: Likewise.
40718 * malloc/Makefile: Likewise.
40719 * posix/Makefile: Likewise.
40720 * stdio-common/Makefile: Likewise.
40721 * stdlib/Makefile: Likewise.
40722 * sysdeps/x86_64/Makefile: Likewise.
40724 * io/ftwtest-sh: Add copyright header.
40725 * posix/globtest.sh: Likewise.
40726 * posix/tst-getconf.sh: Likewise.
40727 * posix/wordexp-tst.sh: Likewise.
40728 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40730 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
40733 * Makeconfig (+link): Defined as $(+link-static) if
40734 $(build-shared) isn't yes.
40735 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
40737 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
40739 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
40742 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
40743 new chunk size with MALLOC_ALIGN_MASK.
40745 2012-09-24 Joseph Myers <joseph@codesourcery.com>
40748 * stdio-common/printf_fphex.c: Include <stdbool.h> and
40750 (__printf_fphex): Determine rounding using get_rounding_mode and
40752 * stdio-common/tst-printf-round.c (struct hex_test): New
40754 (hex_tests): New variable.
40755 (test_hex_in_one_mode): New function.
40756 (do_test): Also run tests for hex float output.
40758 2012-09-21 Joseph Myers <joseph@codesourcery.com>
40760 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40761 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40762 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
40763 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40764 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40765 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
40766 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40767 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40769 2012-09-20 Joseph Myers <joseph@codesourcery.com>
40771 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
40772 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
40773 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
40774 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
40776 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
40779 * elf/rtld.c (dl_main): Limit the check for self loading to normal
40781 * elf/tst-rtld-load-self.sh: New test.
40782 * elf/Makefile: Run it.
40784 2012-09-18 Joseph Myers <joseph@codesourcery.com>
40786 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
40787 (tst-writev-ENV): Remove.
40788 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
40790 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
40792 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
40794 2012-09-17 Joseph Myers <joseph@codesourcery.com>
40796 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
40798 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
40800 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
40801 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
40802 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
40805 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
40808 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
40809 * config.make.in (have-cpp-asm-debuginfo): Removed.
40810 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
40811 * configure: Regenerated.
40813 2012-09-14 Joseph Myers <joseph@codesourcery.com>
40816 * stdio-common/printf_fp.c: Include <stdbool.h> and
40818 (___printf_fp): Determine rounding using get_rounding_mode and
40820 * stdio-common/tst-printf-round.c: New file.
40821 * stdio-common/Makefile (tests): Add tst-printf-round.
40822 (link-libm): New variable.
40823 ($(objpfx)tst-printf-round): Depend in $(link-libm).
40825 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
40828 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
40829 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
40831 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
40834 2012-09-13 Joseph Myers <joseph@codesourcery.com>
40836 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
40837 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40838 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40839 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40841 2012-09-12 Joseph Myers <joseph@codesourcery.com>
40844 * include/rounding-mode.h: New file.
40845 * sysdeps/generic/get-rounding-mode.h: Likewise.
40846 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
40847 * stdlib/strtod_l.c: Include <rounding-mode.h>.
40848 (MAX_VALUE): New macro.
40849 (MIN_VALUE): Likewise.
40850 (overflow_value): New function.
40851 (underflow_value): Likewise.
40852 (round_and_return): Use overflow_value and underflow_value to
40853 determine return values in overflow and underflow cases. Use
40854 round_away to determine rounding depending on rounding mode.
40855 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
40856 determine return values in overflow and underflow cases.
40857 * stdlib/tst-strtod-round.c: Include <fenv.h>.
40858 (struct test_results): New structure.
40859 (struct test): Use struct test_results to store expected results
40860 for all rounding modes.
40861 (TEST): Include expected results for all rounding modes.
40862 (test_in_one_mode): New function.
40863 (do_test): Use test_in_one_mode to compute and check results.
40864 Check results for all rounding modes.
40865 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
40868 2012-12-09 Allan McRae <allan@archlinux.org>
40870 * sysdeps/i386/fpu/libm-test-ulps: Update
40872 2012-09-11 Joseph Myers <joseph@codesourcery.com>
40874 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
40875 (_G_int32_t): Likewise.
40876 (_G_uint16_t): Likewise.
40877 (_G_uint32_t): Likewise.
40878 (_G_HAVE_BOOL): Likewise.
40879 (_G_HAVE_ATEXIT): Likewise.
40880 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40881 (_G_HAVE_IO_FILE_OPEN): Likewise.
40882 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
40883 (_G_int32_t): Likewise.
40884 (_G_uint16_t): Likewise.
40885 (_G_uint32_t): Likewise.
40886 (_G_HAVE_BOOL): Likewise.
40887 (_G_HAVE_ATEXIT): Likewise.
40888 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40889 (_G_HAVE_IO_FILE_OPEN): Likewise.
40890 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
40891 (_G_int32_t): Likewise.
40892 (_G_uint16_t): Likewise.
40893 (_G_uint32_t): Likewise.
40894 (_G_HAVE_BOOL): Likewise.
40895 (_G_HAVE_ATEXIT): Likewise.
40896 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40897 (_G_HAVE_IO_FILE_OPEN): Likewise.
40899 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
40901 * csu/libc-tls.c: Update copyright years.
40903 2012-09-10 Joseph Myers <joseph@codesourcery.com>
40905 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
40906 [!_G_USING_THUNKS]: Remove conditional code.
40907 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
40908 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
40910 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
40911 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
40912 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40913 (_G_VTABLE_LABEL_PREFIX): Likewise.
40914 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40915 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40916 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40917 (_G_VTABLE_LABEL_PREFIX): Likewise.
40918 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
40919 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40920 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40921 (_G_VTABLE_LABEL_PREFIX): Likewise.
40922 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
40924 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
40926 * libio/Makefile: Include ../Makeconfig before tests.
40927 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
40928 only if $(build-shared) is yes.
40930 * iconv/gconv_db.c: Update copyright years.
40932 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40934 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
40935 unwind info if defined PIC. Fix special cases description.
40936 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
40938 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
40940 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
40942 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
40944 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
40946 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
40949 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
40950 (LDLIBS-tst-chk4): This.
40951 (LDFLAGS-tst-chk5): Renamed to ...
40952 (LDLIBS-tst-chk5): This.
40953 (LDFLAGS-tst-chk6): Renamed to ...
40954 (LDLIBS-tst-chk6): This.
40955 (LDFLAGS-tst-lfschk4): Renamed to ...
40956 (LDLIBS-tst-lfschk4): This.
40957 (LDFLAGS-tst-lfschk5): Renamed to ...
40958 (LDLIBS-tst-lfschk5): This.
40959 (LDFLAGS-tst-lfschk6): Renamed to ...
40960 (LDLIBS-tst-lfschk6): This.
40962 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
40963 on $(common-objpfx)soversions.mk.
40965 2012-09-07 Joseph Myers <joseph@codesourcery.com>
40968 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
40971 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
40973 * malloc/arena.c (arena_get_retry): New function that gets
40974 another arena for the caller to try its request on.
40975 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
40976 current arena cannot fulfill the request.
40977 (__libc_memalign): Likewise.
40978 (__libc_memalign): Likewise.
40979 (__libc_pvalloc): Likewise.
40980 (__libc_calloc): Likewise.
40982 2012-09-05 John Tobey <john.tobey@gmail.com>
40985 * manual/arith.texi (Operations on Complex): Fix description
40986 of carg branch cut.
40988 2012-09-06 Joseph Myers <joseph@codesourcery.com>
40991 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
40995 * manual/memory.texi (Memory): Make order of menu items match
40998 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41000 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
41001 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
41002 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
41004 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41006 * csu/libc-tls.c (static_dtv): Renamed to ...
41007 (_dl_static_dtv): This. Make it global.
41008 (_dl_initial_dtv): Removed.
41009 (__libc_setup_tls): Updated.
41010 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
41011 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
41014 2012-09-06 Petr Machata <pmachata@redhat.com>
41016 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
41017 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
41018 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
41019 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
41021 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41024 * csu/libc-tls.c (_dl_initial_dtv): New variable.
41025 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
41028 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41031 * Makeconfig (link-static-before-libc): Replace $(+prector)
41033 (link-static-after-libc): Replace $(+postctor) with
41035 (link-bounded): Replace $(+prector)/$(+postctor) with
41036 $(+prectorT)/$(+postctorT).
41037 (+prectorT): New macro.
41038 (+postctorT): Likewise.
41040 2012-09-06 Joseph Myers <joseph@codesourcery.com>
41042 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
41043 (round_str): Handle values above the maximum for IBM long double
41045 * stdlib/tst-strtod-round.c (tests): Regenerated.
41047 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41049 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
41051 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
41052 zarch_nohighgprs around the zarch optimized routines.
41053 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
41054 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
41055 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
41058 2012-09-05 David S. Miller <davem@davemloft.net>
41060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41062 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
41063 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
41064 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
41065 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41068 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41070 * malloc/arena.c: Fold copyright years.
41071 * malloc/mcheck.c, malloc/memusage.c: Likewise.
41073 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41075 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
41077 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41079 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
41081 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41083 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
41084 change internal state upon failure.
41086 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41088 * malloc/mcheck.c (mcheck_check_all): Fix typo.
41089 * malloc/memusage.c (mmap): Likewise.
41090 (mmap64, mremap): Likewise. Adjust name in comment.
41092 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
41094 * libio/fileops.c: Fix typos in comments.
41095 * libio/oldfileops.c: Likewise.
41096 * libio/wfileops.c: Likewise.
41098 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
41101 * malloc/Makefile (tests): Add tst-malloc-usable test case.
41102 (tst-malloc-usable-ENV): Set environment for test case.
41103 * malloc/hooks.c (malloc_check_get_size): New function to get
41105 * malloc/malloc.c (musable): Use malloc_check_get_size.
41106 * malloc/tst-malloc-usable.c: New test case.
41108 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
41110 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
41112 2012-09-05 Allan McRae <allan@archlinux.org>
41115 * configure.in (CXX_SYSINCLUDES): Use compiler output to
41116 determine header location.
41117 * configure: Regenerated.
41119 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
41121 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
41123 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
41124 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
41126 (test): Regenerate.
41128 2012-09-04 David S. Miller <davem@davemloft.net>
41130 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
41131 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
41132 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
41134 2012-09-04 Florian Weimer <fweimer@redhat.com>
41136 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
41139 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
41141 2012-09-04 Joseph Myers <joseph@codesourcery.com>
41144 * libio/iogetdelim.c: Include <limits.h>.
41145 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
41146 + len + 1 would overflow.
41148 2012-09-03 Andreas Jaeger <aj@suse.de>
41150 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41151 * sysdeps/i386/fpu/libm-test-ulps: Update.
41153 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41155 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41156 Add s_sinf-sse2, s_conf-sse2.
41158 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
41159 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
41160 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
41161 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
41163 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
41164 for using routine as __sinf_ia32.
41165 Use macro for function declaration and weak_alias.
41166 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
41167 for using routine as __cosf_ia32.
41168 Use macro for function declaration and weak_alias.
41170 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
41171 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
41173 * sysdeps/x86_64/fpu/s_sinf.S: New file.
41174 * sysdeps/x86_64/fpu/s_cosf.S: New file.
41175 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41177 * math/libm-test.inc (cos_test): Add more test cases.
41178 (sin_test): Likewise.
41179 (sincos_test): Likewise.
41181 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41183 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
41184 (IFUNC_RESOLVE): Make pointers to the specialized implementations
41186 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
41188 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
41191 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
41192 first element of the GOT.
41193 (elf_machine_load_address): Return the difference between
41194 the runtime address of _DYNAMIC and elf_machine_dynamic ().
41196 2012-09-01 Allan McRae <allan@archlinux.org>
41199 * configure.in (AWK): Require gawk version 3.0 or later.
41200 * configure: Regenerated.
41202 2012-09-01 Joseph Myers <joseph@codesourcery.com>
41204 * sysdeps/unix/sysv/linux/kernel-features.h
41205 (__ASSUME_POSIX_CPU_TIMERS): Remove.
41206 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41207 [__NR_clock_getres]: Make code unconditional.
41208 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
41209 (clock_getcpuclockid): Remove code left unreachable by removal of
41211 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
41212 code unconditional.
41213 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41214 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41215 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
41216 Make code unconditional.
41217 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41218 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41219 * sysdeps/unix/sysv/linux/clock_settime.c
41220 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
41222 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
41223 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41225 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
41228 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
41229 scripts/test-installation.pl.
41231 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
41232 and $ld_so_version if it is set.
41234 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41237 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
41238 failure if reading from procfs failed.
41239 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
41241 2012-08-27 Joseph Myers <joseph@codesourcery.com>
41243 * sysdeps/unix/sysv/linux/kernel-features.h
41244 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
41245 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41246 Remove conditional code.
41247 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41248 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
41249 Remove conditional code.
41250 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41251 * sysdeps/unix/sysv/linux/i386/fxstat.c
41252 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41253 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41254 * sysdeps/unix/sysv/linux/i386/fxstatat.c
41255 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41256 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41257 * sysdeps/unix/sysv/linux/i386/lxstat.c
41258 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41259 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41260 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
41261 Remove conditional code.
41262 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41263 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41264 Remove conditional code.
41265 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41266 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
41267 <kernel-features.h>.
41268 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
41270 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
41271 Remove conditional code.
41272 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41273 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
41274 Remove conditional.
41276 2012-08-27 Mike Frysinger <vapier@gentoo.org>
41279 * NEWS: Add fixed bug number.
41281 2012-08-27 Joseph Myers <joseph@codesourcery.com>
41284 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
41285 underflowing exponent in case of negative sign.
41286 * stdlib/tst-strtod-round-data: Add more tests.
41287 * stdlib/tst-strtod-round.c (tests): Regenerated.
41290 * stdlib/strtod_l.c (NDIG): Remove.
41291 (HEXNDIG): Likewise.
41292 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
41293 smallest representable value.
41294 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
41295 lie within an exact representation of 1/2 ulp of the result.
41296 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
41298 (TENS_P9_IDX): Define unconditionally.
41299 (TENS_P9_SIZE): Likewise.
41300 (TENS_P10_IDX): Likewise.
41301 (TENS_P10_SIZE): Likewise.
41302 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
41303 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
41304 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
41305 entries for 10^2^13 and 10^2^14.
41306 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
41307 (TENS_P13_IDX): Define.
41308 (TENS_P13_SIZE): Likewise.
41309 (TENS_P14_IDX): Likewise.
41310 (TENS_P14_SIZE): Likewise.
41311 (_fpioconst_pow10): Change array size to
41312 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
41314 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
41315 1024]: Add entries for 10^2^13 and 10^2^14.
41316 [LAST_POW10 > _LAST_POW10]: Remove #error.
41317 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
41318 (_fpioconst_pow10): Change array size to
41319 FPIOCONST_POW10_ARRAY_SIZE.
41320 * stdlib/gen-fpioconst.c: New file.
41321 * stdlib/gen-tst-strtod-round.c: Likewise.
41322 * stdlib/tst-strtod-round-data: Likewise.
41323 * stdlib/tst-strtod-round.c: Likewise.
41324 * stdlib/Makefile (tests): Add tst-strtod-round.
41327 * stdlib/strtod_l.c: Include <stdint.h>.
41328 (NDEBUG): Do not define.
41329 (round_and_return): Change EXPONENT parameter to type intmax_t.
41330 Rearrange calculations to avoid internal overflow possibilities.
41331 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
41332 Rearrange calculations to avoid internal overflow possibilities.
41333 Assert that number fits inside MPNSIZE limbs.
41334 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
41335 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
41336 calculations and add assertions to avoid internal overflow
41337 possibilities. Add casts to avoid signed/unsigned operations.
41338 * stdlib/tst-strtod-overflow.c: New file.
41339 * stdlib/Makefile (tests): Add tst-strtod-overflow.
41341 2012-08-25 Marek Polacek <polacek@redhat.com>
41343 * time/time.h: Fix some typos in comments.
41345 2012-08-23 Roland McGrath <roland@hack.frob.com>
41347 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
41348 * posix/tst-rfc3484-2.c: Likewise.
41349 * posix/tst-rfc3484-3.c: Likewise.
41351 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
41353 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
41354 (EF_ARM_ABI_FLOAT_HARD): Likewise.
41356 2012-08-23 Joseph Myers <joseph@codesourcery.com>
41358 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
41359 #include of fxstatat64.c.
41361 2012-08-22 Roland McGrath <roland@hack.frob.com>
41363 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
41364 * shadow/getspent_r.c: Likewise.
41365 * shadow/getspnam.c: Likewise.
41366 * shadow/getspnam_r.c: Likewise.
41367 * gshadow/getsgent.c: Likewise.
41368 * gshadow/getsgent_r.c: Likewise.
41369 * gshadow/getsgnam.c: Likewise.
41370 * gshadow/getsgnam_r.c: Likewise.
41371 * inet/getnetbyad.c: Likewise.
41372 * inet/getnetbyad_r.c: Likewise.
41373 * inet/getnetbynm.c: Likewise.
41374 * inet/getnetbynm_r.c: Likewise.
41375 * inet/getnetent.c: Likewise.
41376 * inet/getnetent_r.c: Likewise.
41377 * inet/getproto.c: Likewise.
41378 * inet/getproto_r.c: Likewise.
41379 * inet/getprtent.c: Likewise.
41380 * inet/getprtent_r.c: Likewise.
41381 * inet/getprtname.c: Likewise.
41382 * inet/getprtname_r.c: Likewise.
41383 * inet/getrpcbyname.c: Likewise.
41384 * inet/getrpcbyname_r.c: Likewise.
41385 * inet/getrpcbynumber.c: Likewise.
41386 * inet/getrpcbynumber_r.c: Likewise.
41387 * inet/getrpcent.c: Likewise.
41388 * inet/getrpcent_r.c: Likewise.
41389 * inet/getaliasent.c: Likewise.
41390 * inet/getaliasent_r.c: Likewise.
41391 * inet/getaliasname.c: Likewise.
41392 * inet/getaliasname_r.c: Likewise.
41393 * nscd/getgrgid_r.c: Likewise.
41394 * nscd/getgrnam_r.c: Likewise.
41395 * nscd/gethstbyad_r.c: Likewise.
41396 * nscd/gethstbynm3_r.c: Likewise.
41397 * nscd/getpwnam_r.c: Likewise.
41398 * nscd/getpwuid_r.c: Likewise.
41399 * nscd/getsrvbynm_r.c: Likewise.
41400 * nscd/getsrvbypt_r.c: Likewise.
41401 * nscd/gai.c: Likewise.
41403 * configure.in (build_nscd): New substituted variable, set
41404 by --disable-build-nscd and defaults to $use_nscd.
41405 * configure: Regenerated.
41406 * config.make.in (build-nscd): New substituted variable.
41407 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
41408 Change conditional to require [$(build-nscd) = yes] as well.
41409 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
41412 * configure.in (use_nscd): New substituted variable, set by
41413 --disable-nscd. If enabled, define USE_NSCD.
41414 * configure: Regenerated.
41415 * config.h.in: Add USE_NSCD.
41416 * config.make.in (use-nscd): New substituted variable.
41417 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
41418 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
41419 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
41420 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
41421 (CFLAGS-getgrnam_r.c): Likewise.
41422 (CFLAGS-initgroups.c): Likewise.
41423 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
41424 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
41426 * inet/getnetgrent_r.c
41427 (nscd_setnetgrent): New function, broken out of ...
41428 (setnetgrent): ... here. Call it.
41429 (innetgr): Conditionalize nscd bits on [USE_NSCD].
41430 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
41431 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
41432 * nscd/Makefile (routines, aux): Move definitions after include of
41433 Makeconfig. Conditionalize on [$(use-nscd) != no].
41434 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
41435 Conditionalize on [USE_NSCD].
41436 (is_nscd, nscd_init_cb): Likewise.
41437 (nss_load_library): Conditionalize init callback on [USE_NSCD].
41438 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
41439 * nss/nss_db/db-init.c: Likewise.
41440 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
41442 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
41443 (make_request): Use it.
41444 (cache_valid_p): New function.
41445 (__check_pf): Use it.
41446 * NEWS: Add item for --disable-nscd.
41448 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
41450 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
41451 to support sed >= 4.2.1-20-ga9bf076.
41452 * configure: Regenerated.
41454 2012-08-22 Roland McGrath <roland@hack.frob.com>
41456 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
41457 Conditionalize whole body on [IREL].
41459 2012-08-22 Jeff Law <law@redhat.com>
41462 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
41463 if the family is PF_UNSPEC.
41465 2012-08-22 Mike Frysinger <vapier@gentoo.org>
41467 * Makerules (lib-version): Rename from V.
41468 (install-lib-nosubdir): Change V to lib-version.
41470 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
41473 * powerpc32/power6/wcschr.c: New file.
41474 * powerpc32/power6/wcscpy.c: New file.
41475 * powerpc32/power6/wcsrchr.c: New file.
41476 * powerpc64/power6/wcschr.c: New file.
41477 * powerpc64/power6/wcscpy.c: New file.
41478 * powerpc64/power6/wcsrchr.c: New file.
41480 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
41482 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
41483 (two_way_short_needle): Use it.
41484 * string/strstr.c (AVAILABLE1_USES_J): Define.
41485 * string/strcasestr.c: Likewise.
41487 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
41489 * string/strcasestr.c (TOLOWER): Make side-effect safe.
41492 * NEWS: Add an entry.
41493 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
41494 define their defaults.
41495 (two_way_short_needle): Detect end-of-string on-the-fly.
41496 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
41497 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
41498 * string/bug-strcasestr1.c: New test.
41499 * string/Makefile: Run it.
41501 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
41504 * string/str-two-way.h (two_way_short_needle): Optimize matching of
41505 the first character.
41507 2012-08-21 Roland McGrath <roland@hack.frob.com>
41509 * csu/elf-init.c (__libc_csu_irel): Function removed.
41510 * csu/libc-start.c (apply_irel): New function.
41511 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
41513 2012-08-21 Joseph Myers <joseph@codesourcery.com>
41515 * sysdeps/unix/sysv/linux/kernel-features.h
41516 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
41517 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
41518 <kernel-features.h>.
41519 [__NR_fadvise64_64]: Make code unconditional.
41520 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
41521 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41522 !__NR_fadvise64_64)]: Likewise.
41523 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41524 !__NR_fadvise64_64))]: Likewise.
41525 [__NR_fadvise64]: Make code unconditional.
41526 [!__NR_fadvise64]: Remove conditional code.
41527 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
41528 <kernel-features.h>.
41529 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41531 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
41534 not include <kernel-features.h>.
41535 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41537 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41539 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
41540 include <kernel-features.h>.
41541 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41543 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41546 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41548 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
41549 slight instruction rearrangements per scrollpipe analysis.
41550 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41552 2012-08-20 Roland McGrath <roland@hack.frob.com>
41554 * manual/syslog.texi (syslog; vsyslog, closelog):
41555 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
41556 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
41558 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
41559 DSOCAPS to match condition on defining it.
41561 2012-08-20 Joseph Myers <joseph@codesourcery.com>
41563 * sysdeps/unix/sysv/linux/kernel-features.h
41564 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
41565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
41566 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41567 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
41569 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41570 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
41572 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41573 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41575 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
41576 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
41578 * sysdeps/unix/sysv/linux/kernel-features.h
41579 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
41580 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
41582 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41583 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
41584 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41585 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41586 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
41587 Make code unconditional.
41588 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41589 (__mmap64) [!__NR_mmap2]: Likewise.
41590 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
41591 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41592 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41593 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
41594 [__NR_mmap2]: Make code unconditional.
41595 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41596 (__mmap64) [!__NR_mmap2]: Likewise.
41598 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41600 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
41602 2012-08-18 Andreas Jaeger <aj@suse.de>
41604 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
41606 2012-08-18 Mike Frysinger <vapier@gentoo.org>
41608 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
41609 * include/unistd.h (__have_sock_cloexec): Likewise.
41610 (__have_pipe2): Likewise.
41611 (__have_dup3): Likewise.
41613 2012-08-18 Mike Frysinger <vapier@gentoo.org>
41616 * include/unistd.h (__have_pipe2): Change define into an extern int.
41617 (__have_dup3): Likewise.
41618 * socket/have_sock_cloexec.c: Include fcntl.h.
41619 (__have_pipe2): New variable.
41620 (__have_dup3): Likewise.
41622 2012-08-17 Mike Frysinger <vapier@gentoo.org>
41624 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
41626 2012-08-17 Marek Polacek <polacek@redhat.com>
41628 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
41629 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
41631 2012-08-17 Roland McGrath <roland@hack.frob.com>
41633 * configure.in: Add AC_SUBST for sysheaders.
41634 * configure: Regenerated.
41635 * config.make.in (sysheaders): New substituted variable.
41637 * sysdeps/unix/mkfifo.c: Moved ...
41638 * sysdeps/posix/mkfifo.c: ... here.
41639 * sysdeps/unix/mkfifoat.c: Moved ...
41640 * sysdeps/posix/mkfifoat.c: ... here.
41642 * sysdeps/unix/utime.c: Moved ...
41643 * sysdeps/posix/utime.c: ... here.
41645 * sysdeps/unix/time.c: Moved ...
41646 * sysdeps/posix/time.c: ... here.
41647 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
41648 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
41650 * sysdeps/unix/nice.c: Moved ...
41651 * sysdeps/posix/nice.c: ... here.
41653 * sysdeps/unix/alarm.c: Moved ...
41654 * sysdeps/posix/alarm.c: ... here.
41656 * intl/Makefile ($(codeset_mo)): Depend on the input file.
41658 2012-08-17 Jeff Law <law@redhat.com>
41660 * intl/Makefile (codeset_mo): New variable.
41661 ($(codeset_mo)): New target.
41662 (tst-codeset.out): Depend on that. Remove explicit rule.
41663 (tst-gettext3.out, tst-gettext5.out): Likewise.
41664 (LOCPATH-ENV, tst-codeset-ENV): New variables.
41665 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
41666 * intl/tst-codeset.sh: Remove.
41667 * intl/tst-gettext3.sh: Likewise.
41668 * intl/tst-gettext5.sh: Likewise.
41670 2012-08-17 Roland McGrath <roland@hack.frob.com>
41672 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
41673 * sysdeps/unix/syscalls.list: ... here.
41675 * sysdeps/posix/getaddrinfo.c
41676 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
41677 (gaiconf_init, gaiconf_reload): Use them.
41678 [!_STATBUF_ST_NSEC]
41679 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
41680 Define using time_t rather than struct timespec.
41682 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
41683 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
41685 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
41687 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
41688 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
41691 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
41692 __libc_cleanup_push argument.
41694 * bits/param.h: New file.
41695 * misc/sys/param.h: New file.
41696 * include/sys/param.h: New file.
41697 * misc/Makefile (headers): Add bits/param.h.
41698 * sysdeps/generic/sys/param.h: File removed.
41699 * sysdeps/unix/sysv/linux/bits/param.h: New file.
41700 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
41701 * sysdeps/mach/hurd/bits/param.h: New file.
41702 * sysdeps/mach/hurd/sys/param.h: File removed.
41704 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
41707 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
41709 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
41710 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
41713 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
41714 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
41715 rather than -D_IO_MTSAFE_IO conditionally.
41716 * stdio-common/Makefile (CPPFLAGS): Likewise.
41717 * wcsmbs/Makefile (CPPFLAGS): Likewise.
41718 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
41719 Use $(libio-mtsafe).
41720 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
41721 of -D_IO_MTSAFE_IO.
41722 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
41723 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
41724 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
41725 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
41726 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
41727 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
41728 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
41729 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
41730 (CFLAGS-fread_u_chk.c): Likewise.
41731 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
41732 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
41733 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
41734 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
41735 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
41736 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
41737 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
41738 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
41739 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
41741 * libio/Makefile: Test [$(libc-reentrant) = yes]
41742 instead of [$(filter %REENTRANT, $(defines)) nonempty].
41745 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
41746 * sysdeps/pthread/configure: File removed.
41747 * sysdeps/pthread/Makeconfig: New file.
41748 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
41749 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
41751 2012-08-16 Gary Benson <gbenson@redhat.com>
41753 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
41754 unmapping the first object in a namespace.
41756 2012-08-16 Roland McGrath <roland@hack.frob.com>
41758 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
41759 (__internal_setnetgrent): ... this. Add internal_function to
41760 definition. Add libc_hidden_def.
41761 (setnetgrent): Update caller.
41762 (internal_endnetgrent): Renamed to ...
41763 (__internal_endnetgrent): ... this. Add internal_function to
41764 definition. Add libc_hidden_def.
41765 (endnetgrent): Update caller.
41766 (internal_getnetgrent_r): Renamed to ...
41767 (__internal_getnetgrent_r): ... this. Add internal_function to
41768 definition. Add libc_hidden_def.
41769 (__getnetgrent_r): Update caller.
41770 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
41772 2012-08-16 Joseph Myers <joseph@codesourcery.com>
41774 * stdlib/longlong.h: Update from GCC.
41776 2012-08-16 Roland McGrath <roland@hack.frob.com>
41778 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
41779 on _QL, which is set by umul_ppmm but never used.
41780 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
41781 variables, which are set by GMP macros but never used.
41782 * stdio-common/_itowa.c (_itowa): Likewise.
41783 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
41784 * stdlib/mod_1.c (mpn_mod_1): Likewise.
41786 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
41788 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
41789 struct La_sh_regs is not constant.
41790 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
41791 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
41792 and struct La_sparc64_regs are not constant.
41794 2012-08-16 Joseph Myers <joseph@codesourcery.com>
41796 * sysdeps/unix/sysv/linux/kernel-features.h
41797 (__ASSUME_POSIX_TIMERS): Remove.
41798 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41799 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41800 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
41801 Make code unconditional.
41802 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41803 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
41804 Make code unconditional.
41805 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41806 * sysdeps/unix/sysv/linux/clock_nanosleep.c
41807 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
41808 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41809 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
41810 Make code unconditional.
41811 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41812 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
41813 (__libc_missing_posix_timers): Remove.
41815 2012-08-15 Roland McGrath <roland@hack.frob.com>
41817 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
41818 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
41820 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
41822 * elf/dl-sym.c: Include <stdlib.h>.
41824 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
41825 constants, which avoids warnings in 32-bit builds.
41827 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
41828 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
41830 * misc/lseek.c: File moved to ...
41831 * io/lseek.c: ... here.
41833 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
41835 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
41836 shifting LEN more than 31 bits at once.
41838 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41841 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
41842 segmentation fault for a case of two empty input strings.
41843 * string/test-strncasecmp.c (check1): Renamed to...
41844 (bz12205): ...this.
41845 (bz14195): Add new testcase for two empty input strings and N > 0.
41846 (test_main): Call new testcase, adapt for renamed function.
41848 2012-08-15 Andreas Jaeger <aj@suse.de>
41851 * crypt/md5test2.c: New test, based on test supplied by Serge
41852 Belyshev <belyshev@depni.sinp.msu.ru>.
41853 * crypt/Makefile (xtests): Add md5test-giant..
41854 * crypt/Makefile ($(objpfx)md5test-giant): Add.
41856 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
41859 * crypt/md5.c (md5_process_block): Don't assume the buffer
41860 length is less than 2**32.
41861 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
41862 length is less than 2**64.
41864 2012-08-15 Roland McGrath <roland@hack.frob.com>
41866 * string/str-two-way.h: Include <sys/param.h>.
41867 (MAX): Macro removed.
41869 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
41870 Move #define and #undef of memmove to just before and after
41871 including <string.h>.
41873 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
41874 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
41875 and after including <string.h>. Move declarations of
41876 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
41877 to before #include "string/memmove.c".
41879 * include/dirent.h: Declare __getdirentries.
41881 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
41882 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
41884 2012-08-14 Mike Frysinger <vapier@gentoo.org>
41886 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
41887 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
41888 * sysdeps/i386/configure: Regenerated.
41889 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
41890 STABS_CURRENT_FILE, and STABS_FUN.
41891 (END): Remove call to STABS_FUN_END.
41892 (STABS_CURRENT_FILE1): Delete.
41893 (STABS_CURRENT_FILE): Likewise.
41894 (STABS_FUN): Likewise.
41895 (STABS_FUN_END): Likewise.
41896 (STABS_FUN2): Likewise.
41897 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
41898 * sysdeps/x86_64/configure: Regenerated.
41900 2012-08-14 Roland McGrath <roland@hack.frob.com>
41902 * elf/dl-open.c: Include <atomic.h>.
41903 * elf/dl-lookup.c: Likewise.
41905 2012-08-14 Joseph Myers <joseph@codesourcery.com>
41907 * sysdeps/unix/sysv/linux/kernel-features.h
41908 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
41909 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
41911 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
41913 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
41914 condition on __ASSUME_CLONE_THREAD_FLAGS.
41916 2012-08-14 Andreas Jaeger <aj@suse.de>
41918 * sysdeps/i386/fpu/libm-test-ulps: Update.
41920 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
41922 * include/atomic.h (atomic_exchange_and_add): Split into ...
41923 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
41926 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
41928 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41930 2012-08-13 Jeff Law <law@redhat.com>
41932 * manual/stdio.texi (snprintf): Clarify handling of the trailing
41933 null byte in the output string.
41935 2012-08-10 Joseph Myers <joseph@codesourcery.com>
41937 * sysdeps/unix/sysv/linux/kernel-features.h
41938 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
41939 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
41940 (__ASSUME_ARG_MAX_STACK_BASED): Define.
41941 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
41942 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
41943 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
41944 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
41946 2012-08-09 Jeff Law <law@redhat.com>
41949 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
41950 When avoid_arena is set, don't retry in the that arena. Pick the
41951 next one, whatever it might be.
41952 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
41953 (arena_lock): Pass in new parameter to arena_get2.
41954 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
41956 (__libc_malloc): Unify retrying after main arena failure with
41957 __libc_memalign version.
41958 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
41960 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
41963 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
41964 to __redirect_strstr.
41965 (__strstr_sse42): Use typeof __redirect_strstr.
41966 (__strstr_ia32): Likewise.
41967 (__libc_strstr): New prototype.
41968 (strstr): Renamed to ...
41969 (__libc_strstr): This.
41970 (strstr): New strong alias of __libc_strstr.
41971 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41972 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
41975 (__libc_time): New prototype.
41976 (time_ifunc): Replace time with __libc_time.
41977 (time): New strong alias and hidden definition of __libc_time.
41978 (__GI_time): Remove strong alias.
41979 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
41980 Include <stddef.h>.
41981 (memmove): Redefined to __redirect_memmove.
41982 (__memmove_sse2): Use typeof __redirect_memmove.
41983 (__memmove_ssse3): Likewise.
41984 (__memmove_ssse3_back): Likewise.
41985 (__libc_memmove): New prototype.
41986 (memmove): Renamed to ...
41987 (__libc_memmove): This.
41988 (memmove): New strong alias of __libc_memmove.
41990 2012-08-08 Mark Salter <msalter@redhat.com>
41993 (R_MN10300_TLS_GD): Define.
41994 (R_MN10300_TLS_LD): Likewise.
41995 (R_MN10300_TLS_LDO): Likewise.
41996 (R_MN10300_TLS_GOTIE): Likewise.
41997 (R_MN10300_TLS_IE): Likewise.
41998 (R_MN10300_TLS_LE): Likewise.
41999 (R_MN10300_TLS_DTPMOD): Likewise.
42000 (R_MN10300_TLS_DTPOFF): Likewise.
42001 (R_MN10300_TLS_TPOFF): Likewise.
42002 (R_MN10300_SYM_DIFF): Likewise.
42003 (R_MN10300_ALIGN): Likewise.
42004 (R_MN10300_NUM): Update.
42006 2012-08-08 Joseph Myers <joseph@codesourcery.com>
42008 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
42011 2012-08-08 Roland McGrath <roland@hack.frob.com>
42013 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
42015 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
42016 sysdeps/unix -> sysdeps/posix move.
42017 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
42019 2012-08-07 Allan McRae <allan@archlinux.org>
42022 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
42023 (SUNOS_CPP): Likewise.
42024 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
42026 (open_input): Call CPP using execvp.
42028 2012-08-07 Joseph Myers <joseph@codesourcery.com>
42030 * sysdeps/unix/sysv/linux/kernel-features.h
42031 (__ASSUME_PROT_GROWSUPDOWN): Remove.
42032 (__ASSUME_NO_CLONE_DETACHED): Likewise.
42033 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42034 (__ASSUME_WAITID_SYSCALL): Likewise.
42035 * sysdeps/unix/sysv/linux/dl-execstack.c
42036 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
42037 code unconditional.
42038 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
42040 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
42041 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
42042 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
42044 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
42046 [__ASSUME_WAITID_SYSCALL]: Likewise.
42047 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
42049 2012-08-07 Roland McGrath <roland@hack.frob.com>
42051 * sysdeps/unix/closedir.c: Renamed to ...
42052 * sysdeps/posix/closedir.c: ... here.
42053 * sysdeps/unix/dirfd.c: Renamed to ...
42054 * sysdeps/posix/dirfd.c: ... here.
42055 * sysdeps/unix/dirstream.h: Renamed to ...
42056 * sysdeps/posix/dirstream.h: ... here.
42057 * sysdeps/unix/fdopendir.c: Renamed to ...
42058 * sysdeps/posix/fdopendir.c: ... here.
42059 * sysdeps/unix/opendir.c: Renamed to ...
42060 * sysdeps/posix/opendir.c: ... here.
42061 * sysdeps/unix/readdir.c: Renamed to ...
42062 * sysdeps/posix/readdir.c: ... here.
42063 * sysdeps/unix/readdir_r.c: Renamed to ...
42064 * sysdeps/posix/readdir_r.c: ... here.
42065 * sysdeps/unix/rewinddir.c: Renamed to ...
42066 * sysdeps/posix/rewinddir.c: ... here.
42067 * sysdeps/unix/seekdir.c: Renamed to ...
42068 * sysdeps/posix/seekdir.c: ... here.
42069 * sysdeps/unix/telldir.c: Renamed to ...
42070 * sysdeps/posix/telldir.c: ... here.
42071 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
42072 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
42073 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
42074 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
42076 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
42077 * bits/fcntl.h: ... here.
42079 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
42081 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
42082 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
42083 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
42084 (struct flock): Move l_start, l_len to the beginning.
42085 Use __pid_t for l_pid.
42086 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
42087 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
42088 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
42089 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
42090 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
42091 [__USE_LARGEFILE64] (struct flock64): New type.
42092 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
42094 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
42095 * bits/dirent.h: ... here.
42097 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
42098 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
42100 2012-08-07 Joseph Myers <joseph@codesourcery.com>
42102 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42103 Change from 2.6.0 to 2.6.16.
42104 * sysdeps/unix/sysv/linux/configure: Regenerated.
42105 * sysdeps/unix/sysv/linux/kernel-features.h
42106 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
42107 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
42109 (__ASSUME_UTIMES): Likewise.
42110 (__ASSUME_CLONE_STOPPED): Remove.
42111 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
42112 architectures, not kernel version.
42113 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
42114 (__ASSUME_NO_CLONE_DETACHED): Likewise.
42115 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42116 (__ASSUME_WAITID_SYSCALL): Likewise.
42117 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
42118 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
42119 * README: State 2.6.16 as minimum Linux kernel version. Do not
42120 refer to older versions.
42122 2012-08-06 Roland McGrath <roland@hack.frob.com>
42124 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
42125 Define alphasort64 as an alias.
42126 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
42127 Define versionsort64 as an alias.
42128 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
42129 Define scandir64 as an alias.
42130 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
42131 Define scandirat64 as an alias.
42132 * dirent/alphasort64.c (alphasort64):
42133 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
42134 * dirent/versionsort64.c: Likewise.
42135 * dirent/scandir64.c: Likewise.
42136 * dirent/scandirat64.c: Likewise.
42137 * sysdeps/wordsize-64/alphasort.c: File removed.
42138 * sysdeps/wordsize-64/alphasort64.c: File removed.
42139 * sysdeps/wordsize-64/scandir.c: File removed.
42140 * sysdeps/wordsize-64/scandir64.c: File removed.
42141 * sysdeps/wordsize-64/scandirat.c: File removed.
42142 * sysdeps/wordsize-64/scandirat64.c: File removed.
42143 * sysdeps/wordsize-64/versionsort.c: File removed.
42144 * sysdeps/wordsize-64/versionsort64.c: File removed.
42145 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
42146 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
42147 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
42148 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
42149 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
42150 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
42151 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
42152 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
42154 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
42155 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42156 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
42157 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42158 [defined __arch64__ || defined __sparcv9]
42159 (__INO_T_MATCHES_INO64_T): New macro.
42160 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42161 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
42162 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
42163 * sysdeps/unix/sysv/linux/bits/dirent.h
42164 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
42165 (_DIRENT_MATCHES_DIRENT64): New macro.
42167 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
42168 Define lockf64 as an alias.
42169 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
42170 Define fseeko64 as an alias.
42171 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
42172 Define ftello64 as an alias.
42173 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
42174 Define _IO_fgetpos64 and fgetpos64 as aliases.
42175 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
42176 Define _IO_fsetpos64 and fsetpos64 as aliases.
42177 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
42178 Conditionalize body on this.
42179 * libio/fseeko64.c: Likewise.
42180 * libio/ftello64.c: Likewise.
42181 * libio/iofgetpos64.c: Likewise.
42182 * libio/iofsetpos64.c: Likewise.
42183 * sysdeps/wordsize-64/lockf.c: File removed.
42184 * sysdeps/wordsize-64/lockf64.c: File removed.
42185 * sysdeps/wordsize-64/fseeko.c: File removed.
42186 * sysdeps/wordsize-64/fseeko64.c: File removed.
42187 * sysdeps/wordsize-64/ftello.c: File removed.
42188 * sysdeps/wordsize-64/ftello64.c: File removed.
42189 * sysdeps/wordsize-64/iofgetpos.c: File removed.
42190 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
42191 * sysdeps/wordsize-64/iofsetpos.c: File removed.
42192 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
42193 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
42194 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
42195 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
42196 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
42197 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
42198 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
42199 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
42200 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
42201 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
42202 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
42204 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42205 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42206 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
42207 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42208 [defined __arch64__ || defined __sparcv9]
42209 (__OFF_T_MATCHES_OFF64_T): New macro.
42210 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42211 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42212 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42213 (__OFF_T_MATCHES_OFF64_T): New macro.
42215 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
42217 * stdlib/secure-getenv.c (__secure_getenv): Replace
42218 GLIBC_2_16 with GLIBC_2_17.
42220 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
42222 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
42223 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42225 2012-08-03 David S. Miller <davem@davemloft.net>
42227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42229 2012-08-03 Joseph Myers <joseph@codesourcery.com>
42231 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
42233 (__ASSUME_CORRECT_SI_PID): Likewise.
42234 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
42235 (__ASSUME_TMPFS_NAME): Likewise.
42236 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
42237 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
42238 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
42239 (HAVE_AUX_SECURE): Make definition unconditional.
42240 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
42241 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
42243 2012-08-03 Roland McGrath <roland@hack.frob.com>
42245 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
42246 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
42247 * sysdeps/mach/hurd/eloop-threshold.h: New file.
42248 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42249 __eloop_threshold instead of SYMLOOP_MAX.
42251 * sysdeps/generic/eloop-threshold.h: New file.
42252 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
42254 * elf/chroot_canon.c (chroot_canon): Likewise.
42256 2012-08-03 Joseph Myers <joseph@codesourcery.com>
42259 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42260 Change to 2.6.0 everywhere.
42261 * sysdeps/unix/sysv/linux/configure: Regenerated.
42262 * sysdeps/unix/sysv/linux/kernel-features.h
42263 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
42264 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
42266 (__ASSUME_POSIX_TIMERS): Define unconditionally.
42267 (__ASSUME_FUTEX_REQUEUE): Remove.
42268 (__ASSUME_STATFS64): Define unconditionally.
42269 (__ASSUME_AT_SECURE): Likewise.
42270 (__ASSUME_CORRECT_SI_PID): Likewise.
42271 (__ASSUME_TGKILL): Define without depending on kernel version for
42273 (__ASSUME_UTIMES): Likewise.
42274 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
42276 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
42277 (__ASSUME_TMPFS_NAME): Likewise.
42278 * README: Update reference to Linux kernel versions.
42280 2012-08-02 Marek Polacek <polacek@redhat.com>
42283 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
42284 libc_cv_asm_type_prefix with %.
42285 * configure: Regenerated.
42286 * include/libc-symbols.h: Remove comment about
42287 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42288 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
42289 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
42290 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
42291 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
42292 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42293 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
42294 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
42295 * elf/tst-unique2mod1.c: Likewise.
42296 * elf/tst-unique1mod2.c: Likewise.
42297 * elf/tst-unique1mod1.c: Likewise.
42298 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
42299 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
42300 Replace ASM_TYPE_DIRECTIVE with .type.
42301 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42302 * sysdeps/i386/sysdep.h: Likewise.
42303 * sysdeps/x86_64/sysdep.h: Likewise.
42304 * sysdeps/sh/sysdep.h: Likewise.
42305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42306 Do not define ASM_TYPE_DIRECTIVE.
42307 * sysdeps/powerpc/sysdep.h: Likewise.
42308 * sysdeps/powerpc/powerpc32/sysdep.h:
42309 Replace ASM_TYPE_DIRECTIVE with .type.
42310 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
42311 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42312 * sysdeps/i386/fpu/e_powf.S: Likewise.
42313 * sysdeps/i386/fpu/e_expl.S: Likewise.
42314 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42315 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42316 * sysdeps/i386/fpu/e_pow.S: Likewise.
42317 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42318 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42319 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42320 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42321 * sysdeps/i386/fpu/e_log2.S: Likewise.
42322 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42323 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42324 * sysdeps/i386/fpu/e_powl.S: Likewise.
42325 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42326 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42327 * sysdeps/i386/fpu/e_logl.S: Likewise.
42328 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42329 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42330 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42331 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42332 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42333 * sysdeps/i386/fpu/e_log.S: Likewise.
42334 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42335 * sysdeps/i386/fpu/e_logf.S: Likewise.
42336 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42337 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42338 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42339 * sysdeps/i386/fpu/e_log10.S: Likewise.
42340 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42341 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42342 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42343 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42344 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42345 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
42346 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42347 * sysdeps/i386/i686/strtok.S: Likewise.
42348 * sysdeps/i386/i386-mcount.S: Likewise.
42349 * sysdeps/i386/strtok.S: Likewise.
42350 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
42351 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42352 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42353 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42354 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42355 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42356 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42357 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42358 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42359 * sysdeps/x86_64/_mcount.S: Likewise.
42360 * sysdeps/x86_64/strtok.S: Likewise.
42361 * sysdeps/sh/_mcount.S: Likewise.
42363 2012-08-01 Roland McGrath <roland@hack.frob.com>
42365 * libio/iofopen.c: Include <fcntl.h>.
42366 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
42367 (_IO_fopen64, fopen64): Define as aliases.
42368 * libio/iofopen64.c: Include <fcntl.h>.
42369 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
42370 Conditionalize body on this.
42371 * sysdeps/wordsize-64/iofopen.c: File removed.
42372 * sysdeps/wordsize-64/iofopen64.c: File removed.
42374 2012-08-01 Marek Polacek <polacek@redhat.com>
42376 * libc/Makeconfig: Use elf in place of binfmt-subdir.
42377 Use dlfcn directly instead of a variable.
42378 (binfmt-subdir): Do not define.
42381 2012-08-01 Joseph Myers <joseph@codesourcery.com>
42383 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
42384 Remove all definitions.
42385 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
42386 <kernel-features.h>.
42387 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42388 (miss_F_GETOWN_EX): Remove all definitions.
42389 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
42391 [!__ASSUME_FCNTL64]: Remove conditional code.
42392 [__ASSUME_FCNTL64]: Make code unconditional.
42393 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
42394 <kernel-features.h>.
42395 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42396 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
42397 (lockf64) [__NR_fcntl64]: Make code unconditional.
42398 (lockf64) [__ASSUME_FCNTL64]: Likewise.
42400 * sysdeps/unix/sysv/linux/kernel-features.h
42401 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
42402 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
42403 Make code unconditional.
42404 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42405 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
42407 [__NR_vfork]: Make code unconditional.
42408 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42409 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
42411 [__NR_vfork]: Make code unconditional.
42412 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42413 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42415 2012-08-01 Roland McGrath <roland@hack.frob.com>
42417 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
42418 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
42420 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42421 Define mkstemp64 as an alias.
42422 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42423 Define mkstemps64 as an alias.
42424 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42425 Define mkostemp64 as an alias.
42426 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42427 Define mkostemps64 as an alias.
42428 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
42429 Conditionalize body on this.
42430 * misc/mkostemp64.c: Likewise.
42431 * misc/mkostemps64.c: Likewise.
42432 * misc/mkstemps64.c: Likewise.
42433 * sysdeps/wordsize-64/mkstemp64.c: File removed.
42434 * sysdeps/wordsize-64/mkostemp64.c: File removed.
42435 * sysdeps/wordsize-64/mkostemp.c: File removed.
42436 * sysdeps/wordsize-64/mkstemp.c: File removed.
42437 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
42438 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
42439 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
42440 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
42443 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
42444 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
42445 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
42446 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
42448 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
42449 compat_symbol macros from <shlib-compat.h> rather than the underlying
42450 default_symbol_version and symbol_version macros, so that DEFAULT
42451 lines in shlib-versions are respected.
42452 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
42454 2012-08-01 Florian Weimer <fweimer@redhat.com>
42456 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
42457 Declare with warn_unused_result.
42458 (setgid, setregid, setegid, setresgid): Likewise.
42459 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
42461 * WUR-REPORT: Remove set*id functions.
42463 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
42465 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
42467 2012-07-31 Roland McGrath <roland@hack.frob.com>
42470 * include/sys/socket.h (__libc_accept, __libc_accept4):
42471 Add attribute_hidden.
42472 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
42474 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
42476 * inet/getnetgrent_r.c (setup): Likewise.
42478 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
42480 2012-07-31 David S. Miller <davem@davemloft.net>
42482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42484 2012-07-31 Joseph Myers <joseph@codesourcery.com>
42487 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
42488 value between 1.0 and 2.0 and smaller part has absolute value less
42490 * math/s_clog10.c (__clog10): Likewise.
42491 * math/s_clog10f.c (__clog10f): Likewise.
42492 * math/s_clog10l.c (__clog10l): Likewise.
42493 * math/s_clogf.c (__clogf): Likewise.
42494 * math/s_clogl.c (__clogl): Likewise.
42495 * math/libm-test.inc (clog_test): Add more tests.
42496 (clog10_test): Likewise.
42497 * sysdeps/i386/fpu/libm-test-ulps: Update.
42498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42500 2012-07-31 Florian Weimer <fweimer@redhat.com>
42502 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
42503 Exit with zero in case no suitable GID is found, and write a
42504 message to standard error.
42506 2012-07-30 Roland McGrath <roland@hack.frob.com>
42508 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
42510 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
42511 (MAXPATHLEN): Removed.
42512 (NOGROUP, NODEV): New macros.
42513 (setbit, clrbit, isset, isclr): New macros.
42514 (howmany, roundup, powerof2): New macros.
42515 (DEV_BSIZE): New macro.
42517 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
42518 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
42520 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
42521 definition on [!__NO_LONG_DOUBLE_MATH].
42523 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
42524 PTR_MANGLE and PTR_DEMANGLE.
42526 * socket/accept4.c (accept4): Rename to __libc_accept4.
42527 Define accept4 as a weak alias.
42529 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
42530 on [_DIRENT_HAVE_D_TYPE].
42531 * io/ftw.c (ftw_dir): Likewise.
42533 * io/xmknod.c (__xmknod): Don't check PATH for being null.
42535 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
42537 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
42538 Use the BSD numbers rather than the arbitrary ones we had.
42539 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
42540 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
42541 (SIGXCPU, SIGXFSZ): New macros.
42544 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
42545 initializer on [_LIBC_REENTRANT].
42547 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
42548 definitions inside [_POSIX_MAPPED_FILES].
42550 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
42552 * dirent/opendir.c: Include <fcntl.h>.
42554 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
42555 (__libc_getspecific): Likewise.
42556 (__libc_key_create): Likewise.
42558 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
42559 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
42560 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
42561 (tmpfile64): Define as alias.
42562 * sysdeps/wordsize-64/tmpfile.c: File removed.
42563 * sysdeps/wordsize-64/tmpfile64.c: File removed.
42564 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
42565 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
42567 * stdio-common/vfscanf.c: Include <stdbool.h>.
42568 * nss/makedb.c: Likewise.
42569 * stdio-common/_i18n_number.h: Likewise.
42570 * argp/argp-help.c: Likewise.
42571 * posix/wordexp.c: Likewise.
42572 * sysdeps/posix/spawni.c: Likewise.
42573 * nss/nss_files/files-initgroups.c: Likewise.
42574 * stdio-common/reg-modifier.c: Include <stdlib.h>.
42575 * nss/nss_files/files-initgroups.c: Likewise.
42576 * nss/nss_db/db-netgrp.c: Likewise.
42577 * nss/nss_db/db-initgroups.c: Likewise.
42578 * io/fchmodat.c: Include <sys/stat.h>.
42580 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
42581 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
42583 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
42586 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
42587 Add multiple inclusion protection.
42589 2012-07-27 David S. Miller <davem@davemloft.net>
42591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42593 2012-07-27 Gary Benson <gbenson@redhat.com>
42596 * elf/rtld.c: Include <stap-probe.h>.
42597 (dl_main): Added static probes "init_start" and "init_complete".
42598 * elf/dl-load.c: Include <stap-probe.h>.
42599 (lose): Take new parameter "nsid".
42600 Added static probe "map_failed".
42601 (_dl_map_object_from_fd): Pass namespace id to lose.
42602 Added static probe "map_start".
42603 (open_verify): Pass namespace id to lose.
42604 * elf/dl-open.c: Include <stap-probe.h>.
42605 (dl_open_worker) Added static probes "map_complete", "reloc_start"
42606 and "reloc_complete".
42607 * elf/dl-close.c: Include <stap-probe.h>.
42608 (_dl_close_worker): Added static probes "unmap_start" and
42610 * elf/rtld-debugger-interface.txt: New file documenting the above.
42612 2012-07-26 Roland McGrath <roland@hack.frob.com>
42614 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
42615 rather than a string variable.
42616 * sunrpc/rpc_main.c (h_output): Likewise.
42617 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
42619 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
42621 * inet/check_native.c: New file.
42623 2012-07-26 Joseph Myers <joseph@codesourcery.com>
42626 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
42627 if larger part has absolute value 1.0.
42628 * math/s_clog10.c (__clog10): Likewise.
42629 * math/s_clog10f.c (__clog10f): Likewise.
42630 * math/s_clog10l.c (__clog10l): Likewise.
42631 * math/s_clogf.c (__clogf): Likewise.
42632 * math/s_clogl.c (__clogl): Likewise.
42633 * math/libm-test.inc (clog_test): Add more tests.
42634 (clog10_test): Likewise.
42635 * sysdeps/i386/fpu/libm-test-ulps: Update.
42636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42638 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
42639 (pltexit): Likewise.
42640 (La_regs): Likewise.
42641 (La_retval): Likewise.
42642 (int_retval): Likewise.
42643 Update #error for removed macros to refer only to definitions in
42645 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
42647 (pltexit): Likewise.
42648 (La_regs): Likewise.
42649 (La_retval): Likewise.
42650 (int_retval): Likewise.
42651 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
42653 (pltexit): Likewise.
42654 (La_regs): Likewise.
42655 (La_retval): Likewise.
42656 (int_retval): Likewise.
42657 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
42659 (pltexit): Likewise.
42660 (La_regs): Likewise.
42661 (La_retval): Likewise.
42662 (int_retval): Likewise.
42663 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
42665 (pltexit): Likewise.
42666 (La_regs): Likewise.
42667 (La_retval): Likewise.
42668 (int_retval): Likewise.
42669 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
42671 (pltexit): Likewise.
42672 (La_regs): Likewise.
42673 (La_retval): Likewise.
42674 (int_retval): Likewise.
42675 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
42677 (pltexit): Likewise.
42678 (La_regs): Likewise.
42679 (La_retval): Likewise.
42680 (int_retval): Likewise.
42681 * sysdeps/generic/tst-audit.h: Update comment to refer only to
42682 macro definitions in tst-audit.h.
42683 * sysdeps/i386/tst-audit.h: New file.
42684 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
42685 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
42686 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
42687 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
42688 * sysdeps/sh/tst-audit.h: Likewise.
42689 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
42690 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
42691 * sysdeps/x86_64/tst-audit.h: Likewise.
42693 2012-07-26 Andreas Jaeger <aj@suse.de>
42695 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
42698 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
42699 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
42700 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
42702 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
42703 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
42704 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
42706 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
42709 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
42711 (si_call_addr, si_syscall, si_arch): Define new macro.
42712 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
42714 (si_call_addr, si_syscall, si_arch): Define new marcro.
42715 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
42717 (si_call_addr, si_syscall, si_arch): Define new macro.
42718 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
42720 (si_call_addr, si_syscall, si_arch): Define new macro.
42722 2012-07-25 Joseph Myers <joseph@codesourcery.com>
42725 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42726 Change to 2.4.21 where previously 2.4.1.
42727 * sysdeps/unix/sysv/linux/configure: Regenerated.
42728 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
42729 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
42730 Linux kernel version.
42731 (__ASSUME_STD_AUXV): Remove.
42732 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
42734 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
42735 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
42736 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
42737 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
42738 (__ASSUME_NETLINK_SUPPORT): Likewise.
42739 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
42740 (__no_netlink_support): Remove conditional definition.
42741 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
42743 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42744 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
42745 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
42746 (if_nameindex_ioctl): Remove.
42747 (if_nameindex_netlink): Do not handle __no_netlink_support.
42748 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42750 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
42751 Remove conditional code.
42752 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42754 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
42756 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42757 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
42758 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
42760 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
42761 [!__ASSUME_STD_AUXV]: Remove conditional code.
42762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
42763 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
42764 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
42765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
42766 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
42767 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42769 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42771 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
42772 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42774 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42776 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42779 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
42782 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42783 code unconditional.
42784 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42786 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42788 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42791 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42793 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
42796 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42797 code unconditional.
42798 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42800 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42802 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
42805 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42806 code unconditional.
42807 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42809 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42811 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42814 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
42816 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
42817 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
42818 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
42819 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
42820 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
42821 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
42822 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
42823 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
42824 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
42825 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
42826 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
42827 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
42828 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
42829 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
42830 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
42831 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
42832 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
42833 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
42834 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
42835 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
42836 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
42837 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
42838 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42840 2012-07-25 Florian Weimer <fweimer@redhat.com>
42842 * Versions.def: Add GLIBC_2.17.
42843 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
42844 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
42845 Introduce __libc_secure_getenv.
42846 * stdlib/Versions (2.17): Add secure_getenv
42847 (GLIBC_PRIVATE): Add __libc_secure_getenv.
42848 * stdlib/secure-getenv.c: Rename __secure_getenv to
42849 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
42850 symbol __secure_getenv for GLIBC_2.0.
42851 * stdlib/tst-secure-getenv.c: New.
42852 * stdlib/Makefile (tests): Add testcase.
42853 * manual/startup.texi (Environment Access): Document
42855 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
42856 __libc_secure_getenv.
42857 * inet/ruserpass.c (ruserpass): Likewise.
42858 * malloc/mtrace.c (mtrace): Likewise.
42859 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
42860 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
42861 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
42862 * sysdeps/posix/tempname.c: Likewise. Evaluate
42863 HAVE_SECURE_GETENV.
42864 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
42865 __secure_getenv to __libc_secure_getenv.
42866 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
42867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42873 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
42879 2012-07-25 Joseph Myers <joseph@codesourcery.com>
42881 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
42882 (struct La_i86_retval): Likewise.
42883 (struct La_x86_64_regs): Likewise.
42884 (struct La_x86_64_retval): Likewise.
42885 (struct La_x32_regs): Likewise.
42886 (struct La_x32_retval): Likewise.
42887 (struct La_ppc32_regs): Likewise.
42888 (struct La_ppc32_retval): Likewise.
42889 (struct La_ppc64_regs): Likewise.
42890 (struct La_ppc64_retval): Likewise.
42891 (struct La_sh_regs): Likewise.
42892 (struct La_sh_retval): Likewise.
42893 (struct La_s390_32_regs): Likewise.
42894 (struct La_s390_32_retval): Likewise.
42895 (struct La_s390_64_regs): Likewise.
42896 (struct La_s390_64_retval): Likewise.
42897 (struct La_sparc32_regs): Likewise.
42898 (struct La_sparc32_retval): Likewise.
42899 (struct La_sparc64_regs): Likewise.
42900 (struct La_sparc64_retval): Likewise.
42901 (struct audit_ifaces): Remove architecture-specific pltenter and
42903 * sysdeps/i386/ldsodefs.h: New file.
42904 * sysdeps/powerpc/ldsodefs.h: Likewise.
42905 * sysdeps/s390/ldsodefs.h: Likewise.
42906 * sysdeps/sh/ldsodefs.h: Likewise.
42907 * sysdeps/sparc/ldsodefs.h: Likewise.
42908 * sysdeps/x86_64/ldsodefs.h: Likewise.
42910 2012-07-25 Marek Polacek <polacek@redhat.com>
42913 * math/libm-test.inc (yn_test): Add another test.
42914 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
42915 to ERANGE when the result is +-Inf.
42916 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
42917 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
42918 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
42919 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
42921 2012-07-24 Joseph Myers <joseph@codesourcery.com>
42923 * conform/data/time.h-data (NULL): Use macro-constant. Require
42925 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
42927 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
42929 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
42931 * configure.in <sysdeps resolving>: Correct printing
42933 * configure: Regenerate.
42935 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
42937 * math/w_ilogb.c: Include <limits.h>.
42938 * math/w_ilogbl.c: Likewise.
42940 2012-07-20 Joseph Myers <joseph@codesourcery.com>
42942 * manual/lang.texi (__va_copy): Document primarily as ISO C99
42943 va_copy. Document allowing for unavailable va_copy only as
42944 pre-C99 compatibility.
42945 * manual/string.texi (Copying and Concatenation): Use va_copy
42946 instead of __va_copy in concat example.
42948 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
42950 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
42951 (__sendto): Use create_address_port. Initialize APORT and deallocate
42954 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
42955 with O_NOLINK passed to __file_name_lookup.
42957 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
42958 with O_NOLINK passed to __file_name_lookup.
42960 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
42961 negative N or less than NGIDS.
42963 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
42964 type to string_t. Set ERANGE as errno and return it if NAME is not big
42965 enough. Use memcpy instead of strncpy.
42967 2012-07-20 Joseph Myers <joseph@codesourcery.com>
42969 * elf/Makefile (check-data): Remove.
42970 (localplt.data): New vpath directive.
42971 ($(objpfx)check-localplt.out): Use localplt.data from vpath
42972 instead of $(check-data).
42973 * scripts/data/localplt-generic.data: Move to ...
42974 * sysdeps/generic/localplt.data: ... here.
42975 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
42976 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
42977 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
42978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
42980 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
42981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
42983 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
42984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
42986 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
42987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
42989 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
42990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
42992 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
42993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
42996 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42998 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
42999 PPC32 and PPC64 files.
43000 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
43001 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
43003 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43005 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
43006 __makecontext_ret to ...
43007 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
43008 ... here and call exit if uc_link is NULL. New file.
43009 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
43010 __makecontext_ret.S.
43011 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
43012 __makecontext_ret to ...
43013 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
43014 ... here and call exit if uc_link is NULL. New file.
43015 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
43016 __makecontext_ret.S.
43018 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43020 * elf/elf.h (R_390_IRELATIVE): New definition.
43021 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
43022 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
43023 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
43024 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
43025 (elf_machine_lazy_rel): Likewise.
43026 * sysdeps/s390/dl-irel.h: New file.
43027 * sysdeps/s390/s390-64/memcpy.S: New asm code.
43028 * sysdeps/s390/s390-64/memset.S: New asm code.
43029 * sysdeps/s390/s390-64/memcmp.S: New asm code.
43030 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
43031 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
43032 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
43033 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
43034 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
43035 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
43036 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
43037 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
43038 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
43039 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
43040 * sysdeps/s390/s390-32/memcpy.S: New asm code.
43041 * sysdeps/s390/s390-32/memset.S: New asm code.
43042 * sysdeps/s390/s390-32/memcmp.S: New asm code.
43044 2012-07-17 Marek Polacek <polacek@redhat.com>
43047 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
43048 * sysdeps/s390/s390-64/configure.in: Likewise.
43049 * sysdeps/sparc/configure.in: Likewise.
43050 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
43051 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
43052 * sysdeps/i386/configure.in: Likewise.
43053 * sysdeps/x86_64/configure.in: Likewise.
43054 * sysdeps/sh/configure.in: Likewise.
43055 * sysdeps/s390/s390-32/configure: Regenerated.
43056 * sysdeps/s390/s390-64/configure: Likewise.
43057 * sysdeps/x86_64/configure: Likewise.
43058 * sysdeps/sh/configure: Likewise.
43059 * sysdeps/powerpc/powerpc64/configure: Likewise.
43060 * sysdeps/powerpc/powerpc32/configure: Likewise.
43061 * sysdeps/sparc/configure: Likwise.
43062 * sysdeps/i386/configure: Likewise.
43064 * elf/dl-open.c: Comment fixes.
43066 2012-07-17 Joseph Myers <joseph@codesourcery.com>
43068 * Makefile [CXX] (check-data): Remove.
43069 [CXX] (c++-types.data): New vpath directive.
43070 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
43071 vpath. Do not allow for C++ type data being missing.
43072 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
43073 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
43074 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
43075 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
43076 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
43077 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
43078 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
43079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
43081 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
43082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
43084 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
43085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
43087 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
43088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
43090 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
43091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
43093 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
43094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
43096 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
43097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
43099 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
43100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
43102 * elf/tls-macros.h (TLS_LE): Move architecture-specific
43103 definitions to architecture-specific files.
43104 (TLS_IE): Likewise.
43105 (TLS_LD): Likewise.
43106 (TLS_GD): Likewise.
43107 * sysdeps/i386/tls-macros.h: New file.
43108 * sysdeps/powerpc/tls-macros.h: Likewise.
43109 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
43110 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
43111 * sysdeps/sh/tls-macros.h: Likewise.
43112 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
43113 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
43114 * sysdeps/x86_64/tls-macros.h: Likewise.
43116 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
43118 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
43119 zero value for regular exit case.
43121 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
43122 (__start_context): Preserve zero value for regular exit case.
43124 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
43125 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43127 * manual/setjmp.texi (setcontext): Clarify normal process
43128 termination when uc_link is the null pointer.
43129 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
43132 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
43134 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
43135 preprocessor. Test for each exception mask separately.
43137 2012-07-16 Andreas Jaeger <aj@suse.de>
43139 * po/ru.po: Update from translation team.
43141 2012-07-15 Joseph Myers <joseph@codesourcery.com>
43143 * conform/data/string.h-data (NULL): Use macro-constant. Require
43145 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43146 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43147 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
43148 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
43149 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43151 2012-07-13 Andreas Jaeger <aj@suse.de>
43153 * po/fr.po: Update from translation team.
43155 2012-07-12 Marek Polacek <polacek@redhat.com>
43158 * math/libm-test.inc (yn_test): Add test for BZ #14173.
43159 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
43162 2012-07-12 Joseph Myers <joseph@codesourcery.com>
43165 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43166 Change to 2.4.1 where previously 2.4.0.
43167 * sysdeps/unix/sysv/linux/configure: Regenerated.
43168 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
43169 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
43171 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
43172 (__ASSUME_AT_CLKTCK): Remove.
43173 (__ASSUME_AT_PAGESIZE): Likewise.
43174 (__ASSUME_AT_XID): Likewise.
43175 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
43176 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
43177 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
43179 (HAVE_AUX_PAGESIZE): Likewise.
43180 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
43181 [__ASSUME_AT_CLKTCK]: Make code unconditional.
43182 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
43184 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
43187 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
43188 the temporary buffer used to invoke __gethostbyname2_r,
43189 __gethostbyaddr_r and gethostbyname4_r to make room for struct
43190 host_data / struct gaih_addrtuple.
43191 * resolv/nss_dns/dns-host.c (global scope): Move definition of
43192 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
43193 header file nss/nsswitch.h.
43194 * nss/nsswitch.h (global scope): Add definition of implementation
43195 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
43196 resolv/nss_dns/dns-host.c).
43198 2012-07-11 Andreas Jaeger <aj@suse.de>
43200 * po/fr.po: Update from translation team.
43202 * po/sv.po: Update from translation team
43203 * po/fr.po: Another update from translation team.
43205 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43207 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
43208 for subnormals or multiply small sinh result by itself.
43209 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43212 2012-07-11 David S. Miller <davem@davemloft.net>
43214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43216 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
43219 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
43220 (INTERNAL_MARK): Shift it here.
43222 2012-07-10 Marek Polacek <polacek@redhat.com>
43225 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
43226 libc_cv_asm_global_directive with .globl.
43227 * configure: Regenerated.
43228 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
43230 * sysdeps/i386/configure: Regenerated.
43231 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
43233 * sysdeps/x86_64/configure: Regenerated.
43234 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
43235 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
43236 * elf/tst-unique2mod2.c: Likewise.
43237 * elf/tst-unique2mod1.c: Likewise.
43238 * elf/tst-unique1mod2.c: Likewise.
43239 * elf/tst-unique1mod1.c: Likewise.
43240 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43241 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43242 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43243 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43244 * sysdeps/mach/sysdep.h: Likewise.
43245 * sysdeps/i386/sysdep.h: Likewise.
43246 * sysdeps/i386/i386-mcount.S: Likewise.
43247 * sysdeps/x86_64/_mcount.S: Likewise.
43248 * sysdeps/x86_64/sysdep.h: Likewise.
43249 * sysdeps/sh/_mcount.S: Likewise.
43250 * sysdeps/sh/sysdep.h: Likewise.
43251 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
43252 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
43253 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
43254 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43255 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
43256 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
43257 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
43258 * locale/localeinfo.h: Likewise.
43259 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
43260 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
43262 2012-07-09 Roland McGrath <roland@hack.frob.com>
43265 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
43267 * manual/message.texi (The Uniforum approach): Likewise.
43268 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
43269 (glibc iconv Implementation): Likewise.
43271 2012-07-09 Joseph Myers <joseph@codesourcery.com>
43274 * math/s_clog.c (__clog): Avoid scaling a value down where that
43275 could result in underflow.
43276 * math/s_clog10.c (__clog10): Likewise.
43277 * math/s_clog10f.c (__clog10f): Likewise.
43278 * math/s_clog10l.c (__clog10l): Likewise.
43279 * math/s_clogf.c (__clogf): Likewise.
43280 * math/s_clogl.c (__clogl): Likewise.
43281 * math/libm-test.inc (clog_test): Add more tests.
43282 (clog10_test): Likewise.
43283 * sysdeps/i386/fpu/libm-test-ulps: Update.
43284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43286 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
43289 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
43290 by 7 not 8 to examine high bit of fractional part.
43293 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
43294 for call to __mcount_internal.
43295 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
43296 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
43297 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
43299 2012-07-06 Joseph Myers <joseph@codesourcery.com>
43302 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
43303 approximation for values within 0x1p-13f of an odd multiple of
43305 * math/libm-test.inc (tan_test): Do not allow spurious underflow
43306 exception. Add more tests.
43307 * sysdeps/i386/fpu/libm-test-ulps: Update.
43310 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
43311 inputs and return -1 for them. Do not check for +Inf in case not
43312 reachable for +Inf.
43313 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43314 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
43315 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43316 and return -1 for them. Do not check for +Inf in case not
43317 reachable for +Inf.
43318 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
43320 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43321 and return -1 for them. Do not check for +Inf in case not
43322 reachable for +Inf.
43323 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
43324 spurious underflow.
43325 * sysdeps/i386/fpu/libm-test-ulps: Update.
43326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43328 2012-07-06 Mike Frysinger <vapier@gentoo.org>
43330 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
43332 2012-07-05 Joseph Myers <joseph@codesourcery.com>
43336 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
43337 could result in spurious underflow. Scale down values above
43338 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
43339 * math/s_csqrtf.c (__csqrtf): Likewise.
43340 * math/s_csqrtl.c (__csqrtl): Likewise.
43341 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
43342 spurious underflow.
43343 * sysdeps/i386/fpu/libm-test-ulps: Update.
43344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43346 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
43348 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
43350 * catgets/xopen-msg.awk: New file.
43351 * catgets/xopen-msg.sed: Removed.
43353 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
43355 * intl/po2test.awk: New file.
43356 * intl/po2test.sed: Removed.
43358 2012-07-04 Joseph Myers <joseph@codesourcery.com>
43361 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
43362 or multiply small sinh result by itself.
43363 * math/s_ctanf.c (__ctanf): Likewise.
43364 * math/s_ctanh.c (__ctanh): Likewise.
43365 * math/s_ctanhf.c (__ctanhf): Likewise.
43366 * math/s_ctanhl.c (__ctanhl): Likewise.
43367 * math/s_ctanl.c (__ctanl): Likewise.
43368 * math/libm-test.inc (ctan_test_tonearest): New function.
43369 (ctan_test_towardzero): Likewise.
43370 (ctan_test_downward): Likewise.
43371 (ctan_test_upward): Likewise.
43372 (ctanh_test_tonearest): Likewise.
43373 (ctanh_test_towardzero): Likewise.
43374 (ctanh_test_downward): Likewise.
43375 (ctanh_test_upward): Likewise.
43376 (main): Call these new functions.
43377 * sysdeps/i386/fpu/libm-test-ulps: Update.
43378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43380 2012-07-03 Mike Frysinger <vapier@gentoo.org>
43382 * .gitignore: Delete /ports entry.
43384 2012-07-03 Andreas Jaeger <aj@suse.de>
43386 * po/bg.po: Update from translation team.
43387 * po/cs.po: Likewise.
43388 * po/de.po: Likewise.
43389 * po/hr.po: Likewise.
43390 * po/nl.pl: Likewise.
43391 * po/pl.po: Likewise.
43392 * po/vi.po: Likewise.
43394 2012-07-03 Joseph Myers <joseph@codesourcery.com>
43396 * Makeconfig [!+link] (+link-before-libc): New variable.
43397 [!+link] (+link-after-libc): Likewise.
43398 [!+link] (+link-tests): Likewise.
43399 [!+link] (+link): Define in terms of $(+link-before-libc) and
43400 $(+link-after-libc).
43401 [!+link-static] (+link-static-before-libc): New variable.
43402 [!+link-static] (+link-static-after-libc): Likewise.
43403 [!+link-static] (+link-static-tests): Likewise.
43404 [!+link-static] (+link-static): Define in terms of
43405 $(+link-static-before-libc) and $(+link-static-after-libc).
43406 [build-shared] (link-libc-before-gnulib): New variable.
43407 [build-shared] (link-libc-tests): Likewise.
43408 [build-shared] (link-libc): Define in terms of
43409 $(link-libc-before-gnulib).
43410 [!build-shared] (link-libc-tests): New variable.
43411 (link-libc-static-tests): New variable.
43412 [!gnulib] (gnulib-arch): New variable.
43413 [!gnulib] (gnulib-tests): Likewise.
43414 [!gnulib] (static-gnulib-arch): Likewise.
43415 [!gnulib] (static-gnulib-tests): Likewise.
43416 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
43417 Define with "=" instead of ":=".
43418 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
43419 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
43420 * Rules (binaries-all-notests): New variable.
43421 (binaries-all-tests): Likewise.
43422 (binaries-static-notests): Likewise.
43423 (binaries-static-tests): Likewise.
43424 (binaries-all): Define using $(binaries-all-notests) and
43425 $(binaries-all-tests).
43426 (binaries-static): Define using $(binaries-static-notests) and
43427 $(binaries-static-tests).
43428 (binaries-shared-tests): New variable.
43429 (binaries-shared-notests): Likewise.
43430 (binaries-shared): Remove variable.
43431 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
43432 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
43433 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
43434 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
43435 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
43436 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
43437 * elf/Makefile (sln-modules): New variable.
43438 (extra-objs): Add $(sln-modules:=.o).
43439 (ldconfig-modules): Add static-stubs.
43440 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
43441 * elf/static-stubs.c: New file.
43444 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
43445 by 7 not 8 to examine high bit of fractional part. Use volatile
43446 variables when splitting into final array of floats if
43447 __FLT_EVAL_METHOD__ != 0.
43448 * math/libm-test.inc (cos_test): Add another test.
43449 (sin_test): Likewise.
43450 * sysdeps/i386/fpu/libm-test-ulps: Update.
43453 * math/libm-test.inc (cosh_test): Add more tests.
43455 * version.h (RELEASE): Set to "development".
43456 (VERSION): Set to "2.16.90".
43458 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
43460 * NEWS: Update copyright. Remove last-updated date.
43461 Mention math library bug fixes and timezone data changes.
43462 * README: Mention GNU/Hurd, x32, and HPPA support status.
43464 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
43466 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
43468 2012-06-27 Andreas Jaeger <aj@suse.de>
43470 * manual/contrib.texi (Contributors): Add Samuel Thibault.
43472 2012-06-25 Andreas Jaeger <aj@suse.de>
43474 * sysdeps/s390/fpu/libm-test-ulps: Update.
43476 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
43477 Thomas Schwinge <thomas@codesourcery.com>
43479 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
43480 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
43481 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
43484 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
43486 * sysdeps/mach/start.c: Remove file.
43487 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
43488 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
43489 * sysdeps/sh/init-first.c: Likewise.
43491 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
43492 registers for frame unwinding purposes, add CFI directives.
43493 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43494 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
43495 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
43498 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
43499 __fortify_fail returning.
43500 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43502 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
43503 sysdeps/sh/____longjmp_chk.S.
43504 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
43505 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
43506 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
43507 (gen-as-const-headers): Append sigaltstack-offsets.sym.
43509 * sysdeps/sh/abort-instr.h: New file.
43510 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
43511 process in case exit returns.
43513 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
43514 initialize the GOT register before use.
43516 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
43517 calculation of ARGC > 4.
43519 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
43520 meaningful names to some local labels.
43522 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43523 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43525 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
43526 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
43527 (__arch_compare_and_exchange_val_16_acq): Likewise.
43528 (__arch_compare_and_exchange_val_32_acq): Likewise.
43529 (atomic_exchange_and_add): Fix gUSA sequence.
43530 (atomic_add): Likewise.
43531 (atomic_add_negative): Likewise.
43532 (atomic_add_zero): Likewise.
43533 (atomic_bit_test_set): Likewise.
43535 2012-06-22 Andreas Schwab <schwab@redhat.com>
43538 * include/link.h (struct link_map): Add l_free_initfini.
43539 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
43541 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
43542 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
43543 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
43546 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
43548 * configure.in: Use AC_LANG_SOURCE.
43549 * configure: Regenerate.
43551 2012-06-22 Roland McGrath <roland@hack.frob.com>
43553 * configure.in (libc_cv_localstatedir): New substituted variable.
43554 * configure: Regenerated.
43555 * config.make.in (localstatedir): New variable, substituted from
43556 libc_cv_localstatedir.
43557 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
43558 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
43559 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
43560 * sysdeps/gnu/configure: Regenerated.
43562 2012-06-21 Jeff Law <law@redhat.com>
43565 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
43566 free. Simplify list management for _LIBC case.
43568 2012-06-21 Joseph Myers <joseph@codesourcery.com>
43571 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
43572 Clear sign bit of 64-bit integer value before comparing against
43575 * sysdeps/mach/configure: Regenerated.
43577 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
43580 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
43582 2012-06-21 Jeff Law <law@redhat.com>
43585 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
43586 uint16_t for elements in the "seen" array to avoid char overflows.
43587 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43588 * elf/dl-open.c (dl_open_worker): Likewise.
43590 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
43592 * scripts/list-sources.sh: Scan PORTS for translations.
43593 * po/libc.pot: Regenerated.
43595 2012-06-21 Andreas Jaeger <aj@suse.de>
43598 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
43600 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
43601 * bits/byteswap-16.h (__bswap_16): Likewise.
43602 * bits/byteswap.h (__bswap_constant_16): Likewise.
43604 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
43607 * sysdeps/i386/fpu_control.h: Removed.
43608 * sysdeps/x86_64/fpu_control.h: Moved to ...
43609 * sysdeps/x86/fpu_control.h: Here.
43611 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
43612 (_FPU_SETCW): Likewise.
43614 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
43617 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
43618 * sysdeps/x86/fpu/bits/mathinline.h: This.
43619 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
43623 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
43624 functions if __x86_64__ is defined.
43626 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
43628 * string/endian.h: Add !__ASSEMBLER__ condition for including
43629 conversion interfaces.
43631 2012-06-15 Joseph Myers <joseph@codesourcery.com>
43634 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
43635 of ABS(x) in calculating zero to negative powers other than odd
43637 * math/libm-test.inc (pow_test): Add more tests.
43639 2012-06-15 Andreas Jaeger <aj@suse.de>
43641 * manual/contrib.texi (Contributors): Update entry of Liubov
43642 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
43645 2012-06-15 Cyril Hrubis <metan@ucw.cz>
43647 * string/string.h: Add __wur to GNU version of strerror_r.
43649 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
43652 * string/Makefile (tests): Add tst-strtok_r.
43653 * string/tst-strtok_r.c: New file.
43654 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
43655 RAX_LP/RDX_LP on SAVE_PTR.
43657 2012-06-14 Roland McGrath <roland@hack.frob.com>
43659 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
43661 2012-06-14 Joseph Myers <joseph@codesourcery.com>
43663 * libm_test.inc (csqrt_test): Allow more spurious underflow
43665 (j0_test): Likewise.
43666 (j1_test): Likewise.
43667 (y0_test): Likewise.
43668 (y1_test): Likewise.
43670 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
43672 * po/Makefile (libc.pot): Use UTF-8 charset.
43674 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
43677 Suppress sign-conversion warning from FD_SET.
43678 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
43679 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
43680 not unsigned long int.
43681 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
43683 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
43687 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
43688 __extern_always_inline instead of __extern_inline.
43689 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
43690 (__signbit): Likewise.
43691 (__signbitl): Support C++ namespace.
43692 (lrintf): New inline function.
43694 (llrintf): Likewise.
43695 (llrint): Likewise.
43705 (floorf): Likewise.
43706 (nearbyint): Likewise.
43707 (nearbyintf): Likewise.
43709 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
43711 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
43712 non-default versions.
43714 2012-06-11 Roland McGrath <roland@hack.frob.com>
43717 * manual/argp.texi (Argp): Reword argp_parse description slightly.
43719 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
43721 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
43722 (FE_UPWARD, FE_DOWNWARD): Don't define.
43723 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
43724 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
43726 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
43728 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
43729 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43731 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43733 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43734 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
43735 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
43736 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
43738 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
43741 * sysdeps/i386/fpu/bits/fenv.h: Removed.
43742 * sysdeps/i386/fpu/Implies: New file.
43743 * sysdeps/x86_64/fpu/Implies: Likewise.
43744 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
43745 * sysdeps/x86/fpu/bits/fenv.h: This.
43747 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
43750 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
43753 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
43754 character 0xffff that matches the last element of the
43757 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43759 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
43762 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43764 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
43765 values higher than 25.6283.
43767 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43769 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
43770 subnormal exponent extraction and add some __builtin_expect.
43771 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
43772 Fix for subnormal mantissa calculation.
43774 2012-06-04 Mike Frysinger <vapier@gentoo.org>
43776 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
43777 cpu2 is -1 and errno is not ENOSYS.
43779 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
43782 * sysdeps/i386/i486/bits/string.h: Renamed to ...
43783 * sysdeps/x86/bits/string.h: This.
43784 * sysdeps/x86_64/bits/string.h: Removed.
43786 * sysdeps/i386/i486/bits/string.h: Define inline functions only
43787 if not compiling for x86-64, but compiling for >= i486.
43789 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
43790 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
43792 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
43793 New macro from Linux kernel 3.4.0.
43794 (FP_XSTATE_MAGIC2): Likewise.
43795 (FP_XSTATE_MAGIC2_SIZE): Likewise.
43796 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
43797 (struct _fpx_sw_bytes): New struct.
43798 (struct _xsave_hdr): Likewise.
43799 (struct _ymmh_state): Likewise.
43800 (struct _xstate): Likewise.
43802 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
43803 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
43804 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
43805 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
43806 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
43807 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
43809 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
43810 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
43811 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
43812 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
43813 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
43814 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
43816 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43819 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
43820 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
43821 (sysdep_headers): Include sys/platform/ppc.h.
43822 * sysdeps/powerpc/test-gettimebase.c: Test for
43823 __ppc_get_timebase() to catch future ISA opcode/insn changes.
43824 * manual/Makefile (appendices): Include platform.texi.
43825 * manual/contrib.texi (Contributors): Update @node pointers.
43826 * manual/maint.texi (Maintenance): Likewise.
43827 (Platform): New node.
43828 * manual/platform.texi: New file. Document the new features.
43830 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
43831 Jakub Jelinek <jakub@redhat.com>
43834 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
43835 where __builtin_expect is unavailable.
43837 2012-06-03 David S. Miller <davem@davemloft.net>
43839 * stdlib/longlong.h: Updated from GCC.
43841 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
43844 * sysdeps/powerpc/powerpc32/mcount.c: New file.
43845 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
43847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43848 (GLIBC_2.16): Likewise.
43850 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
43852 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
43854 2012-06-01 Joseph Myers <joseph@codesourcery.com>
43856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
43857 (default-abi): New variable.
43858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
43859 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
43861 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
43863 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
43865 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
43868 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
43869 definition. Document in comment.
43871 2012-06-01 David S. Miller <davem@davemloft.net>
43873 * stdlib/longlong.h: Updated from GCC.
43875 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
43878 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
43879 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
43880 sys/debugreg.h sys/io.h here.
43881 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
43882 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
43884 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
43885 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
43886 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
43887 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
43888 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
43889 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
43891 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
43892 Define only if __x86_64__ is defined.
43894 2012-06-01 Joseph Myers <joseph@codesourcery.com>
43897 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
43898 Use int64_t for variable i.
43899 * math/libm-test.inc (fmod_test): Add more tests.
43901 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
43902 z computation is not scheduled after fetestexcept.
43903 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
43904 Use math_force_eval instead of asm to ensure calculation scheduled
43905 before exception test.
43906 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
43907 Ensure a1 + u.d computation is not scheduled after fetestexcept.
43909 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
43911 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
43912 computation is not scheduled after fetestexcept.
43914 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
43917 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
43918 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
43920 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43922 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
43923 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43925 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
43928 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
43930 (__WCHAR_MIN): Support __WORDSIZE == 64.
43931 (__WCHAR_MAX): Likewise.
43933 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
43934 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
43937 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
43938 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
43941 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
43942 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
43944 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
43945 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
43947 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
43948 Defined to 1 if __x86_64__ isn't defined.
43949 (_STAT_VER_LINUX_OLD): New.
43950 (st_atime): Remove duplicate.
43951 (st_mtime): Likewise.
43952 (st_ctime): Likewise.
43954 2012-05-31 David S. Miller <davem@davemloft.net>
43956 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
43959 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
43961 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
43965 * elf/dl-reloc.c: Include <_itoa.h>.
43966 (_dl_reloc_bad_type): Remove use of INTUSE.
43967 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
43968 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
43969 * stdio-common/psiginfo.c (psiginfo): Likewise.
43970 * stdio-common/psignal.c (psignal): Likewise.
43971 * string/strsignal.c (strsignal): Likewise.
43972 * include/signal.h (_sys_siglist): Declare hidden proto.
43973 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
43974 INTVARDEF with libc_hidden_data_def.
43975 * stdio-common/itoa-udigits.c: Likewise.
43976 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
43977 (_itoa_lower_digits_internal): Remove declaration.
43978 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
43979 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
43980 (_sys_sigabbrev_internal): Remove aliases.
43981 (_sys_siglist): Define hidden alias.
43983 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
43985 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43988 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
43991 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
43992 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
43994 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
43995 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
43996 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
43997 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
43998 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
43999 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
44001 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
44002 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
44003 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
44005 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
44013 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
44014 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
44015 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
44017 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
44018 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
44019 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
44020 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
44021 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
44022 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
44024 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
44025 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
44027 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
44028 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
44030 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
44031 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
44032 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
44034 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
44035 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
44037 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
44039 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
44040 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
44041 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
44043 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
44045 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
44047 2012-05-31 Joseph Myers <joseph@codesourcery.com>
44049 * math/math.h (M_El): Use two more decimal places.
44050 (M_LOG2El): Likewise.
44051 (M_LOG10El): Likewise.
44052 (M_LN2l): Likewise.
44053 (M_LN10l): Likewise.
44055 (M_PI_2l): Likewise.
44056 (M_PI_4l): Likewise.
44057 (M_1_PIl): Likewise.
44058 (M_2_PIl): Likewise.
44059 (M_2_SQRTPIl): Likewise.
44060 (M_SQRT2l): Likewise.
44061 (M_SQRT1_2l): Likewise.
44063 2012-05-31 David S. Miller <davem@davemloft.net>
44065 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
44066 values between float registers.
44067 * sysdeps/sparc/sparc64/memset.S: Likewise.
44068 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44070 2012-05-31 Mike Frysinger <vapier@gentoo.org>
44072 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
44073 -D_FORTIFY_SOURCE=1.
44074 (CPPFLAGS-tst-longjmp_chk.c): Define.
44075 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
44076 (CPPFLAGS-tst-longjmp_chk2.c): Define.
44077 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
44078 CFLAGS-tst-wchar-h.c.
44080 2012-05-31 Marek Polacek <polacek@redhat.com>
44083 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
44084 __endmntent_internal): Remove declaration.
44085 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
44086 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
44087 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
44089 2012-05-30 David S. Miller <davem@davemloft.net>
44091 * sysdeps/sparc/sparc32/soft-fp/q_util.c
44092 (___Q_simulate_exceptions): Use real FP ops rather than writing
44094 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
44097 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44100 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
44101 * sysdeps/x86/bits/xtitypes.h: This.
44103 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
44104 * sysdeps/x86/bits/wordsize.h: This.
44106 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
44107 * sysdeps/x86/bits/huge_vall.h: This.
44109 * sysdeps/i386/bits/select.h: Removed.
44110 * sysdeps/x86_64/bits/select.h: Renamed to ...
44111 * sysdeps/x86/bits/select.h: This.
44113 * sysdeps/i386/bits/setjmp.h: Removed.
44114 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
44115 * sysdeps/x86/bits/setjmp.h: This.
44117 * sysdeps/i386/bits/mathdef.h: Removed.
44118 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
44119 * sysdeps/x86/bits/mathdef.h: This.
44121 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
44124 * include/sys/socket.h (__connect_internal)
44125 (__libc_sa_len_internal): Remove declaration.
44126 (__connect, __libc_sa_len): Declare hidden_proto.
44127 (SA_LEN): Remove use of INTUSE.
44128 * socket/connect.c: Add libc_hidden_def.
44129 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
44130 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
44131 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
44133 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
44134 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
44135 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
44136 of adding _internal alias.
44138 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44141 * sysdeps/i386/bits/link.h: Removed.
44142 * sysdeps/i386/bits/linkmap.h: Likewise.
44143 * sysdeps/x86_64/bits/link.h: Renamed to ...
44144 * sysdeps/x86/bits/link.h: This.
44145 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
44146 * sysdeps/x86/bits/linkmap.h: This.
44148 * sysdeps/i386/bits/endian.h: Removed.
44149 * sysdeps/x86_64/bits/endian.h: Renamed to ...
44150 * sysdeps/x86/bits/endian.h: This.
44152 * sysdeps/i386/bits/byteswap.h: Removed.
44153 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44154 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
44155 * sysdeps/x86/bits/byteswap.h: This.
44156 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
44157 * sysdeps/x86/bits/byteswap-16.h: This.
44158 * sysdeps/i386/Implies: Add x86.
44159 * sysdeps/x86_64/Implies: Likewise.
44161 2012-05-30 David S. Miller <davem@davemloft.net>
44163 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
44164 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
44165 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
44166 (FP_TRAPPING_EXCEPTIONS): Define.
44167 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
44168 (FP_TRAPPING_EXCEPTIONS): Define.
44169 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
44170 subnormals only when inexact has been signalled or underflow
44171 exceptions are enabled.
44172 (_FP_PACK_CANONICAL): Likewise.
44174 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44177 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
44178 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
44180 2012-05-30 Richard Henderson <rth@twiddle.net>
44182 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
44183 with #ifndef NOT_IN_libc.
44185 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
44186 marked to avoid plt entry.
44188 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44191 * Makeconfig (default-abi): New macro.
44192 (abi-includes): Likewise.
44193 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
44194 $(abi-$(default-abi)-lib-soname) for soname if defined.
44195 ($(common-objpfx)gnu/lib-names.stmp): Generate from
44197 * Makefile (installed-stubs): Likewise.
44198 * include/stubs-biarch.h: Removed.
44199 * scripts/lib-names.awk: Only handle one library at a time.
44200 * scripts/soversions.awk: Remove WORDSIZE support.
44201 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
44203 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
44205 (syscall-list-default-condition): Likewise.
44206 (syscall-list-default-condition): Likewise.
44207 (syscall-list-includes): Likewise.
44208 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
44209 syscall-list-* with abi-*. Handle undefined abi-variants.
44210 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
44211 * sysdeps/unix/sysv/linux/i386/Implies: New file.
44212 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
44213 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
44214 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
44215 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
44217 (syscall-list-32-options): Likewise.
44218 (syscall-list-32-condition): Likewise.
44219 (syscall-list-64-options): Likewise.
44220 (syscall-list-64-condition): Likewise.
44221 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
44223 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
44226 (abi-64-ld-soname): New macro.
44227 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
44228 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
44231 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
44232 * sysdeps/x86_64/x32/shlib-versions: Likewise.
44234 2012-05-30 Joseph Myers <joseph@codesourcery.com>
44236 * sysdeps/unix/sysv/linux/kernel-features.h
44237 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
44238 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
44239 include <kernel-features.h>.
44240 [!__NR_ftruncate64]: Remove conditional code.
44241 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44242 [__NR_ftruncate64]: Make code unconditional.
44243 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44244 * sysdeps/unix/sysv/linux/truncate64.c: Do not
44245 include <kernel-features.h>.
44246 [!__NR_ftruncate64]: Remove conditional code.
44247 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44248 [__NR_ftruncate64]: Make code unconditional.
44249 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
44251 include <kernel-features.h>.
44252 [!__NR_ftruncate64]: Remove conditional code.
44253 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44254 [__NR_ftruncate64]: Make code unconditional.
44255 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
44257 include <kernel-features.h>.
44258 [!__NR_ftruncate64]: Remove conditional code.
44259 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44260 [__NR_ftruncate64]: Make code unconditional.
44261 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44263 * configure.in (libc_cv_fpie): Weaken to a compile test using
44264 LIBC_TRY_CC_OPTION.
44265 * configure: Regenerated.
44267 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
44270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
44271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
44272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44274 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
44275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
44276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
44277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
44278 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
44279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44282 2012-05-27 David S. Miller <davem@davemloft.net>
44284 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
44286 (__Q_simulate_exceptions): Return void. Change to simulate
44287 exceptions by writing into the %fsr.
44288 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
44289 (__Qp_handle_exceptions): Likewise.
44291 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
44292 __Qp_handle_exceptions.
44293 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
44294 __Qp_handle_exceptions.
44295 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44296 as unused and give dummy FP_RND_NEAREST initializer.
44297 (FP_INHIBIT_RESULTS): Define.
44298 (___Q_simulate_exceptions): Update declaration.
44299 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
44301 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44302 as unused and give dummy FP_RND_NEAREST initializer.
44303 (__Qp_handle_exceptions): Update declaration.
44304 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
44307 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
44309 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
44310 the temporary FPU control word.
44311 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
44312 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
44313 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
44314 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44315 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44316 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
44317 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
44318 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44319 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
44320 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
44321 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44323 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44325 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
44328 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
44330 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
44331 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
44332 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
44333 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
44335 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
44336 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
44339 2012-05-27 Ulrich Drepper <drepper@gmail.com>
44341 * po/h.po: Update from translation team.
44343 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
44345 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
44347 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
44348 handling of denormals.
44349 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44350 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44351 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44352 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44353 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44354 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
44355 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
44358 2012-05-26 Marek Polacek <polacek@redhat.com>
44361 * math/libm-test.inc (fma_test): Don't always expect underflow
44364 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44367 * elf/tst-execstack.c: Include stackinfo.h.
44368 (do_test): Adjust test case to ensure that pthread_getattr_np
44369 behaviour remains the same after marking stack executable.
44371 2012-05-25 Joseph Myers <joseph@codesourcery.com>
44373 * sysdeps/unix/sysv/linux/kernel-features.h
44374 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
44375 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
44377 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44378 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44379 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
44381 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44382 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44384 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
44386 * configure.in: Define the default includes to being none.
44387 * configure: Regenerated.
44389 2012-05-25 Roland McGrath <roland@hack.frob.com>
44391 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
44392 * sysdeps/x86_64/setjmp.S: Likewise.
44393 * sysdeps/i386/bsd-setjmp.S: Likewise.
44394 * sysdeps/i386/bsd-_setjmp.S: Likewise.
44395 * sysdeps/i386/setjmp.S: Likewise.
44396 * sysdeps/i386/__longjmp.S: Likewise.
44397 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
44398 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
44400 * include/stap-probe.h: New file.
44401 * configure.in: Handle --enable-systemtap.
44402 * configure: Regenerated.
44403 * config.h.in (USE_STAP_PROBE): New #undef.
44404 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
44405 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
44406 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
44408 2012-05-25 Joseph Myers <joseph@codesourcery.com>
44411 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44412 to 2.4.0 where earlier.
44413 * sysdeps/unix/sysv/linux/configure: Regenerated.
44414 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
44415 <kernel-features.h>.
44416 [__ASSUME_32BITUIDS]: Make code unconditional.
44417 [!__ASSUME_32BITUIDS]: Remove conditional code.
44418 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
44419 <kernel-features.h>.
44420 [__ASSUME_32BITUIDS]: Make code unconditional.
44421 [!__ASSUME_32BITUIDS]: Remove conditional code.
44422 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
44423 [__ASSUME_32BITUIDS]: Make code unconditional.
44424 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
44425 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
44426 <kernel-features.h>.
44427 [__ASSUME_32BITUIDS]: Make code unconditional.
44428 [!__ASSUME_32BITUIDS]: Remove conditional code.
44429 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
44430 <kernel-features.h>.
44431 [__ASSUME_32BITUIDS]: Make code unconditional.
44432 [!__ASSUME_32BITUIDS]: Remove conditional code.
44433 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
44434 <kernel-features.h>.
44435 [__ASSUME_32BITUIDS]: Make code unconditional.
44436 [!__ASSUME_32BITUIDS]: Remove conditional code.
44437 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
44438 <kernel-features.h>.
44439 [__ASSUME_32BITUIDS]: Make code unconditional.
44440 [!__ASSUME_32BITUIDS]: Remove conditional code.
44441 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
44442 <kernel-features.h>.
44443 [__ASSUME_32BITUIDS]: Make code unconditional.
44444 [!__ASSUME_32BITUIDS]: Remove conditional code.
44445 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
44446 <kernel-features.h>.
44447 [__ASSUME_32BITUIDS]: Make code unconditional.
44448 [!__ASSUME_32BITUIDS]: Remove conditional code.
44449 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
44450 <kernel-features.h>.
44451 [__ASSUME_32BITUIDS]: Make code unconditional.
44452 [!__ASSUME_32BITUIDS]: Remove conditional code.
44453 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
44454 <kernel-features.h>.
44455 [__ASSUME_32BITUIDS]: Make code unconditional.
44456 [!__ASSUME_32BITUIDS]: Remove conditional code.
44457 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
44458 <kernel-features.h>.
44459 [__ASSUME_32BITUIDS]: Make code unconditional.
44460 [!__ASSUME_32BITUIDS]: Remove conditional code.
44461 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
44462 <kernel-features.h>.
44463 [__ASSUME_32BITUIDS]: Make code unconditional.
44464 [!__ASSUME_32BITUIDS]: Remove conditional code.
44465 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
44466 <kernel-features.h>.
44467 [__NR_setresgid] (__setresgid): Do not declare.
44468 [__ASSUME_32BITUIDS]: Make code unconditional.
44469 [!__ASSUME_32BITUIDS]: Remove conditional code.
44470 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
44471 <kernel-features.h>.
44472 [__NR_setresuid] (__setresuid): Do not declare.
44473 [__ASSUME_32BITUIDS]: Make code unconditional.
44474 [!__ASSUME_32BITUIDS]: Remove conditional code.
44475 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
44476 <kernel-features.h>.
44477 [__ASSUME_32BITUIDS]: Make code unconditional.
44478 [!__ASSUME_32BITUIDS]: Remove conditional code.
44479 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
44480 <kernel-features.h>.
44481 [__ASSUME_32BITUIDS]: Make code unconditional.
44482 [!__ASSUME_32BITUIDS]: Remove conditional code.
44483 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
44484 <kernel-features.h>.
44485 [__ASSUME_32BITUIDS]: Make code unconditional.
44486 [!__ASSUME_32BITUIDS]: Remove conditional code.
44487 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
44488 <kernel-features.h>.
44489 [__ASSUME_32BITUIDS]: Make code unconditional.
44490 [!__ASSUME_32BITUIDS]: Remove conditional code.
44491 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
44492 <kernel-features.h>.
44493 [__ASSUME_32BITUIDS]: Make code unconditional.
44494 [!__ASSUME_32BITUIDS]: Remove conditional code.
44495 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
44496 <kernel-features.h>.
44497 [__ASSUME_32BITUIDS]: Make code unconditional.
44498 [!__ASSUME_32BITUIDS]: Remove conditional code.
44499 * sysdeps/unix/sysv/linux/i386/setresuid.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/setreuid.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/setuid.c: Do not include
44508 <kernel-features.h>.
44509 [__ASSUME_32BITUIDS]: Make code unconditional.
44510 [!__ASSUME_32BITUIDS]: Remove conditional code.
44511 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
44512 <kernel-features.h>.
44513 [__ASSUME_32BITUIDS]: Make code unconditional.
44514 [!__ASSUME_32BITUIDS]: Remove conditional code.
44515 * sysdeps/unix/sysv/linux/kernel-features.h
44516 (__ASSUME_SETRESUID_SYSCALL): Remove.
44517 (__ASSUME_SETRESGID_SYSCALL): Likewise.
44518 (__ASSUME_32BITUIDS): Likewise.
44519 (__ASSUME_LDT_WORKS): Likewise.
44520 (__ASSUME_O_DIRECTORY): Likewise.
44521 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
44522 architecture but not kernel version.
44523 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
44524 (__ASSUME_MMAP2_SYSCALL): Likewise.
44525 (__ASSUME_STAT64_SYSCALL): Likewise.
44526 (__ASSUME_IPC64): Likewise.
44527 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
44528 <kernel-features.h>.
44529 [__ASSUME_32BITUIDS]: Make code unconditional.
44530 [!__ASSUME_32BITUIDS]: Remove conditional code.
44531 * sysdeps/unix/sysv/linux/opendir.c: Do not include
44532 <kernel-features.h>.
44533 [__ASSUME_O_DIRECTORY]: Make code unconditional.
44534 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
44535 132096]: Remove conditional code.
44536 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
44537 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
44538 <kernel-features.h>.
44539 [__ASSUME_32BITUIDS]: Make code unconditional.
44540 [!__ASSUME_32BITUIDS]: Remove conditional code.
44541 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
44542 <kernel-features.h>.
44543 [__ASSUME_32BITUIDS]: Make code unconditional.
44544 [!__ASSUME_32BITUIDS]: Remove conditional code.
44545 * sysdeps/unix/sysv/linux/setegid.c: Do not include
44546 <kernel-features.h>.
44547 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
44549 (__setresgid): Do not declare.
44550 [__ASSUME_32BITUIDS]: Make code unconditional.
44551 [!__ASSUME_32BITUIDS]: Remove conditional code.
44552 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
44553 <kernel-features.h>.
44554 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
44556 (__setresuid): Do not declare.
44557 [__ASSUME_32BITUIDS]: Make code unconditional.
44558 [!__ASSUME_32BITUIDS]: Remove conditional code.
44559 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
44560 <kernel-features.h>.
44561 [__ASSUME_32BITUIDS]: Make code unconditional.
44562 [!__ASSUME_32BITUIDS]: Remove conditional code.
44563 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
44564 <kernel-features.h>.
44565 [__ASSUME_32BITUIDS]: Make code unconditional.
44566 [!__ASSUME_32BITUIDS]: Remove conditional code.
44568 2012-05-25 Richard Henderson <rth@twiddle.net>
44570 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
44571 dl_hwcap to ifunc resolver.
44572 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
44574 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
44575 dl_hwcap to ifunc resolver.
44576 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
44578 2012-05-24 Joseph Myers <joseph@codesourcery.com>
44581 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
44582 for |x| <= 2**-26, not 2**-57.
44583 * math/libm-test.inc (acos_test): Do not allow spurious underflow
44586 2012-05-24 Jeff Law <law@redhat.com>
44588 * stdio-common/Makefile (tests): Add bug25.
44589 * stdio-common/bug25.c: New test.
44591 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
44594 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
44595 multiple of MALLOC_ALIGNMENT in size.
44596 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
44598 2012-05-24 Joseph Myers <joseph@codesourcery.com>
44600 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
44602 (FILENAME_MAX): Use macro-int-constant.
44603 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
44604 (_IOFBF): Use macro-int-constant.
44605 (_IOLBF): Likewise.
44606 (_IONBF): Likewise.
44607 (SEEK_CUR): Likewise.
44608 (SEEK_END): Likewise.
44609 (SEEK_SET): Likewise.
44610 (TMP_MAX): Likewise.
44611 (EOF): Use macro-int-constant. Require < 0.
44612 (NULL): Use macro-constant. Require == 0.
44613 (stdin): Require type to be FILE *.
44614 (stdout): Likewise.
44615 (stderr): Likewise.
44616 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
44617 macro-int-constant.
44618 (EXIT_SUCCESS): Likewise.
44619 (NULL): Use macro-constant. Require == 0.
44620 (RAND_MAX): Use macro-int-constant.
44621 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
44622 [C99-based standards] (strtof): Require function.
44623 [C99-based standards] (strtold): Likewise.
44624 [C99-based standards] (strtoll): Likewise.
44625 [C99-based standards] (strtoull): Likewise.
44626 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44627 [ISO || ISO99 || ISO11] (limits.h): Likewise.
44628 [ISO || ISO99 || ISO11] (math.h): Likewise.
44629 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
44630 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44631 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44633 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
44636 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
44637 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
44638 * intl/dgettext.c (DCGETTEXT): Likewise.
44639 * intl/gettext.c (DCGETTEXT): Likewise.
44640 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
44641 * posix/regex_internal.h (gettext): Likewise.
44642 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
44643 Remove declaration.
44644 * include/argz.h (__argz_count_internal)
44645 (__argz_stringify_internal): Remove declaration.
44646 (__argz_count, __argz_stringify): Declare hidden proto.
44647 * intl/dcgettext.c: Remove use of INTDEF.
44648 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
44649 * string/argz-stringify.c: Likewise.
44650 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44651 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44652 Declare hidden proto.
44653 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44654 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44655 Declare hidden proto.
44656 * include/stdio.h (__asprintf_internal): Don't declare.
44657 (__asprintf): Don't define as macro. Declare hidden proto.
44658 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
44659 (__fsetlocking): Declare hidden proto.
44660 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
44661 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
44663 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
44664 (_IO_setlinebuf): Remove use of INTUSE.
44665 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
44666 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
44667 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
44668 Remove declaration.
44669 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
44670 (_IO_do_flush): Remove use of INTUSE.
44671 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
44672 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
44673 (_IO_adjust_column, _IO_least_wmarker)
44674 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
44675 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
44676 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
44677 (_IO_default_doallocate, _IO_wdefault_doallocate)
44678 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
44679 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
44680 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
44681 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
44682 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
44683 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
44684 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
44685 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
44686 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
44687 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
44688 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
44689 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
44690 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
44692 (_IO_flush_all_internal, _IO_adjust_column_internal)
44693 (_IO_default_uflow_internal, _IO_default_finish_internal)
44694 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
44695 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
44696 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
44697 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
44698 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
44699 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
44700 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
44701 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
44702 (_IO_file_close_internal, _IO_file_close_it_internal)
44703 (_IO_file_underflow_internal, _IO_file_overflow_internal)
44704 (_IO_file_init_internal, _IO_file_attach_internal)
44705 (_IO_file_fopen_internal, _IO_file_read_internal)
44706 (_IO_file_sync_internal, _IO_file_seek_internal)
44707 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
44708 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
44709 (_IO_str_underflow_internal, _IO_str_overflow_internal)
44710 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
44711 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
44712 (_IO_list_all_internal, _IO_link_in_internal)
44713 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
44714 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
44715 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
44716 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
44717 (_IO_do_write_internal, _IO_padn_internal)
44718 (_IO_getline_info_internal, _IO_getline_internal)
44719 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
44720 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
44721 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
44722 (_IO_vfscanf_internal, _IO_vfprintf_internal)
44723 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
44724 (_IO_init_internal, _IO_un_link_internal): Don't declare.
44725 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
44726 with libc_hidden_ver, remove use of INTUSE.
44727 * libio/genops.c: Likewise.
44728 * libio/freopen.c: Likewise.
44729 * libio/freopen64.c: Likewise.
44730 * libio/iofclose.c: Likewise.
44731 * libio/iofdopen.c: Likewise.
44732 * libio/iofflush.c: Likewise.
44733 * libio/iofflush_u.c: Likewise.
44734 * libio/iofgets.c: Likewise.
44735 * libio/iofgets_u.c: Likewise.
44736 * libio/iofopen.c: Likewise.
44737 * libio/iofopncook.c: Likewise.
44738 * libio/iofread.c: Likewise.
44739 * libio/iofread_u.c: Likewise.
44740 * libio/ioftell.c: Likewise.
44741 * libio/iofwrite.c: Likewise.
44742 * libio/iogetline.c: Likewise.
44743 * libio/iogets.c: Likewise.
44744 * libio/iogetwline.c: Likewise.
44745 * libio/iopadn.c: Likewise.
44746 * libio/iopopen.c: Likewise.
44747 * libio/ioseekoff.c: Likewise.
44748 * libio/ioseekpos.c: Likewise.
44749 * libio/iosetbuffer.c: Likewise.
44750 * libio/iosetvbuf.c: Likewise.
44751 * libio/ioungetc.c: Likewise.
44752 * libio/ioungetwc.c: Likewise.
44753 * libio/iovdprintf.c: Likewise.
44754 * libio/iovsprintf.c: Likewise.
44755 * libio/iovsscanf.c: Likewise.
44756 * libio/memstream.c: Likewise.
44757 * libio/obprintf.c: Likewise.
44758 * libio/oldfileops.c: Likewise.
44759 * libio/oldiofclose.c: Likewise.
44760 * libio/oldiofdopen.c: Likewise.
44761 * libio/oldiofopen.c: Likewise.
44762 * libio/oldiopopen.c: Likewise.
44763 * libio/oldstdfiles.c: Likewise.
44764 * libio/putc.c: Likewise.
44765 * libio/setbuf.c: Likewise.
44766 * libio/setlinebuf.c: Likewise.
44767 * libio/stdfiles.c: Likewise.
44768 * libio/strops.c: Likewise.
44769 * libio/vasprintf.c: Likewise.
44770 * libio/vscanf.c: Likewise.
44771 * libio/vsnprintf.c: Likewise.
44772 * libio/vswprintf.c: Likewise.
44773 * libio/wfiledoalloc.c: Likewise.
44774 * libio/wfileops.c: Likewise.
44775 * libio/wgenops.c: Likewise.
44776 * libio/wmemstream.c: Likewise.
44777 * libio/wstrops.c: Likewise.
44778 * libio/__fpurge.c: Likewise.
44779 * libio/__fsetlocking.c: Likewise.
44780 * assert/assert.c: Likewise.
44781 * debug/fgets_chk.c: Likewise.
44782 * debug/fgets_u_chk.c: Likewise.
44783 * debug/fread_chk.c: Likewise.
44784 * debug/fread_u_chk.c: Likewise.
44785 * debug/gets_chk.c: Likewise.
44786 * debug/obprintf_chk.c: Likewise.
44787 * debug/vasprintf_chk.c: Likewise.
44788 * debug/vdprintf_chk.c: Likewise.
44789 * debug/vsnprintf_chk.c: Likewise.
44790 * debug/vsprintf_chk.c: Likewise.
44791 * malloc/mtrace.c: Likewise.
44792 * misc/error.c: Likewise.
44793 * misc/syslog.c: Likewise.
44794 * stdio-common/asprintf.c: Likewise.
44795 * stdio-common/fxprintf.c: Likewise.
44796 * stdio-common/getw.c: Likewise.
44797 * stdio-common/isoc99_fscanf.c: Likewise.
44798 * stdio-common/isoc99_scanf.c: Likewise.
44799 * stdio-common/isoc99_vfscanf.c: Likewise.
44800 * stdio-common/isoc99_vscanf.c: Likewise.
44801 * stdio-common/isoc99_vsscanf.c: Likewise.
44802 * stdio-common/printf-prs.c: Likewise.
44803 * stdio-common/printf_fp.c: Likewise.
44804 * stdio-common/printf_fphex.c: Likewise.
44805 * stdio-common/printf_size.c: Likewise.
44806 * stdio-common/putw.c: Likewise.
44807 * stdio-common/scanf.c: Likewise.
44808 * stdio-common/sprintf.c: Likewise.
44809 * stdio-common/tmpfile.c: Likewise.
44810 * stdio-common/vfprintf.c: Likewise.
44811 * stdio-common/vfscanf.c: Likewise.
44812 * stdlib/strfmon_l.c: Likewise.
44813 * sunrpc/openchild.c: Likewise.
44814 * sunrpc/xdr_stdio.c: Likewise.
44815 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
44816 * sysdeps/mach/hurd/tmpfile.c: Likewise.
44818 2012-05-24 Roland McGrath <roland@hack.frob.com>
44820 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
44822 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
44823 in the third column, to generate for the shared library an IFUNC
44824 that uses _dl_vdso_vsym.
44825 * Makerules (COMPILE.c, compile-stdin.c): New variables.
44826 * Makeconfig (object-suffixes-noshared): New variable.
44828 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
44829 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
44830 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
44831 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
44834 * include/sys/time.h (__gettimeofday): Remove macro.
44835 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
44836 * time/gettimeofday.c (__gettimeofday): Remove #undef.
44838 (__gettimeofday): Add libc_hidden_def.
44839 (gettimeofday): Add libc_hidden_weak.
44840 * sysdeps/mach/gettimeofday.c: Likewise.
44841 * sysdeps/posix/gettimeofday.c: Likewise.
44842 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
44843 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
44844 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
44845 (__gettimeofday_internal): Remove strong_alias.
44846 (__gettimeofday): Add libc_hidden_def.
44847 (gettimeofday): Add libc_hidden_weak.
44848 * sysdeps/unix/syscalls.list (gettimeofday):
44849 Remove __gettimeofday_internal alias.
44851 2012-05-24 Daniel Jacobowitz <drow@false.org>
44852 H.J. Lu <hongjiu.lu@intel.com>
44855 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
44856 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
44857 (largebin_index_32_big): New.
44858 (largebin_index): Use it for 16-byte alignment.
44859 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
44860 correction with front_misalign.
44862 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
44864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
44865 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
44867 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
44869 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
44871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
44873 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
44875 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
44877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
44879 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
44881 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
44883 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
44885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
44887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
44890 * scripts/data/c++-types-x32-linux-gnu.data: New file.
44891 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
44893 2012-05-24 Joseph Myers <joseph@codesourcery.com>
44897 * math/libm-test.inc (exp_test): Add test from bug 14036.
44898 (pow_test): Add test from bug 10846.
44900 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
44902 (special_function): Do not include flags in test name.
44903 (parse_args): Likewise.
44904 * sysdeps/i386/fpu/libm-test-ulps: Update.
44905 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44906 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44907 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44910 * math/gen-libm-test.pl (%beautify): Add entries for underflow
44912 * math/libm-test.inc ("Philosophy"): Update comment about
44914 (UNDERFLOW_EXCEPTION): New macro.
44915 (UNDERFLOW_EXCEPTION_OK): Likewise.
44916 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
44917 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
44918 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
44919 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
44920 (INVALID_EXCEPTION_OK): Update value.
44921 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44922 (OVERFLOW_EXCEPTION_OK): Likewise.
44923 (IGNORE_ZERO_INF_SIGN): Likewise.
44924 (test_exceptions): Handle underflow exceptions.
44925 (acos_test): Update for underflow exception expectations.
44926 (cexp_test): Likewise.
44927 (clog_test): Likewise.
44928 (clog10_test): Likewise.
44929 (csqrt_test): Likewise.
44930 (ctan_test): Likewise.
44931 (ctanh_test): Likewise.
44932 (exp_test): Likewise.
44933 (exp10_test): Likewise.
44934 (exp2_test): Likewise.
44935 (expm1_test): Likewise.
44936 (fma_test): Likewise.
44937 (j0_test): Likewise.
44938 (jn_test): Likewise.
44939 (nexttoward_test): Likewise.
44940 (pow_test): Likewise.
44941 (scalbn_test): Likewise.
44942 (scalbln_test): Likewise.
44943 (tan_test): Likewise.
44944 (y1_test): Likewise.
44945 * sysdeps/i386/fpu/libm-test-ulps: Update.
44946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44948 2012-05-23 David S. Miller <davem@davemloft.net>
44950 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44951 (__libc_sigaction): Remove unused local variables.
44953 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
44955 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
44957 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
44959 mktime: avoid signed integer overflow
44960 * time/mktime.c (__mktime_internal): Do not mishandle the case
44961 where diff == INT_MIN.
44963 mktime: simplify computation of average
44964 * time/mktime.c (ranged_convert): Use new time_t_avg function
44965 instead of rolling our own (probably-slower) code.
44967 mktime: do not assume signed right shift propagates sign bit
44968 * time/mktime.c (isdst_differ): New static function.
44969 (__mktime_internal): No need to normalize tm_isdst now.
44970 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
44973 mktime: merge another wrapv change from gnulib
44974 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
44975 from some compilers.
44977 mktime: remove incorrect attempt at unusual arithmetics
44978 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
44979 The code didn't really work on such machines anyway.
44980 (TYPE_MINIMUM): Assume two's complement.
44981 (twos_complement_arithmetic): Verify that long_int and time_t
44982 are two's complement (or unsigned, in the latter case).
44984 mktime: check signed shifts on long_int and time_t, too
44985 * time/mktime.c (SHR): Check that shifts work as desired
44986 on the types long_int and time_t too, as SHR is used on
44989 mktime: do not assume 'long' is wide enough
44990 * time/mktime.c (verify): Move decl up.
44991 (long_int): New type.
44992 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
44993 to remove assumption in the code that 'long' is wide enough to
44994 store year values. This assumption is not true on x32 and on
44995 some non-glibc platforms.
44997 mktime: merge wrapv change from gnulib
44998 * time/mktime.c (WRAPV): New macro.
44999 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
45000 (guess_time_tm, __mktime_internal): Do not assume that signed
45001 integer overflow wraps around; modern compilers generate code
45002 where this assumption is no longer valid.
45004 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45006 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45007 Replace "jmp L(pseudo_end)" with "ret".
45008 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
45011 2012-05-23 Andreas Jaeger <aj@suse.de>
45013 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
45014 * sysdeps/unix/sysv/linux/poll.c: Remove file.
45016 2012-05-23 Andreas Jaeger <aj@suse.de>
45017 Maximilian Attems <max@stro.at>
45019 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
45022 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45024 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
45025 code so that pseudo_end is just ret and the stack pointer is
45026 correct also for static library in error case.
45028 2012-05-23 Joseph Myers <joseph@codesourcery.com>
45030 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
45031 move to syscalls.list.
45032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
45033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45037 * manual/install.texi (Running make install): Do not mention Linux
45038 kernel version for which pt_chown is not needed.
45039 (Linux): Do not mention problems with nscd with 2.0 kernels.
45040 * INSTALL: Regenerated.
45042 2012-05-23 Andreas Jaeger <aj@suse.de>
45044 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
45045 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
45047 * sysdeps/unix/sysv/linux/s390/bits/mman.h
45048 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45049 * sysdeps/unix/sysv/linux/sh/bits/mman.h
45050 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45051 * sysdeps/unix/sysv/linux/i386/bits/mman.h
45052 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45053 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
45054 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45055 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
45056 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45057 * sysdeps/unix/sysv/linux/bits/in.h
45058 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
45060 2012-05-22 Roland McGrath <roland@hack.frob.com>
45062 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
45063 (PREPARE_VERSION): Just use assert instead, it will be elided
45064 under [NDEBUG] anyway.
45066 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45068 * sysdeps/unix/sysv/linux/Makefile: Include
45069 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
45070 (sysdep_routines): Remove sysctl.
45071 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
45072 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
45073 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
45074 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
45075 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
45077 2012-05-22 Andreas Jaeger <aj@suse.de>
45079 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
45080 that pseudo_end is just ret and the stack pointer is correct also
45081 for static library in error case.
45083 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
45086 * nss/nsswitch.c (defconfig_entries): New variable.
45087 (__nss_database_lookup): Don't leak defconfig entries.
45088 (nss_parse_service_list): Don't leak on error paths.
45089 (free_database_entries): New function.
45090 (free_defconfig): New function.
45091 (free_mem): Move common code to free_database_entries.
45093 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45095 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
45097 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
45099 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
45100 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
45101 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
45103 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
45104 (INTERNAL_SYSCALL_TYPES): Likewise.
45105 (LOAD_ARGS_TYPES_[1-6]): Likewise.
45106 (LOAD_REGS_TYPES_[1-6]): Likewise.
45107 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
45108 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
45110 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45112 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
45113 copysignl for GLIBC_2_0.
45114 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
45115 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
45116 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
45117 logbl for GLIBC_2_0.
45118 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
45119 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
45121 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45123 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
45124 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45126 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45129 * time/mktime.c: Update copyright years.
45131 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
45133 mktime: merge comment-quoting-style change from gnulib
45134 * time/mktime.c: Quote 'like this' in comments.
45135 The GNU coding standards suggest that we no longer quote `like this',
45136 as "`" and "'" are typically rendered asymmetrically nowadays.
45137 The typical gnulib style is to quote 'like this' when quoting
45138 code, and "like this" when quoting English.
45140 * time/mktime.c (compile-command): Add "-I.".
45142 mktime: merge mktime-internal.h change from gnulib
45143 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
45145 mktime: merge time_r change from gnulib
45146 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
45148 mktime: merge DEBUG change from gnulib
45149 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
45150 case system <time.h> has a #define.
45152 mktime: merge <sys/types.h> change from gnulib
45153 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
45154 since <time.t> is now guaranteed to define time_t.
45156 mktime: merge HAVE_CONFIG_H change from gnulib
45157 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
45159 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45161 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45164 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
45166 (struct rusage): Use anonymous union to pad each field to
45169 2012-05-21 David S. Miller <davem@davemloft.net>
45171 * Makefules (o-iterator): Remove .s cases.
45172 (compile-command.s): Delete.
45173 (COMPILE.s): Delete.
45174 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
45176 2012-05-21 Joseph Myers <joseph@codesourcery.com>
45178 * configure.in (libc_cv_predef_stack_protector): Only consider
45179 "foobar" and "__stack_chk_fail" lines in libc_undefs.
45180 * configure: Regenerated.
45182 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45184 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45185 New macro. Use R*LP on int and pointer.
45186 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
45187 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
45188 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
45189 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
45191 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
45192 [__WORDSIZE_TIME64_COMPAT32] instead of
45193 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
45194 (struct utmp): Likewise.
45195 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
45196 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
45198 (__WORDSIZE_TIME64_COMPAT32): This.
45199 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
45200 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
45201 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
45202 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
45203 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
45204 (__WORDSIZE_TIME64_COMPAT32): New macro.
45206 2012-05-21 Andreas Jaeger <aj@suse.de>
45208 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
45209 only if [SHARED]. Add prototype for __wcschr_ia32.
45211 2012-05-21 Roland McGrath <roland@hack.frob.com>
45213 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
45214 of %rbp unmolested in the jmp_buf while mangling the low bits.
45215 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
45216 unmolested high bits of %rbp while demangling the low bits.
45217 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45219 2012-05-21 Andreas Jaeger <aj@suse.de>
45221 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
45222 * sunrpc/svc_simple.c: Use it for registerrpc.
45223 * sunrpc/xcrypt.c: Use it for passwd2des.
45225 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
45227 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45229 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
45230 Don't define if [__SYSCALL_WORDSIZE != 32].
45231 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
45234 2012-05-21 Bruno Haible <bruno@clisp.org>
45235 Andreas Jaeger <aj@suse.de>
45237 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
45238 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
45239 inptr and inend for must_buffer_ch.
45240 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
45241 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
45242 * stdio-common/Makefile (tests): Remove bug15.
45243 (bug15-ENV): Remove macro.
45244 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
45247 2012-05-19 Andreas Jaeger <aj@suse.de>
45248 Roland McGrath <roland@hack.frob.com>
45250 * manual/contrib.texi: Completely rewritten. It contains now an
45251 alphabetical list of contributors and their contributions.
45253 2012-05-21 Richard Henderson <rth@twiddle.net>
45255 * misc/getauxval.c (__getauxval): Use unsigned long int.
45256 * misc/sys/auxv.h: Include <sys/cdefs.h>.
45257 (getauxval): Use unsigned long int.
45259 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45261 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45263 2012-05-21 Roland McGrath <roland@hack.frob.com>
45265 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
45266 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
45267 __alignof__ (long double).
45269 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45273 2012-05-20 Richard Henderson <rth@twiddle.net>
45275 * misc/getauxval.c: New file.
45276 * misc/sys/auxv.h: New file.
45277 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
45278 (routines): Add getauxval.
45279 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
45280 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
45281 * elf/dl-sysdep.c (_dl_auxv): Remove.
45282 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
45283 * elf/dl-support.c (_dl_auxv): New variable.
45284 (_dl_aux_init): Initialize it.
45285 * manual/startup.texi (Auxiliary Vector): New node.
45286 * sysdeps/generic/bits/hwcap.h: New file.
45287 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
45288 * sysdeps/powerpc/sysdep.h: ... here. Include it.
45289 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
45290 * sysdeps/sparc/sysdep.h: ... here. Include it.
45291 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
45292 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
45293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
45296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
45297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
45298 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
45299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45301 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
45302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
45304 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45308 2012-05-19 David S. Miller <davem@davemloft.net>
45310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45312 2012-05-19 Joseph Myers <joseph@codesourcery.com>
45315 * math/s_ccosh.c: Include <float.h>
45316 (__ccosh): Avoid internal overflow calculating sinh and cosh
45317 values before multiplying by sin and cos values.
45318 * math/s_ccoshf.c: Likewise.
45319 * math/s_ccoshl.c: Likewise.
45320 * math/s_csin.c: Likewise.
45321 * math/s_csinf.c: Likewise.
45322 * math/s_csinl.c: Likewise.
45323 * math/s_csinh.c: Likewise.
45324 * math/s_csinhf.c: Likewise.
45325 * math/s_csinhl.c: Likewise.
45326 * math/libm-test.inc (ccos_test): Add more tests.
45327 (ccosh_test): Likewise.
45328 (csin_test): Likewise.
45329 (csinh_test): Likewise.
45330 * sysdeps/i386/fpu/libm-test-ulps: Update.
45331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45333 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
45335 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
45336 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
45338 * sysdeps/x86_64/x32/_itoa.h: Add comment.
45340 2012-05-19 Joseph Myers <joseph@codesourcery.com>
45342 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
45343 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
45344 * sysdeps/powerpc/soft-fp/Versions: Likewise.
45345 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
45346 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
45347 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
45348 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
45349 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
45350 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
45351 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
45352 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
45353 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
45354 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
45355 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
45356 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
45357 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
45358 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
45359 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
45360 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
45361 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
45362 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
45363 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
45364 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
45365 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
45366 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
45367 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
45368 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
45369 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
45370 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
45371 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
45372 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
45374 2012-05-18 Andreas Jaeger <aj@suse.de>
45376 * csu/.gitignore: Delete.
45378 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45380 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
45381 (timex): Use __syscall_slong_t.
45383 2012-05-18 Andreas Jaeger <aj@suse.de>
45384 Carlos O'Donell <carlos_odonell@mentor.com>
45386 * manual/install.texi (Configuring and compiling): Update
45387 description about files modified in the source directory.
45388 * INSTALL: Regenerated.
45390 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45392 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
45393 value. Use "or" to set return value to -1.
45394 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
45395 negate return value.
45397 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45399 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
45400 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
45401 failure if the compiler has Graphite support disabled.
45402 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
45404 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
45405 (CFLAGS-memmove.c): Likewise.
45406 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
45409 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45411 * sysdeps/x86_64/x32/_itoa.h: New file.
45413 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
45414 getdents system call only if kernel and user dirents have the
45415 same d_ino and d_off.
45417 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45418 LLONG_MAX != LONG_MAX.
45419 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45420 (_fitoa_word): Likewise.
45422 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
45424 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
45425 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
45426 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
45428 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
45429 include <bits/wordsize.h>. Check __x86_64__ instead of
45431 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
45432 if __x86_64__ is defined. Use anonymous union on fpstate.
45434 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
45437 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
45439 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
45440 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
45441 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
45442 Refer to _rtld_local_ro instead of _rtld_global_ro.
45443 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
45445 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
45447 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
45449 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
45450 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
45451 of _rtld_global, and rtld_progname instead of _dl_argv[0].
45453 * sysdeps/powerpc/powerpc32/dl-machine.c
45454 (__elf_machine_runtime_setup) [PROF]: Don't reference
45457 2012-05-18 Andreas Jaeger <aj@suse.de>
45459 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
45460 function only available for GCCs before 3.4 since GCC 3.4
45461 introduced a builtin.
45463 (llrintf): Likewise.
45464 (llrint): Likewise.
45471 (nearbyint): Likewise.
45472 (nearbyintf): Likewise.
45476 (floorf): Likewise.
45478 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45480 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
45481 on both fields and cast pointer to __syscall_ulong_t.
45483 * bits/types.h (__fsword_t): New type.
45484 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
45485 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
45486 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45487 (__FSWORD_T_TYPE): Likewise.
45488 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45489 (__FSWORD_T_TYPE): Likewise.
45490 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45491 (__FSWORD_T_TYPE): Likewise.
45492 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
45493 (__FSWORD_T_TYPE): Likewise.
45494 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
45495 __SWORD_TYPE with __fsword_t.
45496 (statfs64): Likewise.
45498 2012-05-17 David S. Miller <davem@davemloft.net>
45500 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
45502 2012-05-17 Andreas Jaeger <aj@suse.de>
45504 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
45507 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45509 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
45511 2012-05-17 Andreas Jaeger <aj@suse.de>
45513 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
45516 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
45518 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
45520 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45522 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
45523 * sysdeps/x86_64/tst-mallocalign1.c: New file.
45525 2012-05-17 Andreas Jaeger <aj@suse.de>
45526 Carlos O'Donell <carlos_odonell@mentor.com>
45529 * sysdeps/x86_64/multiarch/init-arch.h
45530 (bit_YMM_Usable): Rename to...
45531 (bit_AVX_Usable): ... this.
45532 (bit_FMA4_Usable): New macro.
45533 (bit_XMM_state): New macro.
45534 (bit_YMM_state): New macro.
45535 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
45536 [__ASSEMBLER__] (index_AVX_Usable): ... this.
45537 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
45538 (CPUID_OSXSAVE): New macro.
45539 (CPUID_AVX): New macro.
45540 (CPUID_FMA4): New macro.
45541 (index_YMM_Usable): Rename to...
45542 (index_AVX_Usable): ... this.
45543 (HAS_AVX): Use HAS_ARCH_FEATURE.
45544 (HAS_FMA4): Likewise.
45545 (HAS_YMM_USABLE): Remove.
45546 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45547 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
45549 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
45550 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
45551 * sysdeps/x86_64/multiarch/Makefile: Likewise.
45552 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
45553 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
45555 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
45557 * math/libm-test.c: Support platforms without multiple rounding modes.
45558 * math/bug-nextafter.c: Support platforms without FP exceptions.
45559 * math/bug-nexttoward.c: Likewise.
45560 * math/test-fenv.c: Likewise.
45561 * math/test-misc.c: Likewise.
45562 * stdlib/bug-getcontext.c: Likewise.
45564 2012-05-17 Andreas Jaeger <aj@suse.de>
45566 * manual/examples/search.c (critter_cmp): Change signature to
45568 * manual/string.texi (Collation Functions): Likewise.
45570 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45572 * bits/types.h: Fold copyright years.
45573 * bits/typesizes.h: Likewise.
45574 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
45575 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45576 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
45577 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
45578 * time/time.h: Likewise.
45580 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
45583 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
45584 in instead of returning them. Return void.
45585 (__libc_mallinfo): Accumulate over all arenas.
45586 (__malloc_stats): Adjust for change in int_mallinfo interface.
45588 2012-05-16 Roland McGrath <roland@hack.frob.com>
45591 * configure.in (NM): Add AC_CHECK_TOOL for it.
45592 (libc_extra_cflags): New substituted variable.
45593 Check for -fstack-protector being used implicitly.
45594 * configure: Regenerated.
45595 * config.make.in (config-extra-cflags): New variable,
45596 gets @libc_extra_cflags@.
45597 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
45600 * configure.in: Check for _FORTIFY_SOURCE being predefined.
45601 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
45602 * configure: Regenerated.
45603 * config.make.in (CPPUNDEFS): New substituted variable.
45604 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
45605 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
45606 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
45608 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45610 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
45611 (mq_attr): Use __syscall_slong_t.
45613 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45615 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
45616 Check __x86_64__ instead of __WORDSIZE.
45617 (_STAT_VER_LINUX): Likewise.
45618 (stat): Check __x86_64__ instead of __WORDSIZE. Use
45619 __syscall_ulong_t and __syscall_slong_t.
45620 (stat64): Likewise.
45622 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45624 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
45626 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45628 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
45630 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45632 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
45635 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
45636 include <bits/wordsize.h>. Check __x86_64__ instead of
45638 (greg_t): Use "__extension__ long long int" if __x86_64__ is
45640 (mcontext_t): Replace "unsigned long" with "unsigned long long".
45642 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
45643 include <bits/wordsize.h>. Check __x86_64__ instead of
45645 (user_regs_struct): Use "__extension__ unsigned long long"
45646 instead of "unsigned long" if __x86_64__ is defined.
45647 (user): Likewise. Pad after pointer field if __ILP32__ is
45650 2012-05-16 Joseph Myers <joseph@codesourcery.com>
45652 * configure.in (makeinfo): Require version 4.5 or later. Allow
45654 * configure: Regenerated.
45655 * manual/install.texi (texinfo): Increase version requirement to
45657 * INSTALL: Regenerated.
45659 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
45661 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45663 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
45665 * sysdeps/x86_64/x32/ffs.c: New file.
45667 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
45669 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
45670 defined. Use __syscall_ulong_t.
45671 (shminfo): Use __syscall_ulong_t.
45672 (shm_info): Likewise.
45674 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
45677 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
45679 (msgqnum_t): Use __syscall_ulong_t.
45680 (msglen_t): Likewise.
45681 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
45684 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
45685 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45687 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
45689 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
45690 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
45692 * sysvipc/sys/msg.h (msgbuf): Replace long int with
45695 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
45696 include <bits/wordsize.h>. Check __x86_64__ instead of
45699 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
45700 "unsigned long long int" if __x86_64__ is defined.
45701 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
45703 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
45704 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45705 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
45707 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
45709 (GET_PC): Cast to uintptr_t first.
45710 (GET_FRAME): Likewise.
45711 (GET_STACK): Likewise.
45713 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
45714 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
45715 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
45716 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
45717 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
45718 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
45719 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
45720 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
45721 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
45722 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
45723 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
45724 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
45725 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45726 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
45727 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
45728 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
45729 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
45730 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
45731 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
45732 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
45733 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
45734 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
45735 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
45736 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
45737 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
45738 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
45739 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
45740 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
45741 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
45743 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
45745 * Makerules (+depfiles): Also collect depfiles from .oS in
45747 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
45748 .oS, $(libnldbl-routines)).
45750 * Makerules (native-compile-mkdep-flags): Define.
45751 * sunrpc/Makefile (extra-objs): Add $(addprefix
45752 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
45753 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
45754 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
45755 calling $(make-target-directory).
45757 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45759 * bits/types.h (__snseconds_t): Removed.
45760 * time/time.h (struct timespec): Replace __snseconds_t with
45762 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
45763 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
45765 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45766 (__SNSECONDS_T_TYPE): Likewise.
45767 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45768 (__SNSECONDS_T_TYPE): Likewise.
45769 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45770 (__SNSECONDS_T_TYPE): Likewise.
45772 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45774 * sysdeps/mach/hurd/bits/typesizes.h
45775 (__SYSCALL_SLONG_TYPE): New macro.
45776 (__SYSCALL_ULONG_TYPE): Likewise.
45778 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45780 * bits/types.h (__syscall_slong_t): New type.
45781 (__syscall_ulong_t): Likewise.
45783 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
45784 (__SYSCALL_ULONG_TYPE): Likewise.
45785 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45786 (__SYSCALL_SLONG_TYPE): Likewise.
45787 (__SYSCALL_ULONG_TYPE): Likewise.
45788 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45789 (__SYSCALL_SLONG_TYPE): Likewise.
45790 (__SYSCALL_ULONG_TYPE): Likewise.
45791 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45792 (__SYSCALL_SLONG_TYPE): Likewise.
45793 (__SYSCALL_ULONG_TYPE): Likewise.
45795 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45797 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
45798 Add sigaltstack-offsets.sym.
45799 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
45800 <sigaltstack-offsets.h>.
45801 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
45802 longjmp_msg pointer.
45803 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
45804 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
45806 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
45808 2012-05-15 Joseph Myers <joseph@codesourcery.com>
45810 * elf/stackguard-macros.h: Remove file.
45811 * sysdeps/generic/stackguard-macros.h: New file.
45812 * sysdeps/i386/stackguard-macros.h: Likewise.
45813 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
45814 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
45815 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
45816 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
45817 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
45818 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
45819 * sysdeps/x86_64/stackguard-macros.h: Likewise.
45820 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
45821 <elf/stackguard-macros.h>.
45824 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
45825 __aligned__ in attribute.
45826 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
45827 (gregset_t): Likewise.
45829 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45831 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
45832 * sysdeps/x86_64/64/Implies-after: Here. New file.
45833 * sysdeps/x86_64/x32/Implies-after: New file.
45835 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45837 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
45838 and access return value for _dl_profile_fixup. Use R10_LP to
45841 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45843 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
45845 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45847 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
45848 * sysdeps/x86_64/x32/sysdep.h: New file.
45850 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45852 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
45853 * sysdeps/x86_64/setjmp.S: Likewise.
45855 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45857 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
45858 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
45859 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
45860 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
45861 remove unused global constant.
45863 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
45865 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
45866 include of <not-cancel.h>.
45868 2012-05-15 Roland McGrath <roland@hack.frob.com>
45870 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
45872 2012-05-15 Jeff Law <law@redhat.com>
45873 Andreas Jaeger <aj@suse.de>
45876 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
45878 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
45879 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
45880 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
45881 code changing __hst_map_handle.map.
45883 2012-05-15 Roland McGrath <roland@hack.frob.com>
45885 * configure.in (sysnames): Look for Implies-before and Implies-after
45887 * configure: Regenerated.
45889 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45891 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
45892 8-byte data alignment with LP_SIZE alignment.
45894 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45896 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
45899 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45901 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
45903 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45905 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
45906 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
45907 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
45909 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45911 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45913 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
45914 (stackinfo_sub_sp): Likewise.
45916 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45918 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
45921 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45923 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
45926 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45928 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
45931 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45933 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
45935 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45937 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
45938 into R11_LP and load __x86_64_shared_cache_size_half into
45941 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45943 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
45946 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45948 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
45950 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
45952 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
45954 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
45955 powerpc32/power7/fpu/s_logb.c via #include.
45956 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
45957 powerpc32/power7/fpu/s_logbf.c via #include.
45958 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
45959 powerpc32/power7/fpu/s_logbl.c via #include.
45961 2012-05-15 Joseph Myers <joseph@codesourcery.com>
45963 * README.libm: Remove file.
45965 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45967 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
45968 count for x32. Use R*_LP and omit operand-size suffix.
45970 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45972 * shlib-versions: Move x86_64-.*-linux.* entries to ...
45973 * sysdeps/x86_64/64/shlib-versions: Here. New file.
45974 * sysdeps/x86_64/x32/shlib-versions: New file.
45976 2012-05-14 Roland McGrath <roland@hack.frob.com>
45978 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
45979 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
45980 Use _dl_fatal_printf instead.
45982 2012-05-14 Joseph Myers <joseph@codesourcery.com>
45984 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
45985 set if not set by the user. Do not allow for being unset.
45986 * sysdeps/unix/sysv/linux/configure: Regenerated.
45988 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45990 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
45991 the `q' suffix from lea and replace .quad with ASM_ADDR.
45993 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45995 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
45996 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
45998 (PTR_DEMANGLE): Likewise.
46000 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46002 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
46004 (ASM_ADDR): Likewise.
46005 (RAX_LP): Likewise.
46006 (RBP_LP): Likewise.
46007 (RBX_LP): Likewise.
46008 (RCX_LP): Likewise.
46009 (RDI_LP): Likewise.
46010 (RSI_LP): Likewise.
46011 (RSP_LP): Likewise.
46014 (R10_LP): Likewise.
46015 (R10_LP): Likewise.
46016 (R11_LP): Likewise.
46017 (R12_LP): Likewise.
46018 (R13_LP): Likewise.
46019 (R14_LP): Likewise.
46020 (R15_LP): Likewise.
46022 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46024 * sysdeps/x86_64/x32/dl-machine.h: New file.
46026 2012-05-14 Andreas Jaeger <aj@suse.de>
46028 * manual/Makefile (subdir): Remove export of subdir.
46029 (all): Remove target.
46030 (.PHONY): Remove all from list.
46031 (mkinstalldirs): Remove.
46032 (.PHONY): Remove installdirs from list.
46033 ($(inst_infodir)/libc.info): Use make-target-directory.
46034 (installdirs): Remove.
46035 (subdir_%): Remove.
46036 (glibc-targets): Remove.
46039 ($(objpfx)stubs ../po/manual.pot): Remove.
46040 ($(objpfx)stamp%): Remove.
46041 (make-target-directory): Remove.
46042 (subdir_install): Remove.
46043 (routines): Remove.
46050 * manual/.gitignore: Remove, it's not needed anymore.
46051 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
46053 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
46055 (texis): Renamed to $(objpfx)texis.
46056 (texis-path): New, contains path to generated files.
46057 (chapters.%): Use texis-path for complete path, add extra argument
46059 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
46060 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
46061 (summary,texi, stamp-summary): Use complete path of
46062 files. Generate files in build dir.
46063 (dir-add.texi): Build in build dir.
46064 (libm-err.texi,stamp-libm-err): Likewise.
46065 (version.texi, stamp-version): Likewise.
46066 (.%c.texi): Likewise.
46067 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
46068 (mostlyclean): Remove target.
46069 (realclean): Remove target.
46070 (generated): Add new variable with contents from mostlyclean and
46071 realclean, remove entries duplicated in common-mostlyclean, add
46072 stamp-libm-err and stamp-version.
46073 (generated-dirs): Add libc directory.
46074 ($(inst_infodir)/libc.info): Install files from build dir.
46076 * manual/install.texi (Configuring and compiling): Adjust since
46077 the info files are not part of the tar ball anymore.
46079 2012-05-14 Andreas Jaeger <aj@suse.de>
46081 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
46084 2012-05-14 Joseph Myers <joseph@codesourcery.com>
46087 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46088 to 2.2.0 where earlier.
46089 * sysdeps/unix/sysv/linux/configure: Regenerated.
46090 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
46091 Remove conditional code.
46092 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
46093 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
46094 Remove conditional code.
46095 [!__NR_lchown]: Likewise.
46096 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46097 [__NR_lchown]: Likewise.
46098 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
46099 comment referencing __ASSUME_LCHOWN_SYSCALL.
46100 * sysdeps/unix/sysv/linux/i386/sigaction.c
46101 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46102 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46103 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
46104 Remove conditional code.
46105 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
46106 (__protocol_available): Remove #if 0 code.
46107 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
46109 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
46110 * sysdeps/unix/sysv/linux/kernel-features.h
46111 (__ASSUME_GETCWD_SYSCALL): Don't define.
46112 (__ASSUME_REALTIME_SIGNALS): Likewise.
46113 (__ASSUME_PREAD_SYSCALL): Likewise.
46114 (__ASSUME_PWRITE_SYSCALL): Likewise.
46115 (__ASSUME_POLL_SYSCALL): Likewise.
46116 (__ASSUME_LCHOWN_SYSCALL): Likewise.
46117 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
46119 (__ASSUME_SIOCGIFNAME): Don't define.
46120 (__ASSUME_MSG_NOSIGNAL): Likewise.
46121 (__ASSUME_SENDFILE): Define unconditionally.
46122 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
46123 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
46125 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
46126 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
46127 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46128 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46129 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
46130 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46131 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
46133 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46134 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
46136 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46137 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
46139 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46140 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
46142 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46143 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
46145 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46146 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
46148 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46149 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
46151 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46152 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
46154 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46155 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46156 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
46157 Remove conditional code.
46158 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46159 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46160 Remove conditional code.
46161 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46162 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
46163 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
46164 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46165 Remove conditional code.
46166 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46167 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
46168 Remove conditional code.
46169 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46170 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
46171 Remove conditional code.
46172 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46173 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46174 Remove conditional code.
46175 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46176 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46177 Remove conditional code.
46178 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46179 * sysdeps/unix/sysv/linux/sh/pwrite64.c
46180 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46181 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46182 * sysdeps/unix/sysv/linux/sigaction.c
46183 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46184 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46185 * sysdeps/unix/sysv/linux/sigpending.c
46186 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46187 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46188 * sysdeps/unix/sysv/linux/sigprocmask.c
46189 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46190 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46191 * sysdeps/unix/sysv/linux/sigsuspend.c
46192 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46193 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46194 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46195 (__libc_missing_rt_sigs): Remove.
46196 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
46197 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
46198 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
46199 Remove conditional code.
46200 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
46201 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
46203 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
46204 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
46205 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
46206 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
46208 2012-05-14 Andreas Jaeger <aj@suse.de>
46210 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
46211 it's not used in glibc.
46212 (__coshm1): Likewise.
46213 (__acosh1p): Likewise.
46216 * manual/string.texi (Copying and Concatenation): Add missing
46217 variable in concat example.
46218 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
46220 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46223 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
46224 __builtin_clzl with __builtin_clzll.
46226 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46229 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
46232 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46234 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
46235 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
46236 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
46237 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
46239 2012-05-14 Mike Frysinger <vapier@gentoo.org>
46241 * NEWS: Update ia64 info.
46243 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
46245 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
46248 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
46250 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
46251 * sysdeps/unix/syscalls.list (dup3): Likewise.
46252 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
46253 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
46255 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
46257 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
46258 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
46260 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
46262 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
46264 (TLS_IE): Use mov/add instead of movq/addq to load thread
46266 (TLS_GD_PREFIX): New.
46269 2012-05-11 David S. Miller <davem@davemloft.net>
46271 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
46272 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
46273 (_FPU_SETCW): Likewise.
46275 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46277 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
46278 is 32-byte aligned.
46280 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
46283 * iconvdata/gb18030.c: Update tables.
46284 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
46285 characters specially.
46286 (BODY for TO_LOOP): Add encoding of missing ranges.
46288 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
46291 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
46292 * sysdeps/mach/hurd/dup3.c: Likewise.
46293 * sysdeps/mach/hurd/readlinkat.c: Likewise.
46294 * sysdeps/powerpc/memmove.c:: Likewise.
46296 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46298 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
46299 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
46301 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46303 * elf/elf.h (R_X86_64_RELATIVE64): New.
46304 (R_X86_64_NUM): Updated.
46305 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
46306 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
46307 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
46308 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
46309 tst-quad1pie tst-quad2pie
46310 (modules-names): Add tst-quadmod1 tst-quadmod2.
46311 ($(objpfx)tst-quad1): New dependency.
46312 ($(objpfx)tst-quad2): Likewise.
46313 ($(objpfx)tst-quad1pie): Likewise.
46314 ($(objpfx)tst-quad2pie): Likewise.
46315 * sysdeps/x86_64/tst-quad1.c: New file.
46316 * sysdeps/x86_64/tst-quad1pie.c: New file.
46317 * sysdeps/x86_64/tst-quad2.c: Likewise.
46318 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
46319 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
46320 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
46321 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
46322 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
46324 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46326 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
46327 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
46328 * streams/stropts.h (t_scalar_t): Define type.
46330 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
46331 (_PATH_PRESERVE): Set to "/var/lib".
46332 (_PATH_RWHODIR): Set to "/var/spool/rwho".
46334 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
46337 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
46338 if __dir_mkfile succeeded.
46340 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
46341 checking for _hurd_dtablesize. Unlock it right after having
46342 finished _hurd_dtable allocation.
46344 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46346 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
46347 * sysdeps/mach/hurd/configure: Regenerated.
46348 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
46349 special-casing to...
46350 * sysdeps/gnu/configure.in: ... this new file.
46351 * sysdeps/unix/sysv/linux/configure: Regenerated.
46352 * sysdeps/gnu/configure: New generated file.
46354 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
46355 for Linux: use nsec instead of usec, as well as:
46356 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
46357 members of type struct timespec.
46358 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
46360 (struct stat64): Likewise.
46361 (_STATBUF_ST_NSEC): New macro.
46362 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
46364 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46365 __strtoul_internal rather than strtoul.
46367 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46369 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
46372 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46374 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
46375 which preserves existing values.
46376 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
46378 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46380 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
46381 TIMEOUT values. Return EINVAL for NFDS values either negative or
46382 greater than FD_SETSIZE.
46384 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46386 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
46387 allocated, call __vm_protect to finish enabling the existing space, and
46388 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
46389 allocate the remainder.
46391 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46393 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
46394 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
46396 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46398 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
46399 sysdeps/mach/hurd/readlink.c.
46401 * posix/tst-sysconf.c (posix_options): Only use
46402 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
46403 _POSIX_SYNCHRONIZED_IO when they are defined
46404 * sysdeps/mach/hurd/bits/posix_opt.h:
46405 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
46406 (_XOPEN_REALTIME): Undefine macro.
46407 (_XOPEN_REALTIME_THREADS): Undefine macro.
46408 (_XOPEN_SHM): Undefine macro.
46409 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
46411 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
46413 (_POSIX_ASYNC_IO): Undefine macro.
46414 (_POSIX_PRIORITIZED_IO): Undefine macro.
46415 (_POSIX_SPIN_LOCKS): Define macro to -1.
46417 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
46418 SA_NODEFER, SA_RESETHAND.
46419 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
46420 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
46423 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46425 * elf/Makefile (pldd-modules): Define unconditionally.
46427 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46429 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
46431 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46433 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
46434 Return ENOENT when name is empty.
46435 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
46437 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46439 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
46441 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
46443 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46445 Fix mlock in all cases except non-readable pages.
46446 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
46447 instead of VM_PROT_ALL as parameter to __vm_wire function.
46449 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
46450 (__mkdir): When path is `/', just fail with EEXIST.
46451 * sysdeps/mach/hurd/mkdirat.c: Likewise.
46453 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46455 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
46456 <sys/uio.h> (for writev).
46457 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
46458 and <sys/param.h> (for MIN).
46460 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46462 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
46463 REQUESTED_TIME. Properly set the remaining time and return EINTR
46466 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46468 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
46469 Depend on against $(link-rpcuserlibs).
46471 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46473 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
46474 (__libc_stack_end): Do not use attribute_relro.
46475 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
46476 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
46477 to libthread-provided value.
46478 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
46481 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46484 * bits/libc-lock.h (__libc_once_get): New macro.
46485 * sysdeps/mach/bits/libc-lock.h: Likewise.
46486 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
46487 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
46488 instead of using implementation details.
46490 * libio/fileops.c: Unconditionally include <kernel-features.h>.
46491 * libio/freopen.c: Likewise.
46492 * libio/freopen64.c: Likewise.
46493 * misc/syslog.c: Likewise.
46494 * nscd/connections.c: Likewise.
46495 * nscd/netgroupcache.c: Likewise.
46496 * sysdeps/posix/getcwd.c: Likewise.
46498 2012-05-10 Roland McGrath <roland@hack.frob.com>
46500 * math/w_ilogbf.c: Add #include <limits.h>.
46502 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46504 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
46505 path instead of returning without unlocking.
46507 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
46508 immediate-write ioctls.
46509 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
46511 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46513 * sysdeps/mach/hurd/i386/init-first.c (init): Use
46514 __builtin_frame_address instead of making assumptions about the
46515 location of the return address relative to DATA. Force early load of
46516 the return address.
46517 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
46518 __builtin_frame_address.
46521 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
46522 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
46523 implement dup3 and do some further code clean-ups.
46524 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
46525 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
46527 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46529 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
46531 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
46532 HURD_CRITICAL_END around holding _hurd_dtable_lock.
46533 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
46534 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
46535 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
46538 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
46539 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
46540 when handler == SIG_ERR, not when handler != SIG_ERR.
46542 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46544 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
46545 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
46548 accept4 for GNU Hurd.
46549 * include/sys/socket.h (__libc_accept4): New prototype.
46550 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
46551 to implement __libc_accept4.
46552 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
46554 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
46556 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
46557 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
46558 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
46559 signal-defines.sym.
46561 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46563 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
46565 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46567 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
46568 assertion on O_CLOEXEC flag.
46569 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
46570 * hurd/intern-fd.c: Likewise.
46571 * hurd/port2fd.c: Likewise.
46573 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46576 * bits/in.h (IPV6_PKTINFO): Define new macro.
46577 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
46579 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46584 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
46585 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46586 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
46587 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46588 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46589 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46590 * math/libm-test.inc (logb_test) : Additional logb tests.
46592 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
46593 Andreas Jaeger <aj@suse.de>
46595 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
46596 * configure: Regenerated.
46597 * config.h.in (LINK_OBSOLETE_RPC): New macro.
46598 * config.make.in (link-obsolete-rpc): New substituted variable.
46599 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
46600 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
46601 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46602 (shared-only-routines): Don't set it under [link-obsolete-rpc],
46603 so that libc.a contains the symbols.
46604 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46605 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
46606 * sunrpc/auth_none.c: Likewise.
46607 * sunrpc/auth_unix.c: Likewise.
46608 * sunrpc/authdes_prot.c: Likewise.
46609 * sunrpc/authuxprot.c: Likewise.
46610 * sunrpc/clnt_gen.c: Likewise.
46611 * sunrpc/clnt_perr.c: Likewise.
46612 * sunrpc/clnt_raw.c: Likewise.
46613 * sunrpc/clnt_simp.c: Likewise.
46614 * sunrpc/clnt_tcp.c: Likewise.
46615 * sunrpc/clnt_udp.c: Likewise.
46616 * sunrpc/clnt_unix.c: Likewise.
46617 * sunrpc/des_crypt.c: Likewise.
46618 * sunrpc/des_soft.c: Likewise.
46619 * sunrpc/get_myaddr.c: Likewise.
46620 * sunrpc/key_call.c: Likewise.
46621 * sunrpc/key_prot.c: Likewise.
46622 * sunrpc/netname.c: Likewise.
46623 * sunrpc/pm_getmaps.c: Likewise.
46624 * sunrpc/pm_getport.c: Likewise.
46625 * sunrpc/pmap_clnt.c: Likewise.
46626 * sunrpc/pmap_prot.c: Likewise.
46627 * sunrpc/pmap_prot2.c: Likewise.
46628 * sunrpc/pmap_rmt.c: Likewise.
46629 * sunrpc/publickey.c: Likewise.
46630 * sunrpc/rpc_cmsg.c: Likewise.
46631 * sunrpc/rpc_common.c: Likewise.
46632 * sunrpc/rpc_dtable.c: Likewise.
46633 * sunrpc/rpc_prot.c: Likewise.
46634 * sunrpc/rpc_thread.c: Likewise.
46635 * sunrpc/rtime.c: Likewise.
46636 * sunrpc/svc.c: Likewise.
46637 * sunrpc/svc_auth.c: Likewise.
46638 * sunrpc/svc_raw.c: Likewise.
46639 * sunrpc/svc_run.c: Likewise.
46640 * sunrpc/svc_tcp.c: Likewise.
46641 * sunrpc/svc_udp.c: Likewise.
46642 * sunrpc/svc_unix.c: Likewise.
46643 * sunrpc/svcauth_des.c: Likewise.
46644 * sunrpc/xcrypt.c: Likewise.
46645 * sunrpc/xdr.c: Likewise.
46646 * sunrpc/xdr_array.c: Likewise.
46647 * sunrpc/xdr_float.c: Likewise.
46648 * sunrpc/xdr_intXX_t.c: Likewise.
46649 * sunrpc/xdr_mem.c: Likewise.
46650 * sunrpc/xdr_rec.c: Likewise.
46651 * sunrpc/xdr_ref.c: Likewise.
46652 * sunrpc/xdr_sizeof.c: Likewise.
46653 * sunrpc/xdr_stdio.c: Likewise.
46655 2012-05-10 Roland McGrath <roland@hack.frob.com>
46657 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
46658 change. Update copyright years.
46660 2012-05-10 Joseph Myers <joseph@codesourcery.com>
46662 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
46664 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
46665 Joseph Myers <joseph@codesourcery.com>
46666 Paul Pluzhnikov <ppluzhnikov@google.com>
46669 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
46671 [cross-compiling] (extra-libs): Likewise.
46672 [cross-compiling] (extra-libs-others): Likewise.
46673 [cross-compiling] (librpcsvc-routines): Likewise.
46674 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
46675 [cross-compiling] (omit-deps): Likewise.
46676 (sunrpc-CPPFLAGS): New variable.
46677 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
46678 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
46679 (cross-rpcgen-objs): New variable.
46680 (extra-objs): Append $(cross-rpcgen-objs).
46681 ($(cross-rpcgen-objs)): New rule.
46682 ($(objpfx)cross-rpcgen): Likewise.
46683 (rpcgen-cmd): Define to use $(built-program-file). Expand
46685 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
46686 ($(objpfx)x%.stmp): Likewise.
46687 * sunrpc/proto.h [IS_IN_build] (_): Define.
46688 [IS_IN_build] (_libc_intl_domainname): Likewise.
46690 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46692 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
46693 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
46694 and R_X86_64_TPOFF64.
46696 2012-05-10 Joseph Myers <joseph@codesourcery.com>
46698 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
46699 sysdeps/unix/sysv/syscalls.list.
46702 * sysdeps/unix/sysv/syscalls.list: Remove file.
46704 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
46707 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
46708 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
46709 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
46710 (__LC_IDENTIFICATION): Make these macros useful in #if
46711 expressions, as required by C99.
46713 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
46715 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
46716 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
46719 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
46721 * stdlib/longlong.h: Updated from GCC.
46723 2012-05-09 Andreas Jaeger <aj@suse.de>
46725 * nscd/nscd.c (run_modes): Make named enum, reorder so that
46726 default is first entry.
46727 (run_mode): Set type.
46728 (main): Remove informal message about syslog.
46729 (options): Fix typo.
46732 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
46735 (llrintf): Likewise.
46736 (llrint): Likewise.
46739 (nearbyint): Likewise.
46740 (nearbyintf): Likewise.
46742 2012-05-09 Andreas Jaeger <aj@suse.de>
46743 Pedro Alves <palves@redhat.com>
46745 * nscd/nscd.c (run_mode): Use enum.
46746 (main): Cleanup coding style issue.
46748 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
46749 Andreas Jaeger <aj@suse.de>
46751 * nscd/nscd.c (go_background): Replaced with...
46752 (run_mode): ... this.
46753 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
46754 (options): Add -F --foreground.
46755 (main): Implement it.
46756 (parse_opt): Parse it.
46758 2012-05-09 Andreas Jaeger <aj@suse.de>
46761 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
46762 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
46763 -Wconversion warning.
46764 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
46767 2012-05-09 Joseph Myers <joseph@codesourcery.com>
46769 * conform/data/locale.h-data (NULL): Use macro-constant. Require
46771 (LC_ALL): Use macro-int-constant.
46772 (LC_COLLATE): Likewise.
46773 (LC_CTYPE): Likewise.
46774 (LC_MESSAGES): Likewise.
46775 (LC_MONETARY): Likewise.
46776 (LC_NUMERIC): Likewise.
46777 (LC_TIME): Likewise.
46778 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
46779 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46780 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46781 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
46783 [C99-based standards] (float_t): Expect type.
46784 [C99-based standards] (double_t): Expect type.
46785 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
46787 [C99-based standards] (HUGE_VALL): Likewise.
46788 [C99-based standards] (INFINITY): Likewise.
46789 [C99-based standards] (NAN): Likewise.
46790 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
46791 [C99-based standards] (FP_NAN): Likewise.
46792 [C99-based standards] (FP_NORMAL): Likewise.
46793 [C99-based standards] (FP_SUBNORMAL): Likewise.
46794 [C99-based standards] (FP_ZERO): Likewise.
46795 [C99-based standards] (FP_FAST_FMA): Use
46796 optional-macro-int-constant. Specify type. Require == 1.
46797 [C99-based standards] (FP_FAST_FMAF): Likewise.
46798 [C99-based standards] (FP_FAST_FMAL): Likewise.
46799 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
46800 [C99-based standards] (FP_ILOGBNAN): Likewise.
46801 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
46803 [C99-based standards] (MATH_ERREXCEPT): Likewise.
46804 [C99-based standards] (math_errhandling): Specify type.
46805 [ISO99 || ISO11] (signgam): Do not allow.
46806 [non-C99-based standards] (copysignf): Do not allow.
46807 [non-C99-based standards] (exp2f): Likewise.
46808 [non-C99-based standards] (log2f): Likewise.
46809 [non-C99-based standards] (modff): Allow.
46810 [non-C99-based standards] (erff): Do not allow.
46811 [non-C99-based standards] (erfcf): Likewise.
46812 [non-C99-based standards] (gammaf): Likewise.
46813 [non-C99-based standards] (hypotf): Likewise.
46814 [non-C99-based standards] (j0f): Likewise.
46815 [non-C99-based standards] (j1f): Likewise.
46816 [non-C99-based standards] (jnf): Likewise.
46817 [non-C99-based standards] (lgammaf): Likewise.
46818 [non-C99-based standards] (tgammaf): Likewise.
46819 [non-C99-based standards] (y0f): Likewise.
46820 [non-C99-based standards] (y1f): Likewise.
46821 [non-C99-based standards] (ynf): Likewise.
46822 [non-C99-based standards] (isnanf): Likewise.
46823 [non-C99-based standards] (acoshf): Likewise.
46824 [non-C99-based standards] (asinhf): Likewise.
46825 [non-C99-based standards] (atanhf): Likewise.
46826 [non-C99-based standards] (cbrtf): Likewise.
46827 [non-C99-based standards] (expm1f): Likewise.
46828 [non-C99-based standards] (ilogbf): Likewise.
46829 [non-C99-based standards] (log1pf): Likewise.
46830 [non-C99-based standards] (logbf): Likewise.
46831 [non-C99-based standards] (nextafterf): Likewise.
46832 [non-C99-based standards] (remainderf): Likewise.
46833 [non-C99-based standards] (rintf): Likewise.
46834 [non-C99-based standards] (scalbf): Likewise.
46835 [non-C99-based standards] (copysignl): Likewise.
46836 [non-C99-based standards] (exp2l): Likewise.
46837 [non-C99-based standards] (log2l): Likewise.
46838 [non-C99-based standards] (modfl): Allow.
46839 [non-C99-based standards] (erfl): Do not allow.
46840 [non-C99-based standards] (erfcl): Likewise.
46841 [non-C99-based standards] (gammal): Likewise.
46842 [non-C99-based standards] (hypotl): Likewise.
46843 [non-C99-based standards] (j0l): Likewise.
46844 [non-C99-based standards] (j1l): Likewise.
46845 [non-C99-based standards] (jnl): Likewise.
46846 [non-C99-based standards] (lgammal): Likewise.
46847 [non-C99-based standards] (tgammal): Likewise.
46848 [non-C99-based standards] (y0l): Likewise.
46849 [non-C99-based standards] (y1l): Likewise.
46850 [non-C99-based standards] (ynl): Likewise.
46851 [non-C99-based standards] (isnanl): Likewise.
46852 [non-C99-based standards] (acoshl): Likewise.
46853 [non-C99-based standards] (asinhl): Likewise.
46854 [non-C99-based standards] (atanhl): Likewise.
46855 [non-C99-based standards] (cbrtl): Likewise.
46856 [non-C99-based standards] (expm1l): Likewise.
46857 [non-C99-based standards] (ilogbl): Likewise.
46858 [non-C99-based standards] (log1pl): Likewise.
46859 [non-C99-based standards] (logbl): Likewise.
46860 [non-C99-based standards] (nextafterl): Likewise.
46861 [non-C99-based standards] (remainderl): Likewise.
46862 [non-C99-based standards] (rintl): Likewise.
46863 [non-C99-based standards] (scalbl): Likewise.
46864 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46865 [non-C99-based standards] (FP_*): Do not allow.
46866 [C99-based standards] (FP_*): Change to
46867 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46868 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46870 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
46871 (SIG_ERR): Likewise.
46872 [X/Open-based standards] (SIG_HOLD): Likewise.
46873 (SIG_IGN): Likewise.
46874 (SIGABRT): Use macro-int-constant. Specify type. Require
46876 (SIGFPE): Likewise.
46877 (SIGILL): Likewise.
46878 (SIGINT): Likewise.
46879 (SIGSEGV): Likewise.
46880 (SIGTER): Likewise.
46881 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
46882 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
46883 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
46884 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
46885 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
46886 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
46887 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
46888 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
46889 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
46890 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
46891 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
46892 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
46893 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
46894 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
46895 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
46896 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
46897 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
46898 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
46899 [X/Open-based standards] (SIGTRAP): Likewise.
46900 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
46901 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
46902 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
46903 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
46904 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46907 2012-05-08 Ian Wienand <ianw@vmware.com>
46910 * time/tzset.c (__tzset_parse_tz): Update default rules for
46911 daylight time changes in the Energy Policy Act of 2005.
46913 2012-05-09 Andreas Jaeger <aj@suse.de>
46916 * elf/ldconfig.c (parse_conf): Change string to make clear that
46917 ldconfig only issued a warning if ld.so.conf does not exist.
46919 2012-05-08 David S. Miller <davem@davemloft.net>
46921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
46922 movxtod instead of popping the value on the stack.
46924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46926 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
46928 * config.h.in: Add HAVE_ARM_PCS_VFP.
46930 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
46933 * include/features.h: Warn if user requests __FORTIFY_SOURCE
46934 checking but the checks are disabled for any reason.
46936 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
46938 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
46939 and ELF64_R_TYPE with ELFW(R_TYPE).
46941 2012-05-08 Joseph Myers <joseph@codesourcery.com>
46943 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
46944 (ulimit): Likewise.
46946 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
46947 (settimeofday): Likewise.
46949 2012-05-08 Mike Frysinger <vapier@gentoo.org>
46951 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
46952 a struct th_u2 inside the union, and move tu_block/tu_code into
46953 a new th_u3 union of tu_block/tu_code inside of that. Move
46954 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
46955 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
46956 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
46957 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
46958 (th_stuff): Change to th_u1.tu_stuff.
46960 (th_msg): Change to th_u1.th_u2.tu_data.
46962 2012-05-07 David S. Miller <davem@davemloft.net>
46964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46967 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
46968 (SETUP_PIC_REG): Use it.
46969 (SETUP_PIC_REG_LEAF): Use it.
46971 2012-05-07 Joseph Myers <joseph@codesourcery.com>
46975 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46977 (EXPL_FINITE): Likewise.
46978 (FLDLOG): Likewise.
46979 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
46980 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
46982 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46984 (EXPL_FINITE): Likewise.
46985 (FLDLOG): Likewise.
46986 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
46987 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
46989 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
46990 test of -max_value argument for long double.
46991 * sysdeps/i386/fpu/libm-test-ulps: Update.
46992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46994 2012-05-06 David S. Miller <davem@davemloft.net>
46996 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
46997 quad soft-float symbols whose references which are compiler
46999 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47001 2012-05-06 Joseph Myers <joseph@codesourcery.com>
47005 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47007 (EXPL_FINITE): Likewise.
47008 (FLDLOG): Likewise.
47011 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
47012 Adjust comments for base varying.
47013 (__expl_finite): Change alias to EXPL_FINITE.
47014 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
47016 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
47017 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
47018 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47019 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
47020 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47022 (EXPL_FINITE): Likewise.
47023 (FLDLOG): Likewise.
47026 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
47027 Adjust comments for base varying.
47028 (__expl_finite): Change alias to EXPL_FINITE.
47029 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
47031 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47034 * math/libm-test.inc (check_float_internal): Correct ulp
47035 calculation for subnormal expected results.
47037 2012-05-06 Andreas Jaeger <aj@suse.de>
47039 * Makeconfig (+math-flags): New, set to -frounding-math.
47040 (+cflags): Add +math-flags so that all of glibc gets compiled with
47043 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
47045 2012-05-05 Joseph Myers <joseph@codesourcery.com>
47047 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
47053 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
47054 (__ieee754_expl): Allow for and saturate large arguments.
47055 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
47056 (u_threshold): Likewise.
47057 (__exp): Call __ieee754_exp before checking for overflow and
47059 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
47060 (u_threshold): Likewise.
47061 (__expf): Call __ieee754_expf before checking for overflow and
47063 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
47064 (u_threshold): Likewise.
47065 (__expl): Call __ieee754_expl before checking for overflow and
47067 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
47068 (__ieee754_expl): Allow for and saturate large arguments.
47069 * math/libm-test.inc (exp_test): Add another test. Do not allow
47070 missing overflow exception on overflow.
47071 (expm1_test): Do not allow missing overflow exception on overflow.
47073 * sysdeps/i386/fpu/e_expl.c: Move to ...
47074 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
47075 rather than using inline asm.
47076 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
47077 * sysdeps/x86_64/fpu/e_expl.S: Copy from
47078 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
47080 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
47083 (signal): Likewise.
47087 2012-05-04 Joseph Myers <joseph@codesourcery.com>
47089 * sysdeps/unix/syscalls.list (adjtime): Add entry from
47090 sysdeps/unix/common/syscalls.list.
47091 (fchmod): Likewise.
47092 (fchown): Likewise.
47093 (ftruncate): Likewise.
47094 (getrusage): Likewise.
47095 (gettimeofday): Likewise.
47096 (setpgid): Likewise.
47097 (setregid): Likewise.
47098 (setreuid): Likewise.
47099 (sigaction): Likewise.
47100 (truncate): Likewise.
47101 (vhangup): Likewise.
47102 * sysdeps/unix/common/syscalls.list: Remove file.
47103 * sysdeps/unix/bsd/Implies: Don't include unix/common.
47104 * sysdeps/unix/sysv/linux/Implies: Likewise.
47106 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
47108 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
47109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
47110 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
47112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
47114 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
47116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
47117 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
47119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
47120 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
47122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
47123 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
47125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
47126 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
47128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
47129 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
47131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
47132 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
47134 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47136 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
47138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
47140 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
47142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
47143 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
47145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
47147 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
47149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
47151 2012-05-04 Joseph Myers <joseph@codesourcery.com>
47153 * sysdeps/unix/common/bits/dirent.h: Remove file.
47154 * sysdeps/unix/common/bits/fcntl.h: Likewise.
47156 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
47157 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
47158 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
47159 * sysdeps/unix/bsd/isatty.c: Likewise.
47160 * sysdeps/unix/bsd/tcdrain.c: Likewise.
47161 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
47162 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
47164 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47167 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
47168 long double comparison inaccuracies.
47169 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47172 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
47174 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
47175 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
47177 2012-05-04 Joseph Myers <joseph@codesourcery.com>
47180 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
47181 nonzero digits before rounding a hex value.
47182 * stdlib/tst-strtod.c (tests): Add another test.
47184 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47186 * sysdeps/s390/fpu/libm-test-ulps: Update.
47188 2012-05-03 Andreas Jaeger <aj@suse.de>
47190 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
47191 does not get optimized out.
47192 (malloc_opt_barrier): New.
47194 2012-05-03 Andreas Jaeger <aj@suse.de>
47195 Roland McGrath <roland@hack.frob.com>
47197 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
47198 intermediate file deletion.
47199 (generated): Add .symlist files.
47201 2012-05-03 Joseph Myers <joseph@codesourcery.com>
47204 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
47205 Redirect under this condition.
47206 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47207 [__USE_GNU] (__dprintf_chk): Not under this condition.
47208 [__USE_GNU] (__vdprintf_chk): Likewise.
47209 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
47210 under this condition.
47211 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47212 [__USE_XOPEN2K8] (dprintf): Define under this condition.
47213 [__USE_XOPEN2K8] (vdprintf): Likewise.
47214 [__USE_GNU] (__dprintf_chk): Not under this condition.
47215 [__USE_GNU] (__vdprintf_chk): Likewise.
47216 [__USE_GNU] (dprintf): Likewise.
47217 [__USE_GNU] (vdprintf): Likewise.
47219 2012-05-03 Roland McGrath <roland@hack.frob.com>
47221 * elf/Makefile (common-generated): Set this instead of generated for
47222 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
47223 $(all-built-dso)-derived lists.
47225 2012-05-03 Andreas Jaeger <aj@suse.de>
47227 * sysdeps/i386/fpu/libm-test-ulps: Update.
47230 * FAQ.in: Likewise.
47231 * scripts/gen-FAQ.pl: Likewise.
47232 * manual/install.texi (Installation): Point to online location of
47234 * Makefile (files-for-dist): Remove FAQ.
47237 2012-05-02 Allan McRae <allan@archlinux.org>
47239 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
47240 (LDFLAGS-reldepmod5.so): Likewise.
47241 (LDFLAGS-reldep6mod1.so): Likewise.
47242 (LDFLAGS-reldep6mod4.so): Likewise.
47243 (LDFLAGS-reldep8mod3.so): Likewise.
47244 (LDFLAGS-unload4mod1.so): Likewise.
47245 (LDFLAGS-unload4mod2.so): Likewise.
47246 (LDFLAGS-tst-initorder): Likewise.
47247 (LDFLAGS-tst-initordera2.so): Likewise.
47248 (LDFLAGS-tst-initordera3.so): Likewise.
47249 (LDFLAGS-tst-initordera4.so): Likewise.
47250 (LDFLAGS-tst-initorderb2.so): Likewise.
47251 (LDFLAGS-noload): Likewise.
47252 (LDFLAGS-next): Likewise.
47253 (LDFLAGS-order2mod1.so): Likewise.
47254 (LDFLAGS-order2mod2.so): Likewise.
47255 (LDFLAGS-tst-initorder2): Likewise.
47256 (LDFLAGS-tst-initorder2a.so): Likewise.
47257 (LDFLAGS-tst-initorder2b.so): Likewise.
47258 (LDFLAGS-tst-initorder2c.so): Likewise.
47259 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
47261 2012-05-02 David S. Miller <davem@davemloft.net>
47263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47265 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
47268 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
47270 2012-05-02 Andreas Jaeger <aj@suse.de>
47272 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
47273 since we manipulate rounding mode.
47274 (CPPFLAGS-test-idouble.c): Likewise.
47275 (CPPFLAGS-test-ifloat.c): Likewise.
47276 (CFLAGS-test-ldouble.c): Likewise.
47277 (CFLAGS-test-double.c): Likewise.
47278 (CFLAGS-test-float.c): Likewise.
47279 (CFLAGS-test-misc.c): Likewise.
47280 (CFLAGS-test-test-fenv.c): Likewise.
47282 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47286 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
47287 comparisons to determine direction to adjust input.
47289 2012-05-01 Roland McGrath <roland@hack.frob.com>
47291 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
47292 output to the target.
47294 * scripts/localplt.awk: New file.
47295 * elf/Makefile ($(objpfx)check-localplt): Target removed.
47296 (check-localplt-CFLAGS): Variable removed.
47297 ($(all-built-dso:=.jmprel)): New static pattern rule.
47298 (generated): Add those targets.
47299 (localplt-built-dso): New variable.
47300 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
47302 * elf/check-localplt.c: File removed.
47304 * scripts/check-execstack.awk: New file.
47305 * elf/Makefile ($(objpfx)check-execstack): Target removed.
47306 (check-execstack-CFLAGS): Variable removed.
47307 ($(objpfx)check-execstack.h): Target removed.
47308 ($(objpfx)execstack-default): New target.
47309 (generated): Add that instead of check-execstack.h.
47310 ($(all-built-dso:=.phdr)): New static pattern rule.
47311 (generated): Add those targets.
47312 * elf/check-execstack.c: File removed.
47314 * scripts/check-textrel.awk: New file.
47315 * elf/Makefile ($(objpfx)check-textrel): Target removed.
47316 (check-textrel-CFLAGS): Variable removed.
47317 (all-built-dso): Use := to define.o
47318 ($(all-built-dso:=.dyn)): New static pattern rule.
47319 (generated): Add those targets.
47320 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
47321 * config.make.in (READELF): New substituted variable.
47322 * elf/check-textrel.c: File removed.
47324 2012-05-01 Joseph Myers <joseph@codesourcery.com>
47326 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47328 * conform/data/ctype.h-data [C99-based standards] (isblank):
47330 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
47331 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
47332 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47333 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
47334 Specify type. Require positive value.
47335 (EILSEQ): Likewise.
47336 (ERANGE): Likewise.
47337 [ISO || POSIX] (EILSEQ): Do not expect.
47338 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
47339 Specify type. Require positive value.
47340 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
47341 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
47342 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
47343 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
47344 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
47345 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
47346 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
47347 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
47348 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
47349 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
47350 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
47351 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
47352 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
47353 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
47354 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
47355 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
47356 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
47357 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
47358 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
47359 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
47360 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
47361 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
47362 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
47363 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
47364 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
47365 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
47366 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
47367 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
47368 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
47369 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
47370 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
47371 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
47372 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
47373 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
47374 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
47375 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
47376 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
47377 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
47378 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
47379 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
47380 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
47381 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
47382 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
47383 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
47384 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
47385 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
47386 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
47387 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
47388 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
47389 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
47390 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
47391 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
47392 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
47393 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
47394 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
47395 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
47396 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
47397 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
47398 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
47399 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
47400 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
47401 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
47402 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
47403 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
47404 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
47405 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
47406 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
47407 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
47408 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
47409 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
47410 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
47411 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
47412 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
47413 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
47414 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
47415 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
47416 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
47418 (FLT_ROUNDS): Expect as macro, not constant.
47419 (FLT_MANT_DIG): Use macro-int-constant.
47420 (DBL_MANT_DIG): Likewise.
47421 (LDBL_MANT_DIG): Likewise.
47422 (FLT_DIG): Likewise.
47423 (DBL_DIG): Likewise.
47424 (LDBL_DIG): Likewise.
47425 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
47426 (DBL_MIN_EXP): Likewise.
47427 (LDBL_MIN_EXP): Likewise.
47428 (FLT_MAX_EXP): Use macro-int-constant.
47429 (DBL_MAX_EXP): Likewise.
47430 (LDBL_MAX_EXP): Likewise.
47431 (FLT_MAX_10_EXP): Likewise.
47432 (DBL_MAX_10_EXP): Likewise.
47433 (LDBL_MAX_10_EXP): Likewise.
47434 (FLT_MAX): Use macro-constant.
47435 (DBL_MAX): Likewise.
47436 (LDBL_MAX): Likewise.
47437 (FLT_EPSILON): Use macro-constant. Give upper bound.
47438 (DBL_EPSILON): Likewise.
47439 (LDBL_EPSILON): Likewise.
47440 (FLT_MIN): Likewise.
47441 (DBL_MIN): Likewise.
47442 (LDBL_MIN): Likewise.
47443 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
47444 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
47445 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
47446 [ISO11] (FLT_HAS_SUBNORM): Likewise.
47447 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
47448 [ISO11] (DBL_DECIMAL_DIG): Likewise.
47449 [ISO11] (FLT_DECIMAL_DIG): Likewise.
47450 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
47451 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
47452 [ISO11] (FLT_TRUE_MIN): Likewise.
47453 [ISO11] (LDBL_TRUE_MIN): Likewise.
47454 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47455 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
47456 (SCHAR_MIN): Use macro-int-constant. Specify type.
47457 (SCHAR_MAX): Likewise.
47458 (UCHAR_MAX): Likewise.
47459 (CHAR_MIN): Likewise.
47460 (CHAR_MAX): Likewise.
47461 (MB_LEN_MAX): Use macro-int-constant.
47462 (SHRT_MIN): Use macro-int-constant. Specify type.
47463 (SHRT_MAX): Likewise.
47464 (USHRT_MAX): Likewise.
47465 (INT_MAX): Likewise.
47466 (INT_MIN): Use macro-int-constant. Specify type. Make upper
47468 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
47470 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
47472 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
47473 bound negative. Suffix upper bound with "L".
47474 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
47476 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
47478 [C99-based standards] (LLONG_MAX): Likewise.
47479 [C99-based standards] (ULLONG_MAX): Likewise.
47480 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
47482 [ISO11] (max_align_t): Require type.
47483 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47485 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
47486 from $CFLAGS, without defining away __attribute__ calls.
47487 (checknamespace): Use $CFLAGS_namespace.
47489 * conform/conformtest.pl (@keywords): Only include C99 keywords
47490 for standards based on C99 or C11.
47492 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
47494 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
47497 * conform/conformtest.pl: Handle "macro-int-constant" and test for
47498 usability of symbols in #if.
47500 * conform/conformtest.pl: If macro or constant types start
47501 "promoted:", expect the symbol to be of the following type
47502 promoted by the integer promotions.
47504 * conform/conformtest.pl: Parse all "constant" and "macro" lines
47505 in one place. Also handle "macro-constant".
47507 * conform/conformtest.pl: Only accept expected macro values with
47508 "==". Parse all "macro" lines in one place.
47509 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
47511 * conform/conformtest.pl: Handle braced types on "constant" lines
47512 instead of handling "typed-constant".
47513 * conform/data/signal.h-data: Use "constant" instead of
47516 * conform/conformtest.pl: Handle "optional-" at start of lines in
47517 one place rather than duplicating several cases. Handle each
47518 format of "macro" line with initial "optional-".
47520 * conform/conformtest.pl: Only accept expected constant or
47521 optional-constant values with "==". Parse all "constant" lines in
47522 one place. Parse all "optional-constant" lines in one place.
47523 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
47524 * conform/data/fmtmsg.h-data: Likewise.
47525 * conform/data/netinet/in.h-data: Likewise.
47526 * conform/data/tar.h-data: Likewise.
47527 * conform/data/limits.h-data: Use "==" form on "constant" and
47528 "optional-constant" lines.
47530 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
47531 Use -std=c99 for XOPEN2K.
47532 (@knownproblems): Remove.
47533 (newtoken): Don't check %isknown.
47535 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
47536 Do not expect macro.
47537 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
47538 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
47539 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
47540 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
47541 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
47542 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
47543 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
47544 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
47545 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
47546 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
47547 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
47548 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
47549 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
47550 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
47551 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
47552 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
47553 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
47554 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
47555 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
47556 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
47557 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
47558 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
47559 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
47560 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
47561 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
47562 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
47563 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
47564 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
47565 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
47566 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
47567 [XPG3] (acosh): Likewise.
47568 [XPG3] (asinh): Likewise.
47569 [XPG3] (atanh): Likewise.
47570 [XPG3] (cbrt): Likewise.
47571 [XPG3] (expm1): Likewise.
47572 [XPG3] (ilogb): Likewise.
47573 [XPG3] (log1p): Likewise.
47574 [XPG3] (logb): Likewise.
47575 [XPG3] (nextafter): Likewise.
47576 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
47577 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
47578 [XPG3] (remainder): Likewise.
47579 [XPG3] (rint): Likewise.
47580 [XPG3 || XPG4 || UNIX98] (round): Likewise.
47581 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
47582 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
47583 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
47584 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
47585 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
47586 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
47587 [UNIX98 || XOPEN2K] (scalb): Expect.
47588 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
47589 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
47590 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
47591 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
47592 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
47593 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
47594 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
47595 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
47596 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
47597 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
47598 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
47599 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
47600 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
47601 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
47602 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
47603 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
47604 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
47605 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
47606 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
47607 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
47608 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
47609 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
47610 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
47611 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
47612 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
47613 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
47614 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
47615 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
47616 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
47617 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
47618 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
47619 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
47620 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
47621 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
47622 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
47623 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
47624 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
47625 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
47626 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
47627 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
47628 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
47629 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
47630 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
47631 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
47632 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
47633 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
47634 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
47635 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
47636 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
47637 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
47638 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
47639 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
47640 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
47641 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
47642 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
47643 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
47644 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
47645 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
47646 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
47647 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
47648 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
47649 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
47650 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
47651 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
47652 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
47653 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
47654 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
47655 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
47656 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
47657 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
47658 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
47659 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
47660 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
47661 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
47662 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
47663 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
47664 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
47665 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
47666 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
47667 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
47668 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
47669 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
47670 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
47671 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
47672 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
47673 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
47674 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
47675 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
47676 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
47677 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
47678 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
47679 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
47680 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
47681 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
47682 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
47683 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
47684 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
47685 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
47686 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
47687 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
47688 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
47689 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
47690 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
47691 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
47692 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
47693 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
47694 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
47695 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
47696 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
47697 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
47698 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
47699 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
47700 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
47701 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
47702 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
47703 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
47704 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
47705 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
47706 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
47707 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
47708 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
47709 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
47710 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
47711 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
47712 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
47713 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
47714 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
47715 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
47716 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
47717 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
47718 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
47719 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
47720 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
47721 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
47722 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
47723 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
47724 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
47726 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
47727 _XOPEN_SOURCE_EXTENDED for XPG4.
47729 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
47731 * Makeconfig (localtime): Remove variable.
47732 (inst_localtime-file): Likewise.
47734 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
47736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
47738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
47742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
47746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
47748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
47752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47755 2012-05-01 Joseph Myers <joseph@codesourcery.com>
47759 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
47760 comparisons to determine direction to adjust input.
47761 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
47762 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
47763 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
47765 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
47767 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47769 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
47770 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
47772 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
47774 * math/libm-test.inc (nexttoward_test): Add more tests.
47776 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
47779 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
47780 in version GLIBC_2.1, not GLIBC_2.0.
47781 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
47784 2012-04-30 Joseph Myers <joseph@codesourcery.com>
47787 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
47789 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47790 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
47791 * math/libm-test.inc (acos_test): Add more tests.
47792 (asin_test): Likewise.
47793 * sysdeps/i386/fpu/libm-test-ulps: Update.
47794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47797 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
47799 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
47800 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47801 * math/libm-test.inc (acos_test_tonearest): New function.
47802 (acos_test_towardzero): Likewise.
47803 (acos_test_downward): Likewise.
47804 (acos_test_upward): Likewise.
47805 (asin_test_tonearest): Likewise.
47806 (asin_test_towardzero): Likewise.
47807 (asin_test_downward): Likewise.
47808 (asin_test_upward): Likewise.
47809 (main): Call the new functions.
47810 * sysdeps/i386/fpu/libm-test-ulps: Update.
47811 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47815 * math/e_exp10.c: Include <float.h>.
47816 (__ieee754_exp10): Handle underflow here rather than multiplying
47817 large negative argument by M_LN10.
47818 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
47820 * math/e_exp10l.c: Include <float.h>.
47821 (__ieee754_exp10l): Handle underflow here rather than multiplying
47822 large negative argument by M_LN10l.
47823 * math/libm-test.inc (exp10_test): Add another test. Do not allow
47824 spurious overflow exception on underflow.
47826 2012-04-29 Marek Polacek <polacek@redhat.com>
47828 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
47829 (__fortify_function): New macro.
47830 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
47831 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
47832 __extern_always_inline.
47833 * libio/bits/stdio2.h: Likewise.
47834 * libio/bits/stdio.h: Likewise.
47835 * string/string.h: Likewise.
47836 * string/bits/string3.h: Likewise.
47837 * include/stdio.h: Likewise.
47838 * stdlib/bits/stdlib.h: Likewise.
47839 * stdlib/stdlib.h: Likewise.
47840 * rt/bits/mqueue2.h: Likewise.
47841 * rt/mqueue.h: Likewise.
47842 * posix/bits/unistd.h: Likewise.
47843 * posix/unistd.h: Likewise.
47844 * io/bits/poll2.h: Likewise.
47845 * io/bits/fcntl2.h: Likewise.
47846 * io/fcntl.h: Likewise.
47847 * io/sys/poll.h: Likewise.
47848 * misc/bits/syslog.h: Likewise.
47849 * misc/bits/syslog-ldbl.h: Likewise.
47850 * misc/sys/syslog.h: Likewise.
47851 * socket/bits/socket2.h: Likewise.
47852 * socket/sys/socket.h: Likewise.
47853 * debug/tst-chk1.c: Likewise.
47854 * wcsmbs/bits/wchar2.h: Likewise.
47855 * wcsmbs/bits/wchar-ldbl.h: Likewise.
47856 * wcsmbs/wchar.h: Likewise.
47858 2012-04-29 Andreas Jaeger <aj@suse.de>
47860 * Makerules (tests): Remove enable-check-abi protection.
47861 (check-abi-warn): Remove.
47862 (check-abi-%): Remove check-abi-warn usage.
47864 * configure.in: Remove check-abi configure option.
47865 * configure: Regenerated.
47866 * config.make.in (enable-check-abi): Remove.
47868 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
47871 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
47872 double functions to double *_finite functions.
47875 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
47876 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
47878 * stdio-common/Makefile (tests): Add tst-sprintf3.
47879 * stdio-common/tst-sprintf3.c: New file.
47881 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
47882 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
47884 2012-04-28 Joseph Myers <joseph@codesourcery.com>
47886 * conform/conformtest.pl: Remove duplicate typed-constant
47889 2012-04-28 David S. Miller <davem@davemloft.net>
47891 * Makerules (%.abilist): Add vpath on sysdep_dirs.
47892 (check-abi-%): Remove AWK script prerequisite and explicit
47894 (check-abi): Rewrite to just diff the symlist with the abilist.
47895 (config-tls, config-abi-config): Delete, no longer used.
47896 (update-abi-%): Remove AWK script and explicit abilist directory.
47897 (update-abi): Rewrite to simply compare and conditionally copy the
47898 symlist and the sysdep abilist file. Remove update-abi-config
47900 * abilist/ld.abilist: Remove.
47901 * abilist/libBrokenLocale.abilist: Remove.
47902 * abilist/libanl.abilist: Remove.
47903 * abilist/libcrypt.abilist: Remove.
47904 * abilist/libdl.abilist: Remove.
47905 * abilist/librt.abilist: Remove.
47906 * abilist/libthread_db.abilist: Remove.
47907 * abilist/libutil.abilist: Remove.
47908 * scripts/extract-abilist.awk: Remove.
47909 * scripts/merge-abilist.awk: Remove.
47910 * sysdeps/generic/libcidn.abilist: New file.
47911 * sysdeps/generic/libnss_compat.abilist: New file.
47912 * sysdeps/generic/libnss_db.abilist: New file.
47913 * sysdeps/generic/libnss_dns.abilist: New file.
47914 * sysdeps/generic/libnss_files.abilist: New file.
47915 * sysdeps/generic/libnss_hesiod.abilist: New file.
47916 * sysdeps/generic/libnss_nis.abilist: New file.
47917 * sysdeps/generic/libnss_nisplus.abilist: New file.
47918 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
47919 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
47920 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
47922 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
47923 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
47924 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
47925 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
47926 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
47927 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
47928 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
47929 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
47930 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
47932 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
47933 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
47934 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
47935 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
47937 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
47938 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
47939 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
47940 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
47941 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
47942 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
47944 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
47945 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
47946 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
47948 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
47949 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
47951 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
47953 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
47955 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
47957 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
47959 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
47961 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
47963 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
47965 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
47967 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
47969 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
47971 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
47973 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
47975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
47977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
47979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
47981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
47983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
47985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
47987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
47989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
47991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
47995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
47997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
47999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
48001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
48002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
48004 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
48008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
48010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
48012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
48014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
48016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
48020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
48022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
48026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
48027 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
48029 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48031 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
48033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
48035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
48037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
48039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
48041 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
48045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
48047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
48051 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48052 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
48053 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
48055 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
48056 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
48057 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
48058 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
48059 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
48060 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
48061 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
48062 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
48063 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
48064 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
48065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
48066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
48068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
48072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
48074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
48076 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
48078 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
48080 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
48086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
48090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
48091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
48093 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48095 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
48097 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
48099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
48101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
48103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
48105 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
48111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
48116 2012-04-28 Joseph Myers <joseph@codesourcery.com>
48118 * conform/conformtest.pl: Fix typo in handling typed-constant from
48121 2012-04-27 Joseph Myers <joseph@codesourcery.com>
48123 * README: Cut down references to pre-2.6 Linux kernels and
48124 Linuxthreads. Update lists of configurations in libc and ports
48125 and sort alphabetically. Say "or newer" with Linux kernel version
48128 * config.h.in [IS_IN_build]: Allow compiling without optimization.
48130 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
48133 * math/libm-test.inc (logb_test_downward): New test to expose
48134 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
48137 2012-04-27 Joseph Myers <joseph@codesourcery.com>
48140 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
48142 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
48143 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
48145 2012-04-26 Joseph Myers <joseph@codesourcery.com>
48147 * sysdeps/unix/i386/brk.S: Remove file.
48148 * sysdeps/unix/i386/dl-brk.S: Likewise.
48149 * sysdeps/unix/i386/pipe.S: Likewise.
48150 * sysdeps/unix/i386/sigreturn.S: Likewise.
48151 * sysdeps/unix/i386/syscall.S: Likewise.
48152 * sysdeps/unix/i386/vfork.S: Likewise.
48153 * sysdeps/unix/i386/wait.S: Likewise.
48155 * sysdeps/unix/common/tcsendbrk.c: Move to ...
48156 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
48158 * configure.in (arm*-none*): Do not allow without
48159 --enable-hacker-mode.
48160 (netbsd*): Remove case setting base_os.
48161 (386bsd*): Likewise.
48162 (freebsd*): Likewise.
48165 (sunos*): Likewise.
48166 (ultrix*): Likewise.
48167 (newsos*): Likewise.
48168 (dynix*): Likewise.
48174 (minix*): Likewise.
48175 (irix4*): Likewise.
48176 (irix6*): Likewise.
48177 (solaris[2-9]*): Likewise.
48179 * configure: Regenerated.
48181 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48184 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
48185 overflow or cancellation in calculating denominator.
48186 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
48187 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
48188 down expression to avoid unexpected rounding in newer GCCs.
48189 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
48191 2012-04-26 David S. Miller <davem@davemloft.net>
48193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
48194 long-double compat symbols.
48195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
48199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
48201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
48202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
48203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
48204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
48205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
48206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
48207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48209 2012-04-25 David S. Miller <davem@davemloft.net>
48211 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
48212 HWCAP_* values only after the memory barriers have been defined.
48213 (atomic_full_barrier): Define.
48214 (atomic_read_barrier): Define.
48215 (atomic_write_barrier): Define.
48217 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48219 * shlib-versions: Add libgcc_s version information.
48220 * sysdeps/generic/libgcc_s.h: Remove.
48221 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
48223 * sysdeps/gnu/unwind-resume.c: Likewise.
48224 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
48226 2012-04-25 David S. Miller <davem@davemloft.net>
48228 * sysdeps/unix/sparc/brk.S: Delete.
48229 * sysdeps/unix/sparc/dl-brk.S: Delete.
48230 * sysdeps/unix/sparc/pipe.S: Delete.
48231 * sysdeps/unix/sparc/sysdep.S: Delete.
48232 * sysdeps/unix/sparc/sysdep.h: Delete.
48233 * sysdeps/unix/sparc/vfork.S: Delete.
48234 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
48235 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
48236 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
48237 (ret_ERRVAL, r0, r1, MOVE): Define.
48238 (JUMPTARGET): Remove.
48239 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
48240 sysdeps/unix/sparc/sysdep.h
48241 (ENTRY, END): Remove.
48242 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48244 2012-04-25 Joseph Myers <joseph@codesourcery.com>
48246 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
48247 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
48250 * timezone/README: Update upstream location and email address for
48252 * timezone/zdump.c: Update from tzcode 2012b.
48253 * timezone/zic.c: Likewise.
48255 * configure.in (libc_cv_as_needed): Remove test.
48256 * configure: Regenerated.
48257 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
48258 conditional definition.
48259 [$(have-as-needed) != yes] (no-as-needed): Likewise.
48260 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
48261 * config.make.in (have-as-needed): Remove variable.
48263 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
48264 Paul Pluzhnikov <ppluzhnikov@google.com>
48266 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
48269 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
48271 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
48272 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
48273 * sysdeps/sh/strlen.S: Likewise.
48275 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48277 * sysdeps/unix/fork.S: Remove file.
48278 * sysdeps/unix/i386/fork.S: Likewise.
48279 * sysdeps/unix/sparc/fork.S: Likewise.
48281 * sysdeps/unix/system.c: Remove file.
48282 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
48284 * sysdeps/unix/getegid.S: Remove file.
48285 * sysdeps/unix/geteuid.S: Likewise.
48287 2012-04-24 Roland McGrath <roland@hack.frob.com>
48289 * scripts/check-localplt.awk: New file.
48290 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
48292 * scripts/data/localplt-generic.data: Add a comment.
48294 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
48295 NODE when __dir_mkfile failed.
48296 * sysdeps/mach/hurd/symlinkat.c: Likewise.
48297 Reported by Ludovic Courtès <ludo@gnu.org>.
48299 2012-04-24 Andreas Jaeger <aj@suse.de>
48301 * Makerules (common-clean): Also remove gen-as-const-headers
48304 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48306 * Makerules (native-compile): Do not change working directory for
48307 build. Use $(OUTPUT_OPTION) in command.
48308 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
48310 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48313 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
48314 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
48315 * math/libm-test.inc (floor_test): Add more tests.
48316 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
48318 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48320 * sysdeps/unix/getdents.c: Remove file.
48321 * sysdeps/unix/sysv/getdents.c: Likewise.
48322 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
48324 * sysdeps/unix/syscalls.list (madvise): Add syscall from
48325 sysdeps/unix/mman/syscalls.list.
48327 (mprotect): Likewise.
48329 (munmap): Likewise.
48330 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
48331 * sysdeps/unix/mman/syscalls.list: Remove.
48332 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
48334 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
48335 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
48336 * configure: Regenerated.
48337 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
48338 $(libgcc_s_suffix).
48339 * config.make.in (libgcc_s_suffix): Remove variable.
48341 2012-04-23 Joseph Myers <joseph@codesourcery.com>
48343 * sysdeps/unix/sysv/gethostname.c: Move to ...
48344 * sysdeps/posix/gethostname.c: ... here.
48346 * sysdeps/unix/execve.S: Remove file.
48348 * sysdeps/unix/_exit.S: Remove file.
48350 2012-04-23 Andreas Jaeger <aj@suse.de>
48353 * manual/Makefile: Remove make dist support, there's no
48354 need for a stand-alone documentation tar ball.
48355 (TEXI2DVI): Define always, it's not in Makeconfig.
48358 (edition): Removed.
48359 (glibc-doc-$(edition).tar): Removed
48363 (ETAGS): Remove, it's in Makeconfig.
48364 (move-if-change): Remove, it's in Makeconfig.
48366 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
48369 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
48370 (strtod, strtof, strtold, strtol, strtoul, strtoq)
48371 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
48372 (strtod_l, strtof_l, strtold_l): Remove __wur.
48373 It is not necessarily an error to ignore strtol's return value.
48374 One can reliably look at the stored endptr to decide whether
48375 the number had valid syntax.
48377 2012-04-21 Andreas Jaeger <aj@suse.de>
48380 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
48382 2012-04-21 Joseph Myers <joseph@codesourcery.com>
48384 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
48385 * sysdeps/unix/sysv/Versions: Remove file.
48387 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
48390 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48392 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
48395 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
48396 version from __vm86.
48398 2012-04-20 Joseph Myers <joseph@codesourcery.com>
48400 * sysdeps/unix/common/lxstat.c: Remove file.
48401 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
48403 * sysdeps/unix/sysv/Makefile: Remove file.
48405 * sysdeps/unix/sysv/direct.h: Remove file.
48407 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
48408 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
48409 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
48410 * sysdeps/unix/sysv/bits/signum.h: Likewise.
48411 * sysdeps/unix/sysv/bits/stat.h: Likewise.
48412 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
48413 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
48415 * sysdeps/unix/sysv/setrlimit.c: Remove file.
48417 * sysdeps/unix/xmknod.c: Remove file.
48418 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
48420 * sysdeps/unix/sysv/settimeofday.c: Remove file.
48422 * sysdeps/unix/sysv/i386/time.S: Remove file.
48424 * sysdeps/unix/fxstat.c: Remove file.
48425 * sysdeps/unix/xstat.c: Likewise.
48426 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
48428 * sysdeps/unix/sysv/sigaction.c: Remove file.
48430 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
48431 (sysdep_headers): Remove variable.
48432 [termio.h not in sysdep_headers] (generated): Likewise.
48433 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
48434 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
48435 * sysdeps/unix/sysv/tcdrain.c: Likewise.
48436 * sysdeps/unix/sysv/tcflow.c: Likewise.
48437 * sysdeps/unix/sysv/tcflush.c: Likewise.
48438 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
48439 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
48440 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
48441 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
48442 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
48444 * sysdeps/unix/siglist.c: Remove file.
48446 * sysdeps/unix/getppid.S: Remove file.
48448 * sysdeps/unix/mkdir.c: Remove file.
48449 * sysdeps/unix/rmdir.c: Likewise.
48451 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
48453 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
48455 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
48456 errlist-compat value.
48458 2012-04-18 David S. Miller <davem@davemloft.net>
48460 * sysdeps/generic/memcopy.h (reg_char): Delete.
48461 * debug/strcat_chk.c: Use char, not reg_char.
48462 * debug/strcpy_chk.c: Likewise.
48463 * debug/strncat_chk.c: Likewise.
48464 * debug/strncpy_chk.c: Likewise.
48465 * string/memchr.c: Likewise.
48466 * string/memrchr.c: Likewise.
48467 * string/rawmemchr.c: Likewise.
48468 * string/strcat.c: Likewise.
48469 * string/strchr.c: Likewise.
48470 * string/strchrnul.c: Likewise.
48471 * string/strcmp.c: Likewise.
48472 * string/strcpy.c: Likewise.
48473 * string/strncat.c: Likewise.
48474 * string/strncmp.c: Likewise.
48475 * string/strncpy.c: Likewise.
48477 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48479 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
48480 __builtin_memcopy is called when src and dest ranges are known to not
48483 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48485 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
48486 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
48487 fwd_align_merge macro call.
48488 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
48489 bwd_align_merge macro call.
48490 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48492 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48494 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
48495 bwd_align_merge macros.
48496 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
48497 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
48498 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48500 2012-04-18 David S. Miller <davem@davemloft.net>
48502 * sysdeps/sparc/sparc64/memcopy.h: Delete.
48504 2012-04-18 Andreas Jaeger <aj@suse.de>
48507 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
48508 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
48509 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48511 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
48512 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
48513 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48515 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
48516 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
48517 Adjust for changed ldbl-128 files.
48519 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
48520 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
48521 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48523 2012-04-17 David S. Miller <davem@davemloft.net>
48525 * sysdeps/sparc/sparc32/memcopy.h: Delete.
48527 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
48529 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
48530 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
48531 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
48532 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
48533 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48534 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
48536 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48539 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
48540 * math/libm-test.inc: Add ilogb errno and exception tests.
48541 * math/w_ilogb.c: New file: ilogb wrapper.
48542 * math/w_ilogbf.c: New file: ilogbf wrapper.
48543 * math/w_ilogbl.c: New file: ilogbl wrapper.
48544 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
48545 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
48546 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
48547 exception being thrown with 0.0 as argument.
48548 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
48549 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
48550 exception being thrown with 0.0 as argument.
48551 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
48552 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48553 exception being thrown with 0.0 as argument.
48554 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
48555 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48556 exception being thrown with 0.0 as argument.
48557 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
48558 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
48559 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
48560 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
48561 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
48562 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
48563 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
48564 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
48565 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
48567 2012-04-17 Petr Baudis <pasky@ucw.cz>
48569 * include/sys/uio.h: Change __vector to __iovec to avoid clash
48572 2012-04-16 Marek Polacek <polacek@redhat.com>
48574 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
48576 2012-04-16 Marek Polacek <polacek@redhat.com>
48578 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
48579 operands of fdivp instruction.
48581 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
48583 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
48584 * elf/tst-auditmod3b.c: Likewise.
48585 * elf/tst-auditmod4b.c: Likewise.
48586 * elf/tst-auditmod5b.c: Likewise.
48587 * elf/tst-auditmod6b.c: Likewise.
48588 * elf/tst-auditmod6c.c: Likewise.
48589 * elf/tst-auditmod7b.c: Likewise.
48590 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
48591 * sysdeps/x86_64/preconfigure.in: Likewise.
48592 * sysdeps/x86_64/preconfigure: Regenerated.
48594 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
48596 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
48599 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
48601 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48602 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
48604 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
48607 * locale/iso-639.def: Fix gl language name. Spotted by
48610 2012-04-12 Roland McGrath <roland@hack.frob.com>
48613 * libio/libio.h (__io_write_fn): Update comment.
48615 2012-04-12 Petr Baudis <pasky@ucw.cz>
48618 * stdio.texi (Hook Functions): The user provided writer function
48619 is not allowed to return -1.
48621 2012-04-11 David S. Miller <davem@davemloft.net>
48623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48625 2012-04-11 Mike Frysinger <vapier@gentoo.org>
48627 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
48628 Add a leading slash to rtkaio.
48630 2012-04-11 Jim Meyering <meyering@redhat.com>
48633 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
48634 It is not necessarily an error to ignore fwrite's return
48635 value. One can reliably use ferror to test for errors after
48638 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
48640 * bits/types.h (__snseconds_t): New type.
48641 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
48643 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
48644 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48645 (__SNSECONDS_T_TYPE): Likewise.
48646 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48647 (__SNSECONDS_T_TYPE): Likewise.
48648 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48649 (__SNSECONDS_T_TYPE): Likewise.
48651 2012-04-10 Andreas Jaeger <aj@suse.de>
48654 * manual/time.texi (Processor Time): Return type of times is
48655 elapsed real time since an arbitrary point in the past.
48656 (CPU Time): Move CLK_TCK from here...
48657 (Processor Time): ...to here. Correct description.
48658 * manual/conf.texi (Constants for Sysconf): Correct description of
48661 2012-04-10 David S. Miller <davem@davemloft.net>
48664 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
48665 where the is a gap between DT_REL(A) and DT_JMPREL.
48667 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
48669 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
48670 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48671 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48673 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
48675 * elf/dl-support.c (_dl_inhibit_cache): New variable.
48676 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
48677 (dl_main): Handle --inhibit-cache.
48678 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
48680 * elf/dl-load.c (_dl_map_object): Use it.
48681 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
48683 2012-04-09 Joseph Myers <joseph@codesourcery.com>
48686 * sysdeps/i386/fpu/e_powl.S (p78): New object.
48687 (__ieee754_powl): Saturate large exponents rather than testing for
48688 overflow of y*log2(x).
48689 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48690 * math/libm-test.inc (pow_test): Do not permit spurious overflow
48694 * math/s_ctan.c: Include <float.h>.
48695 (__ctan): Avoid internal overflow or cancellation in calculating
48697 * math/s_ctanf.c: Likewise.
48698 * math/s_ctanl.c: Likewise.
48699 * math/s_ctanh.c: Likewise.
48700 * math/s_ctanhf.c: Likewise.
48701 * math/s_ctanhl.c: Likewise.
48702 * math/libm-test.inc (ctan_test): Add more tests.
48703 (ctanh_test): Likewise.
48704 * sysdeps/i386/fpu/libm-test-ulps: Update.
48705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48707 2012-04-09 Andreas Jaeger <aj@suse.de>
48710 * manual/filesys.texi (Directory Entries): Mention that d_namlen
48711 is an optional BSD extension.
48714 * manual/stdio.texi (Opening Streams): Document additional fopen
48717 2012-04-09 Roland McGrath <roland@hack.frob.com>
48719 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
48720 %eax without telling the compiler.
48722 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
48725 * manual/install.texi: Use sourceware.org.
48727 2012-04-09 Joseph Myers <joseph@codesourcery.com>
48730 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
48731 (__ieee754_pow): Generate overflow and underflow using huge*huge
48732 and tiny*tiny rather than just returning constant infinity or zero
48733 for large exponents.
48734 * math/libm-test.inc (pow_test): Require overflow exceptions for
48735 applicable cases of large exponents.
48738 * sysdeps/i386/fpu/e_pow.S (p10): New object.
48739 (__ieee754_pow): Use iterative multiplication algorithm only for
48740 integer exponents with absolute value below 1024. Check for odd
48741 integer exponents when using algorithm for real exponents.
48742 * math/libm-test.inc (pow_test): Add more tests.
48743 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48745 2012-04-08 Joseph Myers <joseph@codesourcery.com>
48748 * math/libm-test.inc (exp_test): Do not allow overflow exception
48751 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
48754 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
48755 instead of __kernel_standard_f.
48757 2012-04-08 Mike Frysinger <vapier@gentoo.org>
48759 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
48760 * sysdeps/x86_64/memset_chk.S: Likewise.
48762 2012-04-08 Andreas Jaeger <aj@suse.de>
48765 * manual/startup.texi (Environment Access): Describe return value
48766 for putenv and setenv.
48769 * manual/filesys.texi (Directory Entries): Add description for
48773 * manual/filesys.texi (Directory Entries): Clarify that it's file
48774 system not operating system in the description of DT_UNKNOWN.
48777 * manual/syslog.texi (closelog): Fix reference, it's openlog.
48779 2012-04-08 Stephen Compall <s11@member.fsf.org>
48782 * manual/llio.texi (Opening and Closing Files): Add cross
48783 reference to explain mode argument.
48785 2012-04-07 Mike Frysinger <vapier@gentoo.org>
48787 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
48788 * sysdeps/x86_64/memset_chk.S: Likewise.
48790 2012-04-07 David S. Miller <davem@davemloft.net>
48792 * elf/elf.h (R_SPARC_WDISP10): Define.
48793 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
48795 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
48796 R_SPARC_SIZE64 and R_SPARC_H34.
48798 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
48800 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
48801 conditions and remove no longer applicable assertion.
48803 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
48805 * bits/byteswap.h: Include <features.h>.
48806 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48807 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48809 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
48811 * bits/byteswap.h (__bswap_16): Removed.
48812 Include <bits/byteswap-16.h> to get __bswap_16.
48813 * sysdeps/i386/bits/byteswap.h: Likewise.
48814 * sysdeps/s390/bits/byteswap.h: Likewise.
48815 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48816 * bits/byteswap-16.h: New file.
48817 * sysdeps/i386/bits/byteswap-16.h: Likewise.
48818 * sysdeps/s390/bits/byteswap-16.h: Likewise.
48819 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
48820 * string/Makefile (headers): Add bits/byteswap-16.h.
48822 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
48825 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
48827 * nss/Makefile (tests-static, tests): Add tst-nss-static.
48828 * nss/tst-nss-static.c: New.
48830 2012-04-06 Robert Millan <rmh@gnu.org>
48833 * manual/llio.texi (File Position Primitive): lseek
48834 refers to WHENCE when it really means OFFSET.
48836 2012-04-06 Andreas Jaeger <aj@suse.de>
48838 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
48839 strncmp declarations.
48841 * abilist/libc.abilist: Add __poll and __ppoll.
48843 2012-04-05 David S. Miller <davem@davemloft.net>
48845 * scripts/check-local-headers.sh: Accept a host triplet in the
48846 path matched by the exclude regexp.
48848 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
48850 * sysdeps/powerpc/powerpc32/dl-machine.h
48851 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
48852 * sysdeps/s390/s390-32/dl-machine.h
48853 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48854 * sysdeps/sparc/sparc32/dl-machine.h
48855 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48856 * sysdeps/sparc/sparc64/dl-machine.h
48857 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48859 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
48861 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
48862 undefined symbol errors.
48864 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
48867 2012-04-05 Michael Matz <matz@suse.de>
48870 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
48872 2012-04-05 Andreas Jaeger <aj@suse.de>
48875 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
48878 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48880 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
48881 which ROUND is no valid rounding mode.
48883 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48885 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
48887 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
48889 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48891 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
48892 an exception using FPU order intentionally.
48894 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48896 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
48897 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
48898 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
48899 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
48901 2012-04-05 Simon Josefsson <simon@josefsson.org>
48904 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
48905 EINVAL when BUFLEN is too smal.
48907 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
48910 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
48911 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
48913 2012-04-03 Andreas Jaeger <aj@suse.de>
48916 * manual/setjmp.texi (System V contexts): Fix sentence.
48919 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
48920 New macro for this case.
48921 [!__GNUC__] (__bswap_64): New inline function for this case.
48922 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48923 * bits/byteswap.h: Likewise.
48924 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
48925 ull, guard with __GLIBC_HAVE_LONG_LONG.
48927 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
48928 __GLIBC_HAVE_LONG_LONG.
48930 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
48931 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
48933 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
48936 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
48937 inptr and inend, rather than using last_ch.
48939 2012-04-02 David S. Miller <davem@davemloft.net>
48941 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
48942 * stdio-common/printf-parse.h (read_int): Change return type to
48943 'int', return -1 on INT_MAX overflow.
48944 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
48945 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
48946 overflows INT_MAX. Check for overflow of in-format-string precision
48947 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
48948 SIZE_MAX not INT_MAX for integer overflow test.
48949 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
48950 skip the construct in the format string but do not record anything.
48951 * stdio-common/bug22.c: Adjust to test both width/prevision
48952 INT_MAX overflow as well as total length INT_MAX overflow. Check
48953 explicitly for proper errno values.
48955 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
48957 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
48959 * string/test-strcmp.c [! WIDE]: Likewise.
48960 * time/tst-mktime2.c: Likewise for INT_MAX.
48961 * string/test-string.h: #include <sys/param.h> for MIN.
48963 * csu/init-first.c (__libc_init_first): Call __ctype_init.
48964 * sysdeps/i386/init-first.c (init): Likewise.
48965 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
48966 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
48967 * sysdeps/sh/init-first.c (init): Likewise.
48969 2012-04-01 Ulrich Drepper <drepper@gmail.com>
48971 * po/ru.po: Update from translation team.
48972 * po/vi.po: Likewise.
48974 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
48976 * resolv/nss_dns/dns-host.c: Merge copyright years.
48978 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48980 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48981 Optimize memcpy with prefetch if
48982 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
48983 src, dst pointers have unequal 16 byte alignments.
48985 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
48988 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
48989 from a CNAME entry and return the minimum ttl for the query.
48990 (gaih_getanswer_slice): Likewise.
48992 2012-03-30 Jeff Law <law@redhat.com>
48994 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
48996 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
48997 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
48999 * resolv/nss_dns/dns-host.c: Update copyright year.
49001 2012-03-30 Ulrich Drepper <drepper@gmail.com>
49003 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
49004 requests to save a system call. Fix check that all bytes are sent.
49006 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
49007 comments for sendmmsg.
49009 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49012 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
49013 with only 1 character between 0x0041 and 0x01b0.
49014 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
49015 * wcsmbs/tst-mbsnrtowcs.c: New file.
49017 2012-03-29 David S. Miller <davem@davemloft.net>
49019 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
49020 small copies by hand.
49022 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
49025 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
49026 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
49029 2012-03-28 David S. Miller <davem@davemloft.net>
49031 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
49032 that branches into memcpy.
49033 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49034 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
49035 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49036 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
49037 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
49039 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
49040 implementation too.
49041 * sysdeps/sparc/mempcpy.S: New file.
49043 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
49044 the IFUNC routine in the libc case.
49045 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49047 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
49048 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
49049 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
49050 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
49051 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
49052 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
49053 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
49054 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
49056 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
49057 loop to 256 bytes instead of 64 bytes and fix test signedness.
49059 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
49060 * sysdeps/sparc/sparc32/Makefile: rather than here...
49061 * sysdeps/sparc/sparc64/Makefile: and here.
49063 2012-03-28 Ulrich Drepper <drepper@gmail.com>
49065 * malloc/mallocbug.c: Avoid warnings about unused variables.
49067 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
49070 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
49071 in the right place. Discard and retry query if response is
49072 larger than input buffer size.
49074 2012-03-28 Joseph Myers <joseph@codesourcery.com>
49079 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
49080 x for large integer exponent.
49081 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49082 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
49083 sign of result as needed afterwards.
49084 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
49085 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
49086 result for underflowing pow the same as for overflow.
49087 (__kernel_standard_l): Handle powl overflow and underflow here
49088 rather than calling __kernel_standard.
49089 * math/libm-test.inc (pow_test): Add more tests.
49104 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
49105 * sysdeps/ieee754/k_standard.c: Include <float.h>.
49106 (__kernel_standard_l): New function.
49107 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
49109 * math/w_acosl.c (__acosl): Likewise.
49110 * math/w_asinl.c (__asinl): Likewise.
49111 * math/w_atan2l.c (__atan2l): Likewise.
49112 * math/w_atanhl.c (__atanhl): Likewise.
49113 * math/w_coshl.c (__coshl): Likewise.
49114 * math/w_exp10l.c (__exp10l): Likewise.
49115 * math/w_exp2l.c (__exp2l): Likewise.
49116 * math/w_fmodl.c (__fmodl): Likewise.
49117 * math/w_hypotl.c (__hypotl): Likewise.
49118 * math/w_j0l.c (__j0l, __y0l): Likewise.
49119 * math/w_j1l.c (__j1l, __y1l): Likewise.
49120 * math/w_jnl.c (__jnl, __ynl): Likewise.
49121 * math/w_lgammal.c (__lgammal): Likewise.
49122 * math/w_log10l.c (__log10l): Likewise.
49123 * math/w_log2l.c (__log2l): Likewise.
49124 * math/w_logl.c (__logl): Likewise.
49125 * math/w_powl.c (__powl): Likewise.
49126 * math/w_remainderl.c (__remainderl): Likewise.
49127 * math/w_scalbl.c (sysv_scalbl): Likewise.
49128 * math/w_sinhl.c (__sinhl): Likewise.
49129 * math/w_sqrtl.c (__sqrtl): Likewise.
49130 * math/w_tgammal.c (__tgammal): Likewise.
49131 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
49132 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
49133 * math/libm-test.inc (acos_test): Add more tests.
49134 (acosh_test): Likewise.
49135 (asin_test): Likewise.
49136 (atanh_test): Likewise.
49137 (exp_test): Likewise.
49138 (exp10_test): Likewise.
49139 (exp2_test): Likewise.
49140 (expm1_test): Likewise.
49141 (lgamma_test): Likewise.
49142 (log_test): Likewise.
49143 (log10_test): Likewise.
49144 (log1p_test): Likewise.
49145 (log2_test): Likewise.
49146 (pow_test): Do not allow some spurious overflow exceptions.
49147 (sqrt_test): Add more tests.
49148 (tgamma_test): Likewise.
49149 (y0_test): Likewise.
49150 (y1_test): Likewise.
49151 (yn_test): Likewise.
49153 2012-03-27 Anton Blanchard <anton@samba.org>
49155 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
49157 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49158 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49159 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49161 2012-03-27 David S. Miller <davem@davemloft.net>
49163 * conform/Makefile: Run run-conformtest.sh using $(BASH).
49165 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
49166 have-as-vis3 check.
49168 2012-03-27 Andreas Jaeger <aj@suse.de>
49170 * sysdeps/x86_64/elf/configure.in: Moved to ...
49171 * sysdeps/x86_64/configure.in: ... here.
49172 * sysdeps/x86_64/elf/start.S: Moved to ...
49173 * sysdeps/x86_64/start.S: ... here.
49174 * sysdeps/x86_64/elf/configure: Delete.
49176 * sysdeps/x86_64/configure.in: Merge contents from
49177 sysdeps/i386/configure.in (without i686 check).
49179 * sysdeps/i386/elf/Versions: Merge into ...
49180 * sysdeps/i386/Versions: ... this.
49181 * sysdeps/i386/elf/Versions: Delete file.
49182 * sysdeps/i386/elf/start.S: Moved to ...
49183 * sysdeps/i386/start.S: ...here.
49184 * sysdeps/i386/elf/configure.in: Merge into...
49185 * sysdeps/i386/configure.in: ...here.
49186 * sysdeps/i386/elf/configure.in: Delete file.
49187 * sysdeps/i386/elf/configure: Delete file.
49189 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
49190 * debug/backtracesyms.c: ... here.
49191 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
49192 * debug/backtracesymsfd.c: ... here.
49193 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
49194 * sysdeps/generic/ifunc-sel.h: ... here.
49196 * sysdeps/unix/i386/start.c: Delete file.
49197 * sysdeps/unix/sparc/start.c: Delete file.
49198 * sysdeps/unix/start.c: Delete file.
49200 * sysdeps/sh/elf/configure.in: Moved to ...
49201 * sysdeps/sh/configure.in: ... here.
49202 * sysdeps/sh/elf/start.S: Moved to ...
49203 * sysdeps/sh/start.S: ... here.
49204 * sysdeps/sh/elf/configure: Delete file.
49206 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
49207 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
49208 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
49209 * sysdeps/powerpc/powerpc64/entry.h: ... here.
49210 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
49211 * sysdeps/powerpc/powerpc64/start.S: here.
49212 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
49213 * sysdeps/powerpc/powerpc64/Makefile: ... this.
49214 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
49215 * sysdeps/powerpc/powerpc64/configure.in: ... this.
49216 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
49218 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
49219 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
49220 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
49221 * sysdeps/powerpc/powerpc32/start.S: ... here.
49222 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
49223 * sysdeps/powerpc/powerpc32/configure.in: ... this.
49224 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
49226 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
49227 * sysdeps/powerpc/ifunc-sel.h: ... here.
49228 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
49229 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
49231 * sysdeps/sparc/elf/configure.in: Moved to ...
49232 * sysdeps/sparc/configure.in: ... here.
49233 * sysdeps/sparc/elf/configure: Delete file.
49234 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
49235 * sysdeps/sparc/sparc32/start.S: ... here.
49236 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
49237 * sysdeps/sparc/sparc64/start.S: ... here.
49238 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
49239 * sysdeps/sparc/sparc32/Makefile: ... this.
49240 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
49241 * sysdeps/sparc/sparc64/Makefile: ... this.
49243 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
49244 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
49245 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
49246 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
49247 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
49248 * sysdeps/s390/s390-32/setjmp.S: ... here.
49249 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
49250 * sysdeps/s390/s390-32/configure.in: ... here.
49251 * sysdeps/s390/s390-32/elf/configure: Delete file.
49252 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
49253 * sysdeps/s390/s390-32/start.S: ... here.
49255 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
49256 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
49257 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
49258 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
49259 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
49260 * sysdeps/s390/s390-64/setjmp.S: ... here.
49261 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
49262 * sysdeps/s390/s390-64/configure.in: ... here
49263 * sysdeps/s390/s390-64/elf/configure: Delete file.
49264 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
49265 * sysdeps/s390/s390-64/start.S: ... here.
49266 * sysdeps/s390/s390-64/elf/configure: Delete.
49268 * configure.in: Remove support for elf directories in sysdeps.
49270 * configure: Regenerated.
49271 * sysdeps/i386/configure: Regenerated.
49272 * sysdeps/powerpc/powerpc32/configure: Regenerated.
49273 * sysdeps/powerpc/powerpc64/configure: Regenerated.
49274 * sysdeps/s390/s390-32/configure: Regenerated.
49275 * sysdeps/s390/s390-64/configure: Regenerated.
49276 * sysdeps/sh/configure: Regenerated.
49277 * sysdeps/sparc/configure: Regenerated.
49278 * sysdeps/x86_64/configure: Regenerated.
49280 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
49282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49284 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
49285 denormal result into account.
49287 2012-03-25 Roland McGrath <roland@hack.frob.com>
49289 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
49290 Reported by Allan McRae <allan@archlinux.org>.
49292 2012-03-23 Jeff Law <law@redhat.com>
49294 * nss/getnssent.c (__nss_getent): Fix typo.
49296 2012-03-23 David S. Miller <davem@davemloft.net>
49298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49300 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
49302 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
49303 to pad to uint64_t for each field.
49304 (dl_tls_index): Replace unsigned long with uint64_t.
49306 2012-03-23 Daniel Jacobowitz <dmj@google.com>
49307 Paul Pluzhnikov <ppluzhnikov@google.com>
49310 * grp/Makefile (otherlibs): Don't set it.
49311 * inet/Makefile (otherlibs): Likewise.
49312 * login/Makefile (otherlibs): Likewise.
49313 * nscd/Makefile (otherlibs): Likewise.
49314 * posix/Makefile (otherlibs): Likewise.
49315 * pwd/Makefile (otherlibs): Likewise.
49316 * rt/Makefile (otherlibs): Likewise.
49317 * sunrpc/Makefile (otherlibs): Likewise.
49318 * nss/Makefile (otherlibs): Likewise.
49319 Add libnss_files to routines and static-only-routines.
49320 ($(objpfx)getent): Remove rule.
49321 * resolv/Makefile: Add libnss_dns and libresolv to routines and
49322 static-only-routines.
49324 2012-03-22 Joseph Myers <joseph@codesourcery.com>
49327 * math/s_cexp.c: Include <float.h>.
49328 (__cexp): Handle exp result overflowing not necessarily
49329 overflowing both real and imaginary parts of result.
49330 * math/s_cexpf.c: Likewise.
49331 * math/s_cexpl.c: Likewise.
49332 * math/libm-test.inc (cexp_test): Add more tests.
49333 * sysdeps/i386/fpu/libm-test-ulps: Update.
49334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49336 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49338 * include/link.h (ELFW): New macro.
49339 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
49340 Replace ELF64_R_TYPE with ELFW(R_TYPE).
49342 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49344 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
49347 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49349 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
49351 (struct La_x32_retval): Likewise.
49353 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49355 * sysdeps/x86_64/preconfigure.in: New file.
49356 * sysdeps/x86_64/preconfigure: New generated file.
49358 2012-03-22 Joseph Myers <joseph@codesourcery.com>
49361 * math/e_exp2l.c: Include <float.h>.
49362 (__ieee754_exp2l): Handle overflow and underflow cases
49363 separately. Only pass fractional part of argument to
49365 * math/libm-test.inc (exp2_test): Add more tests.
49367 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
49368 negating x to take absolute value.
49369 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
49371 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
49372 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
49374 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
49375 computing low part if x was negated.
49376 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
49378 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49380 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
49381 la_x32_gnu_pltexit.
49382 (pltexit): Cast int_retval to ptrdiff_t.
49383 * elf/tst-auditmod3b.c: Likewise.
49384 * elf/tst-auditmod4b.c: Likewise.
49385 * elf/tst-auditmod5b.c: Likewise.
49386 * elf/tst-auditmod6b.c: Likewise.
49387 * elf/tst-auditmod6c.c: Likewise.
49388 * elf/tst-auditmod7b.c: Likewise.
49390 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
49391 and x32_gnu_pltexit.
49393 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
49394 __ELF_NATIVE_CLASS.
49395 (La_x32_regs): New macro.
49396 (La_x32_retval): Likewise.
49397 (la_x32_gnu_pltenter): New function prototype.
49398 (la_x32_gnu_pltexit): Likewise.
49400 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
49402 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
49405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49407 * configure.in (libc_cv_cc_nofma): Check for option to disable
49408 generation of FMA instructions.
49409 * configure: Regenerate.
49410 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
49411 * sysdeps/ieee754/dbl-64/Makefile: New file.
49412 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
49413 Remove brandred-fma4.
49414 (CFLAGS-brandred-fma4.c): Remove.
49415 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
49416 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
49418 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
49421 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49423 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49424 LLONG_MAX != LONG_MAX.
49425 (_itoa_word): Use _ITOA_WORD_TYPE on value.
49426 (_fitoa_word): Likewise.
49427 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
49428 LLONG_MAX != LONG_MAX.
49429 * stdio-common/_itowa.h: Include <_itoa.h>.
49430 (_itowa_word): Use _ITOA_WORD_TYPE on value.
49431 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
49432 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
49433 only if not defined.
49434 (_ITOA_WORD_TYPE): Likewise.
49435 (_itoa_word): Use _ITOA_WORD_TYPE on value.
49436 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
49438 2012-03-21 David S. Miller <davem@davemloft.net>
49440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49442 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49444 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
49445 of x86_64 when setting libc_cv_slibdir, libdir and
49447 * sysdeps/unix/sysv/linux/configure: Regenerated.
49449 2012-03-21 Joseph Myers <joseph@codesourcery.com>
49451 * manual/lang.texi (Old Varargs): Remove section.
49452 (How Variadic): Update menu.
49453 (va_start): Do not mention varargs.h.
49455 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
49456 Joseph Myers <joseph@codesourcery.com>
49458 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
49460 * configure: Regenerated.
49462 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
49464 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
49465 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
49468 2012-03-21 Joseph Myers <joseph@codesourcery.com>
49471 * Makefile (files-for-dist): Remove NOTES.
49472 (NOTES): Remove rule.
49473 * README: Don't refer to NOTES.
49474 * manual/creature.texi: Don't include macros.texi.
49475 * manual/intro.texi (creature.texi): Remove comment referring to
49478 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
49479 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
49480 * configure: Regenerated.
49481 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
49482 LIBC_TRY_CC_OPTION.
49483 (libc_cv_as_i686): Likewise.
49484 (libc_cv_cc_avx): Likewise.
49485 (libc_cv_cc_sse2avx): Likewise.
49486 (libc_cv_cc_fma4): Likewise.
49487 (libc_cv_cc_novzeroupper): Likewise.
49488 * sysdeps/i386/configure: Regenerated.
49491 * sysdeps/i386/fpu/s_cexp.S: Remove.
49492 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49493 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49494 * math/libm-test.inc (cexp_test): Add more tests.
49495 * sysdeps/i386/fpu/libm-test-ulps: Update.
49496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49498 2012-03-21 Allan McRae <allan@archlinux.org>
49500 * timezone/Makefile: Do not install iso3166.tab and zone.tab
49502 2012-03-21 Joseph Myers <joseph@codesourcery.com>
49505 * math/w_exp2.c: Do not include <float.h>.
49506 (o_threshold, u_threshold): Remove.
49507 (__exp2): Calculate result before checking finiteness and calling
49509 * math/w_exp2f.c: Likewise.
49510 * math/w_exp2l.c: Likewise.
49511 * math/libm-test.inc (exp2_test): Require overflow exception for
49515 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
49516 range of signed 64-bit integers before using fistpll. Remove
49517 checks for whether integers fit in mantissa bits.
49518 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
49519 the range of signed 32-bit integers before using fistpl. Remove
49520 checks for whether integers fit in mantissa bits.
49521 * sysdeps/i386/fpu/e_powl.S (p64): New object.
49522 (__ieee754_powl): Test for y outside the range of signed 64-bit
49523 integers before using fistpll. Reduce 64-bit values to 63-bit
49525 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
49526 divide-by-zero is raised for zero to large negative powers.
49527 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
49528 (__ieee754_powl): Test for y outside the range of signed 64-bit
49529 integers before using fistpll. Reduce 64-bit values to 63-bit
49531 * math/libm-test.inc (pow_test): Add more tests.
49533 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49535 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
49536 <stdio-common/_itoa.h>.
49537 * debug/segfault.c: Likewise.
49538 * elf/dl-cache.c: Likewise.
49539 * elf/dl-minimal.c: Likewise.
49540 * elf/dl-misc.c: Likewise.
49541 * elf/dl-sysdep.c: Likewise.
49542 * elf/dl-version.c: Likewise.
49543 * elf/rtld.c: Likewise.
49544 * hurd/hurdsock.c: Likewise.
49545 * hurd/lookup-retry.c: Likewise.
49546 * malloc/malloc.c: Likewise.
49547 * malloc/mtrace.c: Likewise.
49548 * nscd/nscd_getgr_r.c: Likewise.
49549 * nscd/nscd_getpw_r.c: Likewise.
49550 * nscd/nscd_getserv_r.c: Likewise.
49551 * posix/getopt_init.c: Likewise.
49552 * posix/wordexp.c: Likewise.
49553 * stdio-common/_itoa.c: Likewise.
49554 * stdio-common/printf_fphex.c: Likewise.
49555 * stdio-common/vfprintf.c: Likewise.
49556 * string/_strerror.c: Likewise.
49557 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
49558 * sysdeps/i386/i686/hp-timing.h: Likewise.
49559 * sysdeps/mach/_strerror.c: Likewise.
49560 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
49561 * sysdeps/mach/hurd/sethostid.c: Likewise.
49562 * sysdeps/mach/hurd/xmknodat.c: Likewise.
49563 * sysdeps/mach/xpg-strerror.c: Likewise.
49564 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49565 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49566 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
49567 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
49568 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49569 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
49570 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
49571 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
49572 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
49573 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
49574 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
49575 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
49576 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
49577 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49578 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49579 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
49580 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
49581 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
49582 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
49583 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
49584 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
49586 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
49588 * stdio-common/_itoa.h: Moved to ...
49589 * sysdeps/generic/_itoa.h: Here.
49591 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
49593 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
49594 instead of "_itoa.h" and "_itowa.h".
49595 * stdio-common/vfprintf.: Likewise.
49597 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49599 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
49601 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
49602 (__signbit): Likwise.
49603 (llrintf): Likwise.
49606 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49608 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
49611 2012-03-20 Joseph Myers <joseph@codesourcery.com>
49613 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
49614 OVERFLOW_EXCEPTION_OK.
49615 * math/libm-test.inc ("Philosophy"): Update comment about
49617 (OVERFLOW_EXCEPTION): Define.
49618 (OVERFLOW_EXCEPTION_OK): Likewise.
49619 (INVALID_EXCEPTION_OK): Renumber.
49620 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49621 (IGNORE_ZERO_INF_SIGN): Likewise.
49622 (test_exceptions): Handle FE_OVERFLOW.
49623 (exp10_test): Expect overflow exceptions.
49624 (exp2_test): Likewise.
49625 (expm1_test): Likewise.
49626 (nextafter_test): Likewise.
49627 (pow_test): Likewise.
49628 (scalbn_test): Likewise.
49629 (scalbln_test): Likewise.
49631 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49633 * sysdeps/x86_64/bits/atomic.h
49634 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
49636 (atomic_exchange_acq): Likewise.
49637 (__arch_exchange_and_add_body): Likewise.
49638 (__arch_add_body): Likewise.
49639 (atomic_add_negative): Likewise.
49640 (atomic_add_zero): Likewise.
49642 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49644 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
49645 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
49647 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49649 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
49650 Check __x86_64__ instead of __WORDSIZE.
49652 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49654 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
49656 2012-03-19 David S. Miller <davem@davemloft.net>
49658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49660 * sysdeps/sparc/fpu/fenv_private.h: New file.
49661 * sysdeps/sparc/fpu/math_private.h: Use it.
49662 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
49664 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
49665 (libc_feholdexcept_setroundl): Remove.
49666 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
49668 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
49669 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
49671 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49673 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
49674 int64_t instead of long int.
49675 (INSERT_WORDS64): Likwise.
49677 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49679 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
49680 _Unwind_GetCFA return to _Unwind_Ptr first.
49682 2012-03-19 Joseph Myers <joseph@codesourcery.com>
49685 * math/s_clog.c: Include <float.h>.
49686 (__clog): Scale large or subnormal inputs.
49687 * math/s_clogf.c: Likewise.
49688 * math/s_clogl.c: Likewise.
49689 * math/s_clog10.c: Include <float.h>.
49690 (M_LOG10_2): Define.
49691 (__clog10): Scale large or subnormal inputs.
49692 * math/s_clog10f.c: Likewise.
49693 * math/s_clog10l.c: Likewise.
49694 * math/libm-test.inc (clog_test): Add more tests.
49695 (clog10_test): Likewise.
49696 * sysdeps/i386/fpu/libm-test-ulps: Update.
49697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49700 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
49702 * math/libm-test.inc (atan2_test): Add another test.
49704 * Makerules (common-objdir-compile): Remove.
49705 * sysdeps/unix/Makefile (config-generated): Do not add
49706 $(unix-generated) to variable.
49707 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
49708 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
49710 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
49712 [generic bits/local_lim.h] (before-compile): Do not append to
49714 [generic bits/local_lim.h] (common-generated): Likewise.
49715 [generic sys/param.h] (before-compile): Do not append to variable.
49716 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
49717 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
49718 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
49719 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
49721 [generic sys/param.h] (sys/param.h-includes): Remove variable.
49722 [generic sys/param.h] (sys/param.h-includes): Remove rule.
49723 [generic sys/param.h] ($(addprefix
49724 $(common-objpfx),$(sys/param.h-includes))): Likewise.
49725 [generic sys/param.h] (common-generated): Do not append to
49727 [generic sys/param.h] (sysdep_headers): Likewise.
49728 [generic bits/errno.h] (before-compile): Do not append to
49730 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
49732 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
49733 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
49734 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
49735 [generic bits/errno.h] (common-generated): Do not append to
49737 [generic bits/ioctls.h] (before-compile): Do not append to
49739 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
49741 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
49742 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
49743 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
49745 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
49746 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
49747 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
49748 [generic bits/ioctls.h] (common-generated): Do not append to
49750 [generic sys/syscall.h] (syscall.h): Remove variable.
49751 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
49753 [generic sys/syscall.h] (before-compile): Do not append to
49755 [generic sys/syscall.h] (common-generated): Likewise.
49756 * sysdeps/unix/errnos-tmpl.c: Remove file.
49757 * sysdeps/unix/errnos.awk: Likewise.
49758 * sysdeps/unix/ioctls-tmpl.c: Likewise.
49759 * sysdeps/unix/ioctls.awk: Likewise.
49760 * sysdeps/unix/mk-local_lim.c: Likewise.
49761 * sysdeps/unix/snarf-ioctls: Likewise.
49763 2012-03-19 Richard Henderson <rth@twiddle.net>
49765 * sysdeps/i386/fpu/fenv_private.h: New file.
49766 * sysdeps/i386/fpu/math_private.h: Use it.
49767 (math_opt_barrier, math_force_eval): Remove.
49768 (libc_feholdexcept_setround_53bit): Remove.
49769 (libc_feupdateenv_53bit): Remove.
49770 * sysdeps/x86_64/fpu/math_private.h: Likewise.
49771 (math_opt_barrier, math_force_eval): Remove.
49772 (libc_feholdexcept): Remove.
49773 (libc_feholdexcept_setround): Remove.
49774 (libc_fetestexcept, libc_fesetenv): Remove.
49775 (libc_feupdateenv_test): Remove.
49776 (libc_feupdateenv, libc_feholdsetround): Remove.
49777 (libc_feresetround): Remove.
49779 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
49780 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
49782 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
49783 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
49784 (libc_feupdateenv_testl): New.
49785 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
49786 (libc_feupdateenv_testf): New.
49787 (libc_feupdateenv): Use libc_feupdateenv_test.
49788 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
49789 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
49791 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
49792 (libc_feholdsetroundf, libc_feholdsetroundl): New.
49793 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
49794 (libc_feresetround_noex): New.
49795 (libc_feresetround_noexf): New.
49796 (libc_feresetround_noexl): New.
49797 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
49798 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
49799 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
49800 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
49802 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49803 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
49805 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
49806 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
49807 SET_RESTORE_ROUND_NOEX.
49808 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
49809 SET_RESTORE_ROUND_NOEXF.
49810 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
49811 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
49812 (libc_feholdsetroundf): New.
49813 (libc_feresetround, libc_feresetroundf): New.
49815 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
49816 (libc_feholdexcept_setround_53bit): Convert from macro to function.
49817 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
49819 * sysdeps/generic/math_private.h: Include <fenv.h>.
49820 (default_libc_feholdexcept): New.
49821 (default_libc_feholdexcept_setround): New.
49822 (default_libc_fesetenv, default_libc_feupdateenv): New.
49823 (libc_feholdexcept): Only define if undefined.
49824 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
49825 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
49826 (libc_feholdexcept_setroundl): Likewise.
49827 (libc_feholdexcept_setround_53bit): Likewise.
49828 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
49829 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
49830 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
49831 (libc_feupdateenv_53bit): Likewise.
49832 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
49833 (libc_feholdexcept): Convert from macro to inline function.
49834 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
49835 (libc_fesetenv, libc_feupdateenv): Likewise.
49837 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
49838 not previously defined.
49839 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
49840 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
49841 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
49842 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
49843 * sysdeps/ieee754/flt-32/math_private.h: New file.
49844 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
49845 math_private.h below SET_FLOAT_WORD.
49846 (__isnan, __isinf_ns, __finite): Remove.
49847 (__isnanf, __isinf_nsf, __finitef): Remove.
49849 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
49851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49853 2012-03-17 David S. Miller <davem@davemloft.net>
49856 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
49859 2012-03-16 David S. Miller <davem@davemloft.net>
49861 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
49865 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
49867 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
49868 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
49869 sysdep_routines when subdir is sysvipc.
49870 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
49871 __getshmlba helper.
49873 * sysdeps/sparc/fpu/libm-test/ulps: Update.
49875 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49877 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
49880 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49882 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
49883 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
49884 (__lround): Renamed to ...
49885 (__llround): This. Replace long int with long long int.
49886 Define lround functions as aliases of llround functions.
49887 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
49889 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49891 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
49892 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
49893 adresses to uintptr_t. Replace "long int" and "unsigned long
49894 int" with "greg_t" on va_arg.
49896 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49898 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
49899 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
49901 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
49902 Move e_machine check before EI_CLASS check. Handle x32
49903 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
49904 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
49905 SKIP_EM_IA_64 and include
49906 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
49908 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
49909 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
49910 (add_system_dir): New macro.
49912 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
49913 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
49915 2012-03-16 Joseph Myers <joseph@codesourcery.com>
49926 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
49928 * math/w_j0f.c (j0f): Likewise.
49930 * math/w_j0l.c (__j0l): Likewise.
49932 * math/w_j1.c (j1): Likewise.
49934 * math/w_j1f.c (j1f): Likewise.
49936 * math/w_j1l.c (__j1l): Likewise.
49938 * math/w_jn.c (jn): Likewise.
49940 * math/w_jnf.c (jnf): Likewise.
49942 * math/w_jnl.c (__jnl): Likewise.
49944 * math/libm-test.inc (j0_test): Add more tests.
49945 (j1_test): Likewise.
49946 (jn_test): Likewise. Add trailing semicolon to existing test.
49947 (y0_test): Likewise.
49948 (y1_test): Likewise.
49949 * sysdeps/i386/fpu/libm-test-ulps: Update.
49950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49954 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
49955 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
49956 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
49957 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
49958 (__tanl): Set errno for infinite argument.
49959 * sysdeps/i386/fpu/mptan.c: Remove.
49960 * sysdeps/i386/fpu/s_tan.S: Likewise.
49961 * sysdeps/i386/fpu/s_tanl.S: Likewise.
49962 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
49963 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
49964 * math/libm-test.inc (tan_test): Add more tests and enable more
49965 tests for double and long double.
49966 * sysdeps/i386/fpu/libm-test-ulps: Update.
49967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49969 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
49971 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
49972 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
49974 2012-03-16 Roland McGrath <roland@hack.frob.com>
49976 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
49977 * configure.in: Use it for both main tree and add-ons.
49978 * configure: Regenerated.
49980 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49982 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
49984 2012-03-16 Joseph Myers <joseph@codesourcery.com>
49986 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
49990 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
49991 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
49992 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
49993 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
49994 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
49996 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
49997 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
49998 != 0 for prec == 2.
49999 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
50000 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
50001 * sysdeps/i386/fpu/s_cosl.S: Likewise.
50002 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
50003 * sysdeps/i386/fpu/s_sinl.S: Likewise.
50004 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
50005 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
50006 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
50007 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
50008 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
50009 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
50010 * math/libm-test.inc (cos_test): Add more tests and enable more
50011 tests for long double.
50012 (sin_test): Likewise.
50013 (sincos_test): Likewise.
50014 * sysdeps/i386/fpu/libm-test-ulps: Update.
50015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50017 2012-03-16 David S. Miller <davem@davemloft.net>
50019 * sysdeps/sparc/fpu/math_private.h: New file.
50021 2012-03-15 David S. Miller <davem@davemloft.net>
50023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
50025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
50026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
50028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
50029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
50030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
50031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
50032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
50033 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
50035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50037 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
50038 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
50040 * sysdeps/sparc/sparc-ifunc.h: New file.
50041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
50043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
50044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
50046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
50048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
50049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
50050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
50053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
50055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
50057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
50059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
50061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
50063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
50064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
50065 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
50066 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
50067 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
50068 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
50069 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
50070 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
50071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
50072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
50073 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
50074 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
50075 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
50076 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
50077 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
50078 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
50079 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
50080 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
50081 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
50082 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
50083 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
50084 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
50086 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
50088 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
50090 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50092 2012-03-15 Andreas Jaeger <aj@suse.de>
50095 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
50096 ieee754/flt-32 implementation for sin, cos and sincos.
50097 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
50098 * sysdeps/i386/fpu/s_cosf.S: Likewise.
50099 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
50100 * sysdeps/i386/fpu/s_sinf.S: Likewise.
50101 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
50102 ieee754/flt-32 implementation for tan.
50104 * math/libm-test.inc (cos_test): Enable some large input tests for
50106 (sin_test): Likewise.
50107 (sincos_test): Likewise.
50108 (tan_test): Add tests for large input.
50110 * sysdeps/i386/fpu/libm-test-ulps: Update.
50112 2012-03-15 Andreas Jaeger <aj@suse.de>
50115 * math/libm-test.inc (cos_test): Add more test cases.
50116 (sin_test): Likewise.
50117 (sincos_test): Likewise.
50119 2012-03-15 Andreas Jaeger <aj@suse.de>
50122 * math/libm-test.inc (cos_test): Add a test case for large input
50124 (sin_test): Likewise.
50125 (sincos_test): Likewise.
50127 2012-03-15 Andreas Jaeger <aj@suse.de>
50128 Joseph Myers <joseph@codesourcery.com>
50131 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
50132 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
50133 * sysdeps/i386/fpu/branred.c: Likewise.
50134 * sysdeps/i386/fpu/dosincos.c: Likewise.
50135 * sysdeps/i386/fpu/mpa.c: Likewise.
50136 * sysdeps/i386/fpu/s_cos.S: Likewise.
50137 * sysdeps/i386/fpu/s_sin.S: Likewise.
50138 * sysdeps/i386/fpu/s_sincos.S: Likewise.
50139 * sysdeps/i386/fpu/sincos32.c: Likewise.
50141 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
50143 (libc_feupdateenv_53bit): Define.
50144 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
50146 (libc_feupdateenv_53bit): Define.
50148 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
50149 53 bit (without extend i386 double precision).
50151 * math/libm-test.inc (sincos_test): Add tests for large input.
50155 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
50157 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
50159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50161 2012-03-15 David S. Miller <davem@davemloft.net>
50163 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
50164 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
50165 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
50166 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
50167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
50168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
50169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
50170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
50171 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
50172 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
50173 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
50174 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
50175 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
50176 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
50177 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
50178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
50180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
50181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
50183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
50184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
50186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
50187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
50189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
50190 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
50191 fmin/fmax sysdep routines.
50192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50194 2012-03-14 David S. Miller <davem@davemloft.net>
50196 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
50197 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
50198 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
50199 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
50200 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
50201 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
50202 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
50203 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
50204 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
50205 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
50206 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
50207 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
50208 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
50209 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
50210 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
50211 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
50212 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
50213 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
50214 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
50215 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
50216 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
50217 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
50218 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
50219 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
50220 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
50221 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
50222 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
50223 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
50224 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
50226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
50228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
50229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
50231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
50232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
50234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
50235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
50237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
50238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
50240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
50241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
50243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
50245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
50247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
50249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
50251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
50253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
50255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
50256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
50258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
50259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
50261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
50262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
50264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
50265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
50268 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
50271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50273 * sysdeps/sparc/configure.in: New file.
50274 * sysdeps/sparc/configure: Generate.
50275 * configure.in (libc_cv_sparc_as_vis3): Substitute.
50276 * configure: Regenerate.
50277 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
50278 * config.make.in (have-as-vis3): New.
50279 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
50280 available use -Av9d instead of -Av9a.
50281 * sysdeps/sparc/sparc64/Makefile: Likewise.
50282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
50283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
50285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
50287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
50289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
50291 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
50292 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
50293 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
50294 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
50295 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
50297 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
50298 fzeros/fnegs to load 0x80000000 into a float register instead of
50300 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
50302 2012-03-14 Joseph Myers <joseph@codesourcery.com>
50304 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50306 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
50307 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
50308 ($(inst_includedir)/bits/syscall.h): Remove rule.
50309 ($(objpfx)bits/syscall.d): Include instead of
50310 $(objpfx)syscall-list.d.
50311 (generated): Change syscall-list.h and syscall-list.d to
50312 bits/syscall.h and bits/syscall.d.
50314 2012-03-14 Roland McGrath <roland@hack.frob.com>
50317 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
50319 2012-03-14 Joseph Myers <joseph@codesourcery.com>
50322 * math/s_csqrt.c: Include <float.h>.
50323 (__csqrt): Scale large or subnormal inputs.
50324 * math/s_csqrtf.c: Likewise.
50325 * math/s_csqrtl.c: Likewise.
50326 * math/libm-test.inc (csqrt_test): Add more tests.
50327 * sysdeps/i386/fpu/libm-test-ulps: Update.
50328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50331 * math/libm-test.inc (hypot_test): Add more tests.
50333 2012-03-13 David S. Miller <davem@davemloft.net>
50336 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
50337 double-precision for the calculation instead of scaling.
50339 2012-03-13 Joseph Myers <joseph@codesourcery.com>
50341 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
50342 manipulate bits before adding and subtracting TWO52[sx].
50343 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
50344 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
50346 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
50348 2012-03-13 David S. Miller <davem@davemloft.net>
50350 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
50351 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
50352 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
50353 rtld-global-offsets.h
50354 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50356 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
50359 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
50361 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
50362 'err' in the ifdef scope in which it is actually used.
50364 * nss/nss_db/db-init.c: Include string.h
50366 2012-03-12 David S. Miller <davem@davemloft.net>
50368 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50369 masking out of the most significant byte of random value used.
50370 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50371 Fix coding style in previous change.
50373 * sysdeps/unix/sysv/linux/kernel-features.h
50374 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
50375 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
50377 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
50380 2012-03-11 David S. Miller <davem@davemloft.net>
50382 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
50383 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
50384 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
50385 for 'resultvar' otherwise things get truncated on 64-bit.
50387 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50388 Fix masking out of the most significant byte of random value used.
50390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50392 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
50394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50396 2012-03-09 David S. Miller <davem@davemloft.net>
50398 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
50399 variables with appropriate CPP guards.
50400 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
50401 from the frame pointer, not the stack pointer. Correct layout
50402 comments. Fix test on resulting framesize and the management of
50403 the outregs buffer for pltexit. Preserve floating point return
50404 values across _dl_call_pltexit call.
50405 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
50406 framesize and the management of the outregs buffer for pltexit.
50407 Preserve floating point return values across _dl_call_pltexit
50409 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
50410 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
50411 (la_sparc64_gnu_pltexit): New functions.
50412 (print_exit): Fix format string for return register value.
50414 2012-03-10 Joseph Myers <joseph@codesourcery.com>
50416 * sunrpc/Makefile (others): Add rpcgen.
50417 ($(objpfx)rpcgen): Remove special build rule and dependency on
50419 * sunrpc/rpcgen.c: New file.
50421 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
50424 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
50425 * stdio-common/bug-vfprintf-nargs.c: Likewise.
50426 * sysdeps/i386/crti.S: Likewise.
50427 * sysdeps/i386/crtn.S: Likewise.
50428 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
50429 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
50430 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
50431 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
50432 * sysdeps/sh/crti.S: Likewise.
50433 * sysdeps/sh/crtn.S: Likewise.
50434 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
50437 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
50439 * locale/programs/locfile-kw.gperf: Likewise.
50440 * locale/programs/charmap-kw.h: Regenerated.
50441 * locale/programs/locfile-kw.h: Likewise.
50444 * intl/plural.y: Replace FSF snail mail address with URL.
50445 * intl/plural.c: Regenerated.
50447 2012-03-09 Richard Henderson <rth@twiddle.net>
50449 * include/math_private.h: Remove file.
50450 * math/math_private.h: Move file ...
50451 * sysdeps/generic/math_private.h: ... here.
50453 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
50454 * sysdeps/powerpc/fpu/math_private.h: Likewise.
50455 * sysdeps/x86_64/fpu/math_private.h: Likewise.
50457 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
50458 and <math_private.h>.
50459 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50460 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50461 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50462 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50463 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50464 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
50465 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50466 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50467 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50468 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50469 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50470 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50471 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50472 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50473 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50474 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50475 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50476 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50477 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50478 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50479 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50480 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50481 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50482 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50483 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
50484 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50485 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50486 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50487 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50488 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50489 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50490 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50491 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
50492 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50493 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50494 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50495 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50496 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50497 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50498 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50499 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
50500 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50501 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50502 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
50503 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
50504 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50505 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
50506 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
50507 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50508 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50509 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
50510 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
50511 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
50512 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50513 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
50514 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50515 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50516 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50517 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
50518 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
50519 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50520 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
50521 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50522 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50523 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
50524 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50525 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50526 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50527 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
50528 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
50529 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50530 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50531 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50532 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50533 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
50534 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
50535 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
50536 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50537 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
50538 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
50539 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50540 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
50541 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50542 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50543 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50544 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50545 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
50546 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
50547 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50548 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50549 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50550 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50551 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50552 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50553 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50554 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50555 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50556 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50557 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50558 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50559 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50560 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50561 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50562 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50563 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50564 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50565 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50566 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50567 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50568 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50569 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50570 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50571 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50572 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50573 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
50574 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50575 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50576 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50577 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50578 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50579 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50580 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50581 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50582 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
50583 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50584 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50585 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50586 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
50587 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50588 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
50589 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
50590 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50591 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50592 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
50593 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
50594 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50595 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50596 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50597 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
50598 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50599 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50600 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50601 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50602 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
50603 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
50604 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50605 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50606 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50607 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
50608 * sysdeps/ieee754/k_standard.c: Likewise.
50609 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50610 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50611 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50612 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50613 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50614 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50615 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50616 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50617 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50618 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50619 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50620 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50621 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50622 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50623 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50624 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50625 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50626 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50627 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50628 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
50629 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
50630 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
50631 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50632 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50633 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50634 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
50635 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50636 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50637 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50638 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50639 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50640 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50641 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50642 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50643 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50644 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50645 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50646 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
50647 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
50648 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50649 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50650 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50651 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50652 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50653 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50654 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50655 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50656 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50657 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50658 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50659 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50660 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50661 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50662 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
50663 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50664 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50665 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
50666 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
50667 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50668 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50669 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50670 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50671 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50672 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50673 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50674 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50675 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50676 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50677 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50678 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50679 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50680 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50681 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50682 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50683 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50684 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50685 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
50686 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50687 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50688 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50689 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50690 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50691 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50692 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50693 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
50694 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50695 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50696 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
50697 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
50698 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50699 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
50700 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50701 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
50702 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50703 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50704 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50705 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
50706 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
50707 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
50708 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
50709 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50710 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50711 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50712 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50713 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
50714 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50715 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50716 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
50717 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
50718 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50719 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50720 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50721 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50722 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50723 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50724 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50725 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50726 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50727 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50728 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50729 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50730 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50731 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50732 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50733 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50734 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
50735 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50736 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50737 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50738 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50739 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50740 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50741 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50742 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50743 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50744 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50745 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
50746 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50747 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50748 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
50749 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
50750 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50751 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
50752 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
50753 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50754 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50755 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50756 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50757 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50758 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
50759 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50760 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50761 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50762 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50763 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
50764 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
50765 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50766 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50767 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50768 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50769 * sysdeps/ieee754/s_lib_version.c: Likewise.
50770 * sysdeps/ieee754/s_matherr.c: Likewise.
50771 * sysdeps/ieee754/s_signgam.c: Likewise.
50772 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50773 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50774 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
50775 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
50776 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
50777 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50778 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
50779 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
50780 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
50781 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
50782 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50783 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
50784 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50785 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50786 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
50787 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
50788 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50789 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
50790 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50791 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50792 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50794 2012-03-09 Joseph Myers <joseph@codesourcery.com>
50796 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
50797 * sunrpc/rpc_main.c: Likewise.
50798 * sunrpc/rpc_svcout.c: Likewise.
50800 2012-03-09 David S. Miller <davem@davemloft.net>
50802 * include/math_private.h: New file.
50804 2012-03-09 Joseph Myers <joseph@codesourcery.com>
50806 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
50807 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
50808 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
50809 from <bits/socket_type.h>.
50810 (enum __socket_type): Don't define here.
50811 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
50812 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50813 bits/socket_type.h.
50816 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
50817 checking __USE_GNU.
50819 * Makerules ($(inst_includedir)/%.h): New rule.
50820 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
50821 (install-others): Remove variable setting.
50822 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
50824 2012-03-08 Richard Henderson <rth@twiddle.net>
50826 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
50827 from macro to inline function; merge with the
50828 !__LIBC_INTERNAL_MATH_INLINES version.
50829 (__ieee754_sqrtf): Likewise.
50831 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
50832 to inline function.
50833 (__rintf, __floor, __floorf): Likewise.
50835 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
50836 macro to inline function.
50837 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
50839 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
50840 not <math/math_private.h>.
50842 2012-03-08 David S. Miller <davem@davemloft.net>
50844 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
50846 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
50848 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
50850 * resolv/gai_misc.c (handle_requests): Fix struct timespec
50852 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
50853 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
50855 2012-03-08 Ulrich Drepper <drepper@gmail.com>
50857 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
50858 be defined individually, they must be defined as a block. Define
50859 S for printing a string instead of hidint the different by using a
50860 macro for adding the 'l'.
50861 * stdio-common/tst-fphex-wide.c: Adjust.
50863 2012-03-07 Marek Polacek <polacek@redhat.com>
50865 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
50867 2012-03-08 Marek Polacek <polacek@redhat.com>
50870 * stdio-common/Makefile (tests): Add tst-fphex-wide.
50871 * stdio-common/tst-fphex.c: Define a few macros to make the
50872 test reusable. Use them.
50873 * stdio-common/tst-fphex-wide.c: New file.
50875 2012-03-08 Joseph Myers <joseph@codesourcery.com>
50878 * manual/macros.texi (gnusystems): New macro.
50879 (nongnusystems): Likewise.
50880 (gnulinuxhurdsystems): Likewise.
50881 (gnuhurdsystems): Likewise..
50882 (gnulinuxsystems): Likewise.
50883 * manual/charset.texi: Use new macros or @theglibc{} to refer to
50884 variants of the GNU system, not "GNU system".
50885 * manual/conf.texi: Likewise.
50886 * manual/errno.texi: Likewise. Update example of errno macro
50888 * manual/filesys.texi: Likewise.
50889 (getumask): Document as specific to GNU/Hurd.
50890 * manual/install.texi: Likewise. Reword some references to
50892 * manual/intro.texi: Likewise.
50893 * manual/io.texi: Likewise.
50894 (File Name Portability): Detail which constraints are inapplicable
50895 to all GNU systems and which are only inapplicable to GNU/Hurd.
50896 * manual/job.texi: Likewise.
50897 * manual/llio.texi: Likewise.
50898 (O_NOCTTY): Document as present on GNU/Linux.
50899 * manual/maint.texi: Likewise.
50900 * manual/memory.texi: Likewise.
50901 * manual/pattern.texi: Likewise.
50902 * manual/pipe.texi: Likewise.
50903 * manual/process.texi: Likewise.
50904 * manual/resource.texi: Likewise.
50905 (RUSAGE_CHILDREN): Remove statement about specifying a particular
50907 * manual/setjmp.texi: Likewise.
50908 * manual/signal.texi: Likewise.
50909 * manual/startup.texi: Likewise.
50910 * manual/stdio.texi: Likewise.
50911 * manual/terminal.texi: Likewise.
50912 (ONLCR): Document as POSIX.
50913 (OXTABS): Document availability on GNU/Linux as XTABS.
50914 (ONOEOT): Document availability separately from other bits.
50915 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
50916 * manual/time.texi: Likewise.
50917 * manual/users.texi: Likewise.
50918 * INSTALL: Regenerated.
50919 * sysdeps/gnu/errlist.c: Regenerated.
50921 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
50922 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
50923 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
50925 * configure: Regenerated.
50927 2012-03-07 Joseph Myers <joseph@codesourcery.com>
50929 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
50930 default includes instead of AC_HEADER_CHECK.
50931 * sysdeps/i386/configure: Regenerated.
50934 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
50935 * math/s_cacoshf.c (__cacoshf): Likewise.
50936 * math/s_cacoshl.c (__cacoshl): Likewise.
50937 * math/s_casinh.c (__casinh): Set signs of result from argument.
50938 * math/s_casinhf.c (__casinhf): Likewise.
50939 * math/s_casinhl.c (__casinhl): Likewise.
50940 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
50941 (casinh_test): Add more tests.
50942 * sysdeps/i386/fpu/libm-test-ulps: Update.
50943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50945 2012-03-07 Ulrich Drepper <drepper@gmail.com>
50947 * po/zh_TW.po: Update from translation team.
50949 * login/Makefile (distribute): Remove variable.
50950 * catgets/Makefile: Likewise.
50951 * mach/Makefile: Likewise.
50952 * malloc/Makefile: Likewise.
50953 * misc/Makefile: Likewise.
50954 * iconv/Makefile: Likewise.
50955 * nscd/Makefile: Likewise.
50956 * hurd/Makefile: Likewise.
50957 * manual/Makefile: Likewise.
50958 * locale/Makefile: Likewise.
50959 * intl/Makefile: Likewise.
50960 * conform/Makefile: Likewise.
50961 * nss/Makefile: Likewise.
50962 * time/Makefile: Likewise.
50963 * soft-fp/Makefile: Likewise.
50964 * dirent/Makefile: Likewise.
50965 * gmon/Makefile: Likewise.
50966 * po/Makefile: Likewise.
50967 * rt/Makefile: Likewise.
50968 * socket/Makefile: Likewise.
50969 * math/Makefile: Likewise.
50970 * signal/Makefile: Likewise.
50971 * debug/Makefile: Likewise.
50972 * elf/Makefile: Likewise.
50973 * timezone/Makefile: Likewise.
50974 * stdlib/Makefile: Likewise.
50975 * iconvdata/Makefile: Likewise.
50976 * sunrpc/Makefile: Likewise.
50977 * io/Makefile: Likewise.
50978 * argp/Makefile: Likewise.
50979 * inet/Makefile: Likewise.
50980 * hesiod/Makefile: Likewise.
50981 * grp/Makefile: Likewise.
50982 * csu/Makefile: Likewise.
50983 * wctype/Makefile: Likewise.
50984 * crypt/Makefile: Likewise.
50985 * libio/Makefile: Likewise.
50986 * string/Makefile: Likewise.
50987 * nis/Makefile: Likewise.
50988 * resolv/Makefile: Likewise.
50989 * stdio-common/Makefile: Likewise.
50990 * wcsmbs/Makefile: Likewise.
50991 * dlfcn/Makefile: Likewise.
50992 * posix/Makefile: Likewise.
50995 * timezone/Makefile: Don't install timezone files, just the programs
50998 2012-03-06 Ulrich Drepper <drepper@gmail.com>
51000 * nss/databases.def: Add missing gshadow entry.
51002 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
51004 2012-03-06 Marek Polacek <polacek@redhat.com>
51007 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
51008 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51009 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
51010 * stdio-common/tst-long-dbl-fphex.c: New file.
51012 2012-03-06 David S. Miller <davem@davemloft.net>
51014 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51015 (set_obp_int): New function.
51016 (get_obp_int): New function.
51017 (__get_clockfreq_via_dev_openprom): Likewise.
51018 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
51019 Avoid unused variable warnings on 'val' and use builtin_expect.
51020 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
51022 (INLINE_CLONE_SYSCALL): Likewise.
51024 2012-03-05 David S. Miller <davem@davemloft.net>
51026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51028 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
51030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51032 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
51033 only for |x| >= 40.
51034 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51036 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
51038 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
51039 Replace gettimeofday with __vdso_gettimeofday.
51041 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51042 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
51043 __vdso_clock_gettime and __vdso_getcpu.
51045 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
51046 time with __vdso_time.
51048 2012-03-05 Joseph Myers <joseph@codesourcery.com>
51050 * manual/lang.texi (size_t): Note types to which size_t may be
51051 equivalent with the GNU C Library, but do not describe when
51052 differences between them are significant.
51054 2012-03-05 Andreas Jaeger <aj@suse.de>
51056 * sysdeps/i386/fpu/libm-test-ulps: Update.
51058 2012-03-05 Joseph Myers <joseph@codesourcery.com>
51061 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
51062 (__ieee754_pow): Save and restore rounding mode and use
51063 round-to-nearest for main computations.
51064 * math/libm-test.inc (pow_test_tonearest): New function.
51065 (pow_test_towardzero): Likewise.
51066 (pow_test_downward): Likewise.
51067 (pow_test_upward): Likewise.
51068 (main): Call the new functions.
51069 * sysdeps/i386/fpu/libm-test-ulps: Update.
51070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51073 * math/libm-test.inc (cosh_test_tonearest): New function.
51074 (cosh_test_towardzero): Likewise.
51075 (cosh_test_downward): Likewise.
51076 (cosh_test_upward): Likewise.
51077 (sinh_test_tonearest): Likewise.
51078 (sinh_test_towardzero): Likewise.
51079 (sinh_test_downward): Likewise.
51080 (sinh_test_upward): Likewise.
51081 (main): Call the new functions.
51082 * sysdeps/i386/fpu/libm-test-ulps: Update.
51083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51085 2012-03-05 Tom de Vries <tom@codesourcery.com>
51087 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
51088 default stack guard is set in last bytes.
51089 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
51091 2012-03-05 Kees Cook <keescook@chromium.org>
51093 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
51096 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
51097 possibly allocate from heap instead of stack.
51098 * stdio-common/bug-vfprintf-nargs.c: New file.
51099 * stdio-common/Makefile (tests): Add nargs overflow test.
51101 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
51103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51105 2012-03-03 Marek Polacek <polacek@redhat.com>
51107 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
51108 * math/math_private.h: Likewise.
51109 * stdlib/tst-strtod.c: Likewise.
51110 * sysdeps/i386/i486/bits/atomic.h: Likewise.
51111 * sysdeps/x86_64/bits/atomic.h: Likewise.
51113 2012-03-02 David S. Miller <davem@davemloft.net>
51115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
51116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
51117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
51118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
51119 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
51120 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
51121 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
51122 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
51124 2012-03-02 Roland McGrath <roland@hack.frob.com>
51127 * manual/examples/README: New file, says the example source files
51128 can be used under GPL>=2.
51129 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
51130 line containing just "*/".
51131 * manual/examples/add.c: Add copyright header (GPL>=2).
51132 * manual/examples/argp-ex1.c: Likewise.
51133 * manual/examples/argp-ex2.c: Likewise.
51134 * manual/examples/argp-ex3.c: Likewise.
51135 * manual/examples/argp-ex4.c: Likewise.
51136 * manual/examples/atexit.c: Likewise.
51137 * manual/examples/db.c: Likewise.
51138 * manual/examples/dir.c: Likewise.
51139 * manual/examples/dir2.c: Likewise.
51140 * manual/examples/execinfo.c: Likewise.
51141 * manual/examples/filecli.c: Likewise.
51142 * manual/examples/filesrv.c: Likewise.
51143 * manual/examples/fmtmsgexpl.c: Likewise.
51144 * manual/examples/genpass.c: Likewise.
51145 * manual/examples/inetcli.c: Likewise.
51146 * manual/examples/inetsrv.c: Likewise.
51147 * manual/examples/isockad.c: Likewise.
51148 * manual/examples/longopt.c: Likewise.
51149 * manual/examples/memopen.c: Likewise.
51150 * manual/examples/memstrm.c: Likewise.
51151 * manual/examples/mkfsock.c: Likewise.
51152 * manual/examples/mkisock.c: Likewise.
51153 * manual/examples/mygetpass.c: Likewise.
51154 * manual/examples/pipe.c: Likewise.
51155 * manual/examples/popen.c: Likewise.
51156 * manual/examples/rprintf.c: Likewise.
51157 * manual/examples/search.c: Likewise.
51158 * manual/examples/select.c: Likewise.
51159 * manual/examples/setjmp.c: Likewise.
51160 * manual/examples/sigh1.c: Likewise.
51161 * manual/examples/sigusr.c: Likewise.
51162 * manual/examples/stpcpy.c: Likewise.
51163 * manual/examples/strdupa.c: Likewise.
51164 * manual/examples/strftim.c: Likewise.
51165 * manual/examples/strncat.c: Likewise.
51166 * manual/examples/subopt.c: Likewise.
51167 * manual/examples/swapcontext.c: Likewise.
51168 * manual/examples/termios.c: Likewise.
51169 * manual/examples/testopt.c: Likewise.
51170 * manual/examples/testpass.c: Likewise.
51171 * manual/examples/timeval_subtract.c: Likewise.
51174 * manual/time.texi (Elapsed Time): Move timeval_subtract example
51176 * manual/timeval_subtract.c.texi: ... here, new file.
51178 2012-03-02 David S. Miller <davem@davemloft.net>
51180 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
51182 2012-03-02 Joseph Myers <joseph@codesourcery.com>
51185 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
51186 (__sin): Save and restore rounding mode and use round-to-nearest
51187 for all computations.
51188 (__cos): Save and restore rounding mode and use round-to-nearest
51189 for all computations.
51190 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
51192 (tan): Save and restore rounding mode and use round-to-nearest for
51194 * math/libm-test.inc (cos_test_tonearest): New function.
51195 (cos_test_towardzero): Likewise.
51196 (cos_test_downward): Likewise.
51197 (cos_test_upward): Likewise.
51198 (sin_test_tonearest): Likewise.
51199 (sin_test_towardzero): Likewise.
51200 (sin_test_downward): Likewise.
51201 (sin_test_upward): Likewise.
51202 (tan_test_tonearest): Likewise.
51203 (tan_test_towardzero): Likewise.
51204 (tan_test_downward): Likewise.
51205 (tan_test_upward): Likewise.
51206 (main): Call the new functions.
51207 * sysdeps/i386/fpu/libm-test-ulps: Update.
51208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51211 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
51212 small n, then large n, before computing and testing k+n.
51213 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
51214 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
51216 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
51218 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
51219 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
51220 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
51221 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
51222 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
51223 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
51224 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
51225 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
51226 * math/libm-test.inc (scalbn_test): Add more tests.
51227 (scalbln_test): Likewise.
51229 * manual/filesys.texi (mode_t): Describe constraints on size and
51230 signedness, not exact equivalence to a particular type.
51232 (ino64_t): Likewise.
51234 (nlink_t): Likewise.
51235 (blkcnt_t): Likewise.
51236 (blkcnt64_t): Likewise.
51237 * manual/llio.texi (off_t): Likewise.
51240 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
51241 (__ieee754_exp): Save and restore rounding mode and use
51242 round-to-nearest for all computations.
51243 * math/libm-test.inc (exp_test_tonearest): New function.
51244 (exp_test_towardzero): Likewise.
51245 (exp_test_downward): Likewise.
51246 (exp_test_upward): Likewise.
51247 (main): Call the new functions.
51248 * sysdeps/i386/fpu/libm-test-ulps: Update.
51249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51251 2012-03-01 Chris Demetriou <cgd@google.com>
51253 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
51254 have predictable order.
51256 2012-03-01 David S. Miller <davem@davemloft.net>
51258 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
51260 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
51261 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
51262 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
51263 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
51265 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
51266 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
51267 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
51268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
51269 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
51270 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
51271 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
51272 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
51273 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
51275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51277 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
51278 * sysdeps/sparc/fpu/libm-test-ulps: to here.
51279 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
51281 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
51282 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51283 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51284 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
51285 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
51286 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
51287 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
51288 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51289 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51290 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
51291 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
51292 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51293 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51294 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51295 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51296 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51297 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
51298 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
51299 * sysdeps/sparc/elf/configure: Regenerated.
51301 2012-03-01 Joseph Myers <joseph@codesourcery.com>
51303 * configure.in (AS, LD): Require binutils 2.20 or later.
51304 * configure: Regenerated.
51305 * manual/install.texi (Tools for Compilation): Give binutils 2.20
51306 as required minimum version.
51307 * INSTALL: Regenerated.
51311 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
51312 before squaring exponent.
51313 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
51314 bottom long double and 27 bits of top long double before squaring
51316 * math/libm-test.inc (erfc_test): Add more tests.
51317 * sysdeps/i386/fpu/libm-test-ulps: Update.
51318 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51321 2012-03-01 Kai Tietz <ktietz@redhat.com>
51323 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
51324 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
51325 containing bit-fields.
51326 * soft-fp/extended.h (_FP_UNION_E): Likewise.
51327 * soft-fp/single.h (_FP_UNION_S): Likewise.
51328 * soft-fp/double.h (_FP_UNION_D): Likewise.
51330 2012-02-29 Joseph Myers <joseph@codesourcery.com>
51333 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
51334 not include ../strcmp.S.
51335 [USE_AS_STRNCASECMP_L]: Likewise.
51336 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
51337 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
51338 * sysdeps/i386/i686/multiarch/strncase_l-c.c
51339 (__strncasecmp_l_ia32): Define as alias to
51340 __strncasecmp_l_nonascii.
51343 * math/libm-test.inc (expm1_test): Add test for bug 5794.
51344 * sysdeps/i386/fpu/libm-test-ulps: Update.
51345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51347 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
51348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51350 2012-02-29 Jeff Law <law@redhat.com>
51352 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
51353 out of bounds read.
51355 2012-02-29 Marek Polacek <polacek@redhat.com>
51358 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
51359 * elf/Makefile: Add rules to run tst-unused-dep.out.
51361 2012-02-28 David S. Miller <davem@davemloft.net>
51363 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
51364 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
51365 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
51366 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
51367 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
51368 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
51370 2012-02-29 Joseph Myers <joseph@codesourcery.com>
51372 * math/libm-test.inc (llround_test): Move one test from
51373 lround_test. Use TEST_f_L in moved test.
51374 (lround_test): Move misplaced test to llround_test. Add testcase
51377 2012-02-28 Ulrich Drepper <drepper@gmail.com>
51379 * sysdeps/x86_64/fpu/e_expf.S: New file.
51380 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
51382 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
51385 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
51386 of remain_len that may cause incomplete multi-byte character and
51388 * posix/bug-regex33.c: New file.
51389 * posix/Makefile (tests): Add bug-regex33.
51391 2012-02-28 Joseph Myers <joseph@codesourcery.com>
51393 * manual/macros.texi: New file.
51394 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
51395 * manual/libc.texinfo: Include macros.texi.
51396 * manual/creatute.texi: Likewise.
51397 * manual/install.texi: Likewise.
51398 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
51399 @glibcadj{} in references to the GNU C Library.
51400 * manual/charset.texi: Likewise.
51401 * manual/conf.texi: Likewise.
51402 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
51403 when not using those macros.
51404 * manual/creature.texi: Likewise.
51405 * manual/crypt.texi: Likewise.
51406 * manual/errno.texi: Likewise.
51407 * manual/filesys.texi: Likewise.
51408 * manual/header.texi: Likewise.
51409 * manual/install.texi: Likewise.
51410 * manual/intro.texi: Likewise.
51411 * manual/io.texi: Likewise.
51412 * manual/job.texi: Likewise.
51413 * manual/lang.texi: Likewise.
51414 * manual/libc.texiinfo: Likewise.
51415 * manual/llio.texi: Likewise.
51416 * manual/locale.texi: Likewise.
51417 * manual/maint.texi: Likewise.
51418 * manual/math.texi: Likewise.
51419 * manual/memory.texi: Likewise.
51420 * manual/message.texi: Likewise.
51421 * manual/nss.texi: Likewise.
51422 * manual/pattern.texi: Likewise.
51423 * manual/process.texi: Likewise.
51424 * manual/resource.texi: Likewise.
51425 * manual/search.texi: Likewise.
51426 * manual/setjmp.texi: Likewise.
51427 * manual/signal.texi: Likewise.
51428 * manual/socket.texi: Likewise.
51429 * manual/startup.texi: Likewise.
51430 * manual/stdio.texi: Likewise.
51431 * manual/string.texi: Likewise.
51432 * manual/sysinfo.texi: Likewise.
51433 * manual/syslog.texi: Likewise.
51434 * manual/terminal.texi: Likewise.
51435 * manual/time.texi: Likewise.
51436 * manual/users.texi: Likewise.
51437 * INSTALL: Regenerated.
51438 * NOTES: Regenerated.
51439 * sysdeps/gnu/errlist.c: Regenerated.
51441 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
51443 * include/dirent.h: Include <dirstream.h> before
51446 2012-02-28 David S. Miller <davem@davemloft.net>
51448 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
51449 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
51450 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
51451 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
51453 2012-02-27 David S. Miller <davem@davemloft.net>
51455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
51456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
51457 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
51458 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
51460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
51461 frame pointer instead of stack pointer relative arg slot.
51462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51463 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51464 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51466 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
51469 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
51471 2012-02-27 David S. Miller <davem@davemloft.net>
51473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
51474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
51477 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51478 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51479 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
51480 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
51482 2012-02-27 Joseph Myers <joseph@codesourcery.com>
51484 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
51485 later. Allow versions 5-9.
51486 * configure: Regenerated.
51487 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
51488 required minimum version and 4.6 as recommended version. Do not
51489 mention bugs in GCC 2.7 and 2.8.
51490 * INSTALL: Regenerated.
51492 2012-02-27 David S. Miller <davem@davemloft.net>
51494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
51495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
51496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
51497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
51498 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
51499 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
51500 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
51501 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
51503 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
51504 manipulate bits before adding and subtracting TWO112[sx].
51505 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
51507 2012-02-27 Roland McGrath <roland@hack.frob.com>
51510 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
51511 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
51512 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
51513 being in POSIX, because they are in 1003.1-2008.
51515 * rt/tst-aio.c: Include <fcntl.h>.
51516 * rt/tst-aio7.c: Likewise.
51517 * rt/tst-aio64.c: Likewise.
51519 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
51521 2012-02-27 Joseph Myers <joseph@codesourcery.com>
51523 * manual/install.texi (--with-headers): Describe headers as
51524 interface headers, not private headers.
51525 (Specific advice for GNU/Linux systems): Describe use of headers
51526 from "make headers_install", not private headers from older
51528 * INSTALL: Regenerated.
51529 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
51531 * sysdeps/unix/sysv/linux/configure: Regenerated.
51533 * manual/llio.texi (fclean): Remove documentation.
51535 * manual/Makefile (libc-texi-generated): New variable. Include
51537 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
51538 $(libc-texi-generated), not duplicated list of files.
51539 (version.texi, stamp-version): New rules.
51540 (realclean): Remove $(libc-texi-generated), not individual files
51541 from that list. Do not remove dir-add.texinfo.
51542 * manual/libc.texinfo: Comment out uses of edition numbers and
51543 references to printed manual. Remove last-updated dates.
51544 (EDITION): Comment out.
51546 (VERSION, UPDATED): Remove.
51547 (version.texi): Include.
51549 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
51551 * sysdeps/posix/spawni.c: Include <signal.h>.
51552 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
51553 * sysdeps/pthread/aio_fsync.c: Likewise.
51555 2012-02-26 Ulrich Drepper <drepper@gmail.com>
51557 * conform/Makefile (tests): Run only when not cross-compiling and
51558 when fast-check is not defined.
51560 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
51561 * conform/data/limits.h-data: Fixes for POSIX2008.
51562 * conform/run-conformtest.sh: Run all tests.
51563 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
51565 * include/bits/dlfcn.h: Likewise.
51566 * include/langinfo.h: Likewise.
51567 * include/monetary.h: Likewise.
51568 * include/sys/poll.h: Likewise.
51570 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
51572 * posix/spawn.h: Define __need_sigset_t.
51573 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
51574 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
51575 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
51576 to get sigevent_t only.
51577 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
51578 only for __USE_GNU.
51579 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51580 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51581 process_vm_writev only for __USE_GNU.
51582 * termios/termios.h: Declare tcgetsid also for POSIX2008.
51584 * conform/Makefile: For now ignore errors from run-conformtest.
51585 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
51586 POSIX to avoid namespace pollution. Don't prepend headers.
51587 * conform/data/aio.h-data: Fixes for POSIX testing.
51588 * conform/data/fcntl.h-data: Likewise.
51589 * conform/data/glob.h-data: Likewise.
51590 * conform/data/grp.h-data: Likewise.
51591 * conform/data/pthread.h-data: Likewise.
51592 * conform/data/pwd.h-data: Likewise.
51593 * conform/data/signal.h-data: Likewise.
51594 * conform/data/spawn.h-data: Likewise.
51595 * conform/data/stdio.h-data: Likewise.
51596 * conform/data/stdlib.h-data: Likewise.
51597 * conform/data/stropts.h-data: Likewise.
51598 * conform/data/sys/mman.h-data: Likewise.
51599 * conform/data/sys/stat.h-data: Likewise.
51600 * conform/data/sys/types.h-data: Likewise.
51601 * conform/data/sys/wait.h-data: Likewise.
51602 * conform/data/time.h-data: Likewise.
51603 * conform/data/unistd.h-data: Likewise.
51604 * conform/data/utime.h-data: Likewise.
51606 * io/sys/stat.h: fchmod was always in POSIX.
51607 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
51608 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
51609 * rt/aio.h: Define __need_timespec before including <time.h>.
51610 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
51611 struct. Add forward declaration of pthread_attr_t and use it in
51613 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51614 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51615 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
51616 always remove CLK_TCK definition.
51618 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
51620 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
51622 2012-02-25 Ulrich Drepper <drepper@gmail.com>
51624 * conform/run-conformtest.sh: New file.
51625 * conform/Makefile: Run run-conformtest for tests.
51626 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
51629 * conform/data/uchar.h-data: New file.
51630 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
51631 * conform/data/arpa/inet.h-data: Likewise.
51632 * conform/data/assert.h-data: Likewise.
51633 * conform/data/complex.h-data: Likewise.
51634 * conform/data/cpio.h-data: Likewise.
51635 * conform/data/ctype.h-data: Likewise.
51636 * conform/data/dirent.h-data: Likewise.
51637 * conform/data/dlfcn.h-data: Likewise.
51638 * conform/data/errno.h-data: Likewise.
51639 * conform/data/fcntl.h-data: Likewise.
51640 * conform/data/float.h-data: Likewise.
51641 * conform/data/fmtmsg.h-data: Likewise.
51642 * conform/data/fnmatch.h-data: Likewise.
51643 * conform/data/ftw.h-data: Likewise.
51644 * conform/data/glob.h-data: Likewise.
51645 * conform/data/grp.h-data: Likewise.
51646 * conform/data/iconv.h-data: Likewise.
51647 * conform/data/inttypes.h-data: Likewise.
51648 * conform/data/langinfo.h-data: Likewise.
51649 * conform/data/libgen.h-data: Likewise.
51650 * conform/data/limits.h-data: Likewise.
51651 * conform/data/locale.h-data: Likewise.
51652 * conform/data/math.h-data: Likewise.
51653 * conform/data/monetary.h-data: Likewise.
51654 * conform/data/mqueue.h-data: Likewise.
51655 * conform/data/ndbm.h-data: Likewise.
51656 * conform/data/net/if.h-data: Likewise.
51657 * conform/data/netdb.h-data: Likewise.
51658 * conform/data/netinet/in.h-data: Likewise.
51659 * conform/data/nl_types.h-data: Likewise.
51660 * conform/data/poll.h-data: Likewise.
51661 * conform/data/pthread.h-data: Likewise.
51662 * conform/data/pwd.h-data: Likewise.
51663 * conform/data/regex.h-data: Likewise.
51664 * conform/data/sched.h-data: Likewise.
51665 * conform/data/search.h-data: Likewise.
51666 * conform/data/semaphore.h-data: Likewise.
51667 * conform/data/setjmp.h-data: Likewise.
51668 * conform/data/signal.h-data: Likewise.
51669 * conform/data/spawn.h-data: Likewise.
51670 * conform/data/stdarg.h-data: Likewise.
51671 * conform/data/stdio.h-data: Likewise.
51672 * conform/data/stdlib.h-data: Likewise.
51673 * conform/data/string.h-data: Likewise.
51674 * conform/data/strings.h-data: Likewise.
51675 * conform/data/stropts.h-data: Likewise.
51676 * conform/data/sys/ipc.h-data: Likewise.
51677 * conform/data/sys/mman.h-data: Likewise.
51678 * conform/data/sys/msg.h-data: Likewise.
51679 * conform/data/sys/resource.h-data: Likewise.
51680 * conform/data/sys/select.h-data: Likewise.
51681 * conform/data/sys/sem.h-data: Likewise.
51682 * conform/data/sys/shm.h-data: Likewise.
51683 * conform/data/sys/socket.h-data: Likewise.
51684 * conform/data/sys/stat.h-data: Likewise.
51685 * conform/data/sys/statvfs.h-data: Likewise.
51686 * conform/data/sys/time.h-data: Likewise.
51687 * conform/data/sys/timeb.h-data: Likewise.
51688 * conform/data/sys/times.h-data: Likewise.
51689 * conform/data/sys/types.h-data: Likewise.
51690 * conform/data/sys/uio.h-data: Likewise.
51691 * conform/data/sys/un.h-data: Likewise.
51692 * conform/data/sys/utsname.h-data: Likewise.
51693 * conform/data/sys/wait.h-data: Likewise.
51694 * conform/data/syslog.h-data: Likewise.
51695 * conform/data/tar.h-data: Likewise.
51696 * conform/data/termios.h-data: Likewise.
51697 * conform/data/utime.h-data: Likewise.
51698 * conform/data/utmpx.h-data: Likewise.
51699 * conform/data/varargs.h-data: Likewise.
51700 * conform/data/wchar.h-data: Likewise.
51701 * conform/data/wctype.h-data: Likewise.
51702 * conform/data/wordexp.h-data: Likewise.
51704 * include/stropts.h: New file.
51705 * include/uchar.h: New file.
51706 * include/aio.h: Changes to allow conformtest.pl to use the headers.
51707 * include/assert.h: Likewise.
51708 * include/ctype.h: Likewise.
51709 * include/dirent.h: Likewise.
51710 * include/dlfcn.h: Likewise.
51711 * include/fcntl.h: Likewise.
51712 * include/fnmatch.h: Likewise.
51713 * include/glob.h: Likewise.
51714 * include/grp.h: Likewise.
51715 * include/libio.h: Likewise.
51716 * include/locale.h: Likewise.
51717 * include/math.h: Likewise.
51718 * include/net/if.h: Likewise.
51719 * include/netdb.h: Likewise.
51720 * include/netinet/in.h: Likewise.
51721 * include/pthread.h: Likewise.
51722 * include/pwd.h: Likewise.
51723 * include/regex.h: Likewise.
51724 * include/sched.h: Likewise.
51725 * include/search.h: Likewise.
51726 * include/setjmp.h: Likewise.
51727 * include/signal.h: Likewise.
51728 * include/stdio.h: Likewise.
51729 * include/stdlib.h: Likewise.
51730 * include/string.h: Likewise.
51731 * include/sys/cdefs.h: Likewise.
51732 * include/sys/mman.h: Likewise.
51733 * include/sys/msg.h: Likewise.
51734 * include/sys/resource.h: Likewise.
51735 * include/sys/select.h: Likewise.
51736 * include/sys/socket.h: Likewise.
51737 * include/sys/stat.h: Likewise.
51738 * include/sys/statvfs.h: Likewise.
51739 * include/sys/time.h: Likewise.
51740 * include/sys/times.h: Likewise.
51741 * include/sys/uio.h: Likewise.
51742 * include/sys/utsname.h: Likewise.
51743 * include/sys/wait.h: Likewise.
51744 * include/termios.h: Likewise.
51745 * include/time.h: Likewise.
51746 * include/ulimit.h: Likewise.
51747 * include/unistd.h: Likewise.
51748 * include/utime.h: Likewise.
51749 * include/wchar.h: Likewise.
51750 * include/wctype.h: Likewise.
51751 * include/wordexp.h: Likewise.
51753 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
51755 * time/time.h: TIME_UTC must be a macro.
51756 Make timespec_get available for ISO C11 only as well.
51758 2012-02-24 Ulrich Drepper <drepper@gmail.com>
51760 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
51761 Reported by Peng Haitao <penght@cn.fujitsu.com>.
51763 2012-02-24 Joseph Myers <joseph@codesourcery.com>
51765 * configure.in: Use -o not -a in test for unsupported multi-arch.
51767 2012-02-24 Joseph Myers <joseph@codesourcery.com>
51769 * manual/texinfo.tex: Update to version 2012-01-19.16.
51771 2012-02-24 Joseph Myers <joseph@codesourcery.com>
51773 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
51775 2012-02-24 Roland McGrath <roland@hack.frob.com>
51778 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
51779 * manual/fdl-1.3.texi: New file.
51780 * manual/fdl-1.1.texi: File removed.
51783 * manual/libc.texinfo (FDL_VERSION): New @set.
51784 Use it for mention of FDL in cover text.
51785 (Documentation License): Use it in @include file name.
51787 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51788 Roland McGrath <roland@hack.frob.com>
51791 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
51792 (not LONG_LONG_MAX and LONG_LONG_MIN.
51793 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
51794 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
51796 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
51798 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51802 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
51803 manipulate bits before adding and subtracting TWO23[sx].
51804 * math/libm-test.inc (nearbyint_test): Add more tests.
51806 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51809 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
51810 bits before adding and subtracting TWO23[sx].
51811 * math/libm-test.inc (rint_test): Add more tests.
51812 (rint_test_tonearest): Likewise.
51813 (rint_test_towardzero): Likewise.
51814 (rint_test_downward): Likewise.
51815 (rint_test_upward: Likewise.
51817 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51820 * include/stdc-predef.h: New file. Extracted from features.h.
51821 * include/features.h: Include stdc-predef.h.
51822 * Makefile (headers): Add stdc-predef.h.
51823 * CONFORMANCE (Compiler limitations): Update.
51825 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51827 * manual/libc.texinfo (VERSION, UPDATED): Revert.
51829 2012-02-21 David S. Miller <davem@davemloft.net>
51831 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
51832 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
51834 2012-02-20 David S. Miller <davem@davemloft.net>
51836 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
51837 using a normal save/restore sequence, rather than allocating a
51838 dummy stack frame just to store a frame pointer and restore.
51839 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51841 2012-02-21 Joseph Myers <joseph@codesourcery.com>
51843 * manual/install.texi: Fix stray word in line-wrapped comment.
51845 2012-02-20 David S. Miller <davem@davemloft.net>
51847 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
51848 both binutils and gcc support GOTDATA.
51850 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
51851 "rd %pc" in the PIC register setup sequences.
51853 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
51854 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
51855 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51856 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
51857 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51858 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51859 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51860 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51861 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
51862 (SYSCALL_ERROR_HANDLER): Likewise.
51863 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51864 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51865 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
51866 (SYSCALL_ERROR_HANDLER): Likewise.
51868 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
51869 (HAVE_GCC_GOTDATA): New.
51870 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
51871 relocation support in both binutils and gcc.
51872 * sysdeps/sparc/elf/configure: Regenerate.
51874 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
51875 * sysdeps/sparc/sparc32/elf/configure: Delete.
51876 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
51877 * sysdeps/sparc/sparc64/elf/configure: Delete.
51878 * sysdeps/sparc/elf/configure.in: New file.
51879 * sysdeps/sparc/elf/configure: Generate.
51881 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
51882 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
51883 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51884 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
51885 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
51887 2012-02-21 Joseph Myers <joseph@codesourcery.com>
51889 * manual/install.texi: Do not mention specific glibc version
51891 * manual/libc.texinfo (VERSION, UPDATED): Update.
51892 (@copying): Use @copyright{} and range of years.
51894 2012-02-21 Joseph Myers <joseph@codesourcery.com>
51897 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
51898 [crti.S not in sysdirs] (generated): Do not append.
51899 [crti.S not in sysdirs] (omit-deps): Likewise.
51900 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
51901 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
51902 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
51903 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
51904 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
51906 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
51907 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
51908 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
51909 * csu/defs.awk: Remove file.
51910 * sysdeps/generic/initfini.c: Likewise.
51911 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
51913 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
51916 2012-02-20 Joseph Myers <joseph@codesourcery.com>
51918 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
51919 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
51920 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
51921 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
51922 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51923 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
51925 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
51926 (__EPOLL_PACKED): Define to empty if not defined by
51928 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
51929 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51932 2012-02-20 Joseph Myers <joseph@codesourcery.com>
51934 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
51935 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
51936 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
51937 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
51939 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
51940 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51943 2012-02-20 Joseph Myers <joseph@codesourcery.com>
51945 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
51947 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51948 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51949 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
51950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51952 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
51954 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51955 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
51957 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
51959 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
51960 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
51962 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
51964 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
51967 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
51969 * math/w_acos.c: Use non-signaling floating-point comparisons.
51970 * math/w_acosf.c: Likewise.
51971 * math/w_acosh.c: Likewise.
51972 * math/w_acoshf.c: Likewise.
51973 * math/w_acoshl.c: Likewise.
51974 * math/w_acosl.c: Likewise.
51975 * math/w_asin.c: Likewise.
51976 * math/w_asinf.c: Likewise.
51977 * math/w_asinl.c: Likewise.
51978 * math/w_atanh.c: Likewise.
51979 * math/w_atanhf.c: Likewise.
51980 * math/w_atanhl.c: Likewise.
51981 * math/w_exp2.c: Likewise.
51982 * math/w_exp2f.c: Likewise.
51983 * math/w_exp2l.c: Likewise.
51984 * math/w_j0.c: Likewise.
51985 * math/w_j0f.c: Likewise.
51986 * math/w_j0l.c: Likewise.
51987 * math/w_j1.c: Likewise.
51988 * math/w_j1f.c: Likewise.
51989 * math/w_j1l.c: Likewise.
51990 * math/w_jn.c: Likewise.
51991 * math/w_jnf.c: Likewise.
51992 * math/w_log.c: Likewise.
51993 * math/w_log10.c: Likewise.
51994 * math/w_log10f.c: Likewise.
51995 * math/w_log10l.c: Likewise.
51996 * math/w_log2.c: Likewise.
51997 * math/w_log2f.c: Likewise.
51998 * math/w_log2l.c: Likewise.
51999 * math/w_logf.c: Likewise.
52000 * math/w_logl.c: Likewise.
52001 * math/w_sqrt.c: Likewise.
52002 * math/w_sqrtf.c: Likewise.
52003 * math/w_sqrtl.c: Likewise.
52004 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52005 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
52006 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52007 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52008 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52010 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52013 * manual/string.texi (strnlen): Use correct parameter name in
52014 equivalent expression.
52016 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52019 * manual/users.texi (seteuid): Consistently use neweuid for
52022 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52025 * manual/nss.texi (Services in the NSS configuration): Correct
52026 list of services in example configuration file.
52028 2012-02-19 Nick Bowler <nbowler@draconx.ca>
52031 * manual/arith.texi: Remove statements about negative zero
52032 behaving identically to zero.
52034 2012-02-18 Joseph Myers <joseph@codesourcery.com>
52037 * manual/install.texi: Do not document upgrading from libc5.
52039 2012-02-18 Joseph Myers <joseph@codesourcery.com>
52042 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
52044 2012-02-18 David S. Miller <davem@davemloft.net>
52046 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
52047 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
52048 %o7 across the call.
52049 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
52051 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
52052 SETUP_PIC_REG_LEAF.
52053 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52054 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
52055 * sysdeps/sparc/crtn.S: Likewise.
52057 2012-02-17 Ulrich Drepper <drepper@gmail.com>
52059 * aout/Makefile: Remove.
52061 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
52064 * manual/examples/argp-ex1.c (main): Format definition in GNU
52066 * manual/examples/argp-ex2.c (main): Likewise.
52067 * manual/examples/argp-ex3.c (main): Likewise.
52068 * manual/examples/argp-ex4.c (main): Likewise.
52069 * manual/examples/longopt.c (main): Use new-style prototype
52071 * manual/examples/strncat.c (main): Specify return type and use
52072 (void) for arguments.
52073 * manual/examples/subopt.c (main): Use char **argv argument.
52075 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52078 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
52081 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
52084 * manual/string.texi (strchr): Change when strchrnul is
52087 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
52090 * manual/locale.texi (setlocale): Document LOCPATH.
52092 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52095 * manual/process.texi (execle): Move @dots{} before last argument.
52097 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
52100 * manual/charset.texi (Generic Charset Conversion): Fix typo
52101 (LC_TYPE -> LC_CTYPE).
52103 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
52106 * manual/arith.texi (scalbn): Use @var{} on parameter names.
52107 (scalbnf): Likewise.
52108 (scalbnl): Likewise.
52109 (scalbln): Likewise.
52110 (scalblnf): Likewise.
52111 (scalblnl): Likewise.
52112 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
52113 (vwarnx): Likewise.
52116 * manual/filesys.texi (telldir): Use braces around return type.
52117 * manual/llio.texi (mmap): Add space after comma.
52118 (mmap64): Likewise.
52119 * manual/math.texi (jn): Use @var{} on parameter names.
52125 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
52127 * manual/resource.texi (ulimit): Use @dots{} instead of literal
52129 (sched_get_priority_min): Remove semicolon on @deftypefun line.
52130 (sched_get_priority_max): Likewise.
52131 * manual/signal.texi (sigvec): Add space after comma.
52132 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
52134 (if_indextoname): Likewise.
52135 (if_freenameindex): Likewise.
52136 (sendto): Use ',' instead of '.' in prototype.
52137 * manual/startup.texi (syscall): Use @dots{} instead of literal
52139 * manual/stdio.texi (__fpending): Separate initial words of
52140 paragraph from @deftypefun line.
52141 * manual/syslog.texi (syslog): Use @dots{} instead of literal
52143 (vsyslog): Use @var{} on parameter names.
52144 * manual/terminal.texi (stty): Use @var{} on parameter names.
52145 * manual/users.texi (getutmp): Use @var{} on parameter names.
52146 (getutmpx): Likewise.
52148 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52151 * manual/stdio.texi (fopen): Fix typos in description of
52154 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
52157 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
52158 get clock_id definition.
52160 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
52163 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
52164 (madvise): Cast every argument to void on its own.
52166 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52169 * manual/startup.texi (Exit Status): Fix typo.
52171 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52174 * manual/examples/argp-ex1.c: Include <stdlib.h>.
52175 * manual/examples/argp-ex2.c: Likewise.
52176 * manual/examples/argp-ex3.c: Likewise.
52178 2012-02-16 Richard Henderson <rth@redhat.com>
52180 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
52181 * sysdeps/s390/s390-32/initfini.c: Remove.
52182 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
52183 * sysdeps/s390/s390-64/initfini.c: Remove.
52185 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
52187 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
52188 compiler output for sysdeps/generic/initfini.c.
52189 * sysdeps/sh/elf/initfini.c: Remove file.
52191 2012-02-16 David S. Miller <davem@davemloft.net>
52194 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
52196 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
52197 * sysdeps/sparc/crti.S: New file.
52198 * sysdeps/sparc/crtn.S: New file.
52199 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
52200 * sysdeps/sparc/sparc64/Makefile: Likewise.
52202 2012-02-15 Mike Frysinger <vapier@gentoo.org>
52205 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
52207 2012-02-15 Roland McGrath <roland@hack.frob.com>
52210 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
52212 * mach/devstream.c (cookie_io_functions_t): Macro removed.
52213 (write, read, close): Likewise.
52214 Patch by Aurelien Jarno <aurelien@aurel32.net>.
52216 2012-02-15 Joseph Myers <joseph@codesourcery.com>
52218 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
52219 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
52220 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
52221 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
52223 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
52224 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52227 2012-02-14 Marek Polacek <polacek@redhat.com>
52229 * sysdeps/x86_64/crti.S: New file.
52230 * sysdeps/x86_64/crtn.S: New file.
52231 * sysdeps/x86_64/elf/initfini.c: Remove file.
52233 2012-02-13 Joseph Myers <joseph@codesourcery.com>
52235 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
52236 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
52237 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
52238 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
52240 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
52241 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52244 2012-02-13 Joseph Myers <joseph@codesourcery.com>
52246 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
52247 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
52248 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
52249 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
52251 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
52252 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52255 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
52257 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
52258 __feraiseexcept instead of feraiseexcept.
52260 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
52261 nanosleep invocations.
52262 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
52263 strings, and add error checking for a nanosleep invocations.
52265 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
52267 Replace FSF snail mail address with URLs, as per GNU coding standards.
52268 Most of the snail mail addresses were wrong anyway, and omitting
52269 them makes the source code easier to maintain. Almost all of the
52270 changes are to license notices and to locale LC_IDENTIFICATION
52271 addresses, except for this one:
52272 * manual/libc.texinfo: In "Published by", give the FSF's URL,
52273 not its snail mail address.
52275 2012-02-09 Richard Henderson <rth@twiddle.net>
52277 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
52278 of kernel-features.h.
52280 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
52282 2012-02-08 Marek Polacek <polacek@redhat.com>
52284 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
52285 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
52286 * sysdeps/gnu/_G_config.h: Likewise.
52287 * sysdeps/generic/_G_config.h: Likewise.
52289 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
52291 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
52293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52295 * sysdeps/powerpc/powerpc32/crti.S: New file.
52296 * sysdeps/powerpc/powerpc32/crtn.S: New file.
52297 * sysdeps/powerpc/powerpc64/crti.S: New file.
52298 * sysdeps/powerpc/powerpc64/crtn.S: New file.
52300 * Makeconfig (have-initfini): Don't set.
52301 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
52302 * configure.in (nopic_initfini): Don't substitute.
52303 * config.h.in (HAVE_INITFINI): Don't #undef.
52304 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
52305 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
52307 2012-02-08 Joseph Myers <joseph@codesourcery.com>
52309 Support crti.S and crtn.S provided directly by architectures.
52310 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
52311 [crti.S in sysdirs] (omit-deps): Likewise.
52312 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
52313 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
52314 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
52315 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
52316 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
52317 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
52318 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
52319 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
52320 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
52321 compiler output for sysdeps/generic/initfini.c.
52322 * sysdeps/i386/elf/Makefile: Remove file.
52323 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
52325 2012-02-07 Marek Polacek <polacek@redhat.com>
52327 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
52328 * sysdeps/gnu/_G_config.h: Likewise.
52329 * sysdeps/mach/hurd/_G_config.h: Likewise.
52331 2012-02-07 Marek Polacek <polacek@redhat.com>
52333 * math/Makefile (tests): Add tst-CMPLX2.
52334 * math/tst-CMPLX2.c: New file.
52336 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
52338 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52340 * math/libm-test.inc (jn_test): Add missing L suffix.
52342 2012-02-06 Marek Polacek <polacek@redhat.com>
52344 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
52345 * sysdeps/i386/fpu/e_powf.S: Likewise.
52346 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52347 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52348 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52349 * sysdeps/i386/fpu/e_pow.S: Likewise.
52350 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
52351 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52352 * sysdeps/i386/fpu/s_expm1.S: Likewise.
52353 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
52354 * sysdeps/i386/fpu/e_log2.S: Likewise.
52355 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52356 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52357 * sysdeps/i386/fpu/e_powl.S: Likewise.
52358 * sysdeps/i386/fpu/s_log1p.S: Likewise.
52359 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52360 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
52361 * sysdeps/i386/fpu/e_logl.S: Likewise.
52362 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
52363 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
52364 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
52365 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
52366 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52367 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52368 * sysdeps/i386/fpu/e_log.S: Likewise.
52369 * sysdeps/i386/fpu/s_cexp.S: Likewise.
52370 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52371 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
52372 * sysdeps/i386/fpu/e_logf.S: Likewise.
52373 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52374 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52375 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
52376 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
52377 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52378 * sysdeps/i386/fpu/e_log10.S: Likewise.
52379 * sysdeps/i386/fpu/s_frexp.S: Likewise.
52380 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52381 * sysdeps/i386/fpu/s_asinh.S: Likewise.
52382 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
52383 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52384 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
52385 * sysdeps/i386/asm-syntax.h: Likewise.
52386 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52387 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52388 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52389 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
52390 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
52391 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52392 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
52393 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
52394 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52395 * sysdeps/powerpc/sysdep.h: Likewise.
52396 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
52397 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52399 2012-02-06 Joseph Myers <joseph@codesourcery.com>
52402 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
52404 2012-02-06 Joseph Myers <joseph@codesourcery.com>
52406 * sysdeps/i386/sysdep.h: Include <features.h>.
52407 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
52410 2012-02-05 Joseph Myers <joseph@codesourcery.com>
52412 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
52414 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
52417 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52419 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
52420 (SETUP_PIC_REG): Use GET_PC_THUNK.
52421 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
52424 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52426 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
52427 for non-PIC compilation.
52428 (SETUP_PIC_REG): Add .p2align directive.
52429 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
52430 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
52431 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
52432 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
52433 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
52434 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
52435 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
52436 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52437 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
52438 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
52439 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
52440 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
52441 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
52442 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
52443 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
52444 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
52445 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
52446 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
52447 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
52448 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
52449 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52450 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
52451 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
52452 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
52453 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
52454 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
52455 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52456 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
52457 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
52458 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
52459 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
52460 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52461 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
52462 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
52463 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
52464 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
52465 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
52466 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
52467 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
52468 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
52469 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
52471 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52473 * math/tst-CMPLX.c: Include <stdio.h>.
52475 2012-01-31 Joseph Myers <joseph@codesourcery.com>
52477 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
52479 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52480 * sysdeps/sparc/bits/mathdef.h: Likewise.
52482 2012-01-31 Marek Polacek <polacek@redhat.com>
52484 * libio/libio.h: Don't define _PARAMS.
52485 * locale/programs/config.h: Don't define PARAMS.
52486 * stdlib/strtol_l.c: Likewise.
52487 (__strtol_l): Remove PARAMS from the prototype.
52489 2012-01-31 Ulrich Drepper <drepper@gmail.com>
52491 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
52492 names. Just use the correct names. Remove unnecessary wrapper
52494 * malloc/arena.c: Likewise.
52495 * malloc/hooks.c: Likewise.
52497 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
52498 ARENA_TEST says not to. Simplify test for creation of a new arena.
52499 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
52501 2012-01-30 Ulrich Drepper <drepper@gmail.com>
52503 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
52505 (update_get_addr): New function.
52506 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
52507 GET_ADDR_MODULE parameter.
52509 2012-01-30 Joseph Myers <joseph@codesourcery.com>
52511 * crypt/cert.c: Remove __STDC__ conditionals.
52512 * crypt/crypt-entry.c: Likewise.
52513 * crypt/crypt_util.c: Likewise.
52514 * libio/filedoalloc.c: Likewise.
52515 * libio/fileops.c: Likewise.
52516 * libio/genops.c: Likewise.
52517 * libio/iofclose.c: Likewise.
52518 * libio/iofdopen.c: Likewise.
52519 * libio/iofopen.c: Likewise.
52520 * libio/iofopen64.c: Likewise.
52521 * libio/iogetdelim.c: Likewise.
52522 * libio/iopopen.c: Likewise.
52523 * libio/obprintf.c: Likewise.
52524 * libio/oldfileops.c: Likewise.
52525 * libio/oldiofclose.c: Likewise.
52526 * libio/oldiofdopen.c: Likewise.
52527 * libio/oldiofopen.c: Likewise.
52528 * libio/oldiopopen.c: Likewise.
52529 * libio/wfiledoalloc.c: Likewise.
52530 * libio/wgenops.c: Likewise.
52531 * locale/programs/xmalloc.c: Likewise.
52532 * misc/syslog.c: Likewise.
52533 * stdio-common/xbug.c: Likewise.
52534 * string/memchr.c: Likewise.
52535 * string/memcmp.c: Likewise.
52536 * string/memrchr.c: Likewise.
52537 * string/rawmemchr.c: Likewise.
52538 * sysdeps/posix/getcwd.c: Likewise.
52539 * time/strftime_l.c: Likewise.
52541 2012-01-30 Joseph Myers <joseph@codesourcery.com>
52543 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
52544 * config.make.in (config-cflags-sse2avx): Define.
52545 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
52548 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
52550 * scripts/config.guess: Update from upstream config git repository.
52551 * scripts/config.sub: Likewise.
52553 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
52555 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
52557 (R_TILEPRO_*, R_TILEGX_*): New macros.
52559 * scripts/firstversions.awk: Fix bug in version range handling.
52561 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
52563 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
52565 * include/sys/epoll.h: New file.
52566 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
52569 2012-01-28 Ulrich Drepper <drepper@gmail.com>
52571 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
52572 Avoid unnecessary __WORDSIZE == 64 test.
52573 (fmaxf): Use VEX format if possible.
52578 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
52579 * math/math_private.h: Remove libc_fegetround* and
52581 * sysdeps/i386/configure.in: Check for -msse2avx.
52582 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
52583 also if SSE2AVX is defined.
52584 Remove libc_fegetround* and libc_fesetround*.
52585 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
52586 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
52587 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
52589 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52590 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52591 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52592 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52593 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52595 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
52597 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52599 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
52601 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52603 2012-01-27 Ulrich Drepper <drepper@gmail.com>
52606 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
52608 * Makeconfig (libm): Define.
52609 * elf/Makefile: Add rules to build and run tst-relsort1.
52610 * elf/tst-relsort1.c: New file.
52611 * elf/tst-relsort1mod1.c: New file.
52612 * elf/tst-relsort1mod2.c: New file.
52614 2012-01-27 Joseph Myers <joseph@codesourcery.com>
52616 * math/s_ldexp.c: Remove __STDC__ conditionals.
52617 * math/s_ldexpf.c: Likewise.
52618 * math/s_ldexpl.c: Likewise.
52619 * math/s_nextafter.c: Likewise.
52620 * math/s_nexttowardf.c: Likewise.
52621 * math/s_significand.c: Likewise.
52622 * math/s_significandf.c: Likewise.
52623 * math/s_significandl.c: Likewise.
52624 * math/w_jnl.c: Likewise.
52625 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52626 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52627 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52628 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52629 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52630 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52631 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
52632 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52633 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52634 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52635 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52636 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52637 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52638 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52639 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52640 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52641 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52642 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52643 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52644 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52645 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52646 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52647 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52648 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52649 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52650 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52651 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52652 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52653 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52654 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52655 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52656 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52657 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52658 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52659 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52660 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52661 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52662 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52663 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52664 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52665 * sysdeps/ieee754/k_standard.c: Likewise.
52666 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52667 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52668 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52669 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52670 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52671 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52672 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52673 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52674 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52675 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52676 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52677 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52678 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52679 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52680 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52681 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52682 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52683 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52684 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52685 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52686 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52687 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52688 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52689 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52690 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52691 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52692 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52693 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52694 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52695 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52696 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52697 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
52698 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52699 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52700 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52701 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52702 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
52703 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52704 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52705 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
52706 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
52707 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52708 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
52709 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
52710 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52711 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52712 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52713 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52714 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52715 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
52716 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
52717 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52718 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52719 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52720 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52721 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52722 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
52723 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52724 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52725 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52726 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52727 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52728 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52729 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52730 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52731 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52732 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52733 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52734 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52735 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52736 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52737 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52738 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52739 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52740 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52741 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52742 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52743 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52744 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52745 * sysdeps/ieee754/s_matherr.c: Likewise.
52746 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52747 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52748 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52749 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52751 2012-01-26 Joseph Myers <joseph@codesourcery.com>
52753 * crypt/md5.h: Remove __STDC__ conditionals.
52754 * libio/libioP.h: Likewise.
52755 * locale/programs/config.h: Likewise.
52756 * sysdeps/generic/sysdep.h: Likewise.
52757 * sysdeps/i386/asm-syntax.h: Likewise.
52758 * sysdeps/s390/asm-syntax.h: Likewise.
52759 * sysdeps/unix/sysdep.h: Likewise.
52760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
52761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52763 2012-01-26 Joseph Myers <joseph@codesourcery.com>
52765 * libio/libio.h: Remove __STDC__ conditionals.
52766 * malloc/obstack.h: Likewise.
52767 * math/complex.h: Likewise.
52768 * math/math.h: Likewise.
52769 * sysdeps/generic/_G_config.h: Likewise.
52770 * sysdeps/gnu/_G_config.h: Likewise.
52771 * sysdeps/mach/hurd/_G_config.h: Likewise.
52772 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52773 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52774 * sysdeps/sparc/bits/mathdef.h: Likewise.
52776 2012-01-26 Ulrich Drepper <drepper@gmail.com>
52779 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
52780 Clean up HAS_* macros.
52781 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
52782 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
52784 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
52786 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52787 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52788 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52789 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52790 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52792 2012-01-25 Joseph Myers <joseph@codesourcery.com>
52794 * elf/tst-unique3.cc (gets): Remove declaration.
52795 * elf/tst-unique3lib.cc (gets): Likewise.
52796 * elf/tst-unique3lib2.cc (gets): Likewise.
52797 * elf/tst-unique4.cc (gets): Likewise.
52799 2012-01-24 Ulrich Drepper <drepper@gmail.com>
52801 * include/stdio.h: Add C++ protection. Add gets declarations and
52803 * debug/tst-chk1.c: Don't declare gets here.
52804 * stdio-common/tst-gets.c: Likewise.
52806 2012-01-24 Joseph Myers <joseph@codesourcery.com>
52808 * posix/glob: Remove directory.
52810 2012-01-24 Joseph Myers <joseph@codesourcery.com>
52812 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
52814 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
52816 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
52817 of the non-standard EPFNOSUPPORT.
52819 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
52821 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
52822 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
52823 ANYWHERE set to 1 only on KERN_NO_SPACE error.
52825 2012-01-21 Ulrich Drepper <drepper@gmail.com>
52827 * wcsmbs/uchar.h: Test __STDC_VERSION__.
52829 2012-01-20 Ulrich Drepper <drepper@gmail.com>
52831 * nscd/aicache.c (addhstaiX): Do not cache negative results of
52833 * nscd/grpcache.c (cache_addgr): Likewise.
52834 * nscd/hstcache.c (cache_addhst): Likewise.
52835 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52836 * nscd/pwdcache.c (cache_addpw): Likewise.
52837 * nscd/servicescache.c (cache_addserv): Likewise.
52839 2012-01-16 Ulrich Drepper <drepper@gmail.com>
52841 * malloc/malloc.c: Various cleanups.
52842 * malloc/hooks.c: Likewise.
52844 * stdlib/Makefile (tests): Add bug-fmtmsg1.
52845 * stdlib/bug-fmtmsg1.c: New file.
52847 * stdlib/fmtmsg.c (init): Add missing unlock.
52848 Patch by Peng Haitao <penght@cn.fujitsu.com>.
52850 2012-01-12 Marek Polacek <polacek@redhat.com>
52852 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
52855 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52857 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
52858 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
52859 macro to ensure uniqueness of label name.
52860 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
52861 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
52863 2012-01-11 Ulrich Drepper <drepper@gmail.com>
52865 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
52867 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
52868 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52869 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52870 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
52872 2012-01-10 Ulrich Drepper <drepper@gmail.com>
52874 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
52876 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
52877 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52878 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52880 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
52882 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
52883 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52884 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52885 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
52887 * math/bits/math-finite.h: Add ldexp support.
52889 2012-01-10 Marek Polacek <polacek@redhat.com>
52891 * locale/programs/localedef.h (show_archive_content): Add noreturn
52894 2012-01-09 Ulrich Drepper <drepper@gmail.com>
52896 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
52898 2012-01-08 Ulrich Drepper <drepper@gmail.com>
52900 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
52902 * io/Makefile (headers): Add bits/poll2.h.
52904 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
52906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
52907 typo #include statement.
52909 2012-01-08 Ulrich Drepper <drepper@gmail.com>
52911 * include/sys/cdefs.h: Define __attribute_alloc_size.
52912 * catgets/gencat.c: Add alloc_size attribute and apply consistently
52913 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
52914 * elf/pldd.c: Likewise.
52915 * iconv/iconv_charmap.c: Likewise.
52916 * iconv/iconvconfig.c: Likewise.
52917 * iconv/strtab.c: Likewise.
52918 * locale/programs/locale.c: Likewise.
52919 * locale/programs/localedef.h: Likewise.
52920 * locale/programs/simple-hash.c: Likewise.
52921 * nscd/nscd.h: Likewise.
52922 * nss/makedb.c: Likewise.
52923 * sysdeps/generic/ldconfig.h: Likewise.
52924 * locale/programs/localedef.c: Remove xmalloc prototype.
52925 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
52927 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
52929 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
52932 2012-01-08 Ulrich Drepper <drepper@gmail.com>
52934 * math/Makefile (tests): Add tst-CMPLX.
52935 * math/tst-CMPLX.c: New file.
52937 * math/complex.h (CMPLXL): Fix typo.
52939 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
52940 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
52942 * debug/tst-chk1.c: Add poll and ppoll tests.
52943 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
52944 * include/sys/poll.h: Add hidden proto for ppoll.
52945 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
52946 * sysdeps/mach/hurd/ppoll.c: Likewise.
52947 * io/ppoll.c: Likewise.
52948 * debug/poll_chk.c: New file.
52949 * debug/ppoll_chk.c: New file.
52950 * include/bits/poll2.h: New file.
52951 * io/bits/poll2.h: New file.
52954 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
52956 * configure.in: static is always set to yes. Remove.
52957 * config.make.in: Don't set build-static.
52958 * Makeconfig: Remove use of build-static.
52959 * dlfcn/Makefile: Likewise.
52960 * elf/Makefile: Likewise.
52961 * math/Makefile: Likewise.
52962 * misc/Makefile: Likewise.
52963 * nptl/Makefile: Likewise.
52964 * sysdeps/mach/hurd/Makefile: Likewise.
52966 * configure.in: PWD_P is not used anymore.
52967 * config.make.in: Remove PWD_P entry.
52969 * configure.in: Remove last remnants of RANLIB.
52970 No need to check for signed size_t anymore.
52971 Don't set libc_commonpagesize and libc_relro_required here for Alpha
52973 Remove __builtin_expect test because we require at least gcc 3.4.
52974 * aclocal.m4: Likewise.
52976 * wcsmbs/mbrtoc16.c: Implement using towc function.
52977 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
52978 * wcsmbs/wcsmbsload.c: Likewise.
52979 * iconv/gconv_simple.c: Likewise.
52980 * iconv/gconv_int.h: Likewise.
52981 * iconv/gconv_builtin.h: Likewise.
52982 * iconv/iconv_prog.c: Remove CHAR16 handling.
52984 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
52986 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
52988 * configure.in: Remove --with-elf and --enable-bounded options.
52989 Dont set base_machine for ia64. More non-ELF conditions removed.
52990 Remove testing and setting of leading underscore information.
52991 * config.make.in (build-bounded): Set to no.
52992 * config.h.in: Remove NO_UNDERSCORES entry.
52993 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
52995 * csu/start.c: Remove !NO_UNDERSCORE code.
52996 * locale/localeinfo.h: Likewise.
52997 * sysdeps/generic/machine-gmon.h: Likewise.
52998 * sysdeps/generic/sysdep.h: Likewise.
52999 * sysdeps/i386/sysdep.h: Likewise.
53000 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53001 * sysdeps/mach/sysdep.h: Likewise.
53002 * sysdeps/s390/s390-32/sysdep.h: Likewise.
53003 * sysdeps/s390/s390-64/sysdep.h: Likewise.
53004 * sysdeps/sh/sysdep.h: Likewise.
53005 * sysdeps/sparc/sparc32/alloca.S: Likewise.
53006 * sysdeps/unix/i386/sysdep.S: Likewise.
53007 * sysdeps/unix/sparc/start.c: Likewise.
53008 * sysdeps/unix/sparc/sysdep.S: Likewise.
53009 * sysdeps/unix/sparc/sysdep.h: Likewise.
53010 * sysdeps/unix/start.c: Likewise.
53011 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53012 * sysdeps/x86_64/sysdep.h: Likewise.
53014 2012-01-07 Ulrich Drepper <drepper@gmail.com>
53017 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
53019 * argp/argp-fmtstream.h: Use const instead __const.
53020 * argp/argp.h: Likewise.
53021 * assert/assert.h: Likewise.
53022 * bits/fenv.h: Likewise.
53023 * bits/sched.h: Likewise.
53024 * bits/sigset.h: Likewise.
53025 * bits/sigthread.h: Likewise.
53026 * catgets/nl_types.h: Likewise.
53027 * conform/data/pthread.h-data: Likewise.
53028 * crypt/crypt-private.h: Likewise.
53029 * crypt/crypt.h: Likewise.
53030 * crypt/crypt_util.c: Likewise.
53031 * ctype/ctype.h: Likewise.
53032 * debug/execinfo.h: Likewise.
53033 * debug/mbsnrtowcs_chk.c: Likewise.
53034 * debug/mbsrtowcs_chk.c: Likewise.
53035 * debug/wcsnrtombs_chk.c: Likewise.
53036 * debug/wcsrtombs_chk.c: Likewise.
53037 * debug/wcstombs_chk.c: Likewise.
53038 * dirent/dirent.h: Likewise.
53039 * dlfcn/dlfcn.h: Likewise.
53040 * elf/neededtest4.c: Likewise.
53041 * grp/grp.h: Likewise.
53042 * gshadow/gshadow.h: Likewise.
53043 * iconv/gconv.h: Likewise.
53044 * iconv/gconv_int.h: Likewise.
53045 * iconv/gconv_simple.c: Likewise.
53046 * iconv/iconv.h: Likewise.
53047 * iconv/loop.c: Likewise.
53048 * iconv/skeleton.c: Likewise.
53049 * include/aio.h: Likewise.
53050 * include/aliases.h: Likewise.
53051 * include/argz.h: Likewise.
53052 * include/arpa/inet.h: Likewise.
53053 * include/assert.h: Likewise.
53054 * include/dirent.h: Likewise.
53055 * include/dlfcn.h: Likewise.
53056 * include/execinfo.h: Likewise.
53057 * include/fcntl.h: Likewise.
53058 * include/fenv.h: Likewise.
53059 * include/glob.h: Likewise.
53060 * include/grp.h: Likewise.
53061 * include/libintl.h: Likewise.
53062 * include/mntent.h: Likewise.
53063 * include/netdb.h: Likewise.
53064 * include/pwd.h: Likewise.
53065 * include/rpc/netdb.h: Likewise.
53066 * include/sched.h: Likewise.
53067 * include/search.h: Likewise.
53068 * include/shadow.h: Likewise.
53069 * include/signal.h: Likewise.
53070 * include/stdio.h: Likewise.
53071 * include/stdlib.h: Likewise.
53072 * include/string.h: Likewise.
53073 * include/sys/socket.h: Likewise.
53074 * include/sys/stat.h: Likewise.
53075 * include/sys/statfs.h: Likewise.
53076 * include/sys/statvfs.h: Likewise.
53077 * include/sys/syslog.h: Likewise.
53078 * include/sys/time.h: Likewise.
53079 * include/sys/uio.h: Likewise.
53080 * include/time.h: Likewise.
53081 * include/unistd.h: Likewise.
53082 * include/utmp.h: Likewise.
53083 * include/wchar.h: Likewise.
53084 * include/wctype.h: Likewise.
53085 * inet/aliases.h: Likewise.
53086 * inet/arpa/inet.h: Likewise.
53087 * inet/netinet/ether.h: Likewise.
53088 * inet/netinet/in.h: Likewise.
53089 * intl/libintl.h: Likewise.
53090 * io/bits/fcntl2.h: Likewise.
53091 * io/fcntl.h: Likewise.
53092 * io/ftw.h: Likewise.
53093 * io/sys/poll.h: Likewise.
53094 * io/sys/stat.h: Likewise.
53095 * io/sys/statfs.h: Likewise.
53096 * io/sys/statvfs.h: Likewise.
53097 * io/utime.h: Likewise.
53098 * libio/bits/stdio.h: Likewise.
53099 * libio/bits/stdio2.h: Likewise.
53100 * libio/libio.h: Likewise.
53101 * libio/libioP.h: Likewise.
53102 * libio/stdio.h: Likewise.
53103 * locale/lc-ctype.c: Likewise.
53104 * locale/locale.h: Likewise.
53105 * login/utmp.h: Likewise.
53106 * malloc/arena.c: Likewise.
53107 * malloc/malloc.c: Likewise.
53108 * malloc/malloc.h: Likewise.
53109 * malloc/mcheck.c: Likewise.
53110 * malloc/mtrace.c: Likewise.
53111 * math/bits/mathcalls.h: Likewise.
53112 * math/fenv.h: Likewise.
53113 * math/math_private.h: Likewise.
53114 * misc/bits/error.h: Likewise.
53115 * misc/bits/syslog.h: Likewise.
53116 * misc/err.h: Likewise.
53117 * misc/error.h: Likewise.
53118 * misc/fstab.h: Likewise.
53119 * misc/mntent.h: Likewise.
53120 * misc/regexp.h: Likewise.
53121 * misc/search.h: Likewise.
53122 * misc/sgtty.h: Likewise.
53123 * misc/sys/mman.h: Likewise.
53124 * misc/sys/syslog.h: Likewise.
53125 * misc/sys/uio.h: Likewise.
53126 * misc/sys/xattr.h: Likewise.
53127 * misc/ttyent.h: Likewise.
53128 * nis/rpcsvc/ypclnt.h: Likewise.
53129 * nss/nss.h: Likewise.
53130 * posix/bits/unistd.h: Likewise.
53131 * posix/fnmatch.h: Likewise.
53132 * posix/glob.h: Likewise.
53133 * posix/sched.h: Likewise.
53134 * posix/spawn.h: Likewise.
53135 * posix/sys/wait.h: Likewise.
53136 * posix/unistd.h: Likewise.
53137 * posix/wordexp.h: Likewise.
53138 * pwd/pwd.h: Likewise.
53139 * resolv/netdb.h: Likewise.
53140 * resource/sys/resource.h: Likewise.
53141 * rt/aio.h: Likewise.
53142 * rt/bits/mqueue2.h: Likewise.
53143 * rt/mqueue.h: Likewise.
53144 * shadow/shadow.h: Likewise.
53145 * signal/signal.h: Likewise.
53146 * socket/send.c: Likewise.
53147 * socket/sendto.c: Likewise.
53148 * socket/sys/socket.h: Likewise.
53149 * stdio-common/printf.h: Likewise.
53150 * stdlib/bits/stdlib.h: Likewise.
53151 * stdlib/fmtmsg.h: Likewise.
53152 * stdlib/monetary.h: Likewise.
53153 * stdlib/stdlib.h: Likewise.
53154 * stdlib/ucontext.h: Likewise.
53155 * streams/stropts.h: Likewise.
53156 * string/argz.h: Likewise.
53157 * string/bits/string2.h: Likewise.
53158 * string/string.h: Likewise.
53159 * string/strings.h: Likewise.
53160 * sunrpc/rpc/auth.h: Likewise.
53161 * sunrpc/rpc/auth_des.h: Likewise.
53162 * sunrpc/rpc/clnt.h: Likewise.
53163 * sunrpc/rpc/netdb.h: Likewise.
53164 * sunrpc/rpc/pmap_clnt.h: Likewise.
53165 * sunrpc/rpc/xdr.h: Likewise.
53166 * sysdeps/generic/inttypes.h: Likewise.
53167 * sysdeps/generic/net/if.h: Likewise.
53168 * sysdeps/generic/sys/swap.h: Likewise.
53169 * sysdeps/gnu/net/if.h: Likewise.
53170 * sysdeps/gnu/utmpx.h: Likewise.
53171 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
53172 * sysdeps/i386/i486/bits/string.h: Likewise.
53173 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
53174 * sysdeps/s390/bits/string.h: Likewise.
53175 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
53176 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
53177 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
53178 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
53179 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
53180 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
53181 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
53182 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
53183 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
53184 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
53185 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
53186 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
53187 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
53188 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
53189 * sysdeps/unix/sysv/linux/readv.c: Likewise.
53190 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
53191 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
53192 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53193 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
53194 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
53195 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53196 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
53197 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
53198 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
53199 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
53200 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
53201 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
53202 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53203 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
53204 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
53205 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
53206 * sysvipc/sys/ipc.h: Likewise.
53207 * sysvipc/sys/msg.h: Likewise.
53208 * sysvipc/sys/sem.h: Likewise.
53209 * sysvipc/sys/shm.h: Likewise.
53210 * termios/termios.h: Likewise.
53211 * time/sys/time.h: Likewise.
53212 * time/time.h: Likewise.
53213 * wcsmbs/bits/wchar2.h: Likewise.
53214 * wcsmbs/uchar.h: Likewise.
53215 * wcsmbs/wchar.h: Likewise.
53216 * wctype/wctype.h: Likewise.
53219 * Makeconfig: Remove all but ELF support including AIX support.
53220 * Makerules: Likewise.
53221 * config.h.in: Likewise.
53222 * config.make.in: Likewise.
53223 * configure: Likewise.
53224 * configure.in: Likewise.
53225 * csu/Makefile: Likewise.
53226 * csu/version.c: Likewise.
53227 * debug/Makefile: Likewise.
53228 * dlfcn/Makefile: Likewise.
53229 * elf/Makefile: Likewise.
53230 * extra-lib.mk: Likewise.
53231 * iconv/Makefile: Likewise.
53232 * include/libc-symbols.h: Likewise.
53233 * include/shlib-compat.h: Likewise.
53234 * resolv/Makefile: Likewise.
53235 * resolv/res_libc.c: Likewise.
53236 * rt/Makefile: Likewise.
53237 * sysdeps/i386/asm-syntax.h: Likewise.
53238 * sysdeps/i386/sysdep.h: Likewise.
53239 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53240 * sysdeps/mach/sysdep.h: Likewise.
53241 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
53242 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
53243 * sysdeps/s390/asm-syntax.h: Likewise.
53244 * sysdeps/s390/s390-32/sysdep.h: Likewise.
53245 * sysdeps/s390/s390-64/sysdep.h: Likewise.
53246 * sysdeps/sh/sysdep.h: Likewise.
53247 * sysdeps/unix/sparc/sysdep.h: Likewise.
53248 * sysdeps/wordsize-32/divdi3.c: Likewise.
53249 * sysdeps/x86_64/sysdep.h: Likewise.
53251 * argp/Versions: Remove _argp_unlock_xxx.
53254 * abilist/ld.abilist: Update. Adjust for removal of tls option.
53255 * abilist/libBrokenLocale.abilist: Likewise.
53256 * abilist/libanl.abilist: Likewise.
53257 * abilist/libc.abilist: Likewise.
53258 * abilist/libcrypt.abilist: Likewise.
53259 * abilist/libdl.abilist: Likewise.
53260 * abilist/libm.abilist: Likewise.
53261 * abilist/libnsl.abilist: Likewise.
53262 * abilist/libpthread.abilist: Likewise.
53263 * abilist/libresolv.abilist: Likewise.
53264 * abilist/librt.abilist: Likewise.
53265 * abilist/libthread_db.abilist: Likewise.
53266 * abilist/libutil.abilist: Likewise.
53267 * abilist/libnss_db.abilist: New file.
53269 * scripts/abilist.awk: Add support for indirect functions.
53271 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
53273 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
53275 * shlib-versions: Remove entries for ports architectures.
53277 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
53279 * elf/stackguard-macros.h: Remove support for IA-64.
53280 * elf/tst-auditmod1.c: Likewise.
53281 * sysdeps/generic/ldsodefs.h: Likewise.
53283 * sysdeps/unix/sysv/linux/configure.in: Ports should define
53284 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
53288 * configure.in: Remove --enable-omitfp support.
53290 * config.make.in: Likewise.
53291 * Makeconfig: Likewise.
53292 * manual/install.texi: Likewise.
53294 In case anyone cares, the IA-64 architecture could move to ports.
53295 * sysdeps/ia64/*: Removed.
53296 * sysdeps/unix/sysv/linux/ia64/*: Removed.
53297 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
53300 * configure.in: Remove entries for unsupported architectures.
53303 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
53304 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
53306 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
53307 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
53308 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
53309 fall back to using wcrtomb.
53310 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
53311 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
53313 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
53314 * wcsmbs/tst-c16c32-1.c: New file.
53316 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
53319 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
53321 * elf/tst-unique3.cc: Add explicit declaration of gets.
53322 * elf/tst-unique3lib.cc: Likewise.
53323 * elf/tst-unique3lib2.cc: Likewise.
53324 * elf/tst-unique4.cc: Likewise.
53326 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
53328 2012-01-06 Joseph Myers <joseph@codesourcery.com>
53331 * assert/assert.h (static_assert): Don't define for C++.
53332 * libio/stdio.h (gets): Do declare for C++ <= C++11.
53333 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
53335 2012-01-03 Ulrich Drepper <drepper@gmail.com>
53337 * iconv/loop.c (single loop): Fix assertion in storing of
53340 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
53342 2012-01-01 Ulrich Drepper <drepper@gmail.com>
53344 * posix/getconf.c: Update copyright year.
53345 * nss/getent.c: Likewise.
53346 * nss/makedb.c: Likewise.
53347 * iconv/iconvconfig.c: Likewise.
53348 * iconv/iconv_prog.c: Likewise.
53349 * elf/ldconfig.c: Likewise.
53350 * elf/pldd.c: Likewise.
53351 * elf/sotruss.ksh: Likewise.
53352 * catgets/gencat.c: Likewise.
53353 * csu/version.c: Likewise.
53354 * elf/ldd.bash.in: Likewise.
53355 * elf/sprof.c (print_version): Likewise.
53356 * locale/programs/locale.c: Likewise.
53357 * locale/programs/localedef.c: Likewise.
53358 * login/programs/pt_chown.c: Likewise.
53359 * nscd/nscd.c (print_version): Likewise.
53360 * debug/xtrace.sh: Likewise.
53361 * malloc/memusage.sh: Likewise.
53362 * malloc/mtrace.pl: Likewise.
53363 * debug/catchsegv.sh: Likewise.
53365 2011-12-30 Jakub Jelinek <jakub@redhat.com>
53367 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
53370 2011-12-24 Ulrich Drepper <drepper@gmail.com>
53373 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
53374 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
53376 * iconv/gconv_int.h: Likewise.
53377 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
53378 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
53379 from libc for GLIBC_2.16.
53380 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
53381 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
53382 * wcsmbs/uchar.h: Really define mbstate_t.
53383 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
53384 * wcsmbs/c16rtomb.c: New file.
53385 * wcsmbs/mbrtoc16.c: New file.
53386 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
53387 for C/POSIX locale.
53388 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
53389 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
53391 * wcsmbs/wchar.h: Add missing __restrict.
53393 2011-12-23 Ulrich Drepper <drepper@gmail.com>
53396 * time/Makefile (routines): Add timespec_get.
53397 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
53398 * time/time.h: Define TIME_UTC and declare timespec_get. Define
53399 timespec for ISO C11.
53400 * time/timespec_get.c: New file.
53401 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
53402 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
53405 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
53406 * stdlib/stdlib.h: Declare aligned_alloc.
53407 * Versions.def: Add GLIBC_2.16 for libc.
53408 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
53411 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
53414 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
53418 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
53421 * assert/assert.h (static_assert): Define.
53423 * version.h: Update for 2.16 development version.
53426 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
53429 * version.h (RELEASE): Bump for 2.15 release.
53430 * include/features.h (__GLIBC_MINOR__): Bump to 15.
53432 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
53433 Patch by Marek Polacek <mpolacek@redhat.com>.
53435 * bits/byteswap.h: Protect long long constants with __extension__.
53436 * sysdeps/i386/bits/byteswap.h: Likewise.
53437 * sysdeps/ia64/bits/byteswap.h: Likewise.
53438 * sysdeps/s390/bits/byteswap.h: Likewise.
53439 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53441 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53444 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
53445 destination buffer.
53446 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
53448 2011-12-23 Marek Polacek <polacek@redhat.com>
53450 * elf/dl-addr.c (determine_info): Add inline keyword.
53451 * elf/tst-auditmod4b.c (check_avx): Likewise.
53452 * elf/tst-auditmod6b.c (check_avx): Likewise.
53453 * elf/tst-auditmod6c.c (check_avx): Likewise.
53454 * elf/tst-auditmod7b.c (check_avx): Likewise.
53456 2011-12-23 Ulrich Drepper <drepper@gmail.com>
53458 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
53461 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53464 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
53465 processing for last bytes.
53467 2011-08-06 Bruno Haible <bruno@clisp.org>
53470 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
53471 U+0385, not to U+1FEE.
53474 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
53475 entry for U+00A5 U+0301.
53477 2011-12-22 Ulrich Drepper <drepper@gmail.com>
53480 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
53481 buffer for the output is too small.
53483 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
53487 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
53488 SSE flags if possible.
53490 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53493 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
53494 processing for last bytes.
53496 2011-12-22 Joseph Myers <joseph@codesourcery.com>
53498 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
53499 (syscall-list-default-options, syscall-list-default-condition)
53500 (syscall-list-includes): Define.
53501 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
53502 list of ABIs and options and #if conditions for each ABI. Do not
53503 handle common syscalls between ABIs specially.
53504 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
53506 (syscall-list-variants, syscall-list-32bit-options)
53507 (syscall-list-32bit-condition, syscall-list-64bit-options)
53508 (syscall-list-64bit-condition): Define.
53509 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
53510 (syscall-list-variants, syscall-list-32bit-options)
53511 (syscall-list-32bit-condition, syscall-list-64bit-options)
53512 (syscall-list-64bit-condition): Define.
53513 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
53515 (syscall-list-variants, syscall-list-32bit-options)
53516 (syscall-list-32bit-condition, syscall-list-64bit-options)
53517 (syscall-list-64bit-condition): Define.
53518 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
53520 (syscall-list-variants, syscall-list-32bit-options)
53521 (syscall-list-32bit-condition, syscall-list-64bit-options)
53522 (syscall-list-64bit-condition): Define.
53524 2011-12-22 Ulrich Drepper <drepper@gmail.com>
53526 * locale/iso-639.def: Add brx entry.
53529 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
53530 Proposed by Mariusz_Cukr <marcukr@op.pl>.
53532 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
53533 __feraiseexcept_renamed.
53535 2011-12-21 Ulrich Drepper <drepper@gmail.com>
53538 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
53539 EPOLLET with unsigned values.
53540 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53541 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53543 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
53544 to large cancellation.
53545 * math/s_cacoshf.c: Likewise.
53546 * math/s_cacoshl.c: Likewise.
53548 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
53552 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
53553 * math/s_cacoshf.c: Likewise.
53554 * math/s_cacoshl.c: Likewise.
53556 2011-12-21 Ulrich Drepper <drepper@gmail.com>
53559 * iconv/gconv.h: Define __GCONV_SWAP.
53560 * iconvdata/unicode.c: The swap bit must be stored in __flags.
53561 * iconvdata/utf-16.c: Likewise.
53562 * iconvdata/utf-32.c: Likewise.
53564 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
53567 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
53568 numerator after shifting it by one limb.
53570 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
53572 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
53573 under [__USE_EXTERN_INLINES].
53575 2011-12-17 Ulrich Drepper <drepper@gmail.com>
53578 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
53580 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53582 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
53583 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
53585 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
53586 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
53587 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
53588 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
53589 for strncasecmp/strncasecmp_l compilation.
53590 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
53591 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
53593 2011-12-08 Marek Polacek <mpolacek@redhat.com>
53596 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
53599 2011-12-17 Ulrich Drepper <drepper@gmail.com>
53602 * time/tzfile.c (__tzfile_read): Check values from file header.
53604 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
53606 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
53607 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
53608 * powerpc/powerpc32/dl-start.S: Likewise.
53609 * powerpc/powerpc32/elf/start.S: Likewise.
53610 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
53611 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
53612 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
53613 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
53614 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
53615 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
53616 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
53617 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53618 * powerpc/powerpc32/fpu/s_round.S: Likewise.
53619 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
53620 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
53621 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
53622 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
53623 * powerpc/powerpc32/memset.S: Likewise.
53624 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
53625 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53626 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53627 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53628 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53629 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
53630 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
53631 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
53632 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
53633 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
53634 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
53635 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53636 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53638 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53640 * math/libm-test.inc: Added more nearbyint tests.
53641 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
53642 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
53643 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
53644 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
53646 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
53648 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
53651 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53653 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
53654 Add wcscpy-ssse3 wcscpy-c.
53655 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
53656 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
53657 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
53658 * sysdeps/x86_64/wcschr.S: New file.
53659 * sysdeps/x86_64/wcsrchr.S: New file.
53660 * string/test-strcmp.c: Remove checking of wcscmp function for
53662 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
53663 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
53664 wcsrchr-sse2 wcsrchr-c.
53665 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
53666 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
53667 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
53668 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
53669 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
53670 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
53671 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
53672 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
53673 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
53674 * wcsmbc/wcschr.c (WCSCHR): New macro.
53676 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53678 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
53679 * wcsmbs/test-wcsrchr.c: New file.
53680 * string/test-strrchr.c: Add wcsrchr support.
53682 * wcsmbs/test-wcscpy.c: New file.
53683 * string/test-strcpy.c: Add wcscpy support.
53686 2011-12-10 Ulrich Drepper <drepper@gmail.com>
53688 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
53691 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
53694 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
53696 2011-12-04 Ulrich Drepper <drepper@gmail.com>
53698 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
53699 Minor optimizations.
53701 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
53702 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
53703 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
53705 2011-12-03 Ulrich Drepper <drepper@gmail.com>
53707 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
53708 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
53709 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
53710 for gcc to avoid warnings.
53711 * inet/Makefile (tests): Add tst-checks.
53712 * inet/tst-checks.c: New file.
53714 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
53717 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
53720 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
53721 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
53723 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
53725 2011-12-02 Ulrich Drepper <drepper@gmail.com>
53727 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
53730 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
53732 2011-11-29 Joseph Myers <joseph@codesourcery.com>
53734 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
53735 conditional on GCC version.
53736 (__arch_compare_and_exchange_val_8_acq)
53737 (__arch_compare_and_exchange_val_16_acq)
53738 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
53739 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
53740 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
53742 2011-12-02 Joseph Myers <joseph@codesourcery.com>
53744 * sysdeps/sh/backtrace.c: New file.
53746 2011-12-02 Andreas Schwab <schwab@redhat.com>
53748 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
53751 2011-12-01 Andreas Schwab <schwab@redhat.com>
53753 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
53754 falling back to utime.
53756 2011-11-30 Andreas Schwab <schwab@redhat.com>
53758 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
53759 expectations for float.
53761 2011-11-29 Andreas Schwab <schwab@redhat.com>
53763 * locale/weight.h (findidx): Add parameter len.
53764 * locale/weightwc.h (findidx): Likewise.
53765 * posix/fnmatch_loop.c (FCT): Adjust caller.
53766 * posix/regcomp.c (build_equiv_class): Likewise.
53767 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
53768 * posix/regexec.c (check_node_accept_bytes): Likewise.
53769 * string/strcoll_l.c (STRCOLL): Likewise.
53770 * string/strxfrm_l.c (STRXFRM): Likewise.
53772 2011-11-17 Ulrich Drepper <drepper@gmail.com>
53774 * Makefile.in: Remove CVSOPT handling.
53775 * configure.in: Remove use of AC_REVISION.
53776 * iconvdata/Makefile (distribute): No need to filter out CVS.
53777 * scripts/list-sources.sh: Remove CVS, subversion and monotone
53780 2011-11-16 Andreas Schwab <schwab@redhat.com>
53782 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
53783 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
53784 [USE_AS_STRNCASECMP_L]: Likewise.
53785 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
53786 NO_TLS_DIRECT_SEG_REFS.
53787 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
53788 Fix argument offsets for non-PIC.
53789 [USE_AS_STRNCASECMP_L]: Likewise.
53790 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
53791 NO_TLS_DIRECT_SEG_REFS.
53793 2011-11-15 Ulrich Drepper <drepper@gmail.com>
53795 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
53797 * locale/loadlocale.c (_nl_load_locale): Likewise.
53799 2011-11-15 Andreas Schwab <schwab@redhat.com>
53801 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
53802 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
53803 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
53804 (SYSCALL_GETTIME): Set errno on error.
53806 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
53807 count references to noai6ai_cached.
53809 2011-11-15 Ulrich Drepper <drepper@gmail.com>
53811 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
53813 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
53814 FD_CLOEXEC for /proc/self/maps.
53816 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
53817 FD_CLOEXEC for /proc/meminfo.
53819 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
53822 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
53823 FD_CLOEXEC for given file.
53825 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
53827 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
53828 FD_CLOEXEC for /etc/hosts.
53829 (_gethtent): Likewise.
53831 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
53833 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
53834 cancellation and set FD_CLOEXEC for /etc/netgroup.
53836 * nss/nss_files/files-key.c (search): Don't allow cancellation when
53837 reading /etc/publickey.
53839 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
53840 allow cancellation when reading /etc/group.
53842 * nss/nss_files/files-alias.c (internal_setent): Don't allow
53844 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
53846 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
53847 when using data file.
53849 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
53851 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
53852 (write_nis_obj): Use "c" and "e" in fopen.
53854 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
53856 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
53858 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
53860 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
53862 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
53865 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
53867 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
53869 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
53871 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
53872 file parsing and set FD_CLOEXEC.
53874 2011-11-14 Ulrich Drepper <drepper@gmail.com>
53876 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
53878 2011-11-14 Andreas Schwab <schwab@redhat.com>
53880 * malloc/arena.c (arena_get2): Don't call reused_arena when
53881 _int_new_arena failed.
53883 2011-11-14 Ulrich Drepper <drepper@gmail.com>
53885 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
53886 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
53887 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
53888 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53889 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53890 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
53891 to compile strcasecmp and strncasecmp.
53892 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
53893 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
53895 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
53897 2011-11-13 Ulrich Drepper <drepper@gmail.com>
53899 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
53900 locale-defines.sym to gen-as-const-headers.
53901 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
53902 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
53903 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
53904 to compile strcasecmp and strncasecmp.
53905 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
53906 strcasecmp_l and strncasecmp_l.
53907 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
53908 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
53909 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
53910 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
53911 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
53912 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
53913 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
53914 * sysdeps/i386/i686/multiarch/strncase.S: New file.
53915 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
53916 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
53917 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
53919 2011-11-12 Ulrich Drepper <drepper@gmail.com>
53921 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
53922 result of SYSDEP_GETTIME_CPU to retval.
53923 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
53924 parameter list to macro. Remove trailing semicolon. Adjust users.
53926 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
53929 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
53931 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
53933 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
53934 from unused variable.
53936 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
53938 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
53941 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
53944 * sunrpc/rpc_prot.c (rejected): Fix case value.
53946 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
53947 unsigned long long int to avoid warnings in shift.
53949 * posix/regex_internal.c (re_string_reconstruct): Actually use result
53951 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
53954 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
53955 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
53956 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
53958 * nis/nis_table.c (nis_list): Use variable of correct type for
53959 result of __follow_path call.
53961 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53963 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
53964 of math functions ceil, trunc, floor, round, and sqrt, when
53965 avaliable on the platform.
53966 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
53968 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53969 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53970 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53972 2011-10-30 Marek Polacek <mpolacek@redhat.com>
53974 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
53975 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
53977 2011-11-11 Roland McGrath <roland@hack.frob.com>
53979 * include/unistd.h: Fix __readlink return type.
53980 Reported by Chris Metcalf <cmetcalf@tilera.com>.
53982 2011-11-11 Ulrich Drepper <drepper@gmail.com>
53984 * stdlib/ucontext.h: Undo last change for makecontext.
53986 2011-11-11 Andreas Schwab <schwab@redhat.com>
53988 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
53990 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
53991 * setjmp/setjmp.h: Mark functions as non-leaf.
53992 * setjmp/bits/setjmp2.h: Likewise.
53993 * stdlib/ucontext.h: Likewise.
53995 2011-11-10 Andreas Schwab <schwab@redhat.com>
53997 * malloc/arena.c (_int_new_arena): Don't increment narenas.
53998 (reused_arena): Don't check arena limit.
53999 (arena_get2): Atomically check arena limit.
54001 2011-11-08 Ulrich Drepper <drepper@gmail.com>
54003 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
54004 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
54006 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
54009 2011-11-07 Andreas Schwab <schwab@redhat.com>
54011 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
54012 handler when locking.
54014 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54015 Fix size of allocated buffer.
54017 2011-11-04 Andreas Schwab <schwab@redhat.com>
54020 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
54021 declarations for long double functions.
54022 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
54024 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
54026 2011-11-03 Andreas Schwab <schwab@redhat.com>
54028 * nscd/nscd.c (main): Don't start AVC thread until credentials are
54031 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
54034 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
54036 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
54038 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
54040 * include/alloca.h (stackinfo_alloca_round): Define.
54041 (extend_alloca): Use it.
54042 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
54043 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
54046 * scripts/check-local-headers.sh: Ignore libaudit.h.
54048 * nscd/Makefile (extra-objs): Make recursively expanded.
54050 2011-11-01 Ulrich Drepper <drepper@gmail.com>
54052 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
54053 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
54055 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
54056 * posix/tst-rfc3484-2.c: Likewise.
54057 * posix/tst-rfc3484-3.c: Likewise.
54059 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54061 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
54063 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
54064 process_vm_writev from libc using GLIBC_2.15 version.
54066 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
54068 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
54070 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
54073 2011-10-31 Ulrich Drepper <drepper@gmail.com>
54076 * nss/getent.c (initgroups_keys): Show error message in case no group
54079 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
54080 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
54081 __bump_nl_timestamp.
54082 * nscd/connections (nscd_init): When host database is served open
54083 netlink socket and request notification about configuration changes.
54084 (main_loop_poll): Track netlink file descriptor and bump timestamp
54085 in case data becomes available.
54086 (main_loop_epoll): Likewise.
54087 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
54088 (database_pers_head): Add extra_data fileds.
54089 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
54090 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
54091 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
54093 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
54094 in6ai data, call __free_in6ai.
54095 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
54096 Add -DHAVE_NETLINK.
54097 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
54098 interface information. Reuse previous data if netlink timestamp
54100 (__bump_nl_timestamp): New function.
54101 (__free_in6ai): New function.
54103 2011-10-30 Ulrich Drepper <drepper@gmail.com>
54105 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
54106 close_not_cancel_no_status here.
54107 (__check_pf): Reorganize code a bit to not call close twice if OOM.
54109 2011-10-29 Ulrich Drepper <drepper@gmail.com>
54112 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
54115 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
54116 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
54117 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
54119 2011-07-03 Andreas Jaeger <aj@suse.de>
54122 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
54123 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
54124 * math/libm-test.inc (sin_test): Add test case.
54126 2011-10-29 Ulrich Drepper <drepper@gmail.com>
54129 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
54130 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54132 * elf/chroot_canon.c (chroot_canon): Cleanups.
54134 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
54137 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
54138 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54140 * string/test-strchr.c: Make usable for strchrnul testing.
54141 * string/test-strchrnul.c: New file.
54142 * string/Makefile (strop-tests): Add strchrnul.
54144 * po/it.po: Update from translation team.
54145 * po/es.po: Likewise.
54147 2011-10-28 Ulrich Drepper <drepper@gmail.com>
54149 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
54150 the three constants needed as parameters. Drop the others.
54151 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
54152 __m128i_strloadu_tolower.
54153 Create and initialize variable zero and use it in all the places
54154 where _mm_setzero_si128 was used.
54156 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
54157 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
54158 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
54159 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
54161 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
54162 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
54163 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
54164 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
54165 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
54166 __mpranred, __mptan.
54167 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
54168 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
54169 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
54170 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
54171 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
54172 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
54173 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
54174 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
54175 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
54177 2011-10-28 Andreas Schwab <schwab@redhat.com>
54179 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
54180 redefine if SHARED.
54181 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
54183 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
54184 wide char related routines to wcsmbs subdir.
54186 2011-10-27 Andreas Schwab <schwab@redhat.com>
54189 * misc/sys/cdefs.h (__THROWNL): Define.
54190 * posix/unistd.h: Use __THREADNL instead of __THREAD
54191 for memory synchronization functions.
54193 2011-10-26 Roland McGrath <roland@hack.frob.com>
54196 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
54198 * manual/stdio.texi (Obstack Streams): Node removed.
54200 2011-10-26 Andreas Schwab <schwab@redhat.com>
54202 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
54203 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54204 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54206 * math/math_private.h (math_force_eval): Allow non-addressable
54208 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
54210 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54212 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
54213 file is not needed.
54215 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
54216 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
54217 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54218 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54219 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54220 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54221 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54222 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
54224 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
54225 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
54226 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
54227 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
54228 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
54229 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
54230 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
54231 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
54232 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
54233 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
54234 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
54235 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
54236 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
54237 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
54238 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
54239 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
54240 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
54241 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
54242 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
54244 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
54245 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
54247 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
54248 place. Use VEX encoding when compiling for AVX.
54250 2011-10-25 Andreas Schwab <schwab@redhat.com>
54252 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
54253 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54255 * string/test-strchr.c (do_test): Don't generate NUL bytes.
54257 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54259 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
54260 useless if() expression.
54261 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54262 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54263 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54264 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54265 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54266 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54267 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54268 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54269 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54270 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54271 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54272 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54273 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54274 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54275 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54276 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54277 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54278 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54279 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54281 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
54283 2011-10-25 Andreas Schwab <schwab@redhat.com>
54285 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
54287 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54289 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54291 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
54292 .text section. Avoid duplicate constants.
54293 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54294 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54295 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54296 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54297 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54298 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54299 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54300 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54301 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54302 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
54303 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54304 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54305 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54306 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54307 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54308 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54309 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54310 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54311 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54312 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54313 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54314 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54315 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54316 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
54317 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
54318 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
54319 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
54320 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
54321 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
54322 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
54323 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
54324 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
54325 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54326 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
54327 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
54328 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
54329 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
54330 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
54331 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
54332 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
54333 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
54334 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
54335 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
54336 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
54337 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
54339 2011-10-24 Ulrich Drepper <drepper@gmail.com>
54341 * sysdeps/x86_64/dla.h: Move to ...
54342 * sysdeps/x86_64/fpu/dla.h: ...here.
54343 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
54344 situations. Use __builtin_fma only for gcc 4.6 and up.
54346 * config.make.in: Add have-mfma4 entry.
54347 * configure.in: Substitute libc_cv_cc_fma4.
54348 * math/Makefile (dbl-only-routines): Add sincostab.
54349 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
54350 Use __sincostab not sincos.
54351 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
54353 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54354 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54355 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54356 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
54358 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
54359 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
54360 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
54361 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
54363 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
54364 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
54366 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
54367 define aliases when function name is a macro.
54368 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
54369 sysdeps/ieee754/dbl-64/sincos.tbl.
54370 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
54371 fma4-enabled routines.
54372 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
54373 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
54374 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
54375 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
54376 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
54377 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
54378 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
54379 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
54380 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
54381 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
54382 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
54383 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
54384 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
54385 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
54386 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
54387 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
54388 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
54389 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
54390 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
54391 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
54392 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
54393 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
54394 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
54395 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
54396 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
54397 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
54398 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
54399 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
54400 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
54401 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
54403 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
54405 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54406 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54407 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54408 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54409 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54410 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54411 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54412 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54414 2011-10-24 Andreas Schwab <schwab@redhat.com>
54416 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
54418 2011-10-23 Ulrich Drepper <drepper@gmail.com>
54420 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
54422 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
54424 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
54426 * string/strnlen.c: Don't define STRNLEN, reverse logic.
54427 Remove unused variable magic_bits.
54428 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
54430 * string/strnlen.c: Define and use STRNLEN macro.
54431 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
54432 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
54433 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
54434 * wcsmbs/wcslen.c: Define and use WCSLEN.
54435 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
54436 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
54437 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
54438 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
54439 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
54440 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
54441 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
54443 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54445 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54446 strnlen-sse2-no-bsf.
54447 Rename strlen-no-bsf to strlen-sse2-no-bsf.
54448 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
54449 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
54450 Add strnlen support.
54451 (USE_AS_STRNLEN): New macro.
54452 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
54453 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
54454 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
54455 * sysdeps/x86_64/wcslen.S: New file.
54457 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
54459 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54460 XMM-moves are used for copying on small sizes.
54462 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54464 * wcsmbs/Makefile (strop-tests): Add wcschr.
54465 * wcsmbs/test-wcschr.c: New file.
54466 * string/test-strchr.c: Update.
54467 Add wcschr support.
54470 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54472 * wcsmbs/Makefile (strop-tests): Add wcslen.
54473 * wcsmbs/test-wcslen.c: New file.
54474 * string/test-strlen.c: Update.
54475 Add wcslen support.
54478 2011-10-23 Ulrich Drepper <drepper@gmail.com>
54480 * po/it.po: Update from translation team.
54482 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54484 * sysdeps/x86_64/wcscmp.S: Update.
54485 Fix wrong comparison semantics.
54486 wcscmp shall use signed comparison not unsigned.
54487 Don't use substraction to avoid overflow bug.
54488 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
54489 * wcsmbc/wcscmp.c: Likewise.
54490 * string/test-strcmp.c: Likewise.
54491 Add new tests to check cases with negative values.
54493 2011-10-23 Ulrich Drepper <drepper@gmail.com>
54495 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
54496 * sysdeps/x86_64/dla.h: ...here. New file.
54497 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
54498 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54499 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54500 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54501 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54502 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54503 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54504 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54505 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54507 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
54509 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
54510 __ynl_finite aliases.
54512 2011-10-22 Ulrich Drepper <drepper@gmail.com>
54514 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54516 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
54518 [DLA_FMA] (EMULV): Use DLA_FMA.
54519 [DLA_FMA] (MUL12): Use EMULV.
54520 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
54521 that are not needed.
54522 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54523 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54524 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54525 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54526 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54527 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54528 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54530 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
54532 * math/s_nan.c: Undef __nan.
54533 * math/s_nanf.c: Undef __nanf.
54534 * math/s_nanl.c: Undef __nanl.
54535 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
54538 2011-10-22 Ulrich Drepper <drepper@gmail.com>
54540 * math/s_catan.c: Add branch predictions.
54541 * math/s_catanf.c: Likewise.
54542 * math/s_catanh.c: Likewise.
54543 * math/s_catanhf.c: Likewise.
54544 * math/s_catanhl.c: Likewise.
54545 * math/s_catanl.c: Likewise.
54546 * math/s_cexp.c: Likewise.
54547 * math/s_cexpf.c: Likewise.
54548 * math/s_cexpl.c: Likewise.
54549 * math/s_clog.c: Likewise.
54550 * math/s_clog10.c: Likewise.
54551 * math/s_clog10f.c: Likewise.
54552 * math/s_clog10l.c: Likewise.
54553 * math/s_clogf.c: Likewise.
54554 * math/s_clogl.c: Likewise.
54555 * math/s_csqrt.c: Likewise.
54556 * math/s_csqrtf.c: Likewise.
54557 * math/s_csqrtl.c: Likewise.
54558 * math/s_ctanf.c: Likewise.
54559 * math/s_ctanh.c: Likewise.
54560 * math/s_ctanhf.c: Likewise.
54561 * math/s_ctanhl.c: Likewise.
54562 * math/s_ctanl.c: Likewise.
54564 * math/math_private.h: Define __nan, __nanf, __nanl.
54565 * math/s_cacosh.c: Include <math_private.h>.
54566 * math/s_cacoshl.c: Likewise.
54567 * math/s_casinh.c: Likewise.
54568 * math/s_casinhf.c: Likewise.
54569 * math/s_casinhl.c: Likewise.
54570 * math/s_ccos.c: Rely entire on ccosh.
54571 * math/s_ccosf.c: Rely entire on ccoshf.
54572 * math/s_ccosl.c: Rely entirely on ccoshl.
54573 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
54574 Remove tests for FE_INVALID.
54575 * math/s_ccoshf.c: Likewise.
54576 * math/s_ccoshl.c: Likewise.
54577 * math/s_csin.c: Likewise.
54578 * math/s_csinf.c: Likewise.
54579 * math/s_csinh.c Likewise.
54580 * math/s_csinhf.c: Likewise.
54581 * math/s_csinhl.c: Likewise.
54582 * math/s_csinl.c: Likewise.
54583 * math/s_ctan.c: Likewise.
54584 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
54585 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
54586 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
54588 2011-10-21 Ulrich Drepper <drepper@gmail.com>
54590 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
54591 compilation problems.
54593 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
54596 2011-10-20 Ulrich Drepper <drepper@gmail.com>
54598 * sysdeps/i386/configure.in: Test for -mfma4 option.
54599 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
54600 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
54601 COMMON_CPUID_INDEX_80000001.
54602 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
54603 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
54604 use it if FMA3 is not supported.
54605 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
54607 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
54608 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54610 2011-10-20 Andreas Schwab <schwab@redhat.com>
54613 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
54614 it would create a cycle with a link time dependency.
54616 2011-10-19 Ulrich Drepper <drepper@gmail.com>
54618 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
54620 * string/Makefile (strop-tests): Add rawmemchr.
54621 * string/test-rawmemchr.c: New file.
54623 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
54624 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
54625 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
54626 when compiling str{,n}casecmp and when AVX is available. Hook up
54627 new optimized code in initializers.
54629 2011-10-19 Andreas Schwab <schwab@redhat.com>
54631 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
54632 __feraiseexcept instead of feraiseexcept.
54634 2011-10-18 Ulrich Drepper <drepper@gmail.com>
54636 * math/math_private.h: Define defaults for libc_fetestexcept and
54638 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
54639 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
54640 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54641 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54642 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54643 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54644 libc_fetestexcept and libc_feupdateenv.
54646 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
54647 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
54648 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
54649 * sysdeps/x86_64/fpu/math_private.h: Define special version of
54650 libc_feholdexcept_setround.
54652 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
54653 Add s_nearbyint-c and s_nearbyintf-c.
54654 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
54655 nearbyintf inlines.
54656 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
54657 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
54658 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
54659 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
54661 * math/math_private.h: Define defaults for libc_fegetround,
54662 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
54663 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
54664 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
54665 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
54666 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
54667 standard functions.
54668 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54669 Remove comments and hacks for old compiler versions.
54670 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54671 libc_fegetround, libc_fesetround, libc_feholdexcept, and
54672 libc_feholdexceptl.
54674 2011-10-18 Andreas Schwab <schwab@redhat.com>
54676 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
54677 (__feraiseexcept_renamed): Add __NTH.
54678 (feraiseexcept): Add __NTH. Rename local variables to fix
54679 namespace violations.
54681 2011-10-17 Ulrich Drepper <drepper@gmail.com>
54683 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
54685 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
54687 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
54688 recently added interfaces.
54689 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
54691 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
54692 about macro parameter expansion.
54694 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
54695 __NO_MATH_INLINES is defined. Cleanups.
54697 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
54698 and __floorf is target has SSE4.1.
54699 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
54700 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
54701 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
54702 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
54704 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
54706 (floorf): Likewise.
54708 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
54710 2011-10-17 Andreas Schwab <schwab@redhat.com>
54712 * misc/sys/cdefs.h: Fix last change.
54714 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
54717 2011-10-16 Ulrich Drepper <drepper@gmail.com>
54719 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
54721 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
54722 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54723 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54724 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54725 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54726 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54727 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54728 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54729 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54730 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
54731 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
54732 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
54733 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
54734 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
54735 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
54736 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
54737 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
54738 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
54739 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
54740 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
54741 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
54742 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
54744 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
54745 ceil, ceilf, floor, floorf.
54747 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
54748 Perform IRELATIVE relocations last.
54750 * elf/do-rel.h: Add another parameter nrelative, replacing the
54751 local variable with the same name. Change name of the function
54752 to end in Rel or Rela (uppercase).
54753 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
54754 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
54755 elf_dynamic_do_##reloc function.
54757 2011-10-15 Ulrich Drepper <drepper@gmail.com>
54759 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
54760 is sufficient, at least on modern CPUs.
54762 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
54764 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
54765 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
54767 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
54769 * math/bits/math-finite.h: Add entries for exp.
54770 * math/e_expl.c: Add __*_finite alias.
54771 * sysdeps/i386/fpu/e_exp.S: Likewise.
54772 * sysdeps/i386/fpu/e_expf.S: Likewise.
54773 * sysdeps/i386/fpu/e_expl.c: Likewise.
54774 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54775 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54776 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54777 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54778 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
54779 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54780 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54782 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
54783 is sufficient, at least on modern CPUs.
54785 * ctype/ctype-info.c (__ctype_init): Define.
54786 * include/ctype.h (__ctype_init): Declare.
54787 (__ctype_b_loc): The variable is always initialized.
54788 (__ctype_toupper_loc): Likewise.
54789 (__ctype_tolower_loc): Likewise.
54790 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
54791 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
54793 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
54795 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
54797 * configure.in: Also look in $cxxmachine/include for C++ system
54800 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54802 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
54803 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
54804 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
54805 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
54806 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
54807 (USE_AS_WMEMCMP): New macro.
54809 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
54810 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
54811 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
54812 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
54813 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54814 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
54815 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
54816 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
54817 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
54818 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
54819 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
54820 (USE_AS_WMEMCMP): New macro.
54821 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
54822 * sysdeps/string/test-memcmp.c: Update.
54823 Fix simple_wmemcmp.
54825 * wcsmbs/wmemcmp.c: Update.
54826 (WMEMCMP): New macro.
54829 2011-10-12 Andreas Jaeger <aj@suse.de>
54832 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
54834 2011-10-15 Ulrich Drepper <drepper@gmail.com>
54836 * libio/iofwide.c (do_length): Avoid warning.
54838 * ctype/ctype.h (__isctype_f): Add missing __THROW.
54840 2011-10-14 Ulrich Drepper <drepper@gmail.com>
54842 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
54844 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
54845 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
54846 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
54847 * sysdeps/i386/i686/fpu/e_log.S: New file.
54848 * sysdeps/i386/i686/fpu/e_logf.S: New file.
54849 * sysdeps/i386/i686/fpu/e_logl.S: New file.
54851 * ctype/ctype.h: Add support for inlined isXXX functions when
54852 compiling C++ code.
54854 2011-10-14 Andreas Schwab <schwab@redhat.com>
54856 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54858 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
54860 2011-10-13 Roland McGrath <roland@hack.frob.com>
54863 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
54865 2011-10-13 Andreas Schwab <schwab@redhat.com>
54867 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
54868 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
54871 * sysdeps/x86_64/memrchr.S: Check for zero size.
54873 * string/stratcliff.c: Add memrchr tests.
54875 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54877 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54878 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
54879 rawmemchr-sse2 rawmemchr-sse2-bsf.
54880 * sysdeps/i386/i686/multiarch/memchr.S: New file.
54881 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
54882 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
54883 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
54884 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
54885 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
54886 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
54887 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
54888 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
54889 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
54890 * string/memrchr.c (MEMRCHR): New macro.
54892 2011-10-12 Ulrich Drepper <drepper@gmail.com>
54894 Add integration with gcc's -ffinite-math-only and optimize wrapper
54896 * Versions.def: Define GLIBC_2.15 version for libm.
54897 * math/Makefile (headers): Add bits/math-finite.h.
54898 * math/bits/math-finite.h: New file.
54899 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
54900 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
54901 * math/e_acoshl.c: Add __*_finite alias.
54902 * math/e_acosl.c: Likewise.
54903 * math/e_asinl.c: Likewise.
54904 * math/e_atan2l.c: Likewise.
54905 * math/e_atanhl.c: Likewise.
54906 * math/e_coshl.c: Likewise.
54907 * math/e_exp10.c: Likewise.
54908 * math/e_exp10f.c: Likewise.
54909 * math/e_exp10l.c: Likewise.
54910 * math/e_exp2l.c: Likewise.
54911 * math/e_fmodl.c: Likewise.
54912 * math/e_gammal_r.c: Likewise.
54913 * math/e_hypotl.c: Likewise.
54914 * math/e_j0l.c: Likewise.
54915 * math/e_j1l.c: Likewise.
54916 * math/e_jnl.c: Likewise.
54917 * math/e_lgammal_r.c: Likewise.
54918 * math/e_log10l.c: Likewise.
54919 * math/e_log2l.c: Likewise.
54920 * math/e_logl.c: Likewise.
54921 * math/e_powl.c: Likewise.
54922 * math/e_sinhl.c: Likewise.
54923 * math/e_sqrtl.c: Likewise.
54924 * math/e_scalb.c: Completely rewritten and optimized.
54925 * math/e_scalbf.c: Likewise.
54926 * math/e_scalbl.c: Likewise.
54927 * math/w_acos.c: Likewise.
54928 * math/w_acosf.c: Likewise.
54929 * math/w_acosl.c: Likewise.
54930 * math/w_acosh.c: Likewise.
54931 * math/w_acoshf.c: Likewise.
54932 * math/w_acoshl.c: Likewise.
54933 * math/w_asin.c: Likewise.
54934 * math/w_asinf.c: Likewise.
54935 * math/w_asinl.c: Likewise.
54936 * math/w_atan2.c: Likewise.
54937 * math/w_atan2f.c: Likewise.
54938 * math/w_atan2l.c: Likewise.
54939 * math/w_atanh.c: Likewise.
54940 * math/w_atanhf.c: Likewise.
54941 * math/w_atanhl.c: Likewise.
54942 * math/w_exp10.c: Likewise.
54943 * math/w_exp10f.c: Likewise.
54944 * math/w_exp10l.c: Likewise.
54945 * math/w_fmod.c: Likewise.
54946 * math/w_fmodf.c: Likewise.
54947 * math/w_fmodl.c: Likewise.
54948 * math/w_j0.c: Likewise.
54949 * math/w_j0f.c: Likewise.
54950 * math/w_j0l.c: Likewise.
54951 * math/w_j1.c: Likewise.
54952 * math/w_j1f.c: Likewise.
54953 * math/w_j1l.c: Likewise.
54954 * math/w_jn.c: Likewise.
54955 * math/w_jnf.c: Likewise.
54956 * math/w_log.c: Likewise.
54957 * math/w_logf.c: Likewise.
54958 * math/w_logl.c: Likewise.
54959 * math/w_log10.c: Likewise.
54960 * math/w_log10f.c: Likewise.
54961 * math/w_log10l.c: Likewise.
54962 * math/w_log2.c: Likewise.
54963 * math/w_log2f.c: Likewise.
54964 * math/w_log2l.c: Likewise.
54965 * math/w_pow.c: Likewise.
54966 * math/w_powf.c: Likewise.
54967 * math/w_powl.c: Likewise.
54968 * math/w_remainder.c: Likewise.
54969 * math/w_remainderf.c: Likewise.
54970 * math/w_remainderl.c: Likewise.
54971 * math/w_scalb.c: Likewise.
54972 * math/w_scalbf.c: Likewise.
54973 * math/w_scalbl.c: Likewise.
54974 * math/w_sqrt.c: Likewise.
54975 * math/w_sqrtf.c: Likewise.
54976 * math/w_sqrtl.c: Likewise.
54977 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
54978 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
54980 * math/math_private.h: Declare __kernel_standard_f.
54981 * math/w_cosh.c: Remove cruft and optimize a bit.
54982 * math/w_coshf.c: Likewise.
54983 * math/w_coshl.c: Likewise.
54984 * math/w_exp2.c: Likewise.
54985 * math/w_exp2f.c: Likewise.
54986 * math/w_exp2l.c: Likewise.
54987 * math/w_hypot.c: Likewise.
54988 * math/w_hypotf.c: Likewise.
54989 * math/w_hypotl.c: Likewise.
54990 * math/w_lgamma.c: Likewise.
54991 * math/w_lgamma_r.c: Likewise.
54992 * math/w_lgammaf.c: Likewise.
54993 * math/w_lgammaf_r.c: Likewise.
54994 * math/w_lgammal.c: Likewise.
54995 * math/w_lgammal_r.c: Likewise.
54996 * math/w_sinh.c: Likewise.
54997 * math/w_sinhf.c: Likewise.
54998 * math/w_sinhl.c: Likewise.
54999 * math/w_tgamma.c: Likewise.
55000 * math/w_tgammaf.c: Likewise.
55001 * math/w_tgammal.c: Likewise.
55002 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55003 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55004 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
55005 Minor optimizations. Pretty printing. Remove cruft.
55006 * sysdeps/i386/fpu/e_acosf.S: Likewise.
55007 * sysdeps/i386/fpu/e_acosh.S: Likewise.
55008 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55009 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55010 * sysdeps/i386/fpu/e_acosl.c: Likewise.
55011 * sysdeps/i386/fpu/e_asin.S: Likewise.
55012 * sysdeps/i386/fpu/e_asinf.S: Likewise.
55013 * sysdeps/i386/fpu/e_atan2.S: Likewise.
55014 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
55015 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
55016 * sysdeps/i386/fpu/e_atanh.S: Likewise.
55017 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55018 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55019 * sysdeps/i386/fpu/e_exp10.S: Likewise.
55020 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
55021 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
55022 * sysdeps/i386/fpu/e_exp2.S: Likewise.
55023 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
55024 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
55025 * sysdeps/i386/fpu/e_fmod.S: Likewise.
55026 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
55027 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
55028 * sysdeps/i386/fpu/e_hypot.S: Likewise.
55029 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
55030 * sysdeps/i386/fpu/e_log.S: Likewise.
55031 * sysdeps/i386/fpu/e_log10.S: Likewise.
55032 * sysdeps/i386/fpu/e_log10f.S: Likewise.
55033 * sysdeps/i386/fpu/e_log10l.S: Likewise.
55034 * sysdeps/i386/fpu/e_log2.S: Likewise.
55035 * sysdeps/i386/fpu/e_log2f.S: Likewise.
55036 * sysdeps/i386/fpu/e_log2l.S: Likewise.
55037 * sysdeps/i386/fpu/e_logf.S: Likewise.
55038 * sysdeps/i386/fpu/e_logl.S: Likewise.
55039 * sysdeps/i386/fpu/e_pow.S: Likewise.
55040 * sysdeps/i386/fpu/e_powf.S: Likewise.
55041 * sysdeps/i386/fpu/e_powl.S: Likewise.
55042 * sysdeps/i386/fpu/e_remainder.S: Likewise.
55043 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
55044 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
55045 * sysdeps/i386/fpu/e_scalb.S: Likewise.
55046 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55047 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55048 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
55049 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
55050 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
55051 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55052 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55053 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55054 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55055 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55056 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55057 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
55058 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55059 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55060 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55061 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55062 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55063 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55064 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55065 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55066 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55067 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55068 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55069 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55070 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55071 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55072 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55073 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55074 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55075 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55076 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55077 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55078 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55079 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
55080 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55081 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55082 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55083 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55084 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55085 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55086 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55087 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55088 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55089 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55090 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55091 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55092 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55093 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55094 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55095 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55096 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55097 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55098 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55099 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55100 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
55101 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55102 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55103 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55104 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55105 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55106 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55107 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55108 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55109 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55110 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55111 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55112 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55113 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55114 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55115 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55116 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55117 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55118 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55119 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
55120 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55121 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55122 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55123 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55124 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55125 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55126 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55127 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55128 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55129 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55130 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55131 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55132 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55133 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
55134 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55135 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55136 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55137 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55138 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55139 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55140 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55141 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55142 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55143 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55144 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55145 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55146 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55147 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55148 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
55149 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
55150 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
55151 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
55152 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
55153 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
55154 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
55155 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55156 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55157 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55158 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55159 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
55160 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55161 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
55162 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
55163 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
55164 (__isnanf): Likewise.
55165 (__isinf_ns): Likewise.
55166 (__isinf_nsf): Likewise.
55167 (__finite): Likewise.
55168 (__finitef): Likewise.
55169 (__ieee754_sqrt): Define as macro.
55170 (__ieee754_sqrtf): Define as macro.
55171 (__ieee754_sqrtl): Define as macro.
55172 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
55174 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
55175 __FINITE_MATH_ONLY__ consistent.
55176 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
55178 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
55180 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
55183 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
55185 2011-10-09 Ulrich Drepper <drepper@gmail.com>
55187 * po/ja.po: Update from translation team.
55189 2011-10-08 Roland McGrath <roland@hack.frob.com>
55191 * locale/programs/locarchive.c (prepare_address_space): New function.
55192 (create_archive, enlarge_archive, open_archive): Use it.
55194 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
55195 inside [SHARED], where it is used.
55197 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
55199 * nss/getent.c (netgroup_keys): Remove unused variable.
55200 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55202 2011-10-08 Ulrich Drepper <drepper@gmail.com>
55204 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
55205 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
55206 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
55207 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
55208 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
55209 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
55210 * math/Makefile (libm-calls): Add s_isinf_ns.
55211 * math/divtc3.c: Use __isinf_nsl instead of isinf.
55212 * math/multc3.c: Likewise.
55213 * math/s_casin.c: Likewise.
55214 * math/s_casinf.c: Likewise.
55215 * math/s_casinl.c: Likewise.
55216 * math/s_ccos.c: Likewise.
55217 * math/s_ccosf.c: Likewise.
55218 * math/s_ccosl.c: Likewise.
55219 * math/s_ctan.c: Likewise.
55220 * math/s_ctanf.c: Likewise.
55221 * math/s_ctanh.c: Likewise.
55222 * math/s_ctanhf.c: Likewise.
55223 * math/s_ctanhl.c: Likewise.
55224 * math/s_ctanl.c: Likewise.
55225 * math/w_fmod.c: Likewise.
55226 * math/w_fmodf.c: Likewise.
55227 * math/w_fmodl.c: Likewise.
55228 * math/w_remainder.c: Likewise.
55229 * math/w_remainderf.c: Likewise.
55230 * math/w_remainderl.c: Likewise.
55231 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
55232 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
55233 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
55234 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
55235 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
55236 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
55237 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
55238 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
55240 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
55242 * stdio-common/printf_fphex.c: Likewise.
55243 * stdio-common/printf_size.c: Likewise.
55245 * math/e_exp10.c: Include math_private.h using <...> not "...".
55246 * math/e_exp10f.c: Likewise.
55247 * math/e_exp10l.c: Likewise.
55248 * math/e_exp2l.c: Likewise.
55249 * math/e_j0l.c: Likewise.
55250 * math/e_j1l.c: Likewise.
55251 * math/e_jnl.c: Likewise.
55252 * math/e_lgammal_r.c: Likewise.
55253 * math/e_rem_pio2l.c: Likewise.
55254 * math/e_scalb.c: Likewise.
55255 * math/e_scalbf.c: Likewise.
55256 * math/e_scalbl.c: Likewise.
55257 * math/k_cosl.c: Likewise.
55258 * math/k_sinl.c: Likewise.
55259 * math/k_tanl.c: Likewise.
55260 * math/s_cacoshf.c: Likewise.
55261 * math/s_catan.c: Likewise.
55262 * math/s_catanf.c: Likewise.
55263 * math/s_catanh.c: Likewise.
55264 * math/s_catanhf.c: Likewise.
55265 * math/s_catanhl.c: Likewise.
55266 * math/s_catanl.c: Likewise.
55267 * math/s_ccosh.c: Likewise.
55268 * math/s_ccoshf.c: Likewise.
55269 * math/s_ccoshl.c: Likewise.
55270 * math/s_cexp.c: Likewise.
55271 * math/s_cexpf.c: Likewise.
55272 * math/s_cexpl.c: Likewise.
55273 * math/s_clog.c: Likewise.
55274 * math/s_clog10.c: Likewise.
55275 * math/s_clog10f.c: Likewise.
55276 * math/s_clog10l.c: Likewise.
55277 * math/s_clogf.c: Likewise.
55278 * math/s_clogl.c: Likewise.
55279 * math/s_csin.c: Likewise.
55280 * math/s_csinf.c: Likewise.
55281 * math/s_csinh.c: Likewise.
55282 * math/s_csinhf.c: Likewise.
55283 * math/s_csinhl.c: Likewise.
55284 * math/s_csinl.c: Likewise.
55285 * math/s_csqrt.c: Likewise.
55286 * math/s_csqrtf.c: Likewise.
55287 * math/s_csqrtl.c: Likewise.
55288 * math/s_ctan.c: Likewise.
55289 * math/s_ctanf.c: Likewise.
55290 * math/s_ctanh.c: Likewise.
55291 * math/s_ctanhf.c: Likewise.
55292 * math/s_ctanhl.c: Likewise.
55293 * math/s_ctanl.c: Likewise.
55294 * math/s_ldexp.c: Likewise.
55295 * math/s_ldexpf.c: Likewise.
55296 * math/s_ldexpl.c: Likewise.
55297 * math/s_significand.c: Likewise.
55298 * math/s_significandf.c: Likewise.
55299 * math/s_significandl.c: Likewise.
55300 * math/w_acos.c: Likewise.
55301 * math/w_acosf.c: Likewise.
55302 * math/w_acosh.c: Likewise.
55303 * math/w_acoshf.c: Likewise.
55304 * math/w_acoshl.c: Likewise.
55305 * math/w_acosl.c: Likewise.
55306 * math/w_asin.c: Likewise.
55307 * math/w_asinf.c: Likewise.
55308 * math/w_asinl.c: Likewise.
55309 * math/w_atan2.c: Likewise.
55310 * math/w_atan2f.c: Likewise.
55311 * math/w_atan2l.c: Likewise.
55312 * math/w_atanh.c: Likewise.
55313 * math/w_atanhf.c: Likewise.
55314 * math/w_atanhl.c: Likewise.
55315 * math/w_cosh.c: Likewise.
55316 * math/w_coshf.c: Likewise.
55317 * math/w_coshl.c: Likewise.
55318 * math/w_dremf.c: Likewise.
55319 * math/w_exp10.c: Likewise.
55320 * math/w_exp10f.c: Likewise.
55321 * math/w_exp10l.c: Likewise.
55322 * math/w_exp2.c: Likewise.
55323 * math/w_exp2f.c: Likewise.
55324 * math/w_fmod.c: Likewise.
55325 * math/w_fmodf.c: Likewise.
55326 * math/w_fmodl.c: Likewise.
55327 * math/w_hypot.c: Likewise.
55328 * math/w_hypotf.c: Likewise.
55329 * math/w_hypotl.c: Likewise.
55330 * math/w_j0.c: Likewise.
55331 * math/w_j0f.c: Likewise.
55332 * math/w_j0l.c: Likewise.
55333 * math/w_j1.c: Likewise.
55334 * math/w_j1f.c: Likewise.
55335 * math/w_j1l.c: Likewise.
55336 * math/w_jn.c: Likewise.
55337 * math/w_jnf.c: Likewise.
55338 * math/w_jnl.c: Likewise.
55339 * math/w_lgamma.c: Likewise.
55340 * math/w_lgamma_r.c: Likewise.
55341 * math/w_lgammaf.c: Likewise.
55342 * math/w_lgammaf_r.c: Likewise.
55343 * math/w_lgammal.c: Likewise.
55344 * math/w_lgammal_r.c: Likewise.
55345 * math/w_log.c: Likewise.
55346 * math/w_log10.c: Likewise.
55347 * math/w_log10f.c: Likewise.
55348 * math/w_log10l.c: Likewise.
55349 * math/w_log2.c: Likewise.
55350 * math/w_log2f.c: Likewise.
55351 * math/w_log2l.c: Likewise.
55352 * math/w_logf.c: Likewise.
55353 * math/w_logl.c: Likewise.
55354 * math/w_pow.c: Likewise.
55355 * math/w_powf.c: Likewise.
55356 * math/w_powl.c: Likewise.
55357 * math/w_remainder.c: Likewise.
55358 * math/w_remainderf.c: Likewise.
55359 * math/w_remainderl.c: Likewise.
55360 * math/w_scalb.c: Likewise.
55361 * math/w_scalbf.c: Likewise.
55362 * math/w_scalbl.c: Likewise.
55363 * math/w_sinh.c: Likewise.
55364 * math/w_sinhf.c: Likewise.
55365 * math/w_sinhl.c: Likewise.
55366 * math/w_sqrt.c: Likewise.
55367 * math/w_sqrtf.c: Likewise.
55368 * math/w_sqrtl.c: Likewise.
55369 * math/w_tgamma.c: Likewise.
55370 * math/w_tgammaf.c: Likewise.
55371 * math/w_tgammal.c: Likewise.
55373 * po/ja.po: Update from translation team.
55375 2011-09-29 Andreas Jaeger <aj@suse.de>
55378 * sunrpc/netname.c (netname2host): Fix logic.
55382 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
55384 * math/w_remainder.c (__remainder): Likewise.
55385 * math/w_remainderf.c (__remainderf): Likewise.
55386 * math/libm-test.inc (remainder_test): Add test cases.
55388 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55390 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
55393 2011-10-07 Ulrich Drepper <drepper@gmail.com>
55395 * string/test-memcmp.c: Avoid unncessary #defines.
55396 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55398 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55400 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
55401 Use new sse2 version for core i3 - i7 as it's faster
55402 than sse42 version.
55403 (bit_Prefer_PMINUB_for_stringop): New.
55404 * sysdeps/x86_64/rawmemchr.S: Update.
55405 Replace with faster SSE2 version.
55406 * sysdeps/x86_64/memrchr.S: New file.
55407 * sysdeps/x86_64/memchr.S: Update.
55408 Replace with faster SSE2 version.
55410 2011-09-12 Marek Polacek <mpolacek@redhat.com>
55412 * elf/dl-load.c (lose): Add cast to avoid warning.
55414 2011-10-07 Ulrich Drepper <drepper@gmail.com>
55416 * po/ca.po: Update from translation team.
55418 * inet/getnetgrent_r.c: Hook up nscd.
55419 * nscd/Makefile (routines): Add nscd_netgroup.
55420 (nscd-modules): Add netgroupcache.
55421 (CFLAGS-netgroupcache.c): Define.
55422 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
55423 (cache_search): Add const to second parameter.
55424 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
55426 (dbs): Add netgrdb entry.
55427 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
55428 (verify_persistent_db): Handle netgrdb.
55429 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
55430 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
55432 (netgroup_response_header): Define.
55433 (innetgroup_response_header): Define.
55434 (datahead): Add netgroup_response_header and innetgroup_response_header
55436 * nscd/nscd.conf: Add entries for netgroup cache.
55437 * nscd/nscd.h (dbtype): Add netgrdb.
55438 (_PATH_NSCD_NETGROUP_DB): Define.
55439 (netgroup_iov_disabled): Declare.
55440 (xmalloc, xcalloc, xrealloc): Move declarations here.
55441 (cache_search): Adjust prototype.
55442 Add netgroup-related prototypes.
55443 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
55444 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
55445 (__nscd_innetgr): Declare.
55446 * nscd/selinux.c (perms): Use access_vector_t as element type and
55447 add netgroup-related initializers.
55448 * nscd/netgroupcache.c: New file.
55449 * nscd/nscd_netgroup.c: New file.
55450 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
55451 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
55452 For four parameters use innetgr.
55453 * nss/nss_files/files-init.c: Add definition and callback for netgr.
55454 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
55455 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
55456 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
55458 * nscd/connections.c (register_traced_file): Don't register file
55459 for disabled databases.
55461 2011-10-06 Ulrich Drepper <drepper@gmail.com>
55463 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
55465 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
55466 from tree and freeing node.
55468 2011-09-25 Jiri Olsa <jolsa@redhat.com>
55470 * nss/nsswitch.c (__nss_database_lookup): Handle
55471 nss_parse_service_list out of memory case.
55473 2011-09-15 Jiri Olsa <jolsa@redhat.com>
55475 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
55476 out of memory case.
55478 2011-10-04 Andreas Schwab <schwab@redhat.com>
55480 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
55481 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
55483 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
55484 elf_machine_rela, elf_machine_lazy_rel.
55485 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
55486 (ELF_DYNAMIC_DO_REL): Likewise.
55487 (ELF_DYNAMIC_DO_RELA): Likewise.
55488 (ELF_DYNAMIC_RELOCATE): Likewise.
55489 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
55490 to ELF_DYNAMIC_DO_REL.
55491 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
55492 (dl_main): In trace mode always set __RTLD_NOIFUNC.
55493 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
55495 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
55496 skip_ifunc, don't call ifunc function if non-zero.
55497 (elf_machine_rela): Likewise.
55498 (elf_machine_lazy_rel): Likewise.
55499 (elf_machine_lazy_rela): Likewise.
55500 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
55501 (elf_machine_lazy_rel): Likewise.
55502 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
55504 (elf_machine_lazy_rel): Likewise.
55505 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55507 (elf_machine_lazy_rel): Likewise.
55508 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
55509 (elf_machine_lazy_rel): Likewise.
55510 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
55511 (elf_machine_lazy_rel): Likewise.
55512 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55513 (elf_machine_lazy_rel): Likewise.
55514 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
55515 (elf_machine_lazy_rel): Likewise.
55516 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
55517 (elf_machine_lazy_rel): Likewise.
55518 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55519 (elf_machine_lazy_rel): Likewise.
55521 2011-09-28 Ulrich Drepper <drepper@gmail.com>
55523 * nss/nss_files/files-init.c (_nss_files_init): Use static
55524 initialization for all the *_traced_file variables.
55526 2011-09-28 Andreas Schwab <schwab@redhat.com>
55528 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55530 2011-09-27 Roland McGrath <roland@hack.frob.com>
55533 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
55535 2011-09-27 Andreas Schwab <schwab@redhat.com>
55537 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55538 Reread the line before reparsing it.
55540 2011-09-26 Andreas Schwab <schwab@redhat.com>
55542 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
55544 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
55545 Maxim Kuvyrkov <maxim@codesourcery.com>
55546 Joseph Myers <joseph@codesourcery.com>
55548 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
55549 if needed for __stack_chk_guard.
55551 2011-09-19 Roland McGrath <roland@hack.frob.com>
55553 * sysdeps/posix/spawni.c (script_execute): Always define it.
55554 It will be optimized away if unused.
55555 (maybe_script_execute): New function.
55556 (__spawni): Call it.
55558 * Makerules: Don't include tls.make.
55559 (config-tls): Always set to thread.
55560 * tls.make.c: File removed.
55562 2011-09-19 Mike Frysinger <vapier@gentoo.org>
55564 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
55565 * config.make.in (CPPFLAGS-config): New substituted variable.
55567 2011-09-15 Ulrich Drepper <drepper@gmail.com>
55569 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
55572 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
55573 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
55575 2011-09-15 Roland McGrath <roland@hack.frob.com>
55577 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
55578 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
55579 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55580 (CALL_FAIL): Likewise.
55581 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
55582 (CALL_FAIL): Macro removed.
55583 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
55585 2011-09-15 Ulrich Drepper <drepper@gmail.com>
55587 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
55588 for __FINITE_MATH_ONLY__ == 1.
55590 2011-09-15 Andreas Schwab <schwab@redhat.com>
55592 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
55593 __ieee754_sqrt instead of sqrt.
55594 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
55595 __ieee754_sqrtf instead of sqrtf.
55596 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
55597 __floorf instead of floorf.
55598 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
55599 __floorf, __truncf instead of floorf, truncf.
55601 2011-09-14 Ulrich Drepper <drepper@gmail.com>
55603 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
55605 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
55606 __extern_always_inline.
55607 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
55610 2011-09-14 Andreas Schwab <schwab@redhat.com>
55612 * elf/rtld.c (dl_main): Also relocate in dependency order when
55613 doing symbol dependency testing.
55615 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
55617 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55618 Always define `refsym'.
55620 2011-09-13 Andreas Schwab <schwab@redhat.com>
55622 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
55623 (__FD_ELT): Renamed from __FDELT.
55624 * misc/bits/select2.h (__FD_ELT): Likewise.
55625 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
55626 __FD_MASK instead of __FDELT, __FDMASK.
55627 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55629 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55632 * elf/Makefile (gen-ldd): Fix pattern.
55634 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
55635 (init_tls): Likewise.
55637 2011-09-12 Ulrich Drepper <drepper@gmail.com>
55639 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
55641 2011-09-12 Andreas Schwab <schwab@redhat.com>
55643 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
55644 `struct cmsghdr *' instead of `void *'.
55645 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
55648 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
55650 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
55652 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
55653 ldd_rewrite_script.
55655 2011-09-11 Ulrich Drepper <drepper@gmail.com>
55657 * configure.in: Remove --with-tls option.
55658 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
55659 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
55660 out in case it is missing.
55661 * sysdeps/ia64/elf/configure.in: Likewise.
55662 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
55663 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
55664 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
55665 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
55666 * sysdeps/sh/elf/configure.in: Likewise.
55667 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
55668 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55669 * sysdeps/x86_64/elf/configure.in: Likewise.
55670 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
55671 * sysdeps/mach/hurd/tls.h: Likewise.
55674 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
55677 * configure.in: Fix use of AC_INIT.
55679 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
55681 2011-09-10 Ulrich Drepper <drepper@gmail.com>
55683 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
55685 * malloc/hooks.c: Likewise.
55688 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
55689 variables statically.
55690 (narenas): Initialize.
55691 (list_lock): Initialize.
55692 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
55693 initializtion of main_arena and list_lock. Small cleanups.
55694 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
55695 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
55696 Add initializers to main_arena and mp_.
55697 (malloc_state): Remove pagesize member. Change all users to use
55700 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
55701 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
55702 is always initialized.
55704 * malloc/malloc.c: Removed unused configurations and dead code.
55705 * malloc/arena.c: Likewise.
55706 * malloc/hooks.c: Likewise.
55707 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
55709 * include/tls.h: Removed. USE___THREAD must always be defined.
55710 * bits/libc-tsd.h: Don't handle !USE___THREAD.
55711 * elf/dl-libc.c: Likewise.
55712 * elf/dl-tsd.c: Likewise.
55713 * include/errno.h: Likewise.
55714 * include/netdb.h: Likewise.
55715 * include/resolv.h: Likewise.
55716 * inet/herrno-loc.c: Likewise.
55717 * inet/herrno.c: Likewise.
55718 * malloc/arena.c: Likewise.
55719 * malloc/hooks.c: Likewise.
55720 * malloc/malloc.c: Likewise.
55721 * resolv/res-state.c: Likewise.
55722 * resolv/res_libc.c: Likewise.
55723 * sysdeps/i386/dl-machine.h: Likewise.
55724 * sysdeps/ia64/dl-machine.h: Likewise.
55725 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
55726 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55727 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
55728 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
55729 * sysdeps/sh/dl-machine.h: Likewise.
55730 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55731 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55732 * sysdeps/unix/i386/sysdep.S: Likewise.
55733 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
55734 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
55735 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
55736 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
55737 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
55738 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
55739 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
55740 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55741 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55742 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
55743 * sysdeps/unix/x86_64/sysdep.S: Likewise.
55744 * sysdeps/x86_64/dl-machine.h: Likewise.
55745 * tls.make.c: Likewise.
55747 * configure.in: Remove --with-__thread option. Make tests for
55748 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
55749 tls_model attribute fail if no support is available. Remove
55751 * Makeconfig: Adjust for dropped configure option. All features are
55753 * Makerules: Likewise.
55754 * Versions.def: Likewise.
55755 * argp/argp-fmtstream.c: Likewise.
55756 * argp/argp-fmtstream.h: Likewise.
55757 * argp/argp-help.c: Likewise.
55758 * assert/assert.c: Likewise.
55759 * config.h.in: Likewise.
55760 * config.make.in: Likewise.
55761 * configure: Likewise.
55762 * configure.in: Likewise.
55763 * csu/Versions: Likewise.
55764 * csu/init.c: Likewise.
55765 * elf/tst-audit2.c: Likewise.
55766 * elf/tst-tls10.c: Likewise.
55767 * elf/tst-tls10.h: Likewise.
55768 * elf/tst-tls11.c: Likewise.
55769 * elf/tst-tls12.c: Likewise.
55770 * elf/tst-tls14.c: Likewise.
55771 * elf/tst-tlsmod11.c: Likewise.
55772 * elf/tst-tlsmod12.c: Likewise.
55773 * elf/tst-tlsmod13.c: Likewise.
55774 * elf/tst-tlsmod13a.c: Likewise.
55775 * elf/tst-tlsmod14a.c: Likewise.
55776 * elf/tst-tlsmod15b.c: Likewise.
55777 * elf/tst-tlsmod16a.c: Likewise.
55778 * elf/tst-tlsmod16b.c: Likewise.
55779 * elf/tst-tlsmod7.c: Likewise.
55780 * elf/tst-tlsmod8.c: Likewise.
55781 * elf/tst-tlsmod9.c: Likewise.
55782 * gmon/gmon.c: Likewise.
55783 * grp/fgetgrent_r.c: Likewise.
55784 * grp/putgrent.c: Likewise.
55785 * hurd/fopenport.c: Likewise.
55786 * include/libc-symbols.h: Likewise.
55787 * include/tls.h: Likewise.
55788 * intl/gettextP.h: Likewise.
55789 * intl/loadinfo.h: Likewise.
55790 * locale/global-locale.c: Likewise.
55791 * locale/localeinfo.h: Likewise.
55792 * mach/devstream.c: Likewise.
55793 * malloc/arena.c: Likewise.
55794 * malloc/set-freeres.c: Likewise.
55795 * misc/err.c: Likewise.
55796 * misc/getttyent.c: Likewise.
55797 * misc/mntent_r.c: Likewise.
55798 * posix/getopt.c: Likewise.
55799 * posix/wordexp.c: Likewise.
55800 * pwd/fgetpwent_r.c: Likewise.
55801 * resolv/Versions: Likewise.
55802 * resolv/res_hconf.c: Likewise.
55803 * shadow/fgetspent_r.c: Likewise.
55804 * shadow/putspent.c: Likewise.
55805 * stdio-common/printf_fphex.c: Likewise.
55806 * stdio-common/tmpfile.c: Likewise.
55807 * stdlib/abort.c: Likewise.
55808 * stdlib/fmtmsg.c: Likewise.
55809 * sunrpc/auth_unix.c: Likewise.
55810 * sunrpc/clnt_perr.c: Likewise.
55811 * sunrpc/clnt_tcp.c: Likewise.
55812 * sunrpc/clnt_udp.c: Likewise.
55813 * sunrpc/clnt_unix.c: Likewise.
55814 * sunrpc/openchild.c: Likewise.
55815 * sunrpc/svc_simple.c: Likewise.
55816 * sunrpc/svc_tcp.c: Likewise.
55817 * sunrpc/svc_udp.c: Likewise.
55818 * sunrpc/svc_unix.c: Likewise.
55819 * sunrpc/xdr.c: Likewise.
55820 * sunrpc/xdr_array.c: Likewise.
55821 * sunrpc/xdr_rec.c: Likewise.
55822 * sunrpc/xdr_ref.c: Likewise.
55823 * sunrpc/xdr_stdio.c: Likewise.
55825 2011-09-09 Ulrich Drepper <drepper@gmail.com>
55827 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55829 2011-07-03 Andreas Jaeger <aj@suse.de>
55831 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
55832 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
55833 regenerate with gen-libm-tests.pl.
55835 2010-05-12 Petr Baudis <pasky@suse.cz>
55838 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
55839 around j0() zero points by switching to j1().
55840 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55841 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55842 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55843 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55845 2011-09-09 Ulrich Drepper <drepper@gmail.com>
55847 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
55849 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
55851 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55852 Patch in part by Pavel Roskin <proski@gnu.org>.
55855 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
55857 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
55858 Free memory block if necessary.
55861 * libio/genops.c (INTDEF): For string streams the _lock pointer can
55862 be NULL. Don't lock in this case.
55864 2011-09-09 Roland McGrath <roland@hack.frob.com>
55866 * elf/elf.h (ELFOSABI_GNU): New macro.
55867 (ELFOSABI_LINUX): Define to that.
55869 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
55871 * string/strncat.c (strncat): Undef the symbol in case it has been
55872 defined in bits/string.h.
55874 2011-09-09 Ulrich Drepper <drepper@gmail.com>
55876 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
55878 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
55881 2011-08-17 Andreas Jaeger <aj@suse.de>
55883 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
55885 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
55886 Ian Lance Taylor <iant@google.com>
55888 * math/libm-test.inc (lround_test): New testcase.
55889 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
55891 2011-09-08 Ulrich Drepper <drepper@gmail.com>
55893 * Makefile: Remove support for automatic cvs check-ins.
55894 * Makerules: Likewise.
55895 * config.make.in: Likewise.
55896 * configure.in: Likewise.
55897 * intl/Makefile: Likewise.
55898 * locale/Makefile: Likewise.
55899 * po/Makefile: Likewise.
55900 * posix/Makefile: Likewise.
55901 * sysdeps/gnu/Makefile: Likewise.
55902 * sysdeps/mach/hurd/Makefile: Likewise.
55903 * sysdeps/sparc/sparc32/Makefile: Likewise.
55906 * posix/Makefile (bug-regex32-ENV): Define.
55907 Patch by John Stanley <jpsinthemix@verizon.net>.
55909 * misc/Makefile (headers): Add bits/select2.h.
55910 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
55911 * misc/bits/select2.h: New file.
55912 * include/bits/select2.h: New file.
55913 * debug/Makefile (routines): Add fdelt_chk.
55914 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
55915 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
55917 * debug/fdelt_chk.c: New file.
55919 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
55920 * wcsmbs/test-wmemcmp.c: Likewise.
55921 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
55922 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
55924 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55926 * string/Makefile (strop-tests): Add memcmp.
55927 * string/test-wmemcmp.c: New file.
55928 * string/test-memcmp.c: Add wmemcmp support.
55930 2011-09-08 Roland McGrath <roland@hack.frob.com>
55933 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
55936 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
55937 garbage value in a __mach_port_mod_refs call in the cases of the
55938 task-self and thread-self ports.
55940 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55942 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
55944 2011-09-08 Andreas Schwab <schwab@redhat.com>
55946 * elf/dl-load.c (lose): Check for non-null L.
55948 2011-09-07 Ulrich Drepper <drepper@gmail.com>
55950 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
55952 * elf/dl-libc.c (dlerror_run): Pass back error code from
55956 * elf/dl-load.c (lose): Free l_origin if it is valid.
55958 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
55960 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
55961 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
55962 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
55963 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
55964 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
55965 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
55967 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55969 * sysdeps/powerpc/fpu/e_hypot.c: New file.
55970 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
55971 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
55972 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
55973 * sysdeps/powerpc/fpu/k_cosf.c: New file.
55974 * sysdeps/powerpc/fpu/k_sinf.c: New file.
55975 * sysdeps/powerpc/fpu/s_cosf.c: New file.
55976 * sysdeps/powerpc/fpu/s_sinf.c: New file.
55977 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
55978 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
55980 2011-08-15 Alan Modra <amodra@gmail.com>
55983 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
55984 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
55985 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
55986 ppc_mcount to static-only-routines.
55987 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
55989 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
55990 __mcount_internal with usual JUMPTARGET. Remove useless nop.
55992 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
55994 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
55995 for finite and infinity parameters.
55997 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
55999 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
56000 and add nop instructions for throughput optimization.
56001 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56003 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
56005 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
56006 aligned copy for power7 with vector-scalar instructions.
56007 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56009 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
56011 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
56014 2011-09-07 Andreas Schwab <schwab@redhat.com>
56017 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
56020 2011-09-07 Ulrich Drepper <drepper@gmail.com>
56022 * sysdeps/unix/sysv/linux/x86_64/init-first.c
56023 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
56024 syscall wrapper around clock_gettime in __vdso_clock_gettime.
56025 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
56028 2011-09-06 Ulrich Drepper <drepper@gmail.com>
56030 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
56031 Forgot to demangle the pointer.
56033 * sysdeps/i386/sysdep.h: Define atom_text_section.
56034 * sysdeps/x86_64/sysdep.h: Likewise.
56035 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
56036 section with atom_text_section.
56037 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56038 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56039 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
56040 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56041 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
56043 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
56044 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
56045 already be defined. Change to take two parameters and don't assign
56046 result to variable. Adjust all users.
56047 Define INTERNAL_GETTIME if not already defined.
56048 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
56050 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
56051 HAVE_CLOCK_GETTIME_VSYSCALL.
56052 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
56054 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
56055 gettimeofday vsyscall, just use time.
56057 2011-09-06 Andreas Schwab <schwab@redhat.com>
56059 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
56062 2011-09-06 Ulrich Drepper <drepper@gmail.com>
56064 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
56066 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
56068 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
56069 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
56070 syscall if possible.
56072 2011-09-05 Ulrich Drepper <drepper@gmail.com>
56074 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
56075 e_ident. Don't pass to find_mapsXX.
56076 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
56078 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56080 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56081 strchr-sse2-no-bsf strrchr-sse2-no-bsf
56082 * sysdeps/x86_64/multiarch/strchr.S: Update.
56083 Check bit_slow_BSF bit.
56084 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56085 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
56086 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
56088 2011-09-05 Ulrich Drepper <drepper@gmail.com>
56091 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
56093 (tryshell): Define.
56094 (__spawni): Change last parameter to be flag. Test
56095 SPAWN_XFLAGS_USE_PATH flag to use path or not.
56096 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
56097 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
56098 * posix/spawni.c: Likewise.
56099 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
56100 * posix/spawnp.c: Likewise. Change normal version to use
56101 SPAWN_XFLAGS_USE_PATH.
56102 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
56103 SPAWN_XFLAGS_TRY_SHELL.
56106 * posix/glob.h: Remove gcc 1.x support.
56109 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
56111 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56113 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56114 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
56116 * sysdeps/i386/i686/multiarch/strchr.S: New file.
56117 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
56118 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
56119 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
56120 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
56121 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
56123 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56125 * sysdeps/x86_64/wcscmp.S: New file.
56127 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
56128 wcscmp-c wcscmp-sse2
56129 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
56130 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
56131 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
56132 * wcsmbs/wcscmp.c: Allow renaming.
56134 2011-09-05 David S. Miller <davem@davemloft.net>
56136 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
56137 stack slot, rather than the struct return pointer slot.
56138 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
56139 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
56140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
56141 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
56143 2011-09-05 Ulrich Drepper <drepper@gmail.com>
56145 * po/ja.po: Update from translation team.
56148 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
56149 kernel in 64-bit binaries.
56151 2011-09-01 David S. Miller <davem@davemloft.net>
56153 * elf/elf.h (HWCAP_SPARC_*): Move to..
56154 * sysdeps/sparc/sysdep.h: this new file and add new values.
56155 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
56156 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
56157 _DL_HWCAP_COUNT to 24.
56158 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
56160 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
56161 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
56162 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
56163 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
56164 instead of magic constants.
56165 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56167 2011-08-31 David S. Miller <davem@davemloft.net>
56169 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
56170 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
56171 Reimplement to do errno handling inline.
56172 (SYSCALL_ERROR_HANDLER): New macro.
56173 (__SYSCALL_STRING): Do not do errno handling in asm.
56174 (__CLONE_SYSCALL_STRING): Delete.
56175 (__INTERNAL_SYSCALL_STRING): Delete.
56176 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
56177 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
56178 (PSEUDO): Reimplement to do errno handling inline.
56179 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
56180 (SYSCALL_ERROR_HANDLER): New macro.
56181 (__SYSCALL_STRING): Do not do errno handling in asm.
56182 (__CLONE_SYSCALL_STRING): Delete.
56183 (__INTERNAL_SYSCALL_STRING): Delete.
56184 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
56185 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
56187 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
56188 (inline_syscall*): Add 'err' argument.
56189 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
56190 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
56191 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
56192 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
56194 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
56195 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
56197 2011-08-30 Andreas Schwab <schwab@redhat.com>
56199 * elf/rtld.c (dl_main): Relocate objects in dependency order.
56201 2011-08-29 Jiri Olsa <jolsa@redhat.com>
56203 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
56206 2011-08-24 David S. Miller <davem@davemloft.net>
56208 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
56210 2011-08-24 Andreas Schwab <schwab@redhat.com>
56212 * elf/Makefile: Add rules to build and run unload8 test.
56213 * elf/unload8.c: New file.
56214 * elf/unload8mod1.c: New file.
56215 * elf/unload8mod1x.c: New file.
56216 * elf/unload8mod2.c: New file.
56217 * elf/unload8mod3.c: New file.
56219 * elf/dl-close.c (_dl_close_worker): Reset private search list if
56222 2011-08-23 David S. Miller <davem@davemloft.net>
56224 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
56225 subtract stack bias.
56226 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
56227 %sp not %fp in calculations.
56228 (_JMPBUF_UNWINDS_ADJ): Likewise.
56230 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
56231 (aio_suspend): Call it to force an exception region around the
56232 AIO_MISC_WAIT() invocation.
56234 2011-08-23 Andreas Schwab <schwab@redhat.com>
56236 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
56239 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
56241 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
56243 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
56244 and <dl-machine.h>.
56245 (Elf64_FuncDesc): Remove.
56247 2011-08-22 David S. Miller <davem@davemloft.net>
56249 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
56250 sigaltstack check, add missing cfi directives.
56251 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
56252 missing cfi directives, and sigaltstack handling.
56254 2011-08-16 Andreas Schwab <schwab@redhat.com>
56257 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
56258 object is seen twice.
56259 * elf/dl-fini.c (_dl_sort_fini): Likewise.
56261 * elf/Makefile (distribute): Add tst-initorder2.c.
56262 (tests): Add tst-initorder2.
56263 (modules-names): Add tst-initorder2a tst-initorder2b
56264 tst-initorder2c tst-initorder2d. Add rules to build them.
56265 ($(objpfx)tst-initorder2.out): New rule.
56266 * elf/tst-initorder2.c: New file.
56267 * elf/tst-initorder2.exp: New file.
56269 2011-08-22 Andreas Schwab <schwab@redhat.com>
56271 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
56273 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
56274 dependencies back to end of function.
56276 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56277 $(elfobjdir)/ld.so.
56279 2011-08-21 Ulrich Drepper <drepper@gmail.com>
56281 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
56282 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
56283 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
56284 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
56285 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
56286 of __vdso_gettimeofday.
56287 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
56288 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
56290 (_libc_vdso_platform_setup): Remove initialization of
56291 __vdso_gettimeofday and __vdso_time.
56293 2011-08-20 Ulrich Drepper <drepper@gmail.com>
56295 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
56296 and fgetc_unlocked.
56297 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
56300 * elf/dl-open.c (add_to_global): Report additions to the global scope
56301 for LD_DEBUG=scopes.
56302 (dl_open_worker): Also print scope of newly loaded dependencies.
56303 (_dl_show_scope): Indicate if there is no scope.
56306 * stdio-common/Makefile (tests): Add bug24.
56307 * stdio-common/bug24.c: New file.
56309 2011-08-19 Andreas Jaeger <aj@suse.de>
56312 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
56313 non-existant file when using close-on-exec mode.
56315 2011-08-20 Ulrich Drepper <drepper@gmail.com>
56317 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
56318 the very first instruction.
56320 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
56321 the CFI state in the end.
56322 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
56323 inclusion of dl-trampoline.h.
56324 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
56326 2011-08-19 Andreas Schwab <schwab@redhat.com>
56328 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
56329 expectations for long double.
56331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
56332 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
56334 2011-08-14 David S. Miller <davem@davemloft.net>
56336 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
56337 artificual limit depends upon the system page size.
56339 2011-08-17 Ulrich Drepper <drepper@gmail.com>
56341 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
56342 * resolv/Makefile: Define CFLAGS-libresolv.
56344 2011-08-17 Andreas Schwab <schwab@redhat.com>
56346 * nss/makedb.c (compute_tables): Make variables used in nested
56349 2011-08-17 Ulrich Drepper <drepper@gmail.com>
56351 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
56352 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
56353 if buffer was too small.
56355 * elf/pldd.c (main): Attach to all threads in the process.
56356 Rewrite /proc handling to use *at functions.
56358 2011-08-16 Ulrich Drepper <drepper@gmail.com>
56360 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
56361 specifies first scope to show.
56362 (dl_open_worker): Update callers. Move printing scope of new
56363 object to before the relocation.
56364 * elf/rtld.c (dl_main): Update _dl_show_scope call.
56365 * sysdeps/generic/ldsodefs.h: Update declaration.
56367 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
56368 string for the scope number.
56370 2011-08-14 Ulrich Drepper <drepper@gmail.com>
56372 * nscd/servicescache.c (cache_addserv): Make sure written is always
56375 2011-08-14 Roland McGrath <roland@hack.frob.com>
56377 * sysdeps/i386/i486/bits/atomic.h
56378 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
56379 statement expression, so as to suppress "set but not used" warning.
56380 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
56382 * string/strncat.c (STRNCAT): Use prototype definition.
56384 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
56385 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
56387 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
56388 (localedef-modules): Add localedef.
56389 (locale-modules): Add locale.
56391 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
56392 * elf/rtld.c (dl_main): Invert order of assignment in last change,
56393 to avoid a warning.
56395 2011-08-14 David S. Miller <davem@davemloft.net>
56397 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
56398 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
56400 2011-08-13 Ulrich Drepper <drepper@gmail.com>
56402 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
56403 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
56404 * elf/rtld.c (dl_main): Set l_name of vDSO.
56405 Call _dl_show_scope when DL_DEBUG_SCOPES.
56406 (process_dl_debug): Recognize scopes flag and also set it for all.
56407 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
56408 Declare _dl_show_scope.
56410 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
56411 (do_dlopen): Pass caller_dlopen to dl_open.
56412 (__libc_dlopen_mode): Initialize caller_dlopen.
56414 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
56415 of libc. Make tolower call locale-independent. Optimize a bit by
56416 using isdigit instead of isalnum.
56417 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
56419 2011-08-12 Ulrich Drepper <drepper@gmail.com>
56421 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
56422 was a dependency or dynamically loaded.
56424 2011-08-11 Ulrich Drepper <drepper@gmail.com>
56426 * intl/l10nflist.c: Allow architecture-specific pop function.
56427 * sysdeps/x86_64/l10nflist.c: New file.
56429 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
56432 2011-08-10 Andreas Schwab <schwab@redhat.com>
56434 * include/dirent.h: Add libc_hidden_proto for scandirat and
56435 scandirat64. Don't declare __scandirat64.
56436 * dirent/scandirat.c: Add libc_hidden_def.
56437 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
56438 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
56440 2011-08-10 David S. Miller <davem@davemloft.net>
56442 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
56444 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56445 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56446 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56448 2011-08-09 Ulrich Drepper <drepper@gmail.com>
56450 * Versions.def [libc]: Add GLIBC_2.15.
56451 * dirent/Makefile (routines): Add scandirat and scandirat64.
56452 * dirent/Versions [libc]: Export scandirat and scandirat64 for
56454 * dirent/dirent.h: Declare scandirat and scandirat64.
56455 * dirent/scandirat.c: New file.
56456 * dirent/scandirat64.c: New file.
56457 * sysdeps/wordsize-64/scandirat.c: New file.
56458 * sysdeps/wordsize-64/scandirat64.c: New file.
56459 * dirent/opendir.c: Define opendirat.
56460 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
56462 * dirent/scandir64.c: Adjust for scandir.c change.
56463 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
56464 __scandirat64, and __scandir_cancel_handler.
56465 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
56466 additional parameter and use openat instead of open (outside of ld.so).
56467 Add new __opendir as wrapper around __opendirat.
56468 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
56469 here without requiring old scandirat implementation.
56471 2011-08-08 Ulrich Drepper <drepper@gmail.com>
56473 * dirent/scandir.c (cancel_handler): Renamed to
56474 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
56475 defined. Adjust users.
56476 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
56477 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
56479 2011-08-04 Ulrich Drepper <drepper@gmail.com>
56481 * string/test-string.h (IMPL): Use __STRING to expand name and then
56484 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
56487 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56489 * string/Makefile: Update.
56490 (strop-tests): Append strncat.
56491 * string/test-wcscmp.c: New file.
56492 New comprehensive test for wcscmp.
56493 * string/test-strcmp.c: Update.
56494 (WIDE): New define.
56496 2011-07-22 Andreas Schwab <schwab@redhat.com>
56498 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
56501 2011-07-26 Andreas Schwab <schwab@redhat.com>
56503 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56504 encoding to ACE if AI_IDN.
56506 2011-08-01 Jakub Jelinek <jakub@redhat.com>
56508 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
56509 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
56511 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56513 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
56514 Fix overflow bug in strncat.
56515 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
56517 * string/test-strncat.c: Update.
56518 Add new tests for checking overflow bugs.
56520 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56522 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56523 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
56524 * sysdeps/i386/i686/multiarch/strcat.S: New file.
56525 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
56526 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
56527 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
56528 * sysdeps/i386/i686/multiarch/strncat.S: New file.
56529 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
56530 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
56532 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
56533 (USE_AS_STRCAT): Define.
56534 Add strcat and strncat support.
56535 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56537 2011-07-25 Andreas Schwab <schwab@redhat.com>
56539 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
56540 __n bigger than INT_MAX+1.
56541 (__strncmp_g): Likewise.
56543 2011-07-23 Ulrich Drepper <drepper@gmail.com>
56545 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
56546 * libio/stido.h: Likewise.
56548 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
56550 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
56553 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
56554 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56555 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56556 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
56557 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56560 * scripts/test-installation.pl: Don't expect libnss_test1 to be
56563 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
56565 (_dl_x86_64_save_sse): Likewise.
56567 2011-07-22 Ulrich Drepper <drepper@gmail.com>
56569 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
56571 (_dl_x86_64_save_sse): Likewise.
56573 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
56575 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
56577 2011-07-21 Andreas Schwab <schwab@redhat.com>
56579 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
56581 (_dl_x86_64_save_sse): Use correct AVX check.
56583 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56585 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
56586 bug in strncpy/strncat.
56587 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
56589 2011-07-21 Ulrich Drepper <drepper@gmail.com>
56591 * string/tester.c (test_strcat): Add tests for different alignments
56592 of source and destination.
56593 (test_strncat): Likewise.
56595 2011-07-20 Ulrich Drepper <drepper@gmail.com>
56598 * posix/glob.c (glob): Check passed in values before using them in
56599 expressions to avoid some overflows.
56600 (glob_in_dir): Likewise.
56603 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
56604 check for AVX enablement so that we don't crash with old kernels and
56606 * elf/tst-audit4.c: Add same checks here.
56607 * elf/tst-audit6.c: Likewise.
56609 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
56611 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
56613 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
56615 2011-07-20 Ulrich Drepper <drepper@gmail.com>
56617 * po/cs.po: Update from translation team.
56618 * po/bg.po: Likewise.
56620 2011-07-12 Marek Polacek <mpolacek@redhat.com>
56622 * misc/sys/cdefs.h: Add support for const attribute.
56623 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
56624 to gnu_dev_{major,minor,makedev} functions.
56626 2011-07-20 Marek Polacek <mpolacek@redhat.com>
56628 * intl/dcigettext.c (get_output_charset): Add missing bracket.
56630 2011-07-20 Andreas Schwab <schwab@redhat.com>
56632 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
56635 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56637 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
56638 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
56639 register in order to avoid conflicts with the soft frame pointer
56640 being held in r11 when necessary.
56641 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
56642 (INTERNAL_VSYSCALL_NCS): Likewise.
56644 2011-07-14 Marek Polacek <mpolacek@redhat.com>
56646 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
56647 * elf/dl-fini.c (_dl_fini): Adjust caller.
56648 * elf/dl-close.c (_dl_close_worker): Likewise.
56649 * sysdeps/generic/ldsodefs.h: Adjust declaration.
56651 2011-07-15 Marek Polacek <mpolacek@redhat.com>
56653 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
56654 "aux_cache->nlibs < 0".
56656 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
56657 in the reload-count case.
56659 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56661 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56662 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
56663 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
56664 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
56665 * sysdeps/x86_64/multiarch/strcat.S: New file.
56666 * sysdeps/x86_64/multiarch/strncat.S: New file.
56667 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
56668 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
56669 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
56670 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
56671 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
56672 (USE_AS_STRCAT): Define.
56673 Add strcat and strncat support.
56674 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56675 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
56676 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
56677 * string/strncat.c: Update.
56678 (USE_AS_STRNCAT): Define.
56679 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56680 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
56682 * sysdeps/x86_64/multiarch/init-arch.h
56683 (bit_Prefer_PMINUB_for_stringop): New.
56684 (index_Prefer_PMINUB_for_stringop): Likewise.
56685 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
56686 bit_Prefer_PMINUB_for_stringop.
56688 2011-07-19 Ulrich Drepper <drepper@gmail.com>
56690 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
56692 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
56693 of casting of buffer.
56694 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
56695 buffer32 and buffer64.
56696 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
56697 writes instead of casting of buffer.
56698 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
56700 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
56703 2011-07-19 Andreas Schwab <schwab@redhat.com>
56705 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
56707 2011-07-19 Ulrich Drepper <drepper@gmail.com>
56709 * nscd/nscd.c (termination_handler): Don't do anything for a database
56710 if it has not yet been initialized.
56712 2011-07-18 Ulrich Drepper <drepper@gmail.com>
56714 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56716 2011-07-15 Marek Polacek <mpolacek@redhat.com>
56718 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56720 2011-07-18 Ulrich Drepper <drepper@gmail.com>
56722 * po/nl.po: Update from translation team.
56723 * po/sv.po: Likewise.
56725 2011-07-16 Roland McGrath <roland@hack.frob.com>
56727 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
56728 now disallowed by GCC.
56730 * configure.in (use-default-link): Default to yes if a test -shared
56731 link meets our qualifications.
56732 * configure: Regenerated.
56734 * config.make.in (output-format): New variable.
56735 * configure.in: Check for ld --print-output-format support.
56736 * configure: Regenerated.
56737 * Makerules ($(common-objpfx)format.lds)
56738 [$(output-format) != unknown]: Just use $(output-format),
56739 instead of the linker-script munging.
56741 2011-07-14 Roland McGrath <roland@hack.frob.com>
56743 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
56744 of $(common-objpfx)shlib.lds.
56745 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
56747 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
56748 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
56750 * configure.in (-z relro check): Adjust test code to add a large
56751 writable data section after it.
56752 * configure: Regenerated.
56754 2011-07-11 Roland McGrath <roland@hack.frob.com>
56756 * configure.in (-z relro check): Fix test code to make the variable
56758 * configure: Regenerated.
56760 2011-07-11 Ulrich Drepper <drepper@gmail.com>
56762 * nscd/nscd.h (struct traced_file): Define.
56763 (struct database_dyn): Remove inotify_descr, reset_res, and filename
56764 elements. Add traced_files.
56765 (inotify_fd): Declare.
56766 (register_traced_file): Declare.
56767 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
56768 (inotify_fd): Export.
56769 (resolv_conf_descr): Remove.
56770 (nscd_init): Move inotify descriptor creation to main.
56771 Don't register files for notification here.
56772 (register_traced_file): New function.
56773 (invalidate_cache): Don't use reset_res to determine whether to call
56774 res_init, go through the list of registered files.
56775 (main_loop_poll): The inotify descriptors are now stored in the
56776 structures for the traced files.
56777 (main_loop_epoll): Likewise
56778 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
56779 to __nss_disable_nscd.
56780 * nscd/cache.c (prune_cache): There is no single inotify descriptor
56781 for a database anymore. Check the records for all the registered
56783 * nss/Makefile (libnss_files-routines): Add files-init.
56784 (libnss_db-routines): Add db-init.
56785 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
56786 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
56787 * nss/nss_db/db-init.c: New file.
56788 * nss/nss_files/files-init.c: New file.
56789 * nss/nsswitch.c (nss_load_library): New function. Broken out of
56790 __nss_lookup_function.
56791 (__nss_lookup_function): Call nss_load_library.
56792 (nss_load_all_libraries): New function.
56793 (__nss_disable_nscd): Take parameter with callback function for files
56794 to register. Set is_nscd. Load all the DSOs for the NSS modules
56795 used for the cached services.
56796 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
56797 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
56798 options for features to all the files in nscd.
56800 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
56802 2011-07-10 Roland McGrath <roland@hack.frob.com>
56804 * csu/elf-init.c (__libc_csu_init): Comment typo.
56806 2011-07-09 Ulrich Drepper <drepper@gmail.com>
56808 * po/pl.po: Update from translation team.
56809 * po/ja.po: Likewise.
56810 * po/ru.po: Likewise.
56811 * po/ko.po: Likewise.
56812 * po/fr.po: Likewise.
56814 2011-07-09 Roland McGrath <roland@hack.frob.com>
56816 * configure.in (.ctors/.dtors header and trailer check):
56817 Use an empirical test on a built program.
56818 * configure: Regenerated.
56820 * configure.in (-z relro check): Use an empirical test on a built DSO.
56821 Detect, but do not require, on ia64.
56822 * configure: Regenerated.
56824 * configure.in (READELF): Find it with AC_CHECK_TOOL.
56825 Update tests that use readelf to use $READELF instead.
56826 * configure: Regenerated.
56828 2011-07-08 Ulrich Drepper <drepper@gmail.com>
56830 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
56831 if the result is not used.
56833 2011-07-05 Andreas Jaeger <aj@suse.de>
56836 * stdlib/tst-strtod.c: Add testcase.
56838 2011-07-07 Ulrich Drepper <drepper@gmail.com>
56840 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
56841 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
56842 The latter has a higher limit. Take additional parameter to pass to
56844 (__pathconf): Pass file to __statfs_link_max.
56845 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
56847 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
56851 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
56852 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56854 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
56855 (__statfs_filesize_max): Likewise.
56856 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
56858 2011-07-05 Andreas Jaeger <aj@suse.de>
56860 * resolv/res_comp.c (dn_skipname): Remove unused variable.
56862 2011-07-06 Marek Polacek <mpolacek@redhat.com>
56864 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
56866 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
56869 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
56871 * Makefile (strop-tests): Add strncat.
56872 * string/test-strncat.c: New file.
56874 2011-06-30 Marek Polacek <mpolacek@redhat.com>
56876 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
56878 2011-06-21 Andreas Jaeger <aj@suse.de>
56880 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
56881 Copy rule from iconvdata/Makefile.
56883 2011-07-06 Ulrich Drepper <drepper@gmail.com>
56886 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
56887 but no long options are defined, just return 'W'.
56889 2011-06-22 Marek Polacek <mpolacek@redhat.com>
56892 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
56894 2011-07-06 Ulrich Drepper <drepper@gmail.com>
56896 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
56898 (innetgr): Likewise.
56900 2011-07-05 Roland McGrath <roland@hack.frob.com>
56902 * config.make.in (install_root): Default to $(DESTDIR).
56904 2011-07-05 Ulrich Drepper <drepper@gmail.com>
56906 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
56908 2011-07-02 Roland McGrath <roland@hack.frob.com>
56910 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
56912 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
56913 containing directory rather than embedding absolute directory names.
56915 * scripts/check-local-headers.sh: Rewritten using awk.
56916 Match by word, not by line. Print error messages for matches.
56917 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
56919 * Makerules [shlib-lds-flags empty]:
56920 ($(common-objpfx)libc_pic.opts): New target.
56921 ($(common-objpfx)libc_pic.os.clean): New target.
56922 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
56924 * config.make.in (OBJCOPY): New variable.
56925 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
56926 * configure: Regenerated.
56928 * config.make.in (use-default-link): New variable.
56929 * configure.in (use_default_link): Grok --with-default-link to set it.
56930 * configure: Regenerated.
56931 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
56932 (shlib-lds, shlib-lds-flags): Define to empty.
56934 * Makerules (shlib-lds): New variable.
56935 (shlib-lds-flags): New variable.
56936 (build-shlib, build-moduile, build-module-asneeded): Use it.
56937 ($(common-objpfx)libc.so): Use $(shlib-lds).
56938 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
56939 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
56941 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
56942 DT_FLAGS/DT_FLAGS_1 with zero flags.
56944 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
56945 linker script munging.
56947 2011-07-02 Ulrich Drepper <drepper@gmail.com>
56949 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
56951 * crypt/sha512.c (sha512_process_block): Perform total addition using
56952 128-bit if possible.
56953 (__sha512_finish_ctx): Likewise.
56954 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
56956 * crypt/sha256.c (SWAP64): Define.
56957 (sha256_process_block): Perform total addition using 64-bit if
56959 (__sha256_finish_ctx): Likewise.
56961 2011-07-01 Ulrich Drepper <drepper@gmail.com>
56963 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
56964 * nscd/initgrcache.c (addinitgroupsX): Likewise.
56965 * nscd/hstcache.c (cache_addhst): Likewise.
56966 * nscd/grpcache.c (cache_addgr): Likewise.
56967 * nscd/aicache.c (addhstaiX): Likewise
56968 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
56970 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
56972 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
56973 * nscd/initgrcache.c (addinitgroupsX): Likewise.
56974 * nscd/hstcache.c (cache_addhst): Likewise.
56975 * nscd/grpcache.c (cache_addgr): Likewise.
56976 * nscd/aicache.c (addhstaiX): Likewise
56978 2011-07-01 Andreas Schwab <schwab@redhat.com>
56980 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
56981 domain only when needed.
56983 2011-06-30 Andreas Schwab <schwab@redhat.com>
56985 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
56986 is always restored.
56988 2011-06-29 Ulrich Drepper <drepper@gmail.com>
56990 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
56991 are re-adding the entry.
56992 * nscd/servicescache.c (cache_addserv): Likewise.
56994 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
56996 * sysdeps/generic/dl-irel.h: fix protection against multiple
56998 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
57000 2011-06-28 Ulrich Drepper <drepper@gmail.com>
57003 * malloc/memusage.sh: Fix quoting in message.
57004 * debug/xtrace.sh: Likewise.
57006 * configure.in: Remove support for --experimental-malloc option, make
57008 * config.make.in: Likewise.
57009 * malloc/Makefile: Likewise.
57011 2011-06-27 Andreas Schwab <schwab@redhat.com>
57013 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
57014 two-byte characters.
57016 2011-06-27 Roland McGrath <roland@hack.frob.com>
57018 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
57019 AC_CACHE_CHECK invocation.
57020 * configure: Regenerated.
57022 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
57024 2011-06-27 Ulrich Drepper <drepper@gmail.com>
57027 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
57028 bit from old_res_options.
57030 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
57032 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
57033 value type for setfct.
57035 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
57037 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57038 __gettimeofday instead of gettimeofday.
57040 2011-06-26 Ulrich Drepper <drepper@gmail.com>
57042 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
57044 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
57046 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
57048 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
57051 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
57053 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57054 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57055 strcpy-sse2-unaligned strncpy-sse2-unaligned
57056 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
57057 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
57058 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
57059 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
57060 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
57061 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
57062 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
57063 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
57064 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
57065 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
57066 (STRCPY): Support SSE2 and SSSE3 versions.
57068 2011-06-24 Ulrich Drepper <drepper@gmail.com>
57071 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
57072 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
57073 kernels which artificially limit size of requests.
57075 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
57077 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57078 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57079 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
57080 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
57081 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
57082 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
57083 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
57084 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
57085 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
57086 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
57087 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
57088 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
57089 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
57090 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
57091 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
57092 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57093 Enable unaligned load optimization for Intel Core i3, i5 and i7
57095 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
57097 (index_Fast_Unaligned_Load): Define.
57098 (HAS_FAST_UNALIGNED_LOAD): Define.
57100 2011-06-23 Marek Polacek <mpolacek@redhat.com>
57102 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
57104 2011-06-22 Ulrich Drepper <drepper@gmail.com>
57107 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
57108 until it is clear that the information is realy needed.
57109 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
57111 2011-06-22 Andreas Schwab <schwab@redhat.com>
57113 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
57115 2011-06-22 Ulrich Drepper <drepper@gmail.com>
57117 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57118 /sys/devices/system/cpu/online if it is usable.
57120 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
57121 reading the information from the /proc filesystem to once a second.
57123 2011-06-21 Andreas Jaeger <aj@suse.de>
57125 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
57126 NULL after inclusion of kernel headers.
57128 2011-06-21 Ulrich Drepper <drepper@gmail.com>
57130 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
57131 calls to internal_setent.
57134 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
57135 addresses using gethostbyname4_r ignore IPv4 addresses.
57137 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
57138 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
57140 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
57142 2011-06-20 David S. Miller <davem@davemloft.net>
57144 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
57146 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
57148 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
57149 (elf_irel): Use it.
57150 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
57151 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
57152 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
57153 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
57154 * sysdeps/x86_64/dl-irel.h: Likewise.
57156 * elf/dl-runtime.c: Use elf_ifunc_invoke.
57157 * elf/dl-sym.c: Likewise.
57159 2011-06-15 Ulrich Drepper <drepper@gmail.com>
57161 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
57162 need to dereference resplen2.
57164 2011-06-14 Andreas Schwab <schwab@redhat.com>
57166 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
57168 2011-06-15 Ulrich Drepper <drepper@gmail.com>
57170 * Makeconfig: Define vardbdir and inst_vardbdir.
57171 * nss/Makefile: Add rules to install db-Makefile.
57173 * nss/nss_db/db-XXX.c: Cleanup.
57175 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
57176 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
57178 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
57179 * nss/makedb.c: Implement -g option to specify that value strings
57180 are generated and should not be added to table iterated over for
57182 * nss/nss_db/db-initgroups.c: New file.
57184 * nss/getent.c: Add support for initgroups lookups through getgrouplist
57187 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
57188 (internal_getgrouplist): Adjust to name change.
57189 Update use_initgroups_entry if this is not the first call.
57190 * nss/databases.def: Add initgroups entry.
57192 * nss/makedb.c (compute_tables): Check result of multiple hash table
57193 sizes to minimize maximum chain length.
57195 2011-06-14 Ulrich Drepper <drepper@gmail.com>
57197 * Versions.def: Add entry for libnss_db.
57198 * shlib-versions: Likewise.
57199 * nss/Makefile: Add rules to build libnss_db.
57200 * nss/Versions: Add libnss_db information. Organize libnss_files
57202 * nss/db-Makefile: Add gshadow support. Change rules for the new
57203 makedb progra. Some minor improvements to generate smaller files.
57204 * nss/nss_db/nss_db.h: Move NSS database header data structures to
57206 * nss/makedb.c: ...here.
57207 Improve database format to be smaller and require less memory at
57209 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
57211 * nss/nss_db/db-netgrp.c: Likewise.
57212 * nss/nss_db/db-open.c: Likewise.
57213 * nss/nss_files/flies-XXX.x: Adjust comments.
57214 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
57215 * nss/nss_files/files-grp.c: Likewise.
57216 * nss/nss_files/files-hosts.c: Likewise.
57217 * nss/nss_files/files-network.c: Likewise.
57218 * nss/nss_files/files-proto.c: Likewise.
57219 * nss/nss_files/files-pwd.c: Likewise.
57220 * nss/nss_files/files-rpc.c: Likewise.
57221 * nss/nss_files/files-service.c: Likewise.
57222 * nss/nss_files/files-sgrp.c: Likewise.
57223 * nss/nss_files/files-spwd.c: Likewise.
57224 * nss/nss_db/db-alias.c: Removed.
57225 * nss/nss_db/dummy-db.h: Removed.
57227 2011-06-02 Ulrich Drepper <drepper@gmail.com>
57229 * nss/makedb.c: Rewritten to not use database library.
57230 * nss/Makefile: Update to build new makedb program.
57232 2011-06-14 Andreas Jaeger <aj@suse.de>
57234 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
57235 memset declaration.
57237 2011-06-10 Andreas Schwab <schwab@redhat.com>
57239 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
57242 2011-06-10 Roland McGrath <roland@hack.frob.com>
57244 * Makerules (shlib.lds): Fail if the linker script comes out empty.
57245 * elf/Makefile ($(objpfx)ld.so): Likewise.
57247 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
57248 Don't list ld.so twice in dependencies.
57250 * posix/bug-regex31.c: Include <stdlib.h>.
57252 * nscd/hstcache.c (cache_addhst): Remove unused variable.
57254 * nis/nss_compat/compat-spwd.c
57255 (getspent_next_nss_netgr): Remove unused variable.
57256 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
57258 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
57259 nonmembers" output to use the right array.
57261 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
57263 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
57265 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
57266 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
57267 * catgets/gencat.c (read_input_file): Likewise.
57268 * locale/programs/locarchive.c (enlarge_archive): Likewise.
57270 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
57271 variable definition inside #if's controlling its use.
57273 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
57275 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
57277 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
57279 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
57282 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
57284 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
57285 * configure: Regenerated.
57287 * Makerules: Revert last change.
57288 * elf/Makefile: Likewise.
57290 2011-06-09 Roland McGrath <roland@hack.frob.com>
57292 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
57293 * elf/Makefile ($(objpfx)librtld.os): Likewise.
57294 (reloc-link): Likewise.
57296 2011-06-09 Ulrich Drepper <drepper@gmail.com>
57298 * elf/Makefile: Add rules to build pldd.
57299 * elf/pldd.c: New file.
57300 * elf/pldd-xx.c: New file.
57302 2011-06-07 Ulrich Drepper <drepper@gmail.com>
57304 * version.h: Update for 2.15 development version.
57306 2011-06-07 David S. Miller <davem@davemloft.net>
57308 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
57310 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
57311 elf_machine_lazy_rel): Likewise.
57312 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57313 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
57314 elf_machine_lazy_rel): Likewise.
57315 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
57316 dl_hwcap via passed in argument.
57317 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
57320 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57322 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
57324 2011-06-06 Roland McGrath <roland@hack.frob.com>
57327 * manual/fdl-1.1.texi: New file, verbatim from:
57328 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
57329 * manual/lgpl-2.1.texi: New file, verbatim from:
57330 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
57331 * manual/Makefile (licenses): New variable, list those new file names.
57333 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
57335 * manual/fdl.texi: File removed.
57336 * manual/lesser.texi: File removed.
57337 * manual/libc.texinfo (Copying, Documentation License):
57338 Use new @include file names, put @appendix directive before @include.
57340 2011-06-04 Jakub Jelinek <jakub@redhat.com>
57343 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
57344 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
57345 (mq_open): Add __NTH.
57347 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
57349 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57350 Assume Intel Core i3/i5/i7 processor if AVX is available.
57352 2011-05-31 Ulrich Drepper <drepper@gmail.com>
57354 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
57357 2011-05-31 Andreas Schwab <schwab@redhat.com>
57359 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
57360 memory. Use alloca_account. Fix memory leak when retrying.
57362 2011-05-31 Ulrich Drepper <drepper@gmail.com>
57364 * version.h (RELEASE): Bump for 2.14 release.
57365 * include/features.h (__GLIBC_MINOR__): Bump to 14.
57367 * config.make.in (RANLIB): Remove entry.
57369 2011-05-30 Ulrich Drepper <drepper@gmail.com>
57371 * po/Makefile (po-sed-cmd): Add ksh to extensions.
57372 (libc.pot): Work around missing support for .ksh extension in xgettext.
57375 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
57376 if both request failed.
57377 (send_dg): In case of server errors clear resplen or *resplen2.
57380 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
57381 when there are multiple maps.
57382 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
57383 (_dl_fini): Remove test here.
57385 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
57387 2011-05-29 Ulrich Drepper <drepper@gmail.com>
57390 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
57391 bit from old_res_options.
57392 (gaih_inet): Likewise.
57395 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
57398 * resolv/res_init.c (res_setoptions): Make the code more compact.
57401 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
57405 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
57407 * malloc/malloc.h: Mark malloc hook variables as deprecated.
57410 * malloc/malloc.h: Declare malloc hook variables as volatile.
57412 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
57416 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
57417 raise in the comment.
57418 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57419 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57420 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
57422 2011-05-28 Ulrich Drepper <drepper@gmail.com>
57425 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
57426 grow the buffers more if it already has to be sufficient.
57427 (build_wcs_upper_buffer): Likewise.
57428 * posix/regexec.c (check_matching): Likewise.
57429 (clean_state_log_if_needed): Likewise.
57430 (extend_buffers): Don't enlarge buffers beyond size of the input
57432 Patches mostly by Emil Wojak <emil@wojak.eu>.
57433 * posix/bug-regex32.c: New file.
57434 * posix/Makefile (tests): Add bug-regex32.
57436 * locale/findlocale.c (_nl_find_locale): Return right away if
57437 _nl_explode_name failed.
57438 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
57440 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
57442 * debug/xtrace.sh: Unify messages.
57443 * malloc/memusage.sh: Likewise.
57446 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
57447 time symbol from vDSO. Substitute with vsyscall if not available.
57448 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
57451 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
57452 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
57453 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
57454 Add sendmmsg and internal_sendmmsg.
57455 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
57456 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
57457 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
57459 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
57460 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
57461 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
57463 2011-05-27 Ulrich Drepper <drepper@gmail.com>
57466 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
57467 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
57469 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
57473 * iconvdata/Makefile (tests): Add bug-iconv9.
57474 * iconvdata/bug-iconv9.c: New file.
57476 2011-05-27 Andreas Schwab <schwab@redhat.com>
57479 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
57481 2011-05-25 Jakub Jelinek <jakub@redhat.com>
57483 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57484 (struct user_regs_struct): Change intcs field back to cs.
57486 2011-05-25 Ulrich Drepper <drepper@gmail.com>
57488 * po/ja.po: Update from translation team.
57490 2011-05-23 Ulrich Drepper <drepper@gmail.com>
57493 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
57494 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
57496 2011-05-20 Andreas Schwab <schwab@redhat.com>
57498 * stdlib/longlong.h: Update from GCC.
57500 2011-05-23 Andreas Schwab <schwab@redhat.com>
57502 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
57504 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
57505 Add parameter name.
57506 (__sysconf): Pass it down.
57508 2011-05-22 Ulrich Drepper <drepper@gmail.com>
57511 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
57513 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57514 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
57515 add in in __libc_use_alloca calls. Adjust callers.
57516 (glob): Use malloc in some situations.
57518 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
57519 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
57522 2011-05-21 Ulrich Drepper <drepper@gmail.com>
57524 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
57525 and CLOCK_BOOTTIME_ALARM.
57528 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
57531 * string/_strerror.c (__strerror_r): Print negative errors as signed
57535 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
57536 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
57537 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
57539 * configure.in: Fix typo in redirection and correct removal of test
57540 files in two cases.
57543 * locale/setlocale.c (new_composite_name): Fix test to check for
57544 identical name of all categories.
57547 * libio/filedoalloc.c (local_isatty): New function.
57548 (_IO_file_doallocate): Use local_isatty.
57549 * stdio-common/perror.c (perror): In case a new stream is used
57550 forward the stream error.
57551 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
57554 2011-05-20 Ulrich Drepper <drepper@gmail.com>
57557 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
57559 * include/alloca.h (extend_alloca_account): Define.
57562 * posix/regex.h: Fix comments with documentation of user-accessible
57563 fields after compilation and describe correct free'ing of pattern
57564 after re_compile_pattern.
57565 Patch by Reuben Thomas <rrt@sc3d.org>.
57567 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
57569 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
57570 and -mno-altivec to prevent the compiler from using Altivec and/or
57571 VSX instructions when the corresponding registers are not available.
57573 2011-05-19 Andreas Schwab <schwab@redhat.com>
57575 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
57577 2011-05-19 Ulrich Drepper <drepper@gmail.com>
57579 * libio/freopen.c (freopen): Use __dup2, not dup2.
57580 * libio/freopen64.c (freopen64): Likewise.
57582 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
57585 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
57586 * math/Makefile (tests): Add test-powl.
57587 (CFLAGS-test-powl.c): Define.
57588 * math/test-powl.c: New file.
57590 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
57592 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
57594 2011-05-17 Ulrich Drepper <drepper@gmail.com>
57597 * iconvdata/gb18030.c: Update to GB18020-2005.
57599 2011-05-16 Ulrich Drepper <drepper@gmail.com>
57601 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
57602 RE_SYNTAX_POSIX_AWK): Update to match recent development.
57603 Patch by Aharon Robbins <arnold@skeeve.com>.
57606 * stdlib/putenv.c (putenv): Don't always create copy of the variable
57610 * misc/pselect.c (__pselect): Handle timeout value errors hidden
57611 through underflows.
57614 * misc/error.c (error_at_line): Ensure file_name and old_file_name
57615 point to strings before performing equality test for error_one_per_line
57619 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
57622 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57623 (struct user_fpregs_struct): Avoid __uint*_t types.
57626 * malloc/mtrace.c (tr_where): Add additional parameter to point to
57627 symbol info. Use it instead of calling _dl_addr locally.
57628 (lock_and_info): New function.
57629 (tr_freehook): Call lock_and_info and pass symbol info as additional
57630 parameter to tr_where.
57631 (tr_mallochook): Likewise.
57632 (tr_reallochook): Likewise.
57633 (tr_memalignhook): Likewise.
57635 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
57636 used and couldn't be at all thread-safe.
57638 2011-05-15 Ulrich Drepper <drepper@gmail.com>
57640 * libio/freopen.c (freopen): Don't close old file descriptor
57641 before the new one is opened. Instead dup the new file descriptor
57642 to the old one after the new stream is created.
57643 * libio/freopen64.c (freopen64): Likewise.
57644 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
57645 * libio/fileops.c (_IO_new_file_close_it): Handle new
57646 _IO_FLAGS2_NOCLOSE flag.
57647 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
57648 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
57649 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
57650 _IO_FLAGS2_NOCLOSE flag.
57651 * include/unistd.h: Add hidden_proto for dup3.
57652 Define __have_dup3.
57653 * io/dup3.c: Define hidden symbol.
57654 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
57657 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
57658 when an incomplete long option is used.
57659 * posix/tst-getopt_long1.c: New file.
57660 * posix/Makefile (tests): Add tst-getopt_long1.
57663 * scripts/config.guess: Update from autoconf-2.68.
57664 * scripts/config.sub: Likewise.
57667 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
57669 (has_cpuclock): ...this. New function.
57670 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
57671 macro here based on has_cpuclock code.
57674 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57675 First byte (not low byte) is now always NUL.
57676 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
57678 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57679 Use non-cancelable interfaces.
57682 * locale/iso-639.def: Add entry for Sorani.
57685 * include/stdlib.h: Move include protection to the right place.
57686 Define abort_msg_s. Declare __abort_msg with it.
57687 * stdlib/abort.c (__abort_msg): Adjust type.
57688 * assert/assert.c (__assert_fail_base): New function. Majority
57689 of code from __assert_fail. Allocate memory for __abort_msg with
57691 (__assert_fail): Now call __assert_fail_base.
57692 * assert/assert-perr.c: Remove bulk of implementation. Use
57693 __assert_fail_base.
57694 * include/assert.hL Declare __assert_fail_base.
57695 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
57697 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
57699 2011-05-14 Ulrich Drepper <drepper@gmail.com>
57703 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
57704 until all modules are registered in the DTV.
57705 * elf/Makefile: Add rules to build and run tst-tls19.
57706 * elf/tst-tls19.c: New file.
57707 * elf/tst-tls19mod1.c: New file.
57708 * elf/tst-tls19mod2.c: New file.
57709 * elf/tst-tls19mod3.c: New file.
57710 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
57713 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
57717 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
57718 two-byte sequence errors.
57719 * iconvdata/Makefile (tests): Add bug-iconv8.
57720 * iconvdata/bug-iconv8.c: New file.
57723 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
57726 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
57729 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
57730 (dummy_getcfa): New function.
57731 (init): Get _Unwind_GetCFA address, use dummy if not found.
57732 (backtrace_helper): In recursion check, also check whether CFA changes.
57733 (__backtrace): Completely initialize arg.
57735 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
57736 storing incomplete byte sequence in state object. Avoid testing for
57737 guaranteed too small input if we know there is enough data available.
57739 2011-05-11 Andreas Schwab <schwab@redhat.com>
57741 * Makeconfig (+link-pie): Indent.
57742 * Rules (binaries-pie): Define if $(have-fpie) and
57744 (binaries-shared): Also filter out $(binaries-pie).
57745 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
57746 * nscd/Makefile (others-pie): Add nscd.
57747 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
57748 ($(objpfx)nscd): Remove command override.
57749 * login/Makefile (others-pie): Add pt_chown.
57750 ($(objpfx)pt_chown): Remove command override.
57751 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
57752 remove command overrides.
57754 2011-05-13 Ulrich Drepper <drepper@gmail.com>
57756 * libio/tst_putwc.c: Fix error messages.
57759 * libio/fileops.c (_IO_new_file_close_it): Always flush when
57760 currently writing and seek to current position when not.
57761 * libio/Makefile (tests): Add bug-fclose1.
57762 * libio/bug-fclose1.c: New file.
57764 2011-05-12 Ulrich Drepper <drepper@gmail.com>
57767 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
57768 don't set DF_1_NODELETE here.
57769 (do_lookup_x): When entering new entry test for copy relocation
57770 and if necessary set DF_1_NODELETE flag.
57771 * elf/tst-unique4.cc: New file.
57772 * elf/tst-unique4.h: New file.
57773 * elf/tst-unique4lib.cc: New file.
57774 * elf/Makefile: Add rules to build and run tst-unique4.
57775 Patch by Piotr Bury <pbury@goahead.com>.
57777 2011-05-11 Ulrich Drepper <drepper@gmail.com>
57780 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
57783 * misc/mntent_r.c (addmntent): Flush the stream after the output
57786 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
57787 (is_trusted_path_normalize): Skip initial colon. Append slash
57788 to empty buffer. Duplicate is_trusted_path code but allow
57789 constructed patch to be prefix.
57790 (is_dst): Allow $ORIGIN followed by /.
57791 (_dl_dst_substitute): Correct clearing of check_for_trusted.
57792 Correct testing of result of is_trusted_path_normalize
57793 (decompose_rpath): Fix warning.
57795 2011-05-10 Ulrich Drepper <drepper@gmail.com>
57798 * grp/initgroups.c (internal_getgrouplist): When we found the service
57799 list through the initgroups entry in nsswitch.conf do not always
57800 continue on a successful lookup. Don't always use the
57801 __nss_group_database value if it is set.
57802 * nss/nsswitch.conf (initgroups): Change action for successful db
57803 lookup to continue for compatibility.
57805 2011-05-09 Ulrich Drepper <drepper@gmail.com>
57808 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
57810 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
57812 * iconvdata/tst-tables.sh: Likewise.
57813 * iconvdata/cp770.c: New file.
57814 * iconvdata/cp771.c: New file.
57815 * iconvdata/cp772.c: New file.
57816 * iconvdata/cp773.c: New file.
57817 * iconvdata/cp774.c: New file.
57818 * iconvdata/testdata/CP770: New file.
57819 * iconvdata/testdata/CP770..UTF8: New file.
57820 * iconvdata/testdata/CP771: New file.
57821 * iconvdata/testdata/CP771..UTF8: New file.
57822 * iconvdata/testdata/CP772: New file.
57823 * iconvdata/testdata/CP772..UTF8: New file.
57824 * iconvdata/testdata/CP773: New file.
57825 * iconvdata/testdata/CP773..UTF8: New file.
57826 * iconvdata/testdata/CP774: New file.
57827 * iconvdata/testdata/CP774..UTF8: New file.
57829 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
57831 * iconvdata/gen-8bit-gap.sh: Likewise.
57832 * iconvdata/gen-8bit.sh: Likewise.
57834 * locale/iso-639.def: Add ary entry.
57837 * locale/C-translit.h.in: Add U20A1 transliteration.
57840 * locale/iso-639.def: Add wae entry.
57841 Patch by Kevin Bortis <bortis@translate-wae.ch>.
57844 * locale/programs/localedef.c (construct_output_path): Use ssize_t
57848 * locale/C-translit.h.in: Add entry for U20B9.
57849 Patch by pravin.d.s@gmail.com.
57851 2011-05-08 Ulrich Drepper <drepper@gmail.com>
57854 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
57855 ENAMETOOLONG use generic getcwd.
57856 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
57857 in rtld. Use *stat64.
57858 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
57859 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
57860 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
57861 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
57862 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
57863 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
57864 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
57865 __fstatat64 macros.
57866 * include/dirent.h: Add libc_hidden_proto for rewinddir.
57867 * dirent/rewinddir.c: Add libc_hidden_def.
57868 * sysdeps/mach/hurd/rewinddir.c: Likewise.
57869 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
57871 * include/dirent.h (__alloc_dir): Add flags parameter.
57872 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
57873 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
57875 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
57876 from fdopendir if O_CLOEXEC is already set.
57878 2011-03-15 Alan Modra <amodra@gmail.com>
57880 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
57881 l_tls_firstbyte_offset non-zero. Save padding offset in
57882 l_tls_firstbyte_offset for later use.
57883 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
57884 freeing static tls block.
57886 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
57888 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
57889 where #ifdef was intended. The intent is to prevent ARG_MAX from
57890 being defined by the kernel headers.
57892 2011-05-07 Ulrich Drepper <drepper@gmail.com>
57895 * resolv/resolv.h: Define RES_NOTLDQUERY.
57896 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
57897 no-tld-query and set RES_NOTLDQUERY.
57898 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
57899 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
57900 modern BIND to search name as TLD unless forbidden.
57902 2011-05-07 Petr Baudis <pasky@suse.cz>
57903 Ulrich Drepper <drepper@gmail.com>
57906 * elf/dl-load.c (fillin_rpath): Move trusted path check...
57907 (is_trusted_path): ...to here.
57908 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
57909 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
57910 using is_trusted_path_normalize() in setuid scripts.
57912 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
57914 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
57915 __BEGIN/__END_DECLS.
57917 2011-05-06 Ulrich Drepper <drepper@gmail.com>
57919 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
57920 NSS_STATUS_NOTFOUND if no record was found.
57922 2011-05-05 Andreas Schwab <schwab@redhat.com>
57924 * sunrpc/Makefile (headers): Add rpc/netdb.h.
57925 (headers-not-in-tirpc): Remove rpc/netdb.h
57926 * resolv/netdb.h: Revert last change.
57928 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
57930 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
57931 circular dependency between libgcc.a and libc.a.
57933 2011-05-05 Andreas Schwab <schwab@redhat.com>
57935 * resolv/netdb.h: Don't include <rpc/netdb.h>.
57936 * nis/Makefile: Don't install rpcsvc/*.
57937 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
57938 instead of <rpc/types.h>.
57939 (MAXHOSTNAMELEN): Define.
57941 2011-05-03 Andreas Schwab <schwab@redhat.com>
57943 * elf/ldconfig.c (add_dir): Don't crash on empty path.
57945 2011-04-28 Maciej Babinski <mbabinski@google.com>
57948 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
57949 gethostbyname4_r when IPv6 results are possible.
57951 2011-05-02 Ulrich Drepper <drepper@gmail.com>
57954 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
57955 _PC_PIPE_BUF handling.
57957 2011-04-30 Bruno Haible <bruno@clisp.org>
57960 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
57961 * resolv/netdb.h (getnameinfo): Change type of flags parameter
57963 * inet/getnameinfo.c (getnameinfo): Likewise.
57965 2011-04-29 Ulrich Drepper <drepper@gmail.com>
57967 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
57968 to groups setting in database lookup.
57969 * nss/nsswitch.conf: Add initgroups entry.
57971 2011-04-22 Ulrich Drepper <drepper@gmail.com>
57974 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
57976 Patch by Eric Blake <eblake@redhat.com>.
57978 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
57980 * sunrpc/Makefile (need-export-routines): Add svc_run.
57981 (routines): Remove svc_run.
57982 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
57983 * sunrpc/clnt_perr.c (clnt_perrno): Export.
57984 * sunrpc/svc_run.c (svc_run): Likewise.
57985 * sunrpc/svc_udp.c (svcudp_create): Likewise.
57987 2011-04-21 Ulrich Drepper <drepper@gmail.com>
57989 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
57990 problem in reallocation in last patch.
57992 2011-04-20 Ulrich Drepper <drepper@gmail.com>
57994 * sunrpc/Makefile: Move inclusion of Rules.
57996 2011-04-19 Ulrich Drepper <drepper@gmail.com>
57998 * nss/nss_files/files-initgroups.c: New file.
57999 * nss/Makefile (libnss_files-routines): Add files-initgroups.
58000 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
58001 _nss_files_initgroups_dyn.
58003 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
58005 * elf/elf.h (R_ARM_IRELATIVE): Define.
58007 2011-04-19 Ulrich Drepper <drepper@gmail.com>
58009 * po/ru.po: Update from translation team.
58011 2011-04-17 Ulrich Drepper <drepper@gmail.com>
58013 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
58016 2011-02-06 Mike Frysinger <vapier@gentoo.org>
58019 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
58020 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
58021 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58022 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58023 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58025 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
58027 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
58029 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58030 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58031 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58033 2011-04-17 Ulrich Drepper <drepper@gmail.com>
58036 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
58038 * stdlib/bug-getcontext.c: New file.
58039 * stdlib/Makefile: Add rules to build and run bug-getcontext.
58041 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58043 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
58044 instructions into .machine "z9-109".
58045 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
58046 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
58048 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58050 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
58051 between environment variables and auxiliary vector.
58053 2011-04-16 Ulrich Drepper <drepper@gmail.com>
58055 * Makefile: Add rules to build linkobj/libc.so.
58056 * include/libc-symbols.h: Define libc_hidden_nolink.
58057 * include/rpc/auth.h: Mark functions which are to be hidden.
58058 * include/rpc/auth_des.h: Likewise.
58059 * include/rpc/auth_unix.h: Likewise.
58060 * include/rpc/clnt.h: Likewise.
58061 * include/rpc/des_crypt.h: Likewise.
58062 * include/rpc/key_prot.h: Likewise.
58063 * include/rpc/pmap_clnt.h: Likewise.
58064 * include/rpc/pmap_prot.h: Likewise.
58065 * include/rpc/pmap_rmt.h: Likewise.
58066 * include/rpc/rpc_msg.h: Likewise.
58067 * include/rpc/svc.h: Likewise.
58068 * include/rpc/svc_auth.h: Likewise.
58069 * include/rpc/xdr.h: Likewise.
58070 * nis/Makefile: Link all DSOs against linkobj/libc.so.
58071 * nss/Makefile: Likewise.
58072 * sunrpc/Makefile: Don't install headers. Build library with normal
58073 entry points. Don't build rpcinfo. Link RPC tests appropriately.
58074 * sunrpc/auth_des.c: Hide exported symbols by default, export some
58075 for the compat linking library. Remove use of INTDEF/INTUSE.
58076 * sunrpc/auth_none.c: Likewise.
58077 * sunrpc/auth_unix.c: Likewise.
58078 * sunrpc/authdes_prot.c: Likewise.
58079 * sunrpc/authuxprot.c: Likewise.
58080 * sunrpc/clnt_gen.c: Likewise.
58081 * sunrpc/clnt_perr.c: Likewise.
58082 * sunrpc/clnt_raw.c: Likewise.
58083 * sunrpc/clnt_simp.c: Likewise.
58084 * sunrpc/clnt_tcp.c: Likewise.
58085 * sunrpc/clnt_udp.c: Likewise.
58086 * sunrpc/clnt_unix.c: Likewise.
58087 * sunrpc/des_crypt.c: Likewise.
58088 * sunrpc/des_soft.c: Likewise.
58089 * sunrpc/get_myaddr.c: Likewise.
58090 * sunrpc/key_call.c: Likewise.
58091 * sunrpc/key_prot.c: Likewise.
58092 * sunrpc/netname.c: Likewise.
58093 * sunrpc/pm_getmaps.c: Likewise.
58094 * sunrpc/pm_getport.c: Likewise.
58095 * sunrpc/pmap_clnt.c: Likewise.
58096 * sunrpc/pmap_prot.c: Likewise.
58097 * sunrpc/pmap_prot2.c: Likewise.
58098 * sunrpc/pmap_rmt.c: Likewise.
58099 * sunrpc/publickey.c: Likewise.
58100 * sunrpc/rpc_cmsg.c: Likewise.
58101 * sunrpc/rpc_common.c: Likewise.
58102 * sunrpc/rpc_dtable.c: Likewise.
58103 * sunrpc/rpc_prot.c: Likewise.
58104 * sunrpc/rpc_thread.c: Likewise.
58105 * sunrpc/rtime.c: Likewise.
58106 * sunrpc/svc.c: Likewise.
58107 * sunrpc/svc_auth.c: Likewise.
58108 * sunrpc/svc_authux.c: Likewise.
58109 * sunrpc/svc_raw.c: Likewise.
58110 * sunrpc/svc_run.c: Likewise.
58111 * sunrpc/svc_simple.c: Likewise.
58112 * sunrpc/svc_tcp.c: Likewise.
58113 * sunrpc/svc_udp.c: Likewise.
58114 * sunrpc/svc_unix.c: Likewise.
58115 * sunrpc/svcauth_des.c: Likewise.
58116 * sunrpc/xcrypt.c: Likewise.
58117 * sunrpc/xdr.c: Likewise.
58118 * sunrpc/xdr_array.c: Likewise.
58119 * sunrpc/xdr_float.c: Likewise.
58120 * sunrpc/xdr_intXX_t.c: Likewise.
58121 * sunrpc/xdr_mem.c: Likewise.
58122 * sunrpc/xdr_rec.c: Likewise.
58123 * sunrpc/xdr_ref.c: Likewise.
58124 * sunrpc/xdr_sizeof.c: Likewise.
58125 * sunrpc/xdr_stdio.c: Likewise.
58127 2011-04-10 Ulrich Drepper <drepper@gmail.com>
58130 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
58131 * sysdeps/ia64/dl-tls.h: Likewise.
58132 * sysdeps/powerpc/dl-tls.h: Likewise.
58133 * sysdeps/s390/dl-tls.h: Likewise.
58134 * sysdeps/sh/dl-tls.h: Likewise.
58135 * sysdeps/sparc/dl-tls.h: Likewise.
58136 * sysdeps/x86_64/dl-tls.h: Likewise.
58137 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
58139 2011-03-14 Andreas Schwab <schwab@redhat.com>
58141 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
58142 rpath element also skip the following colon.
58143 (expand_dynamic_string_token): Add is_path parameter and pass
58144 down to DL_DST_REQUIRED and _dl_dst_substitute.
58145 (decompose_rpath): Call expand_dynamic_string_token with
58146 non-zero is_path. Ignore empty rpaths.
58147 (_dl_map_object_from_fd): Call expand_dynamic_string_token
58150 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
58152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58155 2011-04-09 Ulrich Drepper <drepper@gmail.com>
58158 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
58159 Patch by Filipe David Manana <fdmanana@apache.org>.
58161 2011-04-07 Andreas Schwab <schwab@redhat.com>
58163 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
58164 Maintain aligned stack.
58165 (CHECK_RSP): Remove unused macro.
58167 2011-04-03 Ulrich Drepper <drepper@gmail.com>
58169 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
58170 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
58172 2011-04-02 Ulrich Drepper <drepper@gmail.com>
58174 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
58176 * include/features.h: Mention __USE_XOPEN2K8 in comment.
58178 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
58181 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
58182 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
58183 * sysdeps/x86_64/memmove.c: New file.
58184 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
58185 (memcpy): Renamed to ...
58186 (__new_memcpy): This.
58187 (memcpy): Provide GLIBC_2_14 memcpy.
58188 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
58189 (memcpy): Provide GLIBC_2_2_5 memcpy.
58191 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58194 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
58196 2011-03-30 Andreas Schwab <schwab@redhat.com>
58198 * misc/syncfs.c: New file.
58199 * misc/Makefile (routines): Add syncfs.
58200 * posix/unistd.h: Declare syncfs.
58201 * sysdeps/unix/syscalls.list: Add syncfs.
58203 2011-04-01 Andreas Schwab <schwab@redhat.com>
58205 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
58207 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58208 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58209 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58210 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58211 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58212 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
58213 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58215 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58217 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
58218 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58219 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
58220 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58221 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58222 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58223 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58225 * io/Makefile: Compile fallocate.c, fallocate64.c, and
58226 sync_file_range.c with -fexceptions.
58227 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
58228 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
58229 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
58230 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
58231 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
58232 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58233 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
58234 sync_file_range as cancellation point
58235 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
58236 now a wrapper around __call_sync_file_range with cancellation handling.
58237 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
58238 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
58239 function name to __call_sync_file_range.
58240 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
58241 Add call_sync_file_range.
58243 2011-04-01 Andreas Schwab <schwab@redhat.com>
58245 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58248 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58250 * iconv/iconv.h: Fix typo in comment.
58251 * io/fcntl.h: Likewise.
58252 * libio/stdio.h: Likewise.
58253 * posix/spawn.h: Likewise.
58254 * posix/unistd.h: Likewise.
58255 * stdlib/stdlib.h: Likewise.
58256 * time/time.h: Likewise.
58257 * wcsmbs/wchar.h: Likewise.
58259 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
58260 open_by_handle): Add.
58261 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
58262 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
58263 Augment a few comments.
58264 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58265 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58266 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58267 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58268 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58269 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
58272 * io/fcntl.h (AT_EMPTY_PATH): Define.
58274 2011-03-30 Ulrich Drepper <drepper@gmail.com>
58276 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
58277 * sysdeps/unix/sysv/linux/bits/time.h: New file.
58278 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
58280 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
58281 * Versions.def: Add GLIBC_2.14.
58282 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
58285 2011-03-22 Ulrich Drepper <drepper@gmail.com>
58287 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
58289 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58291 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
58294 * string/test-strncmp.c (do_page_test): New function.
58295 (check2): Likewise.
58296 (test_main): Call check2.
58297 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
58299 2011-03-20 Ulrich Drepper <drepper@gmail.com>
58302 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
58303 Handle cache information in CPU leaf 4.
58304 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58306 2011-03-18 Ulrich Drepper <drepper@gmail.com>
58309 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
58310 character representation.
58311 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
58313 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
58315 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
58316 END(__isnan) to END(__isnanf) to match function entry point/label
58317 EALIGN(__isnanf,...).
58319 2011-03-10 Jakub Jelinek <jakub@redhat.com>
58321 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
58323 2011-03-10 Ulrich Drepper <drepper@gmail.com>
58326 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
58327 copy from the symbol referenced in the relocation to initialize the
58329 Patch by Piotr Bury <pbury@goahead.com>.
58330 * elf/Makefile: Add rules to build and tst-unique3.
58331 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
58332 * elf/tst-unique3.cc: New file.
58333 * elf/tst-unique3.h: New file.
58334 * elf/tst-unique3lib.cc: New file.
58335 * elf/tst-unique3lib2.cc: New file.
58337 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
58339 2011-03-10 Mike Frysinger <vapier@gentoo.org>
58341 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
58342 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
58345 2011-03-06 Ulrich Drepper <drepper@gmail.com>
58347 * elf/dl-load.c (_dl_map_object): If we are looking for the first
58348 to-be-loaded object along a path to loader is ld.so.
58350 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
58351 Ulrich Drepper <drepper@gmail.com>
58353 * sysdeps/x86_64/memset.S: After aligning destination, code
58354 branches to different locations depending on the value of
58355 misalignment, when multiarch is enabled. Fix this.
58357 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
58359 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
58360 Set _x86_64_preferred_memory_instruction for AMD processsors.
58361 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58362 Set bit_Prefer_SSE_for_memop for AMD processors.
58364 2011-03-04 Ulrich Drepper <drepper@gmail.com>
58366 * libio/fmemopen.c (fmemopen): Optimize a bit.
58368 2011-03-03 Andreas Schwab <schwab@redhat.com>
58370 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
58372 2011-03-03 Roland McGrath <roland@redhat.com>
58374 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
58376 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
58378 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
58379 __bzero_ultra1 instead of __memset_ultra1.
58381 2011-02-23 Andreas Schwab <schwab@redhat.com>
58382 Ulrich Drepper <drepper@gmail.com>
58385 * include/link.h (struct link_map): Add l_orig_initfini.
58386 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
58387 returning unsuccessfully.
58388 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
58389 close of a file loaded at startup, restore the original l_initfini
58391 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
58392 list, store the pointer.
58393 * elf/Makefile ($(objpfx)noload-mem): New rule.
58394 (noload-ENV): Define.
58395 (tests): Add $(objpfx)noload-mem.
58396 * elf/noload.c: Include <memcheck.h>.
58397 (main): Call mtrace. Close all opened handles.
58399 2011-02-17 Andreas Schwab <schwab@redhat.com>
58402 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
58403 dependencies are missing.
58405 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
58407 Fix __if_freereq crash: Unlike the generic version which uses free,
58409 * sysdeps/mach/hurd/ifreq.h: New file.
58411 2011-01-27 Petr Baudis <pasky@suse.cz>
58412 Ulrich Drepper <drepper@gmail.com>
58415 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
58416 to extend_alloca().
58417 * stdio-common/bug23.c: New file.
58418 * stdio-common/Makefile (tests): Add bug23.
58420 2010-09-28 Andreas Schwab <schwab@redhat.com>
58421 Ulrich Drepper <drepper@gmail.com>
58424 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
58425 before performing relro protection. At old place add assertion
58426 to make sure nothing changed.
58428 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
58429 Glauber de Oliveira Costa <glommer@gmail.com>
58431 * elf/elf.h: Add new ARM TLS relocs.
58433 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
58435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
58436 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
58438 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
58440 * sysdeps/wordsize-64/tst-writev.c: New file.
58442 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
58444 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
58445 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
58446 insns in _dl_start to prevent a TOC reference before relocs are
58449 2011-02-15 Ulrich Drepper <drepper@gmail.com>
58452 * Makeconfig: Remove RANLIB definition.
58453 * Makerules: Don't use RANLIB.
58454 * aclocal.m4: Remove ranlib test.
58455 * configure.in: No need to check for ranlib.
58456 * elf/rtld-Rules: Don't use RANLIB.
58458 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
58460 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
58462 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
58463 inclusion protection macro.
58465 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
58466 SIGRTMIN and SIGRTMAX and print information in that case only when
58467 SIGRTMIN is defined.
58469 2011-02-11 Jakub Jelinek <jakub@redhat.com>
58471 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
58472 arginfo fn returning -1.
58474 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
58475 and thousands string is zero terminated.
58477 2011-02-03 Andreas Schwab <schwab@redhat.com>
58479 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
58480 sysdeps/unix/sysv/linux/bits/socket.h.
58482 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
58484 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
58485 (__CPU_COUNT): Remove old macros.
58486 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
58487 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
58488 (__CPU_ALLOC, __CPU_FREE): Add macros.
58489 (__sched_cpualloc, __sched_cpufree): Add declarations.
58491 2011-02-05 Ulrich Drepper <drepper@gmail.com>
58493 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
58494 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
58495 * nscd/aicache.c (addhstaiX): Return timeout of added value.
58496 (readdhstai): Return value of addhstaiX call.
58497 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
58498 (addgrbyX): Return value returned by cache_addgr.
58499 (readdgrbyname): Return value returned by addgrbyX.
58500 (readdgrbygid): Likewise.
58501 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
58502 (addpwbyX): Return value returned by cache_addpw.
58503 (readdpwbyname): Return value returned by addhstbyX.
58504 (readdpwbyuid): Likewise.
58505 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
58506 (addservbyX): Return value returned by cache_addserv.
58507 (readdservbyname): Return value returned by addservbyX:
58508 (readdservbyport): Likewise.
58509 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
58510 (addhstbyX): Return value returned by cache_addhst.
58511 (readdhstbyname): Return value returned by addhstbyX.
58512 (readdhstbyaddr): Likewise.
58513 (readdhstbynamev6): Likewise.
58514 (readdhstbyaddrv6): Likewise.
58515 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
58516 (readdinitgroups): Return value returned by addinitgroupsX.
58517 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
58518 (prune_cache): Keep track of timeout value of re-added entries.
58519 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
58520 * nscd/nscd.h: Adjust prototypes of readd* functions.
58522 2011-02-04 Roland McGrath <roland@redhat.com>
58524 * nis/nis_server.c (nis_servstate): Use the right name for 0.
58525 (nis_stats): Likewise.
58526 * nis/nis_modify.c (nis_modify): Likewise.
58527 * nis/nis_remove.c (nis_remove): Likewise.
58528 * nis/nis_add.c (nis_add): Likewise.
58530 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
58532 * posix/fnmatch_loop.c: Add some consts.
58534 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
58536 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
58539 * config.make.in (config-cflags-novzeroupper): Define.
58540 * configure.in: Substitute libc_cv_cc_novzeroupper.
58541 * elf/Makefile (AVX-CFLAGS): Define.
58542 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
58543 (CFLAGS-tst-auditmod4a.c): Likewise.
58544 (CFLAGS-tst-auditmod4b.c): Likewise.
58545 (CFLAGS-tst-auditmod6b.c): Likewise.
58546 (CFLAGS-tst-auditmod6c.c): Likewise.
58547 (CFLAGS-tst-auditmod7b.c): Likewise.
58548 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
58550 2011-02-02 Ulrich Drepper <drepper@gmail.com>
58552 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
58553 function to the callback.
58554 Patch partly by Jiri Olsa <jolsa@redhat.com>.
58556 2011-02-02 Andreas Schwab <schwab@redhat.com>
58558 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
58561 2011-01-19 Ulrich Drepper <drepper@gmail.com>
58564 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
58566 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
58568 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
58571 * elf/Makefile: Add rules to build and run new test.
58572 * elf/tst-initorder.c: New file.
58573 * elf/tst-initorder.exp: New file.
58574 * elf/tst-initordera1.c: New file.
58575 * elf/tst-initordera2.c: New file.
58576 * elf/tst-initordera3.c: New file.
58577 * elf/tst-initordera4.c: New file.
58578 * elf/tst-initorderb1.c: New file.
58579 * elf/tst-initorderb2.c: New file.
58580 * elf/tst-order-a1.c: New file.
58581 * elf/tst-order-a2.c: New file.
58582 * elf/tst-order-a3.c: New file.
58583 * elf/tst-order-a4.c: New file.
58584 * elf/tst-order-b1.c: New file.
58585 * elf/tst-order-b2.c: New file.
58586 * elf/tst-order-main.c: New file.
58587 New test case by George Gensure <werkt0@gmail.com>.
58589 2010-10-01 Andreas Schwab <schwab@redhat.com>
58591 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58592 decoding ACE if AI_CANONIDN.
58594 2011-01-18 Ulrich Drepper <drepper@gmail.com>
58596 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
58598 2011-01-17 Ulrich Drepper <drepper@gmail.com>
58600 * version.h (RELEASE): Bump for 2.13 release.
58601 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
58603 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
58605 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
58607 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
58608 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
58609 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58610 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
58611 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58612 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58614 * posix/getconf.c: Update copyright year.
58615 * catgets/gencat.c: Likewise.
58616 * csu/version.c: Likewise.
58617 * debug/catchsegv.sh: Likewise.
58618 * debug/xtrace.sh: Likewise.
58619 * elf/ldconfig.c: Likewise.
58620 * elf/ldd.bash.in: Likewise.
58621 * elf/sprof.c (print_version): Likewise.
58622 * iconv/iconv_prog.c: Likewise.
58623 * iconv/iconvconfig.c: Likewise.
58624 * locale/programs/locale.c: Likewise.
58625 * locale/programs/localedef.c: Likewise.
58626 * malloc/memusage.sh: Likewise.
58627 * malloc/mtrace.pl: Likewise.
58628 * nscd/nscd.c (print_version): Likewise.
58629 * nss/getent.c: Likewise.
58631 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
58632 PF_CAIF, and PF_ALG.
58633 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58635 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
58637 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
58638 (modules-names): Use them.
58639 (ifunc-test-modules, ifunc-pie-tests): Define.
58640 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
58641 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
58642 (test-extras): Likewise.
58643 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
58644 $(compile-command.c).
58645 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
58646 (all-built-dso): Define.
58647 (check-textrel.out, check-execstack.out): Depend on it.
58649 * configure.in: Don't override --enable-multi-arch.
58651 2011-01-15 Ulrich Drepper <drepper@gmail.com>
58654 * nscd/hstcache.c (tryagain): Define.
58655 (cache_addhst): Return tryagain not notfound for temporary errors.
58656 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
58659 2011-01-14 Ulrich Drepper <drepper@gmail.com>
58662 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
58663 to make the syscall.
58664 * sysdeps/unix/sysv/linux/setgroups.c: New file.
58667 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
58668 and fall back to matching as normal character if the string ends before
58669 the matching ']' is found. This is what POSIX requires.
58670 * posix/testfnm.c: Adjust test result.
58671 * posix/globtest.sh: Adjust test result. Add new test.
58672 * posix/tst-fnmatch.input: Likewise.
58673 * posix/tst-fnmatch2.c: Add new test.
58675 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
58677 * elf/Makefile (check-execstack): Revert last change. Depend on
58679 (check-execstack.h): New target.
58680 (generated): Add check-execstack.h.
58681 * elf/check-execstack.c: Include "check-execstack.h".
58682 (main): Revert last change.
58683 (handle_file): Return zero if GNU_STACK is absent and
58684 DEFAULT_STACK_PERMS doesn't include PF_X.
58686 2011-01-13 Ulrich Drepper <drepper@gmail.com>
58688 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
58689 in child fails because the descriptor is already closed.
58690 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
58691 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
58692 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
58695 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
58699 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
58700 temporary buffer used to handle multi lookups locally.
58701 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
58703 2011-01-12 Ulrich Drepper <drepper@gmail.com>
58705 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
58708 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
58710 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
58711 alignment for SSE2.
58713 2011-01-12 Ulrich Drepper <drepper@gmail.com>
58716 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
58717 characters. When rounding increased number of integer digits recompute
58719 * stdio-common/tst-grouping.c: New file.
58720 * stdio-common/Makefile: Add rules to build and run tst-grouping.
58722 2011-01-09 Ulrich Drepper <drepper@gmail.com>
58724 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
58725 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
58727 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
58729 * bits/select.h: Likewise.
58731 2011-01-08 Ulrich Drepper <drepper@gmail.com>
58733 * po/ja.po: Update from translation team.
58735 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
58738 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
58739 implementation just like for lxstat, fxstatat, et al.
58741 2010-12-27 Jim Meyering <meyering@redhat.com>
58744 * posix/regexec.c (build_trtable): Return failure indication upon
58745 calloc failure. Otherwise, re_search_internal could infloop on OOM.
58747 2010-12-25 Ulrich Drepper <drepper@gmail.com>
58750 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
58751 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
58752 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
58753 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
58756 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
58759 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
58760 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
58762 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
58764 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
58765 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
58766 script has SORT_BY_INIT_PRIORITY.
58767 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
58768 NO_CTORS_DTORS_SECTIONS is defined.
58769 * elf/soinit.c: Likewise.
58770 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
58771 NO_CTORS_DTORS_SECTIONS is defined.
58772 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
58773 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
58774 * sysdeps/sh/init-first.c: Likewise.
58775 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
58777 2010-12-24 Ulrich Drepper <drepper@gmail.com>
58779 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
58780 always use the slow path.
58782 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
58784 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
58785 similar rule which adds the sysdep directories to the header search in
58786 order to pick up the correct platform stackinfo.h.
58787 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
58788 perform test if it is, otherwise return successfully without testing.
58789 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
58790 DEFAULT_STACK_PERMS define in stackinfo.h.
58791 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
58792 defined in stackinfo.h.
58793 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
58794 DEFAULT_STACK_PERMS defined in stackinfo.h.
58795 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
58796 * sysdeps/ia64/stackinfo.h: Likewise.
58797 * sysdeps/s390/stackinfo.h: Likewise.
58798 * sysdeps/sh/stackinfo.h: Likewise.
58799 * sysdeps/sparc/stackinfo.h: Likewise.
58800 * sysdeps/x86_64/stackinfo.h: Likewise.
58801 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
58802 PF_X for powerpc64. Retain PF_X for powerpc32.
58804 2010-12-19 Ulrich Drepper <drepper@gmail.com>
58806 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
58808 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
58809 GETDENTS_64BIT_ALIGNED.
58811 2010-12-14 Ulrich Drepper <dreper@gmail.com>
58813 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
58815 2010-12-10 Andreas Schwab <schwab@redhat.com>
58817 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
58820 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
58821 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
58823 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
58824 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
58826 2010-12-09 Ulrich Drepper <drepper@gmail.com>
58829 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
58832 2010-12-09 Jakub Jelinek <jakub@redhat.com>
58834 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
58836 2010-12-03 Ulrich Drepper <drepper@gmail.com>
58838 * po/it.po: Update from translation team.
58840 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
58842 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
58845 2010-11-30 Ulrich Drepper <drepper@gmail.com>
58847 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
58849 2010-11-24 Andreas Schwab <schwab@redhat.com>
58851 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
58853 (gaih_getanswer_slice): Likewise.
58855 2010-10-20 Jakub Jelinek <jakub@redhat.com>
58857 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
58859 2010-05-31 Petr Baudis <pasky@suse.cz>
58862 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
58863 silently even in the chroot mode.
58865 2010-11-22 Ulrich Drepper <drepper@gmail.com>
58867 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
58868 last patch a bit. Pretty printing
58870 2010-05-31 Petr Baudis <pasky@suse.cz>
58873 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
58874 initialization of skip_initgroups_dyn.
58876 2010-11-19 Ulrich Drepper <drepper@gmail.com>
58878 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
58879 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58881 2010-11-16 Ulrich Drepper <drepper@gmail.com>
58883 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
58885 2010-11-11 Andreas Schwab <schwab@redhat.com>
58887 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
58888 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
58889 (tst-fnmatch-ENV): Set MALLOC_TRACE.
58890 ($(objpfx)tst-fnmatch-mem): New rule.
58891 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
58892 * posix/tst-fnmatch.c (main): Call mtrace.
58894 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
58896 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58897 Support Intel processor model 6 and model 0x2c.
58899 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
58901 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
58904 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
58907 * string/test-strncasecmp.c (check_result): New function.
58908 (do_one_test): Use it.
58909 (check1): New function.
58910 (test_main): Use it.
58911 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
58912 Support strcasecmp and strncasecmp.
58914 2010-11-08 Ulrich Drepper <drepper@gmail.com>
58917 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
58918 * sysdeps/x86_64/bits/byteswap.h: Likewise.
58920 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
58922 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
58924 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58926 * sysdeps/x86_64/multiarch/bzero.S: New file.
58927 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
58928 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
58929 * sysdeps/x86_64/multiarch/memset.S: New file.
58930 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
58931 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58932 Set bit_Prefer_SSE_for_memop for Intel processors.
58933 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
58935 (index_Prefer_SSE_for_memop): Define.
58936 (HAS_PREFER_SSE_FOR_MEMOP): Define.
58938 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
58940 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
58941 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
58943 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
58946 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
58947 (__x86_64_raw_data_cache_size_half): Likewise.
58948 (__x86_64_raw_shared_cache_size): Likewise.
58949 (__x86_64_raw_shared_cache_size_half): Likewise.
58951 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
58952 (__x86_64_raw_data_cache_size_half): Likewise.
58953 (__x86_64_raw_shared_cache_size): Likewise.
58954 (__x86_64_raw_shared_cache_size_half): Likewise.
58955 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
58956 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
58957 and __x86_64_raw_shared_cache_size_half. Round
58958 __x86_64_data_cache_size_half, __x86_64_data_cache_size
58959 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
58960 to multiple of 256 bytes.
58962 2010-11-03 Ulrich Drepper <drepper@gmail.com>
58965 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
58966 of inacessible symlinks. Verify result of symlink before returning it.
58967 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
58968 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
58970 2010-10-28 Erich Ritz <erichritz@gmail.com>
58972 * math/math.h (isinf): Fix typo in comment.
58974 2010-11-01 Ulrich Drepper <drepper@gmail.com>
58976 * po/da.po: Update from translation team.
58978 2010-10-26 Ulrich Drepper <drepper@gmail.com>
58980 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
58981 is added to the list.
58983 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58984 Ulrich Drepper <drepper@gmail.com>
58986 * elf/dl-object.c (_dl_new_object): Don't append the new object to
58987 the global list here. Move code to...
58988 (_dl_add_to_namespace_list): ...here. New function.
58989 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
58990 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
58991 * elf/dl-load.c (lose): Don't remove the element from the list.
58992 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
58993 (_dl_map_object): Likewise.
58995 2010-10-25 Ulrich Drepper <drepper@gmail.com>
58998 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
58999 into all bytes of SSE register.
59000 Patch by Richard Li <richardpku@gmail.com>.
59002 2010-10-24 Ulrich Drepper <drepper@gmail.com>
59005 * malloc/malloc.c (_int_free): Fill correct number of bytes when
59008 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
59010 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
59011 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
59012 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
59013 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
59014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
59016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
59018 2010-10-22 Andreas Schwab <schwab@redhat.com>
59020 * include/dlfcn.h (__RTLD_SECURE): Define.
59021 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
59022 mode & __RTLD_SECURE instead.
59023 (open_path): Rename preloaded parameter to secure.
59024 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
59025 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
59026 * elf/dl-deps.c (openaux): Likewise.
59027 * elf/rtld.c (struct map_args): Remove is_preloaded.
59028 (map_doit): Don't use it.
59029 (dl_main): Likewise.
59030 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
59031 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
59033 2010-09-09 Andreas Schwab <schwab@redhat.com>
59035 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
59036 (sysd-rules-targets): Remove duplicates.
59037 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
59038 rtld-%.$o dependency.
59040 2010-10-18 Andreas Schwab <schwab@redhat.com>
59042 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
59043 _dl_map_object do it.
59045 2010-10-19 Ulrich Drepper <drepper@gmail.com>
59047 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
59048 fast fma builtins, define the macros in the C99 standard.
59049 (FP_FAST_FMAF): Likewise.
59050 (FP_FAST_FMAL): Likewise.
59051 * sysdeps/x86_64/bits/mathdef.h: Likewise.
59053 * bits/mathdef.h: Update copyright year.
59054 * sysdeps/powerpc/bits/mathdef.h: Likewise.
59056 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
59058 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
59059 builtins, define the macros in the C99 standard.
59060 (FP_FAST_FMAF): Likewise.
59061 (FP_FAST_FMAL): Likewise.
59062 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
59064 (FP_FAST_FMAF): Likewise.
59066 2010-10-15 Jakub Jelinek <jakub@redhat.com>
59069 * math/libm-test.inc (fma_test): Some new testcases.
59070 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
59071 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
59072 y and infinite z. Do multiplication by C already in long double.
59073 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
59074 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
59075 y and infinite z. Do bitwise or of inexact bit into u.d.
59076 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
59077 * sysdeps/i386/fpu/s_fmaf.S: Removed.
59078 * sysdeps/i386/fpu/s_fma.S: Removed.
59079 * sysdeps/i386/fpu/s_fmal.S: Removed.
59081 2010-10-16 Jakub Jelinek <jakub@redhat.com>
59084 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
59085 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
59086 computation is not scheduled after fetestexcept. Fix value
59087 of minimum denormal long double.
59089 2010-10-14 Jakub Jelinek <jakub@redhat.com>
59092 * math/libm-test.inc (fma_test): Add some more tests.
59093 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
59096 2010-10-15 Andreas Schwab <schwab@redhat.com>
59098 * scripts/data/localplt-s390-linux-gnu.data: New file.
59099 * scripts/data/localplt-s390x-linux-gnu.data: New file.
59101 2010-10-13 Jakub Jelinek <jakub@redhat.com>
59104 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
59105 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
59107 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
59109 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
59110 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
59111 if one of x and y is very large and the other is subnormal.
59112 * sysdeps/s390/fpu/s_fmaf.c: New file.
59113 * sysdeps/s390/fpu/s_fma.c: New file.
59114 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
59115 * sysdeps/powerpc/fpu/s_fma.S: New file.
59116 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
59117 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
59118 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
59120 2010-10-12 Jakub Jelinek <jakub@redhat.com>
59123 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
59125 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
59126 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
59127 * sysdeps/i386/i686/multiarch/s_fma.c: Include
59128 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
59129 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
59130 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
59131 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
59133 2010-10-12 Ulrich Drepper <drepper@redhat.com>
59136 * posix/regcomp.c (parse_branch): One more memory leak plugged.
59137 * posix/bug-regex31.input: Add test case.
59139 2010-10-11 Ulrich Drepper <drepper@gmail.com>
59141 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
59142 * posix/bug-regex31.input: New file.
59145 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
59146 (parse_sub_exp): Fix last change, use postorder.
59148 * posix/bug-regex31.c: New file.
59149 * posix/Makefile: Add rules to build and run bug-regex31.
59151 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
59154 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
59157 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
59158 to have entries in sys_siglist.
59161 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
59164 2010-10-07 Jakub Jelinek <jakub@redhat.com>
59167 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
59168 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
59169 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
59170 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
59171 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59172 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
59173 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
59174 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
59175 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
59176 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
59177 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
59178 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
59179 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
59180 * math/ftestexcept.c (fetestexcept): Likewise.
59181 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
59182 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
59183 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
59184 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
59185 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
59186 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
59187 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59189 2010-10-11 Ulrich Drepper <drepper@gmail.com>
59192 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
59195 2010-10-06 Ulrich Drepper <drepper@gmail.com>
59197 * string/bug-strstr1.c: New file.
59198 * string/Makefile: Add rules to build and run bug-strstr1.
59200 2010-10-05 Eric Blake <eblake@redhat.com>
59203 * string/str-two-way.h (two_way_long_needle): Always clear memory
59204 when skipping input due to the shift table.
59206 2010-10-03 Ulrich Drepper <drepper@gmail.com>
59209 * malloc/mcheck.c: Handle large requests.
59212 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
59213 for strncmp and strncasecmp.
59214 * string/stratcliff.c: Add tests for strcmp and strncmp.
59215 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
59217 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
59219 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
59222 2010-09-30 Andreas Jaeger <aj@suse.de>
59224 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
59225 (CGROUP_SUPER_MAGIC): Define.
59226 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59227 Handle btrfs and cgroup file systems.
59228 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59231 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
59233 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
59234 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
59236 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59239 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
59240 trying to locate the ELF header.
59242 2010-09-27 Andreas Schwab <schwab@redhat.com>
59245 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
59246 Mask out sign-bit copies when constructing f_fsid.
59248 2010-09-24 Petr Baudis <pasky@suse.cz>
59250 * debug/stack_chk_fail_local.c: Add missing licence exception.
59251 * debug/warning-nop.c: Likewise.
59253 2010-09-15 Joseph Myers <joseph@codesourcery.com>
59255 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
59256 implementing getdents64 using getdents syscall, set d_type if
59257 __ASSUME_GETDENTS32_D_TYPE.
59259 2010-09-16 Andreas Schwab <schwab@redhat.com>
59261 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
59262 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
59264 2010-09-21 Ulrich Drepper <drepper@redhat.com>
59267 * posix/unistd.h: Undo change of feature selection for ftruncate from
59270 2010-09-20 Ulrich Drepper <drepper@redhat.com>
59272 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
59275 2010-09-20 Andreas Schwab <schwab@redhat.com>
59277 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
59279 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59281 2010-09-14 Andreas Schwab <schwab@redhat.com>
59283 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
59284 variables after CHECK_SP call.
59285 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
59287 2010-09-13 Andreas Schwab <schwab@redhat.com>
59288 Ulrich Drepper <drepper@redhat.com>
59290 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
59291 re-relocationg ld.so.
59292 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
59293 _dl_init_paths call.
59294 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
59297 2010-09-14 Ulrich Drepper <drepper@redhat.com>
59299 * resolv/res_init.c (__res_vinit): Count the default server we added.
59301 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
59302 Ulrich Drepper <drepper@redhat.com>
59305 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59306 (____longjmp_chk): Use %ebx for saving value across system call.
59309 2010-09-06 Andreas Schwab <schwab@redhat.com>
59311 * manual/Makefile: Don't mix pattern rules with normal rules.
59313 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
59315 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
59317 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
59318 * libio/iofopncook.c (_IO_cookie_init): Likewise.
59319 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
59320 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
59321 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59324 2010-09-04 Ulrich Drepper <drepper@redhat.com>
59327 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
59328 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
59330 2010-09-02 Ulrich Drepper <drepper@redhat.com>
59332 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
59333 * sysdeps/x86_64/addmul_1.S: Likewise.
59334 * sysdeps/x86_64/lshift.S: Likewise.
59335 * sysdeps/x86_64/mul_1.S: Likewise.
59336 * sysdeps/x86_64/rshift.S: Likewise.
59337 * sysdeps/x86_64/sub_n.S: Likewise.
59338 * sysdeps/x86_64/submul_1.S: Likewise.
59340 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
59342 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
59343 Define __sched_param instead of SCHED_* and sched_param when
59344 <bits/sched.h> is included with __need_schedparam defined.
59345 * bits/sched.h [__need_schedparam]
59346 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
59347 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
59348 (__defined_schedparam): Define to 1.
59349 (__sched_param): New structure, identical to sched_param.
59350 (__need_schedparam): Undefine.
59352 2010-08-31 Mike Frysinger <vapier@gentoo.org>
59354 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
59355 (epoll_create1): Declare.
59357 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
59359 2010-08-31 Andreas Schwab <schwab@redhat.com>
59362 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
59363 shifting retval into place.
59365 2010-09-01 Ulrich Drepper <drepper@redhat.com>
59367 * nis/rpcsvc/nis.h: Update copyright notice.
59368 * nis/rpcsvc/nis.x: Likewise.
59369 * nis/rpcsvc/nis_callback.h: Likewise.
59370 * nis/rpcsvc/nis_callback.x: Likewise.
59371 * nis/rpcsvc/nis_object.x: Likewise.
59372 * nis/rpcsvc/nis_tags.h: Likewise.
59373 * nis/rpcsvc/yp.h: Likewise.
59374 * nis/rpcsvc/yp.x: Likewise.
59375 * nis/rpcsvc/ypupd.h: Likewise.
59376 * nis/yp_xdr.c: Likewise.
59377 * nis/ypupdate_xdr.c: Likewise.
59379 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
59380 mainly the body of pmap_getport. Add parameters to specify timeouts.
59381 (pmap_getport): Use __libc_rpc_getport.
59382 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
59383 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
59384 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
59386 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
59388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
59391 2010-08-27 Roland McGrath <roland@redhat.com>
59393 * sysdeps/i386/i686/multiarch/Makefile
59394 (CFLAGS-varshift.c): New variable.
59396 2010-08-27 Ulrich Drepper <drepper@redhat.com>
59398 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
59399 * sysdeps/i386/i686/multiarch/varshift.c: New file.
59401 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
59403 * sysdeps/x86_64/strlen.S: Minimal code improvement.
59405 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
59407 * sysdeps/x86_64/strlen.S: Unroll the loop.
59408 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59409 strlen-sse2 strlen-sse2-bsf.
59410 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
59411 __strlen_no_bsf if bit_Slow_BSF is set.
59412 (__strlen_sse42): Removed.
59413 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
59414 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
59416 2010-08-25 Roland McGrath <roland@redhat.com>
59418 * sysdeps/x86_64/multiarch/varshift.S: File removed.
59419 * sysdeps/x86_64/multiarch/varshift.c: New file.
59420 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
59421 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
59422 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
59423 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59425 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
59427 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59428 strlen-sse2 strlen-sse2-bsf.
59429 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
59430 __strlen_sse2_bsf if bit_Slow_BSF is unset.
59431 (__strlen_sse2): Removed.
59432 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
59433 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
59434 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
59435 bit_Slow_BSF for Atom.
59436 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
59437 (index_Slow_BSF): Define.
59438 (HAS_SLOW_BSF): Define.
59440 2010-08-25 Ulrich Drepper <drepper@redhat.com>
59443 * resolv/res_init.c (__res_vinit): When no server address at all
59444 is given default to loopback.
59446 2010-08-24 Roland McGrath <roland@redhat.com>
59448 * configure.in: Remove config-name.h generation.
59449 * configure: Regenerated.
59450 * config-name.in: File removed.
59451 * scripts/config-uname.sh: New file.
59452 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
59453 ($(objdir)config-name.h): New target.
59455 * sunrpc/rpc_parse.h: Avoid nested comment.
59457 2010-08-24 Richard Henderson <rth@redhat.com>
59458 Ulrich Drepper <drepper@redhat.com>
59459 H.J. Lu <hongjiu.lu@intel.com>
59461 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
59462 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
59463 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
59464 Replace _mm_srli_si128 with __m128i_shift_right. Replace
59465 _mm_alignr_epi8 with _mm_loadu_si128.
59466 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
59467 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
59468 (__m128i_shift_right): Removed.
59469 * sysdeps/i386/i686/multiarch/varshift.h: New file.
59470 * sysdeps/i386/i686/multiarch/varshift.S: New file.
59471 * sysdeps/x86_64/multiarch/varshift.h: New file.
59472 * sysdeps/x86_64/multiarch/varshift.S: New file.
59474 2010-08-21 Mike Frysinger <vapier@gentoo.org>
59476 * configure.in: Move assembler checks to before sysdep dir checking.
59478 2010-08-20 Petr Baudis <pasky@suse.cz>
59480 * LICENSES: Sync the sunrpc license.
59482 2010-08-19 Ulrich Drepper <drepper@redhat.com>
59484 * sunrpc/auth_des.c: Update copyright notice once again.
59485 * sunrpc/auth_none.c: Likewise.
59486 * sunrpc/auth_unix.c: Likewise.
59487 * sunrpc/authdes_prot.c: Likewise.
59488 * sunrpc/authuxprot.c: Likewise.
59489 * sunrpc/bindrsvprt.c: Likewise.
59490 * sunrpc/clnt_gen.c: Likewise.
59491 * sunrpc/clnt_perr.c: Likewise.
59492 * sunrpc/clnt_raw.c: Likewise.
59493 * sunrpc/clnt_simp.c: Likewise.
59494 * sunrpc/clnt_tcp.c: Likewise.
59495 * sunrpc/clnt_udp.c: Likewise.
59496 * sunrpc/clnt_unix.c: Likewise.
59497 * sunrpc/des_crypt.c: Likewise.
59498 * sunrpc/des_soft.c: Likewise.
59499 * sunrpc/get_myaddr.c: Likewise.
59500 * sunrpc/getrpcport.c: Likewise.
59501 * sunrpc/key_call.c: Likewise.
59502 * sunrpc/key_prot.c: Likewise.
59503 * sunrpc/openchild.c: Likewise.
59504 * sunrpc/pm_getmaps.c: Likewise.
59505 * sunrpc/pm_getport.c: Likewise.
59506 * sunrpc/pmap_clnt.c: Likewise.
59507 * sunrpc/pmap_prot.c: Likewise.
59508 * sunrpc/pmap_prot2.c: Likewise.
59509 * sunrpc/pmap_rmt.c: Likewise.
59510 * sunrpc/rpc/auth.h: Likewise.
59511 * sunrpc/rpc/auth_unix.h: Likewise.
59512 * sunrpc/rpc/clnt.h: Likewise.
59513 * sunrpc/rpc/des_crypt.h: Likewise.
59514 * sunrpc/rpc/key_prot.h: Likewise.
59515 * sunrpc/rpc/netdb.h: Likewise.
59516 * sunrpc/rpc/pmap_clnt.h: Likewise.
59517 * sunrpc/rpc/pmap_prot.h: Likewise.
59518 * sunrpc/rpc/pmap_rmt.h: Likewise.
59519 * sunrpc/rpc/rpc.h: Likewise.
59520 * sunrpc/rpc/rpc_des.h: Likewise.
59521 * sunrpc/rpc/rpc_msg.h: Likewise.
59522 * sunrpc/rpc/svc.h: Likewise.
59523 * sunrpc/rpc/svc_auth.h: Likewise.
59524 * sunrpc/rpc/types.h: Likewise.
59525 * sunrpc/rpc/xdr.h: Likewise.
59526 * sunrpc/rpc_clntout.c: Likewise.
59527 * sunrpc/rpc_cmsg.c: Likewise.
59528 * sunrpc/rpc_common.c: Likewise.
59529 * sunrpc/rpc_cout.c: Likewise.
59530 * sunrpc/rpc_dtable.c: Likewise.
59531 * sunrpc/rpc_hout.c: Likewise.
59532 * sunrpc/rpc_main.c: Likewise.
59533 * sunrpc/rpc_parse.c: Likewise.
59534 * sunrpc/rpc_parse.h: Likewise.
59535 * sunrpc/rpc_prot.c: Likewise.
59536 * sunrpc/rpc_sample.c: Likewise.
59537 * sunrpc/rpc_scan.c: Likewise.
59538 * sunrpc/rpc_scan.h: Likewise.
59539 * sunrpc/rpc_svcout.c: Likewise.
59540 * sunrpc/rpc_tblout.c: Likewise.
59541 * sunrpc/rpc_util.c: Likewise.
59542 * sunrpc/rpc_util.h: Likewise.
59543 * sunrpc/rpcinfo.c: Likewise.
59544 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
59545 * sunrpc/rpcsvc/key_prot.x: Likewise.
59546 * sunrpc/rpcsvc/klm_prot.x: Likewise.
59547 * sunrpc/rpcsvc/mount.x: Likewise.
59548 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
59549 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
59550 * sunrpc/rpcsvc/rex.x: Likewise.
59551 * sunrpc/rpcsvc/rstat.x: Likewise.
59552 * sunrpc/rpcsvc/rusers.x: Likewise.
59553 * sunrpc/rpcsvc/sm_inter.x: Likewise.
59554 * sunrpc/rpcsvc/spray.x: Likewise.
59555 * sunrpc/rpcsvc/yppasswd.x: Likewise.
59556 * sunrpc/rtime.c: Likewise.
59557 * sunrpc/svc.c: Likewise.
59558 * sunrpc/svc_auth.c: Likewise.
59559 * sunrpc/svc_authux.c: Likewise.
59560 * sunrpc/svc_raw.c: Likewise.
59561 * sunrpc/svc_run.c: Likewise.
59562 * sunrpc/svc_simple.c: Likewise.
59563 * sunrpc/svc_tcp.c: Likewise.
59564 * sunrpc/svc_udp.c: Likewise.
59565 * sunrpc/svc_unix.c: Likewise.
59566 * sunrpc/svcauth_des.c: Likewise.
59567 * sunrpc/xcrypt.c: Likewise.
59568 * sunrpc/xdr.c: Likewise.
59569 * sunrpc/xdr_array.c: Likewise.
59570 * sunrpc/xdr_float.c: Likewise.
59571 * sunrpc/xdr_mem.c: Likewise.
59572 * sunrpc/xdr_rec.c: Likewise.
59573 * sunrpc/xdr_ref.c: Likewise.
59574 * sunrpc/xdr_sizeof.c: Likewise.
59575 * sunrpc/xdr_stdio.c: Likewise.
59577 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
59580 2010-08-19 Andreas Schwab <schwab@redhat.com>
59582 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
59584 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
59586 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
59587 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
59588 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
59589 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
59590 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
59591 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
59592 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
59593 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
59594 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
59595 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
59596 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
59597 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
59598 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
59599 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
59601 2010-07-26 Anton Blanchard <anton@samba.org>
59603 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
59604 * malloc/arena.c (heap_trim): Likewise.
59606 2010-08-16 Ulrich Drepper <drepper@redhat.com>
59608 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
59610 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
59611 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
59613 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
59615 * sysdeps/i386/elf/Makefile: New file.
59617 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
59619 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
59620 from fanotify_init.
59621 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
59622 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59624 2010-08-15 Ulrich Drepper <drepper@redhat.com>
59626 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
59628 * sysdeps/multiarch/strcmp.S: Likewise.
59630 2010-08-14 Ulrich Drepper <drepper@redhat.com>
59632 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59633 strncase_l-nonascii.
59634 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59635 Add strncase_l-ssse3.
59636 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
59637 * sysdeps/x86_64/strcmp.S: Likewise.
59638 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
59639 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
59640 * sysdeps/x86_64/strncase.S: New file.
59641 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
59642 * sysdeps/x86_64/strncase_l.S: New file.
59643 * string/Makefile (strop-tests): Add strncasecmp.
59644 * string/test-strncasecmp.c: New file.
59646 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
59649 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
59650 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
59652 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
59654 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
59656 2010-08-12 Ulrich Drepper <drepper@redhat.com>
59658 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
59659 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
59660 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
59662 2010-05-01 Alan Modra <amodra@gmail.com>
59664 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
59665 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
59666 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
59667 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
59668 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
59669 tidying. Don't tail-call __sigjmp_save for static lib.
59670 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
59672 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
59673 (CALL_MCOUNT): Add eh info, and nop after bl.
59674 (TAIL_CALL_SYSCALL_ERROR): New macro.
59675 (PSEUDO_RET): Use it.
59676 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
59677 Correct save location of integer regs and cr.
59678 (_dl_profile_resolve): Correct cr save location. Delete nops
59679 after bl when SHARED. Reduce cfi size a little by better
59680 placement of cfi directives.
59681 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
59682 make a stack frame. Instead use parm save area as a temp.
59683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
59684 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
59685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
59686 Don't make a stack frame for parent, use parm save area.
59687 Increase child stack frame to 112 bytes. Don't save unused reg,
59688 and adjust reg usage. Set up cfi on error recovery and
59689 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
59690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59691 (__makecontext): Add dummy nop after jump to exit.
59692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
59693 Use correct parm save area and cr save, reduce stack frame.
59694 Correct cfi for possible PSEUDO_RET frame setup.
59695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
59696 Branch to local label emitted by PSEUDO_RET rather than
59699 2010-08-12 Andreas Schwab <schwab@redhat.com>
59702 * locale/programs/locale.c (print_assignment): New function.
59703 (show_locale_vars): Use it.
59705 2010-08-11 Ulrich Drepper <drepper@redhat.com>
59707 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
59709 (struct statfs64): Likewise.
59710 (_STATFS_F_FLAGS): Define.
59711 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
59712 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59713 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
59714 (ST_VALID): Define locally.
59715 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
59716 __statvfs_getflags, use the provided value.
59717 * sysdeps/unix/sysv/linux/kernel-features.h: Define
59718 __ASSUME_STATFS_F_FLAGS.
59720 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
59722 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
59723 Add sys/fanotify.h.
59724 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
59725 fanotify_mask for GLIBC_2.13.
59726 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
59727 fanotify_init and fanotify_mark.
59728 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59729 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
59731 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
59733 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
59734 prlimit64 for GLIBC_2.13.
59735 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
59737 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
59739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
59740 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59741 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
59742 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
59743 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
59745 * sysdeps/unix/sysv/linux/prlimit.c: New file.
59748 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
59749 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
59751 * nss/Makefile: Add rules to build and run tst-nss-test1.
59752 * shlib-versions: Add entry for libnss_test1.
59753 * nss/nss_test1.c: New file.
59754 * nss/tst-nss-test1.c: New file.
59756 * nss/nsswitch.c (__nss_database_custom): Define new variable.
59757 (__nss_configure_lookup): Set appropriate entry in
59758 __nss_configure_lookup to true.
59759 * nss/nsswitch.h: Define enum with indeces of databases in
59760 databases and __nss_database_custom arrays. Declare
59761 __nss_database_custom.
59762 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
59763 to avoid using nscd when custom rules are installed.
59764 * nss/getXXbyYY_r.c: Likewise.
59765 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59767 * nss/nss_files/files-parse.c: Whitespace fixes.
59769 2010-08-09 Ulrich Drepper <drepper@redhat.com>
59772 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
59773 * posix/fnmatch_loop.c: Likewise.
59775 2010-07-17 Andi Kleen <ak@linux.intel.com>
59777 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
59778 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
59779 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
59780 * Versions.def [GLIBC_2.13]: Add.
59782 2010-08-06 Ulrich Drepper <drepper@redhat.com>
59784 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
59785 Also fail if tpwd after pwuid call is NULL.
59787 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
59789 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
59790 when converting to ms.
59792 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
59794 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
59795 EOPNOTSUPP errors with ENOTTY.
59796 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
59797 EOPNOTSUPP errors with ENOTTY.
59799 2010-07-31 Ulrich Drepper <drepper@redhat.com>
59801 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59802 Add strcasecmp_l-ssse3.
59803 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
59805 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
59806 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
59807 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
59809 2010-07-30 Ulrich Drepper <drepper@redhat.com>
59811 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
59813 * string/Makefile (strop-tests): Add strcasecmp.
59814 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59815 strcasecmp_l-nonascii.
59816 (gen-as-const-headers): Add locale-defines.sym.
59817 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
59818 * sysdeps/x86_64/strcasecmp.S: New file.
59819 * sysdeps/x86_64/strcasecmp_l.S: New file.
59820 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
59821 * sysdeps/x86_64/locale-defines.sym: New file.
59822 * string/test-strcasecmp.c: New file.
59824 * string/test-strcasestr.c: Test both ends of the range of characters.
59825 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
59827 2010-07-29 Roland McGrath <roland@redhat.com>
59830 * manual/locale.texi (Yes-or-No Questions): Fix example code.
59832 2010-07-27 Ulrich Drepper <drepper@redhat.com>
59834 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
59837 2010-07-27 Andreas Schwab <schwab@redhat.com>
59839 * manual/memory.texi (Malloc Tunable Parameters): Document
59842 2010-07-26 Roland McGrath <roland@redhat.com>
59845 * configure.in (-fgnu89-inline check): Set and substitute
59846 gnu89_inline, not libc_cv_gnu89_inline.
59847 * configure: Regenerated.
59848 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
59850 2010-07-26 Ulrich Drepper <drepper@redhat.com>
59852 * string/test-strnlen.c: New file.
59853 * string/Makefile (strop-tests): Add strnlen.
59854 * string/tester.c (test_strnlen): Add a few more test cases.
59855 * string/tst-strlen.c: Better error reporting.
59857 * sysdeps/x86_64/strnlen.S: New file.
59859 2010-07-24 Ulrich Drepper <drepper@redhat.com>
59861 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
59862 lower-latency instructions.
59864 2010-07-23 Ulrich Drepper <drepper@redhat.com>
59866 * string/test-strcasestr.c: New file.
59867 * string/test-strstr.c: New file.
59868 * string/Makefile (strop-tests): Add strstr and strcasestr.
59869 * string/str-two-way.h: Don't undefine MAX.
59870 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
59872 2010-07-21 Andreas Schwab <schwab@redhat.com>
59874 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59875 strcasestr-nonascii.
59876 (CFLAGS-strcasestr-nonascii.c): Define.
59877 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
59878 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
59879 Remove unused attribute.
59881 2010-07-20 Roland McGrath <roland@redhat.com>
59883 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
59884 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
59885 ld.so.cache was broken. With it, there is no way to disable dsocaps
59886 like LD_HWCAP_MASK can disable hwcaps.
59888 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
59890 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
59892 2010-07-16 Ulrich Drepper <drepper@redhat.com>
59894 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
59895 call in strcasestr.
59896 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
59897 __strcasestr_sse42_nonascii.
59898 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
59899 strcasestr-nonascii.c.
59900 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
59902 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
59904 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
59905 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
59906 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
59907 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
59909 2010-07-09 Ulrich Drepper <drepper@redhat.com>
59911 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
59914 2010-07-06 Andreas Schwab <schwab@redhat.com>
59917 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
59920 2010-07-06 Ulrich Drepper <drepper@redhat.com>
59922 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
59923 _PC_PIPE_BUF using F_GETPIPE_SZ.
59925 2010-07-05 Roland McGrath <roland@redhat.com>
59927 * manual/arith.texi (Rounding Functions): Fix rint description
59928 implicit in round description.
59930 2010-07-02 Ulrich Drepper <drepper@redhat.com>
59932 * elf/Makefile: Fix linking for a few tests to make recent linker
59935 2010-06-30 Andreas Schwab <schwab@redhat.com>
59937 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59938 $(common-objpfx)libc_nonshared.a.
59940 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
59942 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
59943 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
59944 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
59945 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
59946 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
59947 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
59948 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
59949 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
59950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
59951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
59952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
59953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
59954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
59955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
59956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
59957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
59958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
59959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
59960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
59961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
59962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
59963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
59964 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
59965 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
59966 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
59967 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
59968 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
59969 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
59970 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
59971 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
59972 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
59973 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
59974 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
59975 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
59976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
59977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
59978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
59979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
59980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
59981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
59982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
59983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
59984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
59985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
59986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
59987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
59988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
59989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
59991 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
59993 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
59994 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
59995 * string/memmove.c (memmove): Renamed to ...
59996 (MEMMOVE): ...this. Default to memmove.
59997 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
59998 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
60000 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60001 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
60002 mempcpy-ssse3-back memmove-ssse3-back.
60003 * sysdeps/x86_64/multiarch/bcopy.S: New file .
60004 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
60005 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
60006 * sysdeps/x86_64/multiarch/memcpy.S: New file.
60007 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
60008 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
60009 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
60010 * sysdeps/x86_64/multiarch/memmove.c: New file.
60011 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
60012 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
60013 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
60014 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
60015 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
60016 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
60018 (index_Fast_Copy_Backward): Define.
60019 (HAS_ARCH_FEATURE): Define.
60020 (HAS_FAST_REP_STRING): Define.
60021 (HAS_FAST_COPY_BACKWARD): Define.
60023 2010-06-21 Andreas Schwab <schwab@redhat.com>
60025 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60026 Restore proper fallback handling.
60028 2010-06-19 Ulrich Drepper <drepper@redhat.com>
60031 * posix/group_member.c (__group_member): Correct checking loop.
60033 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
60034 OOM in getpwuid_r correctly. Return error number when the caller
60035 should return, otherwise -1.
60036 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
60037 call returning > 0 value.
60038 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
60040 2010-06-07 Andreas Schwab <schwab@redhat.com>
60042 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
60043 libc_nonshared.a from targets in modules-names.
60045 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
60047 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
60050 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
60052 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
60053 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
60054 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
60055 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
60057 2010-06-02 Andreas Schwab <schwab@redhat.com>
60059 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
60061 2010-06-14 Ulrich Drepper <drepper@redhat.com>
60063 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
60065 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60066 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60067 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60068 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60069 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60070 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
60072 2010-06-14 Roland McGrath <roland@redhat.com>
60074 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
60076 2010-06-07 Jakub Jelinek <jakub@redhat.com>
60078 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
60079 __REDIRECT followed by __THROW.
60080 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
60081 * posix/getopt.h (getopt): Likewise.
60083 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
60085 * hurd/lookup-at.c (__file_name_lookup_at): Accept
60086 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
60087 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
60089 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
60090 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
60092 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
60094 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
60096 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
60099 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60100 Properly check family and model.
60102 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
60104 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
60106 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
60108 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
60110 2010-05-21 Ulrich Drepper <drepper@redhat.com>
60112 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
60115 2010-05-19 Andreas Schwab <schwab@redhat.com>
60117 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
60120 2010-05-21 Andreas Schwab <schwab@redhat.com>
60122 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
60123 and internal_recvmmsg.
60124 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
60125 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
60126 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
60127 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
60129 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
60130 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
60131 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
60133 2010-05-20 Andreas Schwab <schwab@redhat.com>
60135 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
60137 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
60139 POWER7 optimizations.
60140 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
60141 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
60143 2010-05-19 Ulrich Drepper <drepper@redhat.com>
60145 * version.h: Update for 2.13 development version.
60147 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
60149 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
60150 exceptions. Return 0.
60152 2010-05-07 Roland McGrath <roland@redhat.com>
60154 * elf/ldconfig.c (main): Add a const.
60156 2010-05-06 Ulrich Drepper <drepper@redhat.com>
60158 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
60159 (args_options): Add no-idn option.
60160 (ahosts_keys_int): Add idn_flags to ai_flags.
60161 (parse_option): Handle 'i' option to clear idn_flags.
60163 * malloc/malloc.c (_int_free): Possible race in the most recently
60164 added check. Only act on the data if no current modification
60167 See ChangeLog.17 for earlier changes.